:root{
    --background-color: rgba(211, 211, 211);
    --darker-background-color: #243848;
    --accent-color: #4194e1;
    --text-color: #FFFFFF;
    --navbar-height: 80px;
}
*{
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: var(--text-color);
}
html{
    height: 100%;
}
body{
    height: 100%;
}
nav{
    z-index: 100000;
    height: var(--navbar-height);
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .logo{
    margin-left: 30px;
    font-size: 30px;
    text-decoration: none;
}
nav ul{
    font-size: 22px;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}
nav li{
    z-index: 100000;
    height: 100%;
    width: 200px;
    text-align: center;
    position: relative;
}
nav li:hover{
    background: var(--accent-color);
}
nav ul a{
    height: 100%;
    width: 100%;

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

    text-decoration: none;
}
.dropdown{
    height: min-content;
    width: 200px;
    background: var(--background-color);

    display: none;
    flex-direction: column;
    
    position: absolute;
    left: 0;
    top: var(--navbar-height);   
}
.dropdown li{
    height: 70px;
    width: 100%;
}
.dropdown li a{
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
}
nav li:hover .dropdown{
    display: flex;
}
nav input[type="checkbox"]{
    display: none;
}
.expandable_li{
    display: flex;
    justify-content: center;
    align-items: center;
}
.toggle_button{
    width: 30px;
    height: 23px;

    position: absolute;
    top: 25px;
    right: 25px;

    display: none;
    flex-direction: column;
    justify-content: space-between;
}
.bar{
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
} 
@media(max-width: 1060px){
    .toggle_button{
        display: flex;
    }
    nav li:hover{
        background: var(--background--);
    }
    nav ul{
        height: min-content;
        width: 100%;
        background-color: var(--background-color);

        display: none;
        position: absolute;
        top: var(--navbar-height);
    }
    nav li{
        height: min-content;
        width: 100%;
    }
    nav ul a{
        padding: 10px 0;
        background-color: var(--background-color);
    }
    .expandable_li{
        display: block;
    }
    .expandable_li label{
        padding: 10px 0;
        cursor: pointer;
        display: block;
        background-color: var(--background-color);
    }
    .expandable_li:hover .dropdown{
        display: none;
    }
    .expandable_li input[type="checkbox"]:checked ~ .dropdown{
        display: block;
    }
    .dropdown{
        position: static;
        width: 100%;
        font-size: 15px;
        margin: 0px;
    }
    .dropdown li{
        padding: 0;
        display: block;
        position: static;
    }
    .dropdown li a{
        background: rgb(198, 198, 198);  
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    #toggle_button:checked ~ ul{
        display: block;
    }
}
@media(max-width:350px){
    nav .logo{
        margin-left: 5px;
    }
    .title{
        font-size: 9vw;
    }
}
@font-face {
    font-family: 'MeineSchrift';
    src: url(DancingScript-Medium.ttf);
}
.container{
    position: relative;
    text-align: center;
}
.Background0{
    height: 100vh;
    width: 100%;
    object-fit: cover;
}
.h1 {
    top: 150px;
    font-size: 5vw;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-color: rgba(211, 211, 211, 0.651);
    position: absolute;
    width: calc(100% - 100px);
    left: 50%;
    transform: translateX(-50%);
    padding: 25px 50px;
    text-align: center;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.Background1{

    display: flex;
    flex-direction:column;
    box-sizing: border-box;
    justify-content: space-around;
    flex-flow: wrap;
    border: 0px solid;
    top: 800px;
    height: auto;
    padding-bottom: 100px;
    width: 100%;
    background-color:  rgb(236, 204, 134);
}

.grid-item{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    padding-bottom: 75px;
    color: black;
}
.title1{
    box-sizing: border-box;
    display: flex;
    width: 5000px;
    height: 100px;
    text-align: center;
    margin-top: 50px;
    margin-left: 50vw;
    font-size: 40px;
    border: 0px solid;
    border-radius: 10px 0 0 10px ;
    padding: 25px 50px;
    color: black;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    background-color: rgba(201, 201, 201, 0.774);
}
.r2{
    box-sizing: border-box;
    display: flex;
}
.texte{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.oben, .mitte, .unten{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
}
#Box1, #Box2, #Box3, #Boxen, .fett{
    box-sizing: border-box;
    font-size: 1.5vw;
    color: black;
    padding: 10px 20px;

}
.container1 .fett {
    font-weight: bold; /* Text fett machen */
}
.container1{
    box-sizing: border-box;
    display: flex;
}
.container2{
    box-sizing: border-box;
    display: flex;

}
.container3{
    box-sizing: border-box;
    display: flex;
}
.Bild1{
    box-sizing: border-box;
    display:flex;
    width: 45vw;
    height: 30vw;
    border: 0px solid;
    border-radius: 7px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}
.Bild1_1{
    display: flex;
    width: 50vw;
}
.Bild2{
    box-sizing: border-box;
    display: flex;
    width: 18vw;
    height: 12vw;
    border: 0px solid;
    border-radius: 40px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}
.Bild3{
    box-sizing: border-box;
    display: flex;
    width: 18vw;
    height: 12vw;
    border: 0px solid;
    border-radius: 40px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}
.fade-in-out{
    box-sizing: border-box;
    display: flex;
    height: 7vw;
    margin-top: 10vw;
    margin-left: 11.2vw;
}
.image-container {
    position: relative;
    overflow: hidden;
  }
  
  .fade-in-out {
    position: absolute;
    animation: fadeInOut 10s infinite;
  }
  
  @keyframes fadeInOut {
    0% {
      opacity: 0;
    }
    45% {
      opacity: 1;
    }
    55% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
@media(max-width:1300px){
    #Box1, #Box2, #Box3, .fett{
        font-size: 18px;
        color: black;
    }
    .container2{
        right: 400px;
        top: 430px;
    }
}
@media(max-width:1230px){
    .Bild2{
        right: 320px;
    }
    .Bild3{
        right: 300px;
    }
    .container2{
        right: 300px;
    }
}
.image-container {
    display: none; /* Das Bild standardmäßig ausblenden */
  }
  
@media screen and (min-width: 768px) {
    .image-container {
      display: block; /* Das Bild anzeigen, wenn die Bildschirmbreite größer als 768px ist */
    }
  }
  
  .container6 {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: auto;
    background-color: #FFFFFF;
}

table, th, td {
    border: 5px solid;
    border-collapse: collapse;
    border-color: rgb(255, 255, 255);
}
table {
    position: absolute;
    top: 5vw;
    z-index: 1000;
    width: 100%;
    table-layout: fixed;
}

.Bilder {
    width: 15vw; /* Ändern Sie diese Zahl auf die gewünschte feste Größe */
    height: 15vw; /* Ändern Sie diese Zahl auf die gewünschte feste Größe */
    object-fit: cover; /* Dies sorgt dafür, dass das Bild in das festgelegte Verhältnis eingepasst wird */
    transition: all 0.3s ease; /* Übergangseffekt für sanfte Größenänderungen */
}

.Bilder:hover {
    cursor: pointer; /* Zeiger ändern, um anzuzeigen, dass das Bild anklickbar ist */
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Hintergrundfarbe des Overlays */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#vergroessertesBild {
    max-width: 80%; /* Maximale Breite des vergrößerten Bildes */
    max-height: 80%; /* Maximale Höhe des vergrößerten Bildes */
}

#close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

#prev {
    left: 20px;
}

#next {
    right: 20px;
}

