:root{
    --primary-color: #a68e67;
    --secondary-color: #f4d29a62;
    --background-color: #ffffff;
    --text-color: #151515;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--primary-color);
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.hintergrund {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 360vh;
    z-index: 1;
    overflow: hidden;
}
#mainimg {
    
    position: absolute;
    top: -15vh;
    left: 0;
    width: auto;
    max-width: 180%;
    height: 150vh;
    z-index: 1;
    background: linear-gradient(10deg, var(--primary-color), #fadcad);
}
#mainimg2 {
    
    object-fit: cover;
    position: absolute;
    top: 100vh;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}
#mainimg3 {
    
    object-fit: cover;
    position: absolute;
    top: 200vh;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    
}
#mainimg4 {
    
    object-fit: cover;
    position: absolute;
    top: 300vh;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    
}
.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
video {
    
    width: 250px;
    height: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

header {
    display: flex;
    justify-content: flex-end;
    
}
#openNav {
    z-index: 3;
     display: none;
    
}
.openNav {
    z-index: 10;
    cursor: pointer;
    
    width: 50px;
    height: 50px;
        position: absolute;
        top:10px;
        right: 0px;
  

}
nav {
    position: absolute;
    top: 3px;
    right: 25px;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    
    padding: 20px 30px;
}
nav a {
    display: none;
    z-index: 3;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    border-radius: 5px;
    
}
nav a:hover {
    transition:  0.3s, color 0.3s;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
    color: var(--background-color);
}
#openNav:checked ~ nav a {
        animation: all 0.3s ease-in-out;
        display: flex;
}
@keyframes all {
        0% {
            opacity: 0;
            transform: translateX(120px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

.background {
    will-change: transform;
}

.middle {
    will-change: transform;
}

.foreground {
    will-change: transform;
}

  

hero {
    z-index: 3;
    display: flex;
    margin-bottom: 100px;
    flex-direction: column;
    justify-content: center;
    font-size: larger;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: relative;

}
.imgbox {
    position: relative;
    width: min(60vw, 800px);
    aspect-ratio: 6 / 4; /* entspricht ungefähr 50vw zu 60vh */
    
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(0, 0, 0, 0.3);
    img{
        width: 190%;
    } 
    
    
}
       .effect {
           opacity: 0;
       }

       .effectvisible {
           opacity: 1;
           transition: opacity 1.5s ease-in-out;
           transition-delay: 0.3s;
       }

main, section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    
}

.mittelgrund {
    position: absolute;
    z-index: 2;
    width: 100%;
    min-height: 400vh;
    overflow: clip;
    
    
}
.balken1 {
    position: absolute;
    margin-inline: -25%;
    top: 94vh;
    z-index: 2;
    rotate: -5deg;
    height: 255px;
    width: 150%;
    background-color: var(--primary-color);
}

.balken2 {
    z-index: 2;
    position: absolute;
    rotate: 5deg;
    margin-inline: -44%;
    top: 94vh;
    
       border-left: 100vw solid var(--primary-color);
       border-right: 100vw solid transparent;
       border-bottom: 30vw solid transparent;
       border-top: 0rem solid transparent;
} 
.balken3 {
    position: absolute;
    margin-inline: -25%;
    top: 208vh;
    z-index: 2;
    rotate: 5deg;
    height: 255px;
    width: 150%;
    background-color: var(--primary-color);
}
.balken4 {
    position: absolute;
    margin-inline: -25%;
    top: 320vh;
    z-index: 2;
    rotate: -5deg;
    height: 255px;
    width: 150%;
    background-color: var(--primary-color);
}
.bg {
    background-color: #F6D6A4;
    width: 100%;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.Karten {
    font-weight: bold;
    text-shadow: 2px 1px 2px rgba(48, 48, 48, 0.2);
    z-index: 3;
    background-color: var(--secondary-color);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(166, 142, 103, 0.3);
    border-radius: 15px;
    width: 70vw;
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 55px 20px;
    margin-top: 60px ;
    
}

main h2, section h2 {
    margin: 0;
    
}
main p, section p {
    width: 60%;
    font-size: 1.2em;
    
    text-align: center;
    
}

main img {
    width: 300px;
    height: auto;
}

.booking-info {
    display: flex;
    gap: 20px;
    min-height: 15vh;
    width: 80%;
    flex-wrap: wrap;
    justify-content: space-around;
    
}
.booking-item {
    width: 25%;
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: rgba(0, 0, 0, 0.07) solid 1px;

}
.booking-info h3 {
    font-size: 1.2em;
    font-weight:bold;
    color: var(--text-color);
}
.booking-info ul, li {
    
    font-size: 1.1em;
    font-weight:bold;
    color: var(--text-color);
}

#events {
    display: none;
}
.event-list {
    display: flex;
    gap: 20px;
    min-height: 15vh;
    width: 80%;
    justify-content: center;
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.event-item img {
    width: 10vw;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
    display: flex;
    width: 10vw;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: rgba(0, 0, 0, 0.07) solid 1px;
}
.contact-info a {
    text-decoration: none;
    font-size: 1.3em;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info img {
    width: 27px;
    margin-block: -2px;
   
}
.contact-info:hover {
    scale: 1.05;
    transition: 0.3s;
}
.contact-info:hover a {
    color: var(--background-color);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
}
.contact-info:hover img {
    filter: invert(1);
    box-shadow: 1px 1px 5px rgb(255, 255, 255);
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 5vh;
    z-index: 3;
    background-color: #8f7a59;
    min-height: 10vh;
    color: var(--background-color);
    text-align: center;
    padding: 20px;
    position: relative;
    font-size: 0.8em;
}
.footer-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-box a {
    color: black;
    text-decoration: none;
}
.footer-box a:hover {
     transition:  0.3s, color 0.3s;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
    color: rgb(200, 200, 200);
}
.IuD {
    margin-left: 20px;
}
.IuD li {
    font-size: 1.1em;
    font-weight: normal;
}
    .IuD a {
        color: black;
        text-decoration: none;
    }
    .IuD a:hover {
        text-decoration: underline;
    }

.kontakt-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 0;
}
.kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
    gap: 20px;
    margin-top: 50px;
}
#kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
}
#kontakt-form input, #kontakt-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
#kontakt-form button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: var(--primary-color);
    color: var(--background-color);
    font-weight: bold;
    cursor: pointer;
}
#kontakt-form button:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1500px) {
   .hintergrund {
        min-height: 360vh;
    }
    #mainimg {
        left: -100px;
    }
    .mittelgrund {
        min-height: 360vh;
    }
    .balken4 {
        top: 320vh;
    }
    hero .imgbox {
        img {
            width: 150%;
        }
    }
    .Karten {
        width: 80vw;
        font-weight: normal;
    }
    main p, section p {
        width: 90%;
        font-weight: normal;
    }
    .booking-info {
        width: 90%;
    }
    .booking-item {
        width: 40%;
    }
    .booking-info li {
        width: 90%;
        font-weight: normal;
    }
    .event-list {
        width: 90%;
    }
    .event-item img {
        width: 20vw;
    }
    .contact-info {
        width: 20vw;
    }
    
   
}


