@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&display=swap');
:root {

    --color-background-white: #ffffff;
    --color-background-blue: #1b202e;
    --color-background-gray: #d8d8d8;
    --letters-white: #ffffff;
    --letters-blue: #1b202e;
    --letters-black: #000;
    --letters-bluesky: #72d4ff;
    --letters-CT: #fb5a86;
    --letters-plazas: #0096ff;
    --letters-colab: #ff9f23;
    --letters-subtitle-gray: #424242;
    --color-background-blueOP: rgba(27, 32, 46, 0.3);
    --color-background-gray: rgb(236, 236, 236);
    --color-background-gray2: rgba(236, 236, 236, 0.3);

    --first-color: hsl(82, 60%, 28%);
    --title-color: hsl(0, 0%, 95%);
    --text-color: hsl(0, 0%, 95%);
    --body-color: hsl(0, 0%, 95%);
    --container-color: hsl(0, 0%, 100%);

    --body-font: "Poppins", sans-serif;
    --h2-font-size: 1.25rem;
    --small-font-size: .813rem;
}

#banner{
    background: linear-gradient(rgba(0,0,0,0.3), #1b202e), url(/images/sostenibilidad.webp);   
    background-size: cover;
    position: center;
    height: 100vh;
}
.banner-text{
    text-align: center;
    color: #fff;
    padding-top: 380px;
}
.banner-text h1{
    font-size: 130px;
    font-family: 'Bree Serif', serif;

}
.banner-text p{
    font-size: 22px;
    font-style: italic;
}


.video{
    width: 90px;
}

.about-contentin{
    flex: 1;
    background-color: var(--color-background-blue);
    border-radius: 15px;
    padding: 30px;
    text-align: justify;
}
.about-contentin h2{
    font-size: 60px;
    margin-bottom: 15px;
    color: white;
}

.about-contentin p{
    font-size: 1.5rem;
    line-height:  1.5;
    color: white;
    font-family: 'Open Sans', Calibri, Helvetica, sans-serif;;
}
.about-imagein{
    flex: 1;
    margin-left: 40px;
    overflow: hidden;

}
.about-imagein img{
    margin-top: 2%;
    max-width: 80%;
    height: auto;
    display: block;
    transition: 0.5s ease;

}
.about-imagein:hover img{
    
    transform: scale(1.2);
}



#service-section{
    min-height: 500px;
    width: 100%;
    background: var(--color-background-gray2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 80px;
}
#service-section h2{
    color: var(--letters-subtitle-gray);
    font-size: 50px;
    margin-bottom: 20px;
    position: relative;
    font-family: 'Open Sans', Calibri, Helvetica, sans-serif;;

}
#service-section h2::after{
    position: absolute;
    content: " ";
    top: 25%;
    left: -50px;
    height: 0px;
    width: 0px;
    border: 15px solid #27418C;
    border-radius: 50%;
}
#service-section h2::before{
    position: absolute;
    content: " ";
    top: 25%;
    right: -50px;
    height: 0px;
    width: 0px;
    border: 15px solid #27418C;
    border-radius: 50%;
}
#service-section #peregraph{
    width: 70%;
    font-size: 1rem;
    color: var(--letters-subtitle-gray);
    text-align: justify;
    line-height: 1.2rem;
    white-space: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    z-index: 0;
    margin-top: 10px;
    margin-bottom: 80px;
}
.cards .card{
    height: 350px;
    width: 450px;
    display: flex;
    justify-content: flex-start;
    text-align: justify;
    flex-direction: column;
    padding: 0 8%;
    background: var(--color-background-gray);
    position: relative;
    border-radius: 10px;
    margin: 0 10px;
}
.cards .card::before{
    position: absolute;
    content: " ";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: var(--color-background-blueOP);
    transition: .6s;
    transform: rotate(0deg);
    z-index: -1;
}
.cards .card:hover.card::before{
    transform: rotate(10deg);
}
.cards .card i{
    font-size: 2.5rem;
    color: var(--letters-blue);
    margin-top: 40px;
    margin-bottom: 10px;
} 
.cards .card h3{
    font-size: 1.8rem;
    color: var(--letters-blue);
    margin-bottom: 10px;
}
.cards .card .content p{
    color: black;
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 500;
    
}