.Hund1{
    width: 20px;
    height: 20px;
    margin-left: 10px;
}
.container17{
    position:absolute;
    height: auto;
    width: 100%;
    background-color: #FFFFFF;
    color: black;
    text-align: center;
}
.Impressum{
    color: black;
}

/*New boxen*/
.news{
    display: flex;
    flex-wrap: wrap;
    color: black;
    box-sizing: border-box;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin: 5%;
    border: 1px solid;
    border-radius: 5px;
    padding: 5%;
}
h2{
    color: black;
}
.TextN{
    color: black;
}

@media(max-width:1050px){
    .r2{
        flex-direction:column;
    }
    .Bild1{
        margin-bottom: 50px;
        margin-top: 50px;
        margin-left: 20vw;
    }
    .texte{
        flex-direction: row;
    }
    .oben, .mitte, .unten{
        flex-direction: column;
    }
    .fade-in-out{
        margin-top: 16vw;
        margin-left: 31vw;
    }
}
@media(max-width:940px){
    .title1{
        margin-left: 0;
        text-align: center;
        font-size: 4.5vw;
    }
}
@media(max-width:800px){
    .fade-in-out{
        margin-top: 17vw;
    }
}
@media(max-width:720px){
    .title1{
        font-size: 5.5vw;
    }
}
@media(max-width:650px){
    .fade-in-out{
        margin-top: 18.5vw;
    }
}
@media(max-width:520px){
    #Box1, #Box2, #Box3, #Boxen, .fett{
        	font-size: 3vw;
            padding: 5px 10px;
    }
    .fade-in-out{
        margin-top: 21vw;
    }
}
@media(max-width:500px){
    .title1{
        font-size: 7vw;
    }
    .container17{
        font-size: 3vw;
    }
    .fade-in-out{
        margin-top: 23vw;
    }
}
@media(max-width:400px){
    .fade-in-out{
        margin-top: 24vw;
    }
}
@media(max-width:340px){
    .fade-in-out{
        margin-top: 26vw;
    }
}
@media(max-width:300px){
    .fade-in-out{
        margin-top: 28.5vw;
    }
}
@media(max-width:260px){
    .fade-in-out{
        height: 0px;
    }
}
@media(min-width:1530px){
    #Box1, #Box2, #Box3, .TextN, .fett{
        font-size: 23px;
    }
}