: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: 1400px; 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; } .lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 2001; justify-content: center; align-items: center; touch-action: none; } .lightbox.active { display: flex; } .lightbox-content { position: relative; max-width: 90%; max-height: 90vh; display: flex; flex-direction: column; align-items: center; } .lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 10px; object-fit: contain; } .lightbox-close { position: absolute; top: -40px; right: -40px; width: 30px; height: 30px; background: var(--primary-color); border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; color: white; font-size: 20px; border: none; } .lightbox-nav { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; } .lightbox-nav button { background: var(--primary-color); border: none; color: white; padding: 8px 15px; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .lightbox-nav button:hover { background: var(--secondary-color); } 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; } .gallery-container { background-color: rgba(24, 24, 27, 0.8); padding: 2rem; border-radius: 10px; margin: 2rem auto; max-width: 1200px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 2rem; } .gallery-item { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 2px solid rgba(145, 70, 255, 0.3); background-color: var(--background-color); } .gallery-item:hover { transform: scale(1.03) translateY(-5px); box-shadow: 0 10px 20px rgba(145, 70, 255, 0.3); border-color: var(--primary-color); } .gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s ease; image-rendering: -webkit-optimize-contrast; } .gallery-item:hover img { transform: scale(1.1); } .like-container { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; background: rgba(0, 0, 0, 0.5); padding: 5px; 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; pointer-events: none; display: block; } .like-button img:hover { transform: scale(1.1); } .liked { background-color: #9146FF99; } @media (min-width: 150px) and (max-width: 1480px) { .logo { display: none !important; } } @media (max-width: 768px) { :root { --header-height: 150px; } body { padding: 10px; } .container { padding: 1rem; padding-top: calc(var(--header-height) + 10px); } .nav-container, .nav-container2 { position: static; width: 100%; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 5px; margin: 10px 0; } .nav-button { flex: 1; min-width: 140px; max-width: 200px; padding: 8px 15px; font-size: 14px; } .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; } .lightbox-content { width: 95%; } .lightbox-close { top: -30px; right: -10px; } .lightbox-nav { bottom: -40px; } .lightbox-nav button { padding: 6px 12px; font-size: 14px; } .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; } } @media (min-width: 2150px) { :root { --header-height: 250px; } } @media (min-width: 1920px) { .container { max-width: 1800px; } .gallery-grid { grid-template-columns: repeat(3, 1fr); } body { font-size: 18px; } h1 { font-size: 42px; } } @media (min-width: 769px) and (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .container { padding: 1.5rem; } .nav-button { padding: 0.6rem 1.2rem; } } @media (hover: none) { .gallery-item:hover { transform: none; } .gallery-item:active { transform: scale(0.98); } }