@font-face {
    font-family: 'Microwaves';
    src: url('fonts/Microwaves.ttf') format('truetype');
}
@font-face {
    font-family: 'OatMeal';
    src: url('fonts/OatMeal.ttf') format('truetype');
}
@font-face {
    font-family: 'Dieselpower';
    src: url('fonts/DieselpowerPersonalUse-axaY5.ttf') format('truetype');
}
@font-face {
    font-family: 'HIND';
    src: url('fonts/Hind-Bold.otf') format('truetype');
}
@font-face {
    font-family: 'Akzidenz';
    src: url('fonts/Akzidenz-Grotesk-Black.ttf') format('truetype');
}

.header {
    color: grey;
    background-color: white;
    border-bottom: 1px solid #333;
    font-family: 'Arial', 'Helvetica', 'sans-serif';
    font-size: 0.8em; 
    letter-spacing: 0.1em;
    justify-content: center;
    align-items: center;
    min-height: 3vh;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header a {
    text-decoration: none;
    color: grey;
    font-family: 'Microwaves', sans-serif;
    font-size: 2.2rem;
    transition: color 0.3s ease;
}

.header a:hover {
    color: black;
}

body {
    color: black;
    text-shadow: 0 0 3px white;
    font-family: 'Hind', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;

    /*background-image: url("fish.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;*/
}

/* Number font for specific elements */
.number-font {
    font-family: 'hind', sans-serif;
    font-weight: 600;
    font-size: 0.7em;
    letter-spacing: 0.5px;
    color: black;
    padding: 0;
    background: none;
    border-radius: 0;
}

.red-circle-link {
    text-decoration: none;
    display: inline-block;
    margin-right: 15px;
    margin-left: 0; /* Entfernt zusätzlichen Abstand */
}

.red-circle-link:hover .red-circle {
    background-color: darkred;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Animation für verzögerte Anzeige der roten Kreise */
@keyframes fadeInCircle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.red-circle {
    width: 2.5vw;
    height: 2.5vw;
    min-width: 20px;
    min-height: 20px;
    max-width: 30px;
    max-height: 30px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    vertical-align: baseline;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInCircle 1.5s ease-in-out 0.8s both;
}

/* Responsive Anpassung für den roten Kreis */
@media (max-width: 1024px) {
    .red-circle {
        width: 1.5vw;
        height: 1.5vw;
        min-width: 15px;
        min-height: 15px;
    }
}

@media (max-width: 600px) {
    .red-circle {
        width: 1.2vw;
        height: 1.2vw;
        min-width: 12px;
        min-height: 12px;
    }
    
    .red-circle-link {
        margin-right: 1vw;
    }
}

.heading-with-circle {
    display: flex;
    align-items: center;
    margin-left: 3%;
    margin-top: 8%;
    position: relative;
    z-index: 1;
}

.heading-with-circle h2 {
    margin: 0; /* Entfernt den Abstand der h2 im Container */
    margin-left: 0; /* Entfernt den linken Abstand der h2 im Container */
}

/* Entfernt den doppelten Abstand - heading-with-circle hat schon margin-top */

.gang-font {
    font-family: 'avenir', sans-serif;
    font-weight: 1000;
    font-size: 0.9em;
    color: black;
    text-transform: uppercase;
}

h2 {
    margin-left: 3%;
    margin-top: 8%; /* Gleicher Abstand wie heading-with-circle */
    margin-bottom: 0; /* Entfernt Abstand zur Galerie */
    font-family: 'Dieselpower', sans-serif;
    font-size: 2.5vw; 
    color: black;
    position: relative;
    text-align: left;
    clear: both;
    text-shadow: 
        -1px -1px 0 white,  
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        0 0 10px rgba(255, 255, 255, 0.8);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 3 Spalten */
    gap: 1%; /* Abstand zwischen Bildern */
    max-width: 95%;
    margin: 0 auto 8% auto;
    justify-content: center;
    border: none;
    outline: none;
    background: transparent;
    position: relative;
    z-index: 0;
}

.gallery-item {
    width: 100%; /* Füllt die Spalte */
    height: 100%; /* Einheitliche Höhe für alle Bilder */
    
    object-fit: cover; /* Schneidet Bilder passend zu */
    display: block; 
    cursor: pointer;
    border-radius: 0px !important;
}

video {
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.footer {
    color: grey;
    background-color: white;
    font-family: 'Arial', 'Helvetica', 'sans-serif';
    font-size: 0.6em;
    letter-spacing: 0.1em;
    justify-content: center;
    align-items: center;
    min-height: 5vh;
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablets */
        margin: 0 auto 10% auto;
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 1 Spalte auf Smartphones */
        margin: 0 auto 12% auto;
    }
}

/* Mobile-specific header sizing */
@media (max-width: 768px) {
    .header a {
        font-size: 1.7rem;
    }
}

@media (max-width: 600px) {
    .header a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header a {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    .header a {
        font-size: 1.2rem;
    }
}