@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: 'HIND';
    src: url('fonts/Hind-Bold.otf') format('truetype');
}
@font-face {
    font-family: 'Dieselpower';
    src: url('fonts/DieselpowerPersonalUse-axaY5.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;
    font-family: 'Hind', sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 5vh; /* Verhindert dass Inhalt hinter Footer verschwindet */
    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);
}

h2 {
    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);
}

.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;
}

/* Ensure gallery items maintain consistent sizing */
.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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 */
}

h2 {
    margin-top: 8%; /* Gleicher Abstand wie andere Seiten */
    margin-bottom: 0; /* Entfernt Abstand zur Galerie */
    margin-left: 3%;
    text-align: left;
}

/* Grid für Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 Spalten */
    gap: 1%; /* Abstand zwischen Bildern */
    max-width: 95%;
    margin: 0 auto 8% auto; /* Mehr Abstand zum Footer */
    justify-content: center;
    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;
}

p {
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 15%;
    padding-bottom: 8vh; /* Zusätzlicher Abstand zum Footer */
    text-align: left;
    line-height: 1.8;
    font-size: 1vw;
}

/* Lightbox für vergrößerte Bilder */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.footer {
color: black;
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%;
z-index: 100;
}

/* 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;
}
}

/* 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;
    }
}
}

  

