:root {
    --primario:#ffc107;
    --secundario:#0097a7;
    --oscuro: #212121;
    --gris: #757575;

    --anchoPantalla: 120rem;
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /** 1rem = 10px **/
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Krub', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}

img{
    max-width: 100%;
}

h1, h2, h3{
    margin: 0;
}
h2,h3{
    text-align: center;
}
h3{
    color: var(--secundario);
    font-weight: 400;
    font-size: 3rem;
}
p{
    font-size: 1.8rem;
    line-height: 2;
}
.contenedor {
    margin: 3rem auto;
    max-width: 1200px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    -webkit-box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
    -moz-box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
    box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
    margin-bottom: 3rem;
}

/*NAVEGACION*/
.site-header {
    background-color: #ffffff;
}

.site-header nav{
    max-width: var(--anchoPantalla);
    margin: 0 auto;
    padding: 2rem 0;

    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width:768px){
    .site-header nav{
        flex-direction: initial;
        justify-content: space-between;
    }
}

.site-header nav a {
    color: var(--oscuro);
    text-decoration: none;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

@media (min-widt:768px){
    .site-header nav a {
        margin-bottom: 0;
    }
}

/*HERO*/
.hero{
    height: 45rem;
    background-image: url(../img/hero.jpg);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}
.hero::after{
    content: '';
    background-color: rgba(0, 0, 0, .7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contenedor-hero{
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-align: center;
}
.contenedor-hero i{
    font-size: 5rem;
    color: var(--primario);
}

/*BOTON*/
.boton{
    background-color: var(--secundario);
    display: inline-block;
    padding: 1rem 5rem;
    margin-top: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    border-radius: .5rem;
    border: none;
}
.boton:hover{
    cursor: pointer;
}


@media (min-width:768px){
    .contenedor-servicios{
        display: flex;
        justify-content: space-between;
    }
    .servicio{
        flex: 0 0 calc(33.3% - 1rem);
    }
}



.iconos{
    display: flex;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primario);
    font-size: 3rem;
    justify-content: space-evenly;
    align-items: center;
    margin: 1rem auto;
}


form{
    background-color: var(--gris);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}
form legend{
    font-size: 2.2rem;
    color: var(--primario);
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

@media (min-width: 768px){
    form{
        max-width: 80rem;
        margin: 2rem auto;
    }
    .contenedor-campos{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .campo{
        flex: 0 0 calc(50% - 1rem);
    }
}

.campo {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}
.campo label{
    flex: 0 0 90px;
    color: #ffffff;
}
.campo input{
    flex: 1;
    height: 3.5rem;
}
.campo textarea{
    flex:1;
    height: 6rem;
}

.w-100{
    flex: 0 0 100%;
}

.enviar{
    display: flex;
    justify-content: center;
}