@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    box-sizing: border-box;
    /*padding: 0;*/
}

body {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
}

.GrossesLogo{
    width: 30%;
    display: block;
    margin: 0 auto;
}

.TrennlinieLogo{
    width: 96%;
}

header {
    width: 96%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1%;
    padding-bottom: 1%;
}

.NavbarHotButtons{
    display: flex;
    gap: 30%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%); /* Verschiebt das Element um die Hälfte seiner Breite und Höhe */
    justify-content: space-between;
    width: 25%;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}

.NavbarHotButtons a{
    padding: 25px;
    background-color: rgba(188,194,88,255);
    transition:all 0.5s ease ;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.NavbarHotButtons a:hover, .NavbarHotButtons a:active, .NavbarHotButtons a:focus {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}


.TerminBuchenButtonUndTeamButton {
    margin-right: 0;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: rgba(188,194,88,255);
    color: white;
    padding: 1%;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}

.TerminBuchenButtonUndTeamButton:hover, .TerminBuchenButtonUndTeamButton:active, .TerminBuchenButtonUndTeamButton:focus {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.TrennlinieHeader{
    color: black;
    width: 96%;
}


.containerzwei .containseins {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    margin-top: 0.7%;
    margin-right: 2%;
    margin-left: 2%;
    gap: 1%;
}

.containerzwei {
    margin-bottom: auto;
    width: 85%;
    display: flex;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.texteins {
    margin-bottom: 1%;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 2%;
    
}

.textzwei{
    margin-left: 2%;
    margin-right: 2%;
    padding-bottom: 3%;
    text-align: center;
}

.containerzwei .containseins img{
    width: 100%;
    height: 100%;
    transition: filter 0.3s ease;
    filter: brightness(70%);
}

.containerzwei .containseins img:hover {
    filter: brightness(50%);
}

.kachel {
    position: relative;
    width: 100%;
}

.kachel img.darkened {
    filter: brightness(50%);
}

.text a{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3vh;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase ;
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.text h3, .text p, .text a {
    margin: 0;
    padding: 5px 0;
    line-height: 1.2;
}

.text a {
    color: white;
    font-size: 180%;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.kachel4 .text4 {
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    text-align: left;
    width: 100%;
    padding: 5%;
    box-sizing: border-box;
}

.text4 h3 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 3%;
    font-size: 150%;
}

.text4 p {
    color: white;
    margin: 3% 0;
    display: flex;
    align-items: center;
    font-size: 120%;
}

.text4 i {
    margin-right: 5%;
    font-size: 120%;
    color: white; 
}

.ImpressumTag, .DatenschutzTag{
    color:rgb(158, 157, 157); 
    text-decoration: none;
    margin-left: 2%;
    align-self: flex-start;
}

.ImpressumTag:hover, .DatenschutzTag:hover{
    text-decoration: underline;
}

.slider{
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    margin-bottom: 0.5%;
}
.slider img{
    width: 96%;
    display: none;
    margin-left: 2%;
    margin-top: 1%;
}
img.displaySlide{
    display: block;
    animation-name: fade;
    animation-duration: 1.5s;
}
.slider button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 10px 15px;
    background-color: hsla(0, 0%, 0%, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    background-color: transparent;
}
.prev{
    left: 0;
    margin-left: 2%;
}
.next{
    right: 0;
    margin-right: 2%;
}
@keyframes fade {
    from {opacity: .5}
    to {opacity: 1}
}

/* RESPONSIVE DESIGN */
@media (max-width: 1600px) {
    .NavbarHotButtons a{
        padding: 18px;
    } 
    .text4 h3 {
        font-size: 130%;
    }
    .text4 p {
        font-size: 100%;
        margin: 0;
    }
    .text4 i {
        font-size: 90%;
    }
}

@media (max-width: 1400px) {
    .NavbarHotButtons a{
        padding: 18px;
    } 
    .text4 h3 {
        font-size: 130%;
    }
    .text4 p {
        font-size: 80%;
        margin: 0;
    }
    .text4 i {
        font-size: 90%;
    }
}

@media (max-width: 1200px) {
    .NavbarHotButtons a{
        padding: 14px;
    } 
    .text4 h3 {
        font-size: 110%;
    }

    .text4 p {
        font-size: 70%;
        margin: 0;
    }

    .text4 i {
        font-size: 85%;
    }
}

@media (max-width:1150px) {
    .text4 h3 {
        font-size: 90%;
    }

    .text4 p {
        font-size: 65%;
        margin: 0;
    }
    .kachel a{
        font-size: 150%;
    }  
     
}

@media (max-width: 992px) {
    .NavbarHotButtons a{
        padding: 12px;
    } 
    .NavbarHotButtons {
        display: grid;
        place-items: center;
        margin-left: 0;
        grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    }

   

    .containerzwei {
        width: 95%;
    }
    .kachel a{
        font-size: 110%;
    }
    .text4 h3 {
        font-size: 22px;
    }
    .text4 p {
        font-size: 38%;
    }
    .text4 i {
        font-size: 70%;
    }
    .oeffnungszeiten{
        font-size: 28px;
    }
    .oeffnungszeiten p{
        line-height: 200%;
    }
    .nichtOeffnungszeiten{
        display: none;
    }
}

@media (max-width: 768px) {
    .NavbarHotButtons a{
        padding: 12px;
    }
    .NavbarHotButtons {
        display: grid;
        place-items: center;
        margin-left: 0;
        grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    }

    .containerzwei .containseins {
        grid-template-columns: repeat(2, 1fr); 
    }
    .containerzwei {
        width: 95%;
    }
    .kachel a{
        font-size: 180%;
    }
    .text4 h3 {
        margin-bottom: 3%;
        font-size: 19px;
    }
    .text4 p {
        font-size: 100%;
    }
    .text4 i {
        font-size: 100%;
    }
    .oeffnungszeiten{
        font-size: 19px;
    }
    .oeffnungszeiten p{
        line-height: 200%;
    }
    .nichtOeffnungszeiten{
        display: none;
    }
}

@media (max-width: 630px) {
    .NavbarHotButtons a{
        padding: 8px;
    }
    .TerminBuchenButtonUndTeamButton {
        font-size: 12px;
    }
    .oeffnungszeiten{
        font-size: 18px;
    }
    .nichtOeffnungszeiten{
        display: none;
    }
    .text4 h3 {
        margin-bottom: 3%;
        font-size: 15px;
    }
    .text4 p {
        font-size: 85%;
    }
    .text4 i {
        font-size: 100%;
    }
    .oeffnungszeiten{
        font-size: 17px;
    }
 
    .oeffnungszeiten p{
        line-height: 200%;
    }
}

@media (max-width: 480px) {
    .NavbarHotButtons a{
        padding: 6px;
        font-size: small;
    }
    .NavbarHotButtons {
        display: grid;
        place-items: center;
        margin-left: 0;
        grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    }
    .TerminBuchenButtonUndTeamButton {
        font-size: 10px;
        margin: 0;
        font-weight: 500; /*Vielfaches von 100: Wertebereich von 100-900*/
    }
    .containerzwei {
        width: 100%;
    }
    .TrennlinieLogo{
        margin-bottom: 0.5%;
    }
    .TrennlinieHeader{
        margin-top: 0.5%;
    }
    .kachel a{
        font-size: 90%;
    }
    .text4 h3 {
        margin-bottom: 2%;
        font-size: 16px;
        margin: 0;
    }
    .text4 p {
        font-size: 48%;
        margin: 0;
    }
    .text4 i {
        font-size: 100%;
    }
    .oeffnungszeiten{
        font-size: 28px;
    }
    .nichtOeffnungszeiten{
        display: none;
    }
    .ImpressumTag, .DatenschutzTag{
        font-size: small;
    }

    .oeffnungszeiten p{
        line-height: 200%;
    }

    .texteins, .textzwei{
        font-size: 80%;
    }
}

@media (max-width: 400px) {
    .text4 h3 {
        margin-bottom: 3%;
        font-size: 14px;
    }
    .text4 p {
        font-size: 75%;
    }
    .text4 i {
        font-size: 80%;
    }
    .oeffnungszeiten{
        font-size: 14px;
    }
 
    .oeffnungszeiten p{
        line-height: 200%;
    }
    h1{
        text-align: center;
    }
    .texteins, .textzwei{
        font-size: 80%;
    }
}

@media (max-width: 340px) {
    .text4 h3 {
        margin-bottom: 3%;
        font-size: 12px;
    }
    .text4 p {
        font-size: 60%;
    }
    .text4 i {
        font-size: 60%;
    }
    .oeffnungszeiten{
        font-size: 12px;
    }
 
    .oeffnungszeiten p{
        line-height: 200%;
    }
    .texteins, .textzwei{
        font-size: 70%;
    }
}
