@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;600;700&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: 0.2s ease-in-out;
    color: #000;
    text-decoration: none;
    text-transform: none;
}

::selection{
    background-color: var(--Logo2-Blue);
    color: #fff;
}


::-webkit-scrollbar{
    width: 12px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--Logo2-Blue);
}

section {
    padding: 2rem 9%;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.heading{
    text-align: center;
    font-size: 2rem;
    color: var(--Very-Dark-Blue);
    margin-top: 10rem;
    margin-bottom: 5rem;
}


.heading h1{
    padding-bottom: 2rem;
}


.heading p{
    max-width: 60rem;
    margin: auto;
    color: var(--Grayish-Blue);
    font-size: 1.7rem;
}


.all-btn{
    padding: 1rem 3rem;
    font-size: 1.5rem;
    background-color: var(--Soft-Blue);
    border-radius: .5rem;
    color: #fff;
}
.all-btn-price {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    background-color: green;
    border-radius: .5rem;
    color: #fff;
}

.all-btn:hover{
    background-color: transparent;
    color: var(--Soft-Blue);
    border: 2px solid var(--Soft-Blue);
}
.all-btn-price:hover{
    background-color: transparent;
    color: var(--Soft-Blue);
    border: 2px solid green;
}

:root{
    --Soft-Blue: hsl(231, 69%, 60%);
    --Logo-Blue: #0BDBFF;
    --Logo2-Blue: #009DFE;
    --Grayish-Blue: hsl(229, 8%, 60%);
    --Very-Dark-Blue: hsl(229, 31%, 21%);
    --box-shadow: .5rem .5rem  0 hsl(231, 69%, 60%);
    --text-shadow: .4rem .4rem  0 rgba(0, 0, 0, .2);
    --border: .2rem  solid var(--green);
}


/* navbar sections starts */
.header{
    padding: 3rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* position: fixed; */
    top: 0;
    right: 0%;
    left: 0;
    z-index: 10000;
    background-color: #fff;
    box-shadow: 0rem 0.5rem 1.5rem rgba(0, 0, 0, .1);
}


.header .logo{
    cursor: pointer;
}


.header .navbar a{
    margin-left: 2rem;
    font-size: 1.7rem;
    text-transform: uppercase;
}


.header .navbar a:hover{
    color: var(--Logo2-Blue);
}


.header .navbar .btn{
    padding: .6rem 3rem;
    background-color: var(--Logo2-Blue);
    color: #fff;
    border-radius: .5rem;
}

.header .navbar .btn:hover{
    color: var(--Logo2-Blue);
    background-color: transparent;
    border: 2px solid var(--Logo2-Blue);
}

.header img {
    height: 60px;
}

#menu-btn{
    padding: 1rem 1rem;
    background-color: #eee;
    font-size: 3rem;
    color: var(--Soft-Blue);
    border-radius: .5rem;
    cursor: pointer;
    display: none;
}



/* Media Queries */




@media (max-width: 991px){
    html{
        font-size: 55%;
    }
    .header{
        padding: 2rem;
    }
    
}

@media (max-width: 768px){
    #menu-btn{
        display: initial;
    }

    /* .header .navbar{
        position: absolute;
        top: 115%;
        right: 2rem;
        box-shadow: var(--box-shadow);
        width: 33rem;
        border-radius: .5rem;
        border: 2px solid var(--Soft-Blue);
        background-color: #fff;
        transform: scale(0);
        transform-origin: top right;
    } */



    .header .navbar.active{
        transform: scale(1);
    }

    .header .navbar a{
        margin: 2.5rem;
        text-align: center;
        display: block;
        font-size: 2rem;
    }
}


@media (max-width: 450px){
    html{
        font-size: 50%;
    }

    /* Test start */

    .header .navbar {
        position: relative; /* Statt absolute */
        top: 0;
        right: 0;
        /* box-shadow: var(--box-shadow); */
        width: 33rem;
        border-radius: .5rem;
        /* border: 2px solid var(--Soft-Blue); */
        background-color: #fff;
        overflow: hidden;
        max-height: 0; /* Initiale Höhe auf 0 setzen */
        transition: max-height 0.3s ease-in-out; /* Animiert die Höhe */
    }
    
    /* Aktiviert die Navbar */
    .header .navbar.active {
        max-height: 300px; /* Pass die Höhe an die tatsächliche Größe der Navbar an */
    }
    
    /* Optional: Styling für darunterliegenden Inhalt */
    .content {
        transition: margin-top 0.3s ease-in-out; /* Animiertes Verschieben des Inhalts */
    }
    
    /* Wenn Navbar aktiv ist, rutscht der Inhalt nach unten */
    .header .navbar.active ~ .content {
        margin-top: 300px; /* Gleicher Wert wie max-height der Navbar */
    }

    /* Test ende */
}
/* navbar sections ends */


/* home section starts  */

.home{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* main property for responsiveness */
    gap: 1.5rem;
}


.home .image{
    flex: 1 1 45rem;
}


.home .image img{
    width: 100%;
    margin-top: 5rem;
}


.home .content{
    flex: 1 1 45rem;
}


.home .content h1{
    font-size: 4.5rem;
    padding-block-end: 1rem 0;
    color: var(--Very-Dark-Blue);
    
}

.home .content p{
    font-size: 1.7rem;
    padding: 1rem 0;
    max-width: 40rem;
    color: var(--Grayish-Blue);
    padding-bottom: 4rem;
}

.home .content .home-btn{
    padding: 1.3rem 2rem;
    background-color: #fff;
    color: #000;
    font-size: 1.4rem;
    box-shadow: .5rem .5rem hsl(231, 69%, 60%);
    border: 2px solid var(--Soft-Blue);
    border-radius: .5rem;
}


