/* style.css */

/* Schriftarten einbinden */
@font-face {
    font-family: 'Kcora';
    src: url('fonts/Kcora.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'friz';
    src: url('fonts/friz.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Allgemeine Stile */
body {
    font-family: 'Kcora', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("Background.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scrollbar verstecken (nur WebKit-Browser) */
body::-webkit-scrollbar {
    display: none;
}

/* Header */
header { /* Dieser Stil wird aktuell nicht verwendet, da kein <header> im HTML vorhanden ist */
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
}

/* Keine Scrollen-Klasse */
body.no-scroll {
    overflow: hidden;
}

/* Galerie */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.image-container {
    margin: 10px;
    text-align: center;
    height: auto;
    max-width: 80%;
    width: fit-content;
}

.image-container img {
    max-width: 80%;
    width: fit-content;
    height: auto;
    border: 2px solid #c5b523;
}

.image-container p {
    text-align: center;
    margin-top: 5px;
}

/* Überschrift */
h1 {
    text-align: center;
    font-size: 72px;
    color: #e0be26;
    text-decoration: underline;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Absatz */
p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 48px;
    font-family: 'Friz', serif;
}

/* Beschreibungstext (e) */
.beschreibung p { /* Stiltext */
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    font-family: 'Friz', serif;
    color: #e0be26;
    display: block;
    width: 35%;
    padding: 20px;
    background-color: rgba(39, 46, 48, 0.671);
    border-radius: 5px;
    margin: auto;
}

/* Media Queries für e (falls es ein existierendes Element ist) */
@media (max-width: 768px) {
    .beschreibung p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .beschreibung p {
        font-size: 12px;
    }
}

/* Media Queries für p */
@media (max-width: 768px) {
    p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 12px;
    }
}

/* Download-Button */
a[download] {
    transform: scale(0.7);
    cursor: pointer;
    height: auto;
    display: block;
    margin: 0 auto;
}

a[download] img {
    width: 100%;
    height: auto;
}

/* Media Queries für Download-Button */
@media (max-width: 512px) {
    a[download] {
        width: 100%;
    }

    a[download] img {
        width: 100%;
    }
}

@media (max-width: 430px) {
    a[download] {
        width: 100%;
    }
}

/* Titelleiste verstecken */
title {
    display: none;
}

/* Banner */
.banner {
    width: 75%;
    height: auto;
    text-align: center;
    display: contain; /* 'contain' ist kein gültiger Wert für 'display' */
    align-items: center; /* Funktioniert nur mit 'display: flex' oder 'display: grid' */
    justify-content: center; /* Funktioniert nur mit 'display: flex' oder 'display: grid' */
}

.banner img {
    width: 100%;
    height: auto;
}

/* Countdown-Box */
.countdown-box {
    background-size: contain;
    background-position: center;
    /* ... andere Stile ... */ 
}

.countdown-box a {
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox img {
    max-width: 150%;
    max-height: 150%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    cursor: pointer;
}

/* Zurück-Button */
.back-button {
    display: inline-block;
    font-family: 'Friz', serif;
    padding: 10px 20px;
    background-color: #2e3438;
    color: rgb(238, 187, 48);
    text-decoration: none;
    border-radius: 5px;
    position: fixed;
    bottom: 20px;
    left: 20px;
}