@charset "utf-8";
@import url("font/Avenir_Next/stylesheet.css");
@import url("font/Avant_Garde/stylesheet.css");
@import url("font/Ivy_Presto/stylesheet.css");


* {
    box-sizing: border-box;
    max-width: 100vw;
}

html {
    font-size: 62.5%;
}

body {
    background-color: #D4D4DD;
    margin: 0 auto;
    color: #fff;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 5rem 1fr 5rem;
    grid-template-areas:
        "header"
        "main"
        "footer";
    gap: 0.5rem;
}

img {
    max-width: 100%;
}

.logo {
    max-height: 5rem;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding-left: 0;
}

ul.lista {
    display: inline-block;
    list-style-type: circle;
    padding-left: 3rem;
    text-align: left;
}

.bold {
    font-weight: bold;
}

.letraRoja {
    color: #DB7575;
}

header {
    background-color: #252442;
    grid-area: header;
    padding: 1vw 15vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.header {
    font-family: "IvyPresto Display";
    font-size: 2.5rem;
    letter-spacing: 1px;
}

h2 {
    display: none;
}

#menu {
    display: none;
}

nav ul {
    display: flex;
    gap: 1rem;
}

main {
    font-family: "Avenir Next";
    grid-area: main;
    padding: 5rem 0;
}

.descripcion {
    color: #252442;
    font-size: 1.5rem;
    padding: 1rem;
    gap: 0.5rem;
    text-align: center;
}

#login {
    width: 95%;
}

#preguntas {
    display: flex;
    justify-content: space-around;
}

.preguntas {
    width: 50rem;
    border: 0.1rem solid #252442;
    border-radius: 2rem;    
    padding: 4rem;
    margin: 5rem;
    font-size: 2rem;
    color: black;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

input.inputTRCED {
    padding: 10px;
    width: 40rem;
}

.pregunta {
    margin: 0rem 0rem 1rem 0rem;
    font-size: 1.7rem;
}

.respuesta {
    margin: 1rem 0rem 0rem 0rem;
    font-size: 1.7rem;
}

.botonSiNo {
    width: 40rem;
    height: 4rem;
    margin: 2rem;
    border: none;
    border-radius: 1rem;    
    background-color: #DB7575;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: snow;
}

.botonSiNoPressed {
    background-color: #A1C9A9;
}

.botonSiNo:hover {
    background-color: #A1C9A9;
}

#descripcion {
    padding-bottom: 5rem;
}

.disparador {
    font-family: "IvyPresto Display";
    color: #252442;
    font-size: 3rem;
    padding: 1rem;
    gap: 0.5rem;
    text-align: center;
}

#datos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.datos {
    font-family: "Avenir Next";
    width: 70rem;
    color: black;
    padding: 5rem 10rem 5rem 5rem;
    margin: 0 5rem;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: left;
    padding-bottom: 4vw;
}

#avance {
    display: flex;
    justify-content: space-around;
}

#gracias {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.imggracias {
    max-width: 50rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.textogracias {
    width: 40rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gracias {
    color:#252442;
    font-size: 3rem;
    text-align: center;
}

.avance {
    width: 30rem;
    border: 0.1rem solid #252442;
    border-radius: 0.5rem;    
    box-shadow: 1rem 1rem 1rem grey;
    margin: 1rem;
    padding: 0.1rem;
    display: flex;
    flex-direction: row;
}

.avanceHecho {
    width: 1%;
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: #85DE8E;
    color: #85DE8E;
}

.avanceFaltante {
    background-color: snow;
    color: snow;
}

.gancho {
    background-color: #252542;
    padding: 4vw;
    margin: 4vw 15vw;
    font-size: 2rem;
    text-align: center;
}

footer {
    background-color: #252542;
    grid-area: footer;
    padding: 2vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;    
}

.copyright {
    font-family: "Avenir Next";
    font-size: 1.3rem;
}

.aclaracion {
    font-size: 1rem;
}

@media screen and (min-width: 768px) {
    
    body {
        grid-template-rows: 10rem 1fr 5rem;
    }
    
    h2 {
        display:block;
    }
    .logo {
        max-width: 20rem;
    }
}

.datosResultados {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.5rem;
    margin: 2rem;
}

.datosPersonales {
    flex-direction: row;
    justify-content: space-evenly;
}

.datosSeleccion {
    flex-direction: column;
}

.datosTitulo {
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: bold;
}

.datosCheckbox {
    flex-direction: row;
    justify-content: space-evenly;
    margin: 0.5rem;
}

.datosTextoLibre {
    flex-direction: row;
    justify-content: center;
    margin: 0.5rem;
}

.datosTabla {
    flex-direction: row;
    justify-content: left;
    padding-left: 2rem;
    margin: 0.5rem;
}

.separador {
    height: 5px;
    background-color: snow;
}

.separadorFino {
    height: 2px;
    background-color: snow;
}

.test {
    font-size: 1.5rem;
}

ul.listaDetalles {
    list-style: inside;
}
    
.respuestaSi {
    color: #00aa11;/*#85DE8E;*/
}

.datosDetalles {
    width: 350px;
}

.realizados {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.tablaRealizados {
    font-size: 1.25rem;
}

.tablaRealizados table {
  border-collapse: collapse;
  width: 100%;
}

.tablaRealizados th, td {
  text-align: left;
  padding: 2px;
}

.tablaRealizados tr:nth-child(even) {
    background-color: #4C4A85;
}

.tablaRealizados tr:nth-child(odd) {
    background-color: #4C4AAA;
}

.tablaRealizados th {
  background-color: #DD6666;
  color: snow;
}

@media screen and (max-width: 768px) {

    main {
    padding: 2rem;
    }
    
    body {
    grid-template-rows: 7rem;
    }
    
    header {
    padding: 2vw;
    }

    .header {
    font-size: 2rem;
    }
    
    .preguntas {
    width: 38rem;
    padding: 1rem;
    margin: 2rem;
    font-size: 1.7rem;
    }

    input.inputTRCED {
    padding: 10px;
    width: 32rem;
    }
    
    .gancho {
    font-size: 1.8rem;
    margin: 1.5vw;
    padding: 3rem;
    }
    
    .datos {
    padding: 3rem;
    margin: 0;
    }
    
    .botonSiNo {
    width: 32rem;
  }
  
}