@media (max-width: 800px) {
     #thanks {
        display: none;
    }
    h2 {
        font-size: 1.1em;
    }
    #booking h3 {
        font-size: 1em;
    }
    hero h1 {
        width: 70vw;
        font-size: 2em;
        top: 20%;
    }
    .hintergrund {
        min-height: 320vh;
    }
    #mainimg {
        left: -150px;
    }
    #mainimg4 {
        top: 200vh;
    }
    .mittelgrund {
        min-height: 320vh;
    }
    #meinimg {
        
        max-width: 100%;
        
    }
    #mainimg2 {
        width: 120%;
        top: 130vh;
    }
    #mainimg3 {
        width: 120%;
        top: 205vh;
    }
    .balken1 {
        height: 385px;
    }
    .balken3{
        top: 200vh;
        height: 250px;
    }
    .balken4 {
        top: 280vh;
        height: 250px;
    }
    .imgbox {
    position: relative;
    width: min(90vw, 800px);
    aspect-ratio: 6 / 4; /* entspricht ungefähr 50vw zu 60vh */
    
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(0, 0, 0, 0.3);
    }
    nav a {
        display: flex;
        font-size: 0.8em;
    }
    .Karten {
        font-size: 1.2em;
        padding: 10px 0px;
        margin-top: 30px;
    }
    .contact-info {
        width: 40vw;
        padding: 7px;
        margin-bottom: 20px;
    }
    nav {
        gap: 10px;
        font-size: 0.8em;
    }
    .event-item img {
        width: 25vw;
    }
    .booking-item {
        width: 100%;
    }
    .booking-info {
        width: 90%;
        gap: 5px;
        margin-bottom: 10px;
    }
    main p, section p {
        width: 90%;
    }
    .Karten {
        width: 90vw;
    }
    footer {
        font-size: 0.7em;
        gap: 10px;
        margin-top: 20vh;
    }
    .footer-box {
        width: 30%;
    }
    .kontakt-container {
        flex-direction: column;
    }
    .kontakt {
        width: 90%;
    }
}
@media (max-width: 500px) {
    .karten {
        width: 90vw;
    }
    #mainimg {
        max-width: 220%;
        left: -200px;
    }
    main p, section p {
        width: 90%;
    }
    .booking-info {
        width: 90%;
    }
    .booking-item {
        width: 100%;
    }
    .event-list {
        width: 90%;
    }
    .contact-info {
        width: 40vw;
    }
    .event-item img {
        width: 30vw;
    }
    .kontakt {
        width: 90%;
    }
    #kontakt-form {
        width: 100%;
    }
    footer {
        gap: 5px;
        padding: 5px;
        margin-top: 10vh;
        
    }
    .footer-box {
        gap: 5px;
    }
}
