:root { --primary-color: #9146FF; --secondary-color: #772CE8; --background-color: #0E0E10; --text-color: #efeff1; --header-height: 210px; } body { margin: 0; padding: 20px; background: url('../images/background.webp') no-repeat center center fixed; background-size: cover; font-family: 'Inter', sans-serif; background-color: var(--background-color); color: var(--text-color); align-items: center; line-height: 1.6; } .full-width-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 1000; } .full-width-header::after { content: ''; position: absolute; bottom: -50px; left: 0; width: 100%; height: 50px; background: linear-gradient(to bottom, var(--background-color), transparent); z-index: 999; } .container { max-width: 2000px; margin: 0 auto; padding: 2rem; padding-top: var(--header-height); } .logo { width: 200px; height: auto; margin: 40px auto; display: block; position: fixed; left: 5%; top: 20%; transform: translateX(-50%); z-index: 1001; } .nav-container, .nav-container2 { position: fixed; top: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 2000; } .nav-container { right: 20px; } .nav-container2 { left: 20px; } .nav-button { padding: 0.7rem 1.5rem; border-radius: 8px; background: linear-gradient(145deg, var(--primary-color), var(--secondary-color)); color: white; text-decoration: none; font-weight: bold; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); text-align: center; min-width: 120px; touch-action: manipulation; } .nav-button:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); } .nav-button.active { background: linear-gradient(145deg, var(--secondary-color), var(--primary-color)); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); transform: translateY(1px); } .dein-element { background-color: rgba(24, 24, 27, 0.8); border: 2px solid #9146FF; border-radius: 10px; box-shadow: 0 0 10px rgba(145, 70, 255, 0.6); } .counter-box { position: relative; margin-top: 10px; text-align: left; } .footer { background-color: rgba(24, 24, 27, 0.9); padding: 1rem; text-align: center; margin-top: 2rem; border-radius: 10px; font-size: 13px; } .footer-container { max-width: 1200px; margin: 0 auto; } .footer-nav a, .footer-social a { color: var(--primary-color); text-decoration: none; margin: 0 10px; font-weight: bold; } .footer-nav a:hover, .footer-social a:hover { text-decoration: underline; } .like-container { position: relative; display: flex; align-items: center; background: rgba(0, 0, 0, 0.5); padding: 5px; margin-left: 20px; border-radius: 5px; backdrop-filter: blur(5px); z-index: 1; } .like-button { background: none; border: none; cursor: pointer; z-index: 10; } .like-button img { width: 20px; height: 20px; transition: transform 0.3s; } .like-button img:hover { transform: scale(1.1); } .liked { background-color: #9146FF99; } h1 { margin-bottom: 1rem; color: var(--primary-color); text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); text-align: center; font-size: 36px; } .music-container { background-color: rgba(24, 24, 27, 0.8); padding: 2rem; border-radius: 10px; margin: 2rem auto; max-width: 1100px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); } .music-list { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 40px 20px; max-width: 2000px; margin: 0 auto; padding: 20px; justify-content: center; align-items: center; place-items: center; } .music-item { padding: 5px; background: white; border-radius: 15px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; position: relative; background: var(--primary-color); backdrop-filter: blur(10px); border: 2px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease; max-width: 320px; text-align: center; } .music-item:hover { transform: scale(1.03) translateY(-5px); border-color: var(--primary-color); box-shadow: 0 0 10px rgba(145, 70, 255, 0.6); } .volume-container { position: absolute; bottom: 50px; right: 10px; background: white; padding: 15px 10px; border-radius: 10px; display: none; } .volume-slider { writing-mode: vertical-lr; transform: rotate(180deg); width: 8px; height: 100px; } .time-container { display: flex; justify-content: space-between; width: 100%; font-size: 14px; color: white; margin-bottom: 15px; } .current-time { text-align: left; } .total-time { text-align: right; } .seek-bar { flex: 1; width: 100%; height: 5px; background: rgba(255, 255, 255, 0.3); border-radius: 5px; cursor: pointer; margin-bottom: -10px; } .seek-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 15px; height: 15px; background: white; border-radius: 50%; cursor: pointer; } .titel-container { display: flex; justify-content: center; align-items: center; width: 100%; height: 80px; margin: 10px 0; background-color: rgba(0, 0, 0, 0.4); border-radius: 8px; overflow: hidden; padding: 0; white-space: nowrap; position: relative; margin-bottom: -30px; } @font-face { font-family: 'AlarmClock'; src: url('../fonts/alarm-clock.ttf') format('truetype'); } .music-title { display: flex; align-items: center; justify-content: center; text-align: center; font-weight: bold; color: var(--text-color); font-size: 19px; font-family: 'AlarmClock', sans-serif; margin: 0; padding: 0; line-height: 1; transform: translateX(0); left: 100%; text-shadow: 0 0 3px rgba(255, 255, 255, 0.6), 0 0 6px rgba(255, 255, 255, 0.3); } @keyframes marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } } .music-item:hover { background: rgba(255, 255, 255, 0.2); } .music-icon { width: 60%; height: auto; margin-bottom: 10px; } .marquee-active { animation: marquee 10s linear infinite; } .music-controls audio { width: 100%; } audio { width: 100%; outline: none; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3)); } .play-btn { position: relative; bottom: -95px; width: 40px; height: 40px; border-radius: 50%; background-color: white; border: none; outline: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3); transition: all 0.2s ease-in-out; } .play-button:active { box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); transform: translateY(2px); } .menu-icon, .repeat-icon, .speaker-icon { cursor: pointer; display: flex; align-items: center; justify-content: center; } .menu-icon svg, .repeat-icon svg, .speaker-icon svg { width: 30px; height: 30px; } .speaker-icon { filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5)); right: 20px; } .menu-icon { filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5)); left: 20px; } .repeat-icon { filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.5)); cursor: pointer; font-size: 24px; position: absolute; bottom: 20px; right: 70px; } .repeat-active { color: #0075ff; } .settings-menu, .speaker-menu { display: none; position: absolute; background: white; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); padding: 10px; bottom: 40px; left: 10px; } .speaker-menu { right: 10px; left: auto; } .menu-item { color: #0075ff; padding: 5px 10px; cursor: pointer; font-size: 12px; } .menu-item:hover { background-color: #f0f0f0; } .progress-bar { width: 100%; height: 5px; background: rgba(0, 0, 0, 0.1); border-radius: 5px; margin-bottom: 10px; } .progress { height: 100%; width: 0; background: black; transition: width 0.2s ease-in-out; } .audio-controls { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px; } .controls-container { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; } .flex { display: flex; } .flex-row { flex-direction: row; } @media (min-width: 150px) and (max-width: 1480px) { .logo { display: none !important; } } @media (max-width: 768px) { :root { --header-height: 150px; } .nav-container, .nav-container2 { position: static; width: 100%; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 10px 0; } .nav-button { flex: 1; min-width: 140px; max-width: 200px; padding: 8px 15px; font-size: 14px; } .music-list { grid-template-columns: repeat(1, 1fr); } .container { padding-bottom: 120px; } .footer { padding: 1rem; font-size: 12px; } .footer-nav, .footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .footer-nav a, .footer-social a { margin: 5px; } .music-item { max-width: 100%; width: 90%; } .music-list { grid-template-columns: repeat(1, 1fr); } audio { width: 100%; } } @media (min-width: 2150px) { :root { --header-height: 250px; } } @media (min-width: 1920px) { .container { max-width: 1600px; } body { font-size: 18px; } h1 { font-size: 42px; } } @media (min-width: 769px) and (max-width: 1024px) { .music-list { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1025px) { .music-list { grid-template-columns: repeat(3, 1fr); } }