.containeren{
    width: 100%;
    margin: 0 auto;
    margin-top: 8%;
    padding: 10px 20px;
    margin-bottom: 8%;
}
.abouten{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.about-image{
    flex: 1;
    margin-right: 40px;
    overflow: hidden;

}
.about-image img{
    margin-top: 2%;
    max-width: 100%;
    height: auto;
    display: block;
    transition: 0.5s ease;

}
.about-image:hover img{
    
    transform: scale(1.2);
}
.about-content{
    flex: 1;
    background-color: #5BB15A;
    border-radius: 15px;
    padding: 20px;
    text-align: justify;
}
.about-content h2{
    font-size: 35px;
    margin-bottom: 15px;
    color: white;
}
.about-content h3{
    font-size: 24px;
    padding-bottom: 5px;
    color: white;
}
.about-content span{
    font-size: 15px;
    line-height:  1.5;
    color: white;
    font-family: 'Open Sans', Calibri, Helvetica, sans-serif;;

}


.containerender{
    width: 100%;
    margin: 0 auto;
    margin-top: 8%;
    padding: 10px 20px;
    margin-bottom: 8%;
    font-family: 'Open Sans',  Calabri, Helvetica, sans-serif;
    background-color: var(--color-background-gray2);
}
.aboutender{
    width: 80%;
    margin: 0 auto;
    margin-top: 3%;
    padding: 10px 20px;
    margin-bottom: 3%;
    display: flex;
    text-align: justify;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.about-imageder{
    flex: 1;
    overflow: hidden;
}
.about-imageder img{
    margin-top: 50px;
    max-width: 100%;
    height: auto;
    display: block;
    transition: 0.5s ease;
}
.about-imageder:hover img{
    transform: scale(1.2);
}
.about-contentder{
    flex: 1;
    padding-right: 30px;
}
.about-contentder h2{
    font-size: 43px;
    margin-bottom: 15px;
    color: #333;
}
.about-contentder h3{
    font-size: 24px;
    padding-bottom: 5px;
}
.about-contentder span{
    font-size: 15px;
    line-height:  1.5;
    color: #666;
}

.aboutmp{
    display: inline-block;
    margin: 0;
    margin-top: 1%;
    padding: 10px 20px;
    background-color: var(--color-background-gray2);
}
.detailsmp{
    margin: 5%;
}
.aboutmp .detailsmp{
    float: left;
    display: table;
    padding: 15px 90px;
    font-size: 15px;
    height: 200px;
    width: 50%;
    letter-spacing: 3px;
}
.detailsmp h1{
    font-size: 50px;
    letter-spacing: 5px;
    font-weight: bold;
    margin-bottom: -5%;
}
.detailsmp p{
    font-family: 'Open Sans', Calibri, Helvetica, sans-serif;;
    text-align: justify;
    margin-bottom: -3%;
    margin-top: 5%;
    letter-spacing: 2px;
    font-size: 15px;
}

.aboutmp .imagemp{
float: left;
    height: 400px;
    width: 20%;
}
.imagemp img{
    margin-left: -40%;
    margin-top: 10%;
    width: 180%;
    height: 200%;

}

@media(max-width:1390px){
    .about-contentin p{
        font-size: 1rem;
    }
    .cards .card{
        height: 390px;
        width: 380px;
    }
    .aboutmp .detailsmp{
        padding: 10px 55px;
    }
    .imagemp img{
        width: 220%;
        height: 180%;
        margin-top: 40%;
    }
}

@media(max-width:1200px){
    #service-section h2{
        margin-top: 30px;
    }
   
    .cards{
        grid-template-columns: repeat(1,1fr);
    }
    #service-section #peragraph{
        width: 80%;
    }
    .image img{
        width: 400px;
    }
    .about{
        display: grid;
    }
    .about .details{
        width: 100%;
    }
    .image img{
        width: 100%;
        margin-left: 50%;
        margin-top: 30px;
    }
    .containeren .abouten{
        display: grid;
    }
    .containeren .abouten .about-image img{
        margin-left: 5%;
        margin-bottom: 5%;
    }
    .containerender .aboutender{
        display: grid;
    }
    .containerender .aboutender .about-imageder img{
        margin-left: 5%;
        margin-bottom: 5%;
    }
    /* .aboutmp{
        display: grid;
    } */
    .aboutmp .detailsmp{
        width: 95%;
        margin-bottom: -100px;

    }
    .aboutmp .imagemp{
        width: 300px;
        margin-left: 35%;
        /* float: none; */
        margin-bottom: 30%;
    }   
}
@media(max-width:1024px){
    .about-imagein img{
        margin-left: 8%;
    }
    #banner{
        height: 95vh;
    }
}