.home .content .home-btn:hover{
    background-color: var(--Soft-Blue);
    box-shadow: none;
    color: #fff;
}

#container img{
    width: 100%;
    height: 50%;
    align-items: end;
    border-radius: 35% 0 0 35%;
    border: 8px solid grey;
}
/* Responsives Design */
/* @media (max-width: 1750px) {
    #container img{
        width: 75%;
        height: 25%;
        align-items: end;
        border-radius: 35% 0 0 35%;
        border: 8px solid grey;
    }
} */


/* about section ends  */


/* home section starts  */

.about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* main property for responsiveness */
    gap: 1.5rem;
}


.about .image{
    flex: 1 1 45rem;
}


.about .image img{
    width: 100%;
    margin-top: 5rem;
}


.about .content {
    flex: 1 1 45rem;
    text-align: end;
    display: flex;
    flex-direction: column; 
    align-items: flex-end; 
}



.about .content h1{
    font-size: 4.5rem;
    padding-block-end: 1rem 0;
    color: var(--Very-Dark-Blue);
    
}

.about .content p{
    font-size: 1.7rem;
    padding: 1rem 0;
    max-width: 40rem;
    color: var(--Grayish-Blue);
    padding-bottom: 4rem;
}

.about .content .home-btn{
    padding: 1.3rem 2rem;
    background-color: #fff;
    color: #000;
    font-size: 1.4rem;
    box-shadow: .5rem .5rem hsl(231, 69%, 60%);
    border: 2px solid var(--Soft-Blue);
    border-radius: .5rem;
}


.about .content .home-btn:hover{
    background-color: var(--Soft-Blue);
    box-shadow: none;
    color: #fff;
}
/* about section ends */

.image-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    border: 8px solid grey;
}



.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* Breite für alle Bilder */
}

.slider-container img {
    width: 35%; /* Bilder skalieren */
    flex-shrink: 0;
}

.image-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.image-slider .prev {
    left: 10px;
}

.image-slider .next {
    right: 10px;
}



/* home section ends */



/* features section starts  */

.features .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5rem;
    margin: 3rem 0;
}

.features .row .image{
    flex: 1 1 45rem;
}


.features .row .image img{
    width: 100%;
}



.features .row .content{
    flex: 1 1 45rem;
}


.features .row .content h1{
    font-size: 4rem;
    padding: 1rem 0;
    color: var(--Very-Dark-Blue);
}


.features .row .content p{
    font-size: 1.7rem;
    padding: 1rem 0;
    color: var(--Grayish-Blue);
    padding-bottom: 4rem;
}
/* features section ends */


/* service section starts  */

.service .box-container{
    display: grid;
    gap: 5rem;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.service .box{
    border: 2px solid var(--Soft-Blue);
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    text-align: center;
    padding: 2.5rem;
}
.service .box:hover{
    border: 2px solid var(--Soft-Blue);
    box-shadow: none;
}


.service .box h3{
    font-size: 2rem;
    padding: 1rem 0;
    color: var(--Very-Dark-Blue);
}


.service .box p{
    font-size: 1.7rem;
    padding-bottom: 2.5rem;
    color: var(--Grayish-Blue);
}

/* service section ends */

/* Bewertungen starts */
/* Styling für den Container */
#reviewpic {
    display: flex;
    flex-wrap: wrap; /* Ermöglicht Zeilenumbruch bei Platzmangel */
    justify-content: center; /* Zentriert die Bilder */
    gap: 15px; /* Abstand zwischen den Bildern */
    padding: 10px; /* Innenabstand für den Container */
}

/* Styling für die Bilder */
#reviewpic img {
    max-width: 100%; /* Passt sich an die verfügbare Breite an */
    max-height: 450px; /* Maximale Höhe der Bilder */
    width: 450px; /* Beibehaltung der Seitenverhältnisse */
    height: 100%; /* Beibehaltung der Seitenverhältnisse */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Schatteneffekt */
    border-radius: 10px; /* Abgerundete Ecken */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation für Hover */
}

/* Hover-Effekt für die Bilder */
#reviewpic img:hover {
    transform: scale(1.05); /* Leichte Vergrößerung */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5); /* Tieferer Schatten */
}

/* Responsives Design */
@media (max-width: 768px) {
    #reviewpic img {
        max-width: 100%; /* Bilder füllen die Breite ihres Containers */
        max-height: 300px; /* Kleinere Höhe für kleinere Bildschirme */
    }
}

@media (max-width: 480px) {
    #reviewpic img {
        max-width: 100%; /* Bilder passen in die Bildschirmbreite */
        max-height: 200px; /* Noch kleinere Höhe für sehr kleine Bildschirme */
    }
}


/* Bewertungen ends */

/* footer section starts */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

.footer .box-container{
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 150px;
}

.footer .box-container .box h3{
    font-size: 2.5rem;
    color: var(--black);
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    font-size: 1.5rem;
    color: var(--light-color);
    padding: 1rem 0;
    text-transform: none;
}

.footer .box-container .box a i{
    padding-right: .5rem;
    color:var(--green);
}

.footer .box-container .box a:hover i{
    padding-right:1rem;
}


.footer .credit{
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 2rem;
    color: #000;
    border-top: .1rem solid rgba(0, 0, 0, .1);
}


.footer .credit span{
    color: var(--Logo2-Blue);
    cursor: pointer;
}


@media (max-width: 450px) {
    .footer .box-container{
        gap: 25px;
    }

    .image-slider {
        margin-top: 20px;
        height: 250px;
    }
    .footer .box-container .box a{
        font-size: 10px;
    }
}
/* footer section ends */