
html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

@media screen and (-webkit-max-device-pixel-ratio: 1) {
}
 
/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
}

@media only screen and (min-width: 112.5em) {
    html {
        font-size: 75%;
    }
}

@media only screen and (max-width: 75em) {
    html {
        font-size: 56.25%;
    }
}

@media only screen and (max-width: 56.25em) {
    html {
        font-size: 50%;
    }
}

@media only screen and (max-width: 37.5em) {
    html {
        font-size: 45%;
    }
}

@media only screen and (max-width: 25em) {
    html {
        font-size: 40%;
    }

    h2 {
        font-size: 6rem;
    }
}




@media only screen and (max-width: 56.25em) {
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu_icon {
        display: none;
    }

    .icons #close_icon {
        display: none;
    }

    #check:checked~.icons #close_icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background-color: #041838;
        backdrop-filter: blur(50px);
        
        overflow: hidden;
        transition: .4s ease;
    }

    #check:checked~.navbar {
        height: 100vh;
    }

    .navbar a {
        display: flex;
        align-items: center;
        align-content: center;
        font-size: 3rem;
        font-weight: 700;
        margin: 3rem 1.6rem;
       
    }
}




@media only screen and (max-width: 75em) {
    .hero {
        position: relative;
        width: 100%;
        height: 40vh;
     
    }

    .hero_logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,0%);
    }

    .main_logo {
        display: flex;
        justify-content: center;
        width: 20vw;   
    }

    .intro_section {
        position: relative;
        width: 100%;
        height: 40vh;
    }

    .intro_container {
        position: absolute;
        padding-top: 5%;
        padding-left: 5%;
        width: 90%;
    }

    .about_us {
        padding-left: 0;
    }

    .about_text {
        padding-left: 0;
    }

    .services_section {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
    }
}



@media only screen and (max-width: 56.25em) {

    .hero {
        position: relative;
        width: 100%;
        height: 29vh;
    }
    .hero_logo {
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%,0%);
    }

    .main_logo {
        display: flex;
        justify-content: center;
        width: 30vw;   
    }

    .intro_section {
        position: relative;
        width: 100%;
        height: 30vh;
    }

    .cta_btn {
        margin-top: 2rem;
    }

    .services_section {
        position: relative;
        width: 100%;
        height: auto;
        margin: 0;
    }

    


    .our_services {
        position: relative;
        padding-top: 10%;
        padding-left: 5%;
    }
}

@media only screen and (max-width: 37.5em) {

    .hero {
        position: relative;
        width: 100%;
        height: 20vh;
     
    }

    .hero_logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .card span {
        opacity: 1;
    }
    
}

/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
    .hero {
        height: 40vh;
        overflow: hidden;
    }


    .hero_logo {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

    .hero_logo h4 {
        font-size: 2rem;
        line-height: 1.6rem;
        text-align: center;
    }

    .eco_hero_img {
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .main_logo {
        display: flex;
        justify-content: center;
        width: 50vw;
        
       
    }

    .intro_section {
        position: relative;
        width: 100%;
        height: 60vh;
      
    }

    .intro_container {
        position: absolute;
        padding-top: 5%;
        padding-left: 5%;
        width: 90%;
     }

     .intro_container h2{
        font-size: 6rem;
     }

     .about_us {
        display: inline-block;
        padding-left: 0;
        z-index: 2;   
    }

    .about_text {
        padding-left: 0;
        display: inline-block;
    }

    .about_text p {
            line-height: normal;
        }

    .cta_flex_container {
        width: 90%;
    }

    .cta_btn {
        margin-top: 3rem;
        padding: 2.5rem;
        font-size: 1.6rem;
        transition: 0s all;
    }

    .services_section {
        height: auto;
        margin: 0;
    }

    .our_services {
        position: relative;
        padding-top: 5%;
        padding-left: 5%;
    }

    .card {
        width: 30rem;
        height: 32rem;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
        color: #f0f0f0;
        margin: 1rem;
        background-color: #041838;
      }

      .card span {
        opacity: 1;
      }

    .footer_logo{
        display: flex;
        flex: 1 0 100%; 
    }

    .footer_img {
        width: 30%;
    }
} 


@media only screen and (max-width: 25em) {
   
}