:root {
    --blanco: #ffffff;
    --ocsuro: #212121;
    --primario: #ffc107;
    --secundario: #0097a7;
    --gris: #757575;
}


/* Golables **/

html {
    font-size: 62.5%;
    box-sizing: border-box;
    /*Hack para Box model **/
    scroll-snap-type: y mandatory;
}


/**control snap **/

.servicios .navegacion-principal .formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    font-family: 'Krub', sans-serif;
    background-image: linear-gradient(to top, #dfe9f3 0%, var(--blanco) 100%);
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 1rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border: none;
}

@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}

.boton:hover {
    cursor: pointer;
}

.sombra {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.54);
    -moz-box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.54);
    box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.54);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}


/*Tipogragia */

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1,
h2,
h3 {
    text-align: center;
}

a {
    text-decoration: none;
    color: var(--ocsuro);
}


/*Titulos */

.titulo span {
    font-size: 2rem;
}


/** header **/

.header {
    display: flex;
    justify-content: center;
}

.header__logo {
    margin: 3rem 0;
    height: 15rem;
}


/** 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: var(--secundario);
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
}

@media (min-width: 780px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-between;
    }
}

.navegacion-principal a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;
}

.navegacion-principal a:hover {
    background-color: var(--primario);
    color: var(--ocsuro);
}


/* Hero */

.hero {
    background-image: url(../img/imegen1.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}

.contenido-hero {
    position: absolute;
    background-color: rgba(0, 0, 0, .6);
    /**Anterior**/
    background-color: rgb(0 0 0 /60%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contenido-hero h2,
.contenido-hero p {
    color: var(--blanco);
}

.contenido-hero .ubicacion {
    display: flex;
    align-items: flex-end;
}


/*servicios **/

@media( min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat( 2, 1fr);
        column-gap: 1rem;
    }
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio h3 {
    color: var(--secundario);
}

.servicio p {
    line-height: 1;
    text-align: center;
}

.servicio .iconos {
    height: 15rem;
    width: 15rem;
    background-color: aqua;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/**contacto **/

.formulario {
    background-color: var(--gris);
    width: min(60rem, 100%);
    /** Utilizar el valor mas minimo **/
    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: 700;
    margin-bottom: 2rem;
    color: var(--primario);
}

@media(min-width: 780px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto auto 22rem;
        column-gap: 1rem;
    }
    .campo:nth-child(3),
    .campo:nth-child(4),
    .campo:nth-child(5) {
        grid-column: 1 / 3;
    }
}

.campo {
    margin-bottom: 1rem;
}

.campo label {
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.campo textarea {
    height: 20rem;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.footer {
    text-align: center;
}


/** quienes somos **/

.quienes-somos {
    background-image: url(../img/quienes-somos.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 320px;
    position: relative;
    margin-bottom: 2rem;
}

.quienes-somos2 {
    background-image: url(../img/servicio.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 320px;
    position: relative;
    margin-bottom: 2rem;
}


/** Planes Diagnostico **/

.p-diagnostico-estructura {
    background-image: url(../img/destructura.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 320px;
    position: relative;
    margin-bottom: 2rem;
}

.p-diagnostico-estructura2 {
    background-image: url(../img/p_d_tributario.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 320px;
    position: relative;
    margin-bottom: 2rem;
}


/**Planes Ciclo Vida **/

.p-inicio-actividad {
    background-image: url(../img/i_actividades.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 320px;
    position: relative;
    margin-bottom: 2rem;
}

.observacion {
    font-size: 1rem;
}


/**plan emprendimiento **/

.p-emprendimiento {
    background-image: url(../img/pemprendimiento.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    position: relative;
    margin-bottom: 2rem;
}

.p-emprendimiento2 {
    background-image: url(../img/pmempresa.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    position: relative;
    margin-bottom: 2rem;
}

.p-emprendimiento3 {
    background-image: url(../img/ppyme.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    position: relative;
    margin-bottom: 2rem;
}