*{
    margin: 0;
}

/***********************************HEROE HEADER ******************************************/

#heroe-banner{
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 3rem 3rem 0 0;
    width: 100%;
    height: 110vh;
    overflow: hidden; 
    top: 5rem;
    z-index:0;
}

#heroe-banner #banner-image{
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

#container-information{
    display: flex;
    flex-direction: column;
    justify-content: left;
    position: absolute;
    top: 30vh;
    left: 2vw;
    z-index: 2;
}

#heroe-banner #title-heroe{
    color: white;
    font-size: 4rem;
}

#heroe-banner #vision-heroe{
    color: white;
    font-size: 2rem;
    margin-top: 3rem;
}


/***********************************SERVICIOS CONECTA******************************************/

#servicios-conecta{
    position: relative;
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 3rem 3rem 0 0;
    padding: 3.5rem;
    z-index: 1;
}

#servicios-conecta section:nth-child(1){
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 4rem;
}

#servicios-conecta section:nth-child(1) button{
    -webkit-appearance: none; 
    appearance: none;
    cursor: pointer;
    border: 1px solid black;
    background-color: black;
    padding: 0.4rem 1.5rem;
    border-radius: 1.5rem;
    font-style: italic;
    margin-right: 4rem;
    margin-left: 3.5rem;
    color: #DFDFDF;
    font-size: 1rem;
    transition: background-color 0.5s;
}

#servicios-conecta section:nth-child(1) button:hover{
    border: 1px solid #ffc057;
    background-color: #ffc057;
    color: black;
}

#servicios-conecta section:nth-child(2){
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 4rem;
}

#servicios-conecta section:nth-child(2) #title-section{
    font-size: 3rem;
    text-align: center;
}

.servicio-card img {
    width: 100%;
    height: 55%;
    border-radius: 2.5rem 2.5rem 0 0;
}

.servicio-card  div {
    padding: 2em 2em;
}

.servicio-card  div p {
    margin-top: 10px;
}

.servicio-card  div p:nth-child(1) {
    font-size: 1.1rem;
    color: #ffc057;
}

.servicio-card  div p:nth-child(2){
    font-size: 1.5rem;
    font-weight: bold;
}

.servicio-card  div p:nth-child(3) {
    text-align: justify;
    font-size: 1.1rem;
}

/***********************************HEROE FOOTER ******************************************/

#heroe-footer{
    background-image: url(../../images/servicios/footer.png);
    background-repeat: no-repeat;
    border-radius: 3rem 3rem 0 0;
    flex-direction: column;
    background-size:cover;
    position: relative;
    display: flex;
    height: max-content;
    padding-bottom: 10rem;
    width: 100%;
    top: 3rem;
    z-index:2;
}

#heroe-footer #title-heroe{
    margin-top: 10%;
    margin-left: 5%;
    color: white;
    font-size: 4rem;
}

#heroe-footer #vision-heroe .button-section{
    margin-top: 1em;
}

#heroe-footer #vision-heroe .button-section a{
    margin-top: 3%;
    margin-left: 5%;
    -webkit-appearance: none; 
    appearance: none;
    cursor: pointer;
    border: 1px solid  #ffc057;
    background-color: #ffc057;
    border-radius: 3rem;
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    height: 2.3rem;
    color: black;
    transition: background-color 0.5s;
}

#heroe-footer #vision-heroe .button-section a:hover{
    border: 1px solid #DFDFDF; ;
    background-color: black;
    color: white;
}


/***********************************GENERAL******************************************/

.row-servicio{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
}

.servicio-card{
    display: flex;
    flex-direction: column;
    width: 30%;
    height: 40rem;
    border: 1px solid #DFDFDF;
    border-radius: 2.5rem;
    margin-right: 2rem;
    margin-left: 2rem;
    margin-bottom: 2rem;
}
