/*pseudoelementos*/
:root {
    --blanco: #FFFFFF;
    --oscuro: #212121;
    --primario: #FFC107;
    --secundario: #0097A7;
    --gris: #757575;
    --grisClaro: #DFE9F3;

}

/* 1 rem = 10 px*/

/*Globales*/
html {
    font-size: 62.5%;
    box-sizing: border-box; /*Sirve para que todo quede a la medida*/
    scroll-snap-type: y mandatory;
}

body {
    font-size: 16px;
    font-family: "Krub", sans-serif;
    background-image: linear-gradient(to top, var(--grisClaro) 0%, var(--blanco) 100%);
}

.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    text-decoration: none;
    font-weight: 700;
    padding: 2rem;
    text-transform: uppercase;
    border-radius: .5rem;
    padding: 1rem 3rem;
    width: 90%;
    text-align: center;
    border: none;
    margin-top: 1rem;
}

.boton:hover {
    cursor: pointer;
}

@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}

/*scroop snap*/
.navegacion-principal,
.servicio,
.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.alinear-derecha {
    justify-content: flex-end;
}

.w-sm-100 {
    width: 100%;
}

@media (min-width: 768px) {
    .w-sm-100 {
        width: auto;
    }
}

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

.sombra {
    box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.48);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}

/*titulo*/

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1,
h2,
h3 {
    text-align: center;
}

/*navegacion principal*/
.nav {
    background-color: var(--secundario);
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
}

.navegacion-principal a {
    display: block;
    color: var(--blanco);
    text-decoration: none;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
}

.navegacion-principal a:hover {
    color: var(--oscuro);
    background-color: var(--primario);

}

@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-between;
    }
}

/*hero*/
.hero {
    background-image: url(../img/jurassic\ park.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 47.5rem;
    position: relative;
    margin-bottom: 2rem;
}

.contenido-hero {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 /70%);
}

/*servicios*/
.servicios {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        column-gap: 1rem;
    }
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio .iconos {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
}

.servicio .c1 {
    background-image: url(../img/dinosaurios.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.servicio .c2 {
    background-image: url(../img/Ingenieria\ genetica.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.servicio .c3 {
    background-image: url(../img/las\ 5\ muertes.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.servicio .c4 {
    background-image: url(../img/fundadores.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.servicio .c5 {
    background-image: url(../img/atracciones.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.servicio .c6 {
    background-image: url(../img/estructura.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.servicio h3 {
    color: var(--secundario);
    font-weight: 700;
}

.servicio p {
    line-height: 2;
    text-align: center;
    font-weight: 400;
}

/*formulario*/
.formulario {
    background-color: var(--gris);
    width: min(60rem, 100%);
    padding: 2rem;
    margin: 0 auto;
    border-radius: 1rem;
}

.formulario fieldset {
    border: none;
}

.formulario legend {
    font-size: 1.8rem;
    text-align: center;
    font-weight: 700;
    color: var(--primario);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.campo {
    margin-bottom: 1rem;
}

.campo label {
    display: block;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--blanco);
}

.campo textarea {
    height: 18rem;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}

@media (min-width: 768px) {
    .contenedores-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 20rem;
        column-gap: 2rem;
    }

    .campo:nth-child(3),
    .campo:nth-child(4) {
        grid-column: 1 / 3;
    }
}

/*footer*/
.footer {
    text-align: center;
}