:root {
    --primario: #ffbd00;
    --blanco: white;
    --negro: black;
    --fontPrincipal: 'Futura Extra Black Condensed Regular';
    --fontPrincipalAlternativo: 'Futura Condensed Bold';
    --fontCursiva: 'SignPainter HouseScript Regular'
}

@font-face {
    font-family: 'Futura Condensed Bold';
    src: url('Futura\ Condensed\ Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Extra Black Condensed Regular';
    src: url('Futura\ Extra\ Black\ Condensed\ Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SignPainter HouseScript Regular';
    src: url('SignPainter\ HouseScript\ Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    box-sizing: border-box; /*permite trabajar con tamaños exactos sin batallar con padding*/
    scroll-snap-type: y mandatory;
}

*, *:before, *:after { 
    box-sizing: inherit;
}

h1 {
    font-family: var(--fontPrincipal);
    font-size: 3.8rem;
    text-transform:uppercase;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1, h2, h3 {
    text-align: center;
    font-family: var(--fontPrincipal);
    text-transform: uppercase;
}

p {
    margin: 0;
    font-family: var(--fontPrincipal);
}

.header {
    background-color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    overflow: hidden;
}

.header__logo {
    height: 180px;
    margin-left: 3rem;
}

.enlaces {
    max-width: 60%;
}

.enlace {
    padding: 1.5rem;
    font-family: var(--fontPrincipal);
    text-transform: uppercase;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--negro);
}

.enlace__activo {
    color: var(--primario);
}

.enlace:hover {
    color: var(--primario);
}

.pregunta {
    font-family: var(--fontPrincipalAlternativo);
    padding: 0 4rem 0 5rem;
}

.pregunta h2 {
    text-align: left;
    margin: 2rem 0 1rem;
    font-size: 1.9rem;
}

.pregunta label {
    display: block;
    margin: 4px 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    position: relative;
    padding-left: 30px;
    user-select: none;
}

  /* Hide native radio */
  .pregunta input[type="radio"] {
    opacity: 0;
    position: absolute;
    left: 0;
  }

  /* Custom square */
  .pregunta label::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 3px solid #000;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
  }

  /* Selected style */
  .pregunta input[type="radio"]:checked + label::before {
    background-color: black;
  }

  /* Also change checkmark when selected (optional) */
  .pregunta input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: black;
    border-radius: 2px;
  }

.contenedor-texto h2 {
    text-align: left;
    margin: 2rem 0 1rem;
    font-size: 1.9rem;
    padding: 0 4rem 0 5rem;
}

.campo-texto {
    width: 40%;
    margin-left: 5rem;
    height: 200px;
    border: solid 5px black;
    border-radius: 20px;
    padding: 0.5rem;
    font-family: var(--fontPrincipalAlternativo);
    font-size: 1.2rem;
}

.ticket {
    width: 15%;
    height: 60px;
    font-size: 1.2rem;
}

.contenedor-boton {
    text-align: center;
}

.submit {
    width: 15%;
    font-family: var(--fontPrincipal);
    padding: 1rem;
    border-radius: 25px;
    background-color: var(--primario);
    color: var(--negro);
    border: none;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.submit:hover {
    background-color: var(--negro);
    color: var(--blanco)
}

.footer {
    background-color: var(--negro);
    height: 10rem;
    display: flex;
    z-index: 1;
    color: var(--blanco)
}

.contenedor-izquierdo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
}

.footer__img {
    height: 150px;
}

.datos {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.datos h3 {
    font-family: var(--fontPrincipal);
    text-transform: uppercase;
    margin: 0;
}

.datos p {
    font-family: var(--fontPrincipalAlternativo);
}

.contenedor-derecho {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 53%;
}

.footer_enlace {
    margin: 1rem;
}

.footer__enlace--img {
    height: 40px;
}

@media(max-width: 1200px) {

    .header {
        height: 80px;
    }
    .enlace {
        padding: 1rem;
        font-size: 1.2rem;
    }

}

@media(max-width: 860px) {

    .header {
        height: 60px;
    }

    .header__logo {
        margin-left: 1rem;
        height: 130px;
    }

    .enlace {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .submit {
        width: 25%;
    }

    .datos h3 {
        font-size: 1.2rem;
        text-align: left;
    }

    .footer_enlace {
        margin: 0.5rem;
    }
}

@media(max-width: 780px) {

    .enlaces {
        margin-right: 1rem
    }

    .datos h3 {
        font-size: 1rem;
        text-align: left;
    }
}

@media(max-width: 450px) {
    .header {
        height: 50px;
    }

    .header__logo {
        margin-left: 0.1rem;
        height: 90px;
    }

    .enlaces {
        min-width: 75%;
    }

    .enlace {
        padding: 0.2rem;
        font-size: 0.7rem;
    }

    .contenedor-formulario h1{
        font-size: 2.3rem;
    }

    .pregunta h2 {
        font-size: 1.2rem;
    }

    .pregunta label {
        font-size: 1rem;
    }

    .contenedor-texto h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .contenedor-texto {
        text-align: center;
    }

    .campo-texto {
        margin-left: 0px;
        width: 80%;
    }

    .ticket {
        width: 30%;
    }

    .submit {
        width: 45%;
    }

    .footer {
        height: 7rem;
    }

    .contenedor-izquierdo {
        width: 55%;
    }

    .footer__img {
        height: 80px;
    }

    .datos h3 {
        font-size: 0.9rem;
    }

    .datos p {
        font-size: 0.8rem;
    }

    .contenedor-derecho {
        padding-right: 20px;
    }

    .footer_enlace {
        margin: 0.3rem;
    }

    .footer__enlace--img {
        height: 25px;
    }

}