html{
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
}

*, *:before, *:after{
    box-sizing: inherit;
}

h1{
    font-size:3.8rem ;
}
 h2{
     font-size:2.8rem ;
 }

 h3{
     font-size: 2rem;
 }

 p{ 
     font-size: 1.5rem;
 }

body{
    
    font-family: 'Roboto', sans-serif;
    background-image: linear-gradient(to top, #dfe9f3, 0%, white 100%) ;
}

.boton{
    background-color: #0097a7;
    color: white;
    padding: 1rem 3rem;
    margin-top: 1rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 0.5rem;
    width: 90%;
    text-align: center;
    border: none;
}
@media (min-width: 768px){
    .boton{
        width: auto;
    }
}

.boton:hover{
    cursor: pointer;
}



header .logo{
   
    padding: 25px 30px;
    font-weight: bold;
    color: black;
    text-align: center;
}

.contenedor{
    max-width: 120rem;
    margin: 0 auto;
    text-align: center;
}

/* utilidades */
.w-100{
    width: 100%;

}
@media (min-width: 768px) {
    .w-100{
        width: auto;
    }
}
.flex{
    display: flex;
}
.alinear-derecha{
    justify-content: flex-end;
}

/* navegacion principal */
.nav-bg{
    background-color: #0097a7;
}

.navegacion-principal{
    display: flex;
    flex-direction: column;
    align-items: center;

}

.navegacion-principal a{
    display: block;
    flex-direction: center;
    padding: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
  


}

.navegacion-principal a:hover{
    background-color: #ffc107;
    color: black;
    
}


@media(min-width: 768px){
    .navegacion-principal{
        flex-direction: row;
       justify-content: space-between;
        
    }

}

.hero{
    background-image: url(/img/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;;
    color: white;
    margin-bottom: 2rem;
}

.contenido-hero{
    position: absolute;
    background-color: rgba(0,0,0, 0.7);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ubicacion{
    display: flex;
    align-items: flex-end;
    
    
}
.sombra{
    box-shadow: 0px 5px 15px 0px rgba(138,138,138,0.44);
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
}

.servicios,
.navegacion-principal,
.formulario,
.footer{
    scroll-snap-align: center;
    scroll-snap-stop: always ;
}

@media (min-width: 768px){
.servicios{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    column-gap: 5rem;
    
    } 
}
.servicio{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio h3{
    font-weight: bold;
    color: #0097a7


}

.servicio p{

    line-height: 2;

}

.servicio .items{
    height: 15rem;
    width: 15rem;
    background-color:black ;
    border-radius: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;

}

/* contacto */

.formulario{
    background-color: rgb(121, 121, 121);
    width: min(60rem, 100%);/* utilizar el valor mas pequeño */
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}

.formulario fieldset{
    border: none;
}

.formulario legend{
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #ffc107;
}

@media(min-width:760px){
    .contenedor-campos{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 20rem;
        column-gap: 1rem;
    }
    
}

.campo:nth-child(3),
.campo:nth-child(4){
    grid-column: 1/3;
}
.campo{
    margin-bottom: 1rem;
}

.campo label{
    color: white;
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;

}
.input-text{
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
    margin-top: -20px;

}
.campo textarea{
    height: 20rem;
}

.footer{
    text-align: center;
}