@media(max-width:820px){
    #banner{
        height: 60vh;
    }
    .banner-text h1{
        font-size: 100px;
    }
    .banner-text{
        padding-top: 35%;
    }
    .containeren .abouten .about-contentin p{
        font-size: 18px;
    }
    .containeren .abouten .about-contentin h2{
        font-size: 48px;
    }
    .cards .card{
        height: auto;
        width: 400px;
        margin: 20px 0;
    }
    .imagemp img{
        width: 115%;
        height: 100%;
        margin-left: -40%;
    }
    .aboutmp .detailsmp{
        padding: 0 30px;
    }
}
@media(max-width:768px){
  
    #service-section h2{
        margin-top: 30px;
    }
    .cards{
        grid-template-columns: repeat(1,1fr);
    }
    #service-section #peragraph{
        width: 80%;
    }
    .image img{
        width: 400px;
    }
    .about{
        display: grid;
    }
    .about .details{
        width: 100%;
    }
    .image img{
        width: 100%;
        margin-left: 50%;
        margin-top: 30px;
    }
    .containeren .abouten{
        display: grid;
    }
    .containeren .abouten .about-image img{
        margin-left: 5%;
        margin-bottom: 5%;
    }
    .containerender .aboutender{
        display: grid;
    }
    .containerender .aboutender .about-imageder img{
        margin-left: 5%;
        margin-bottom: 5%;
    }

    .aboutmp .detailsmp{
        width: 95%;
        margin-bottom: -100px;

    }
    .aboutmp .imagemp{ 
        width: 280px;
        margin-left: 30%;
        margin-bottom: 30%;
    }
}
@media(max-width:430px){
 
    #banner{
        height: 30vh;
    }
    .containeren .abouten .about-contentin h2{
        font-size: 25px;
    }
    .containeren .abouten .about-contentin p{
        font-size: 14px;
    }
    .banner-text{
        padding-top: 32%;
    }
    .banner-text h1{
        font-size: 45px;
    }
    .banner-text p{
        font-size: 18px;
    }
    #service-section h2{
        font-size: 30px;
    }
    #service-section #peregraph{
        font-size: .7rem;
    }
    .cards .card .content h3{
        font-size: 22px;
    }
    .cards .card .content p{
        font-size: .9rem;
    }
    .about-content h2{
        font-size: 28px;
    }
    .about-content h2{
        font-size: 18px;
    }
    .aboutender{
        width: 100%;
    }
    .about-contentder h2{
        font-size: 28px;
    }
    .detailsmp h1{
        font-size: 35px;
    }
}
@media(max-width:390px){
 
    #banner{
        height: 30vh;
    }
    .containeren .abouten .about-contentin h2{
        font-size: 25px;
    }
    .containeren .abouten .about-contentin p{
        font-size: 14px;
    }
    .banner-text{
        padding-top: 32%;
    }
    .banner-text h1{
        font-size: 45px;
    }
    .banner-text p{
        font-size: 18px;
    }
    #service-section h2{
        font-size: 30px;
    }
    #service-section #peregraph{
        font-size: .7rem;
    }
    .cards .card .content h3{
        font-size: 22px;
    }
    .cards .card .content p{
        font-size: .9rem;
    }
    .about-content h2{
        font-size: 28px;
    }
    .about-content h2{
        font-size: 18px;
    }
    .aboutender{
        width: 100%;
    }
    .about-contentder h2{
        font-size: 28px;
    }
    .detailsmp h1{
        font-size: 35px;
    }
}



