/* ################## FUENTES ################## */

@font-face {
  font-family: 'Arial Nova Cond';
  src: url('fuentes/ArialNovaCond.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Arial Nova Cond Bold';
  src: url('fuentes/ArialNovaCondBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Arial Nova Cond Italic';
  src: url('fuentes/ArialNovaCondItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Arial Nova Cond Bold Italic';
  src: url('fuentes/ArialNovaCondBoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bahnschrift';
  src: url('fuentes/Bahnschrift.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ################## CONTENEDOR GENERAL ################## */

body{
    margin: 0%  ;
    background-color: #dfdede;
}

#todo{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* -------------- SECCION HEADER -------------- */

header{   
    width: 100%;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(imagenes/germinal_fondo.png);
    background-size:cover;
    background-attachment:fixed;
}

header > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 5%;
}

header > div > img{
    max-width: 60%; 
}

#boton_inscripcion{
    width: auto;
    display: inline;
    padding: 1%;
    margin-top: 38%;
    background-color: #efefef;
    transition: transform 0.5s ease;
    background-color: #eaecdd;
    border-radius: 25px;
    position: absolute;
    will-change: transform;
    backface-visibility: hidden;
    box-shadow: 0 2px 10px #000000;
    font-family: Bahnschrift;
    transition: all 0.3s ease;
    text-decoration: none;
    
}

#boton_inscripcion:hover{
    transform: scale(1.05);
    box-shadow: 0 5px 20px #000000;
    background-color: rgb(199, 100, 100);
    color: #ffffff;
    transition: all 0.3s ease;
}

@media (min-aspect-ratio: 67/20) {
  /* Ventana muy achatada */
  header {
    height: fit-content;
    padding-bottom: 0%;
  }
}

@media (max-aspect-ratio: 1/1) {
  /* Pantalla vertical */

  header > div > img{
    max-width: 80%;
  }

  #boton_inscripcion{
    margin-top: 50%;
    padding: 2%;
  }

  header > div{
    padding-bottom: 20%;
  }
}

/* -------------- SECCION TEXTO INTRODUCTORIO -------------- */

#seccion_texto_introductorio{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #dfdede;
}

#texto_introductorio{
    width: 70%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    text-align: center;
}

#texto_introductorio > p{
    margin-top: 0.85em;
    margin-bottom: 0.85em;
}

@media (max-aspect-ratio: 1/1.2) {
  /* Pantalla vertical */
  #boton_inscripcion{
    margin-top: 100%;
    padding: 2%;
  }
  #seccion_texto_introductorio{
    height: fit-content;
  }
}

@media (max-aspect-ratio: 1/0.5) {
  /* Pantalla vertical */
  #seccion_texto_introductorio{
    height: fit-content;
  }
}

/* -------------- SECCION PROGRAMA -------------- */

#seccion_programa{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(imagenes/fondo_programa.png);
    background-size:cover;
    background-attachment:fixed;
}

#programa{
    width: 60%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}


#linea_decoracion_programa_listado3-4{
    margin-top: 3%;
    margin-bottom: 3%;
    width: 100%;
}

.contenedor_parte_programa{
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 4%;
}

.programa_encabezado{
    display: grid;
    grid-template-columns: 20% auto;
    align-items: center;
    column-gap: 30px;
    row-gap: 5px;
}

.programa_listado{
    display: grid;
    grid-template-columns: 20% auto;
    align-items: center;
    margin-top: 3%;
    column-gap: 30px;
    row-gap: 25px;
    
}
/* -------- ESTILOS DE TEXTO -------- */
.h1_programa{
    font-size: 200%
}

.h2_programa{
    font-family: Arial Nova Cond Bold;
    text-align: right;
    margin: 0%;
    line-height: 1;
    letter-spacing: 2px;
    color: #561d10;
}

.h3_programa{
    font-family: Arial Nova Cond Italic;
    text-align: right;
    margin: 0%;
    line-height: 1;
    font-size: large;
    color: #c24124;
}

.h4_programa{
    font-family: Arial Nova Cond Bold;
    text-align: center;
    margin-top: 6%;
    line-height: 1;
    font-size: 100%;
    color: #812b18;
}

.h5_programa{
    font-family: Arial Nova Cond ;
    text-align: left;
    margin: 0%;
    margin-top: 3%;
    line-height: 1;
    font-size: large;
    color: #561d10;
}

.h6_programa{
    font-family: Arial Nova Cond Bold;
    text-align: left;
    margin: 0%;
    line-height: 1;
    letter-spacing: 0px;
    color: #41160c;
}

.h1_fecha_programa{
    font-family: Arial Nova Cond Bold;
    text-align: right;
    margin: 0%;
    line-height: 1;
    color: #505050;
    font-size: large;
    letter-spacing: 0px;

}

.h2_fecha_programa{
    font-family: Arial Nova Cond Bold;
    text-align: right;
    margin: 0%;
    line-height: 1;
    color: #333333;
    font-size: large;
    letter-spacing: 0px;
}

.p_programa1{
    font-family: Arial Nova Cond Italic;
    text-align: left;
    margin: 0%;
    line-height: 1;
    font-size: medium;
    color: #000000;
}

.p_programa2{
    font-family: Arial Nova Cond Italic;
    text-align: left;
    margin: 0%;
    line-height: 1;
    font-size: medium;
    color: #000000;
    margin-top: 2%;
}

.p_programa3{
    font-family: Arial Nova Cond ;
    text-align: left;
    margin: 0%;
    line-height: 1;
    font-size: medium;
    color: #000000;
}
/* -------- LÍNEAS DE DECORACIÓN -------- */
.linea_decoracion_programa_1{
    margin: 0%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
    width: 100%;
    height: 2px;
    background-color:  #812b18;
}

.linea_decoracion_programa_2{
    margin: 0%;
    margin-top: 1%;
    width: 70%;
    height: 2px;
    background-color:  #812b18;
    margin: 0 auto;
}

.linea_decoracion_programa_3{
    margin: 0%;
    height: 2px;
    background-color:  #812b18;
    margin: 0 auto;
    margin-top: 3%;
    margin-bottom: 3%;
    width: 100%;
}

@media (max-aspect-ratio: 1/0.5) {
  /* Pantalla vertical */
  #seccion_programa{
    background-image: url(imagenes/fondo_programa_vertical.png);
  }
}

@media (max-aspect-ratio: 1/0.7) {
  /* Pantalla vertical */

    .programa_listado{
        row-gap: 10px;
    }
    
    .h1_programa{
        font-size: 200%
    }

    .h2_programa{
        font-size: 80%;
    }

    .h3_programa{
        font-size: 60%;
    }

    .h4_programa{
        font-size: 70%;
    }

    .h5_programa{
        font-size: 60%;
    }

    .h6_programa{
        font-size: 60%;
    }

    .h1_fecha_programa{
        font-size: 60%;

    }

    .h2_fecha_programa{
        font-size: 60%;
    }

    .p_programa1{
        font-size: 60%;
    }

    .p_programa2{
        font-size: 60%;
    }
}

/* -------------- SECCIÓN ORGANIZADORES -------------- */

#seccion_organizadores{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #dfdede;
}

#seccion_organizadores_fila1{
    width: 100%;
    height: 100%;
    margin-top: 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#seccion_organizadores_fila2{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 4%;
    gap: 0%;
}

#seccion_organizadores_fila2 > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

#seccion_organizadores_fila1 > img{
    max-width: 27%;
}

#seccion_organizadores_fila2 > div:first-child > img{
    max-width: 25%;
}
#seccion_organizadores_fila2 > div:nth-child(2) > img{
    margin-top: 7%;
    max-width: 35%;
}

.h1_organizadores{
    font-size: 35px;
    margin: 0%;
}

.h2_organizadores{
    font-size: 25px;
    margin: 0%;
}

@media (min-aspect-ratio: 67/24) {
  /* Ventana muy achatada */
  #seccion_organizadores {
    height: fit-content;    
  }
}

@media (max-aspect-ratio: 0.7) {
  /* Pantalla vertical */
    #seccion_organizadores{
        height: fit-content;
    }
    #seccion_organizadores_fila2{
        
        flex-direction: column;
    }
    .h1_organizadores{
        font-size: 170%;
        margin-top: 10%;
    }
    .h2_organizadores{
        font-size: 170%;
    }

    #seccion_organizadores_fila1{
        height: fit-content;
    }
    #seccion_organizadores_fila1 > img{
        max-width: 70%;
    }

    #seccion_organizadores_fila2{
        margin-top: 15%;
    }
    #seccion_organizadores_fila2 > div:nth-child(2){
        margin-top: 10%;
    }


    #seccion_organizadores_fila2 > div:first-child > img{
        max-width: 70%;
    }
    #seccion_organizadores_fila2 > div:nth-child(2) > img{
        margin-top: 1%;
        max-width: 120%;
    }
 
}

@media (max-aspect-ratio: 1/1.5) {
    #seccion_organizadores{
        height: 100vh;
    }
}

/* -------------- SECCION DESCARGA PROGRAMA -------------- */

#seccion_descarga_programa{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(imagenes/fondo1.png);
    background-size:cover;
    background-attachment:fixed;
}

#seccion_descarga_programa > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10%;
}

#seccion_descarga_programa > div > img{
    max-width: 40%;
    display: inline;
}

#boton_descarga_pdf{
    width: auto;
    display: inline;
    padding: 1%;
    margin-top: 32%;
    background-color: #efefef;
    transition: transform 0.5s ease;
    border-radius: 25px;
    position: absolute;
    will-change: transform;
    backface-visibility: hidden;
    box-shadow: 0 2px 10px #000000;
    font-family: Bahnschrift;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    
}

#boton_descarga_pdf:hover{
    transform: scale(1.05);
    box-shadow: 0 5px 20px #000000;
    background-color: rgb(199, 100, 100);
    color: #ffffff;
    transition: all 0.3s ease;
}

@media (min-aspect-ratio: 67/24) {
  /* Ventana muy achatada */
  #seccion_descarga_programa {
    height: fit-content;
  }
}

@media (max-aspect-ratio: 1/1 ) {
  /* Pantalla vertical */
  #seccion_descarga_programa{
    background-image: url(imagenes/fondo1_vertical.png);
  }

  #seccion_descarga_programa > div > img{
    max-width: 70%;
    display: inline;
  }

  #seccion_descarga_programa > div{
    padding-bottom: 30%;
  }

  #boton_descarga_pdf{
    margin-top: 80%;
    padding: 2%;
  }
}

/* -------------- SECCION INSCRIPCION -------------- */

#seccion_formulario_inscripcion{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #dfdede;
    padding-bottom: 5%;
}

#seccion_formulario_inscripcion > img{
    max-width: 40%;
    height: auto;
    margin: 6%;

}

#seccion_formulario_inscripcion > form > fieldset > legend > h2{
    text-align: left;
}

#seccion_formulario_inscripcion > form{
    width: 60%;
}

#preguntas{
    margin-top: 1%;
    width: 100%;
    font-size: medium;
    padding: 1%;
}

#boton_enviar_formulario{
    width: auto;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 1%;
    padding-top: 1%;
    background-color: #efefef;
    transition: transform 0.5s ease;
    border-radius: 10px;
    will-change: transform;
    backface-visibility: hidden;
    box-shadow: 0 2px 10px #000000;
    font-family: Bahnschrift;
    font-size: large;
    transition: all 0.3s ease;
    margin-top: 4%;
}

#boton_enviar_formulario:hover{
    transform: scale(1.05);
    box-shadow: 0 5px 20px #000000;
    background-color: rgb(204, 69, 69);
    color: #ffffff;
    transition: all 0.3s ease;
}

@media (max-aspect-ratio: 1/1.2) {
  /* Pantalla vertical */
  #seccion_formulario_inscripcion > img{
    max-width: 80%;
  }

  #seccion_formulario_inscripcion > form{
     width: 80%;
  }

  #boton_enviar_formulario{
    padding: 2%;
  }
}

/* -------------- SECCION PATROCINADORES -------------- */

#seccion_patrocinadores{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(imagenes/fondo_patrocinadores.png);
    background-size:cover;
}

#seccion_patrocinadores > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#seccion_patrocinadores > div > h1{
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

#seccion_patrocinadores > div > div {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
}

#seccion_patrocinadores > div > div > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#bayer{
    width: 10%;
}

#logos_columna > div > img{
    max-width: 20%;
    margin-left: 7%;
    margin-right: 7%;
}


#johnson{
    font-size: 100%;
    letter-spacing: 1px;
    margin-left: 7%;
    margin-right: 7%;
}

#h1_bronce{
    font-size: 200%;
    color: #853d2d;
    text-shadow: 1px 1px 10px rgb(156, 106, 49);
}
#h1_colaboradores{
    font-size: 200%;
    color: #812b18;
    text-shadow: 0px 0px 1px rgb(0, 0, 0.5);
}

@media (min-aspect-ratio: 67/30) {
  /* Ventana muy achatada */
  #seccion_patrocinadores {
    height: fit-content;    
  }
}

@media (max-aspect-ratio: 1/0.7) {
    #seccion_patrocinadores {
    background-image: url(imagenes/fondo_patrocinadores_vertical.png);   
  }

  #seccion_patrocinadores > div > h1{
    
        margin-left: 7%;
        margin-right: 7%;
        font-size: 190%;
    }

  #bayer{
    width: 20%;
    }

    #logos_columna > div > img{
        max-width: 35%;
        margin-left: 7%;
        margin-right: 7%;
    }

    #johnson{
        font-size: 50%;
        letter-spacing: 1px;
        margin-left: 7%;
        margin-right: 7%;
    }

    #h1_bronce{
        font-size: 150%;
        color: #853d2d;
        text-shadow: 1px 1px 10px rgb(156, 106, 49);
    }
    #h1_colaboradores{
        font-size: 150%;
        color: #812b18;
        text-shadow: 0px 0px 1px rgb(0, 0, 0.5);
    }

    #logos_fila2{
        margin-top: 5%;
    }
    #logos_fila3{
        margin-top: 10%;
    }
    #logos_fila4{
        margin-top: 10%;
    }
}

/* -------------- SECCION SECRETARIA -------------- */

#seccion_secretaria{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #dfdede;
}

#seccion_secretaria > h1{
    margin-top: 15%;
}

#linea_decoracion{
    margin: 4%;
    width: 30%;
    height: 2px;
    background-color:  #812b18;
}

#enlaces{
    width: 50%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 12%;
}

#enlaces > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#enlaces > div > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    height: auto;
}

#enlaces > div > a > img {
    max-width: 100%;
    transition: transform 0.3s ease;
}

#enlaces > div > a > img:hover{
    transform: scale(1.1);
    filter: invert(1) sepia(1) saturate(100000%) hue-rotate(-20deg) invert(1) hue-rotate(100deg) ;
}

#enlaces > div > h2 {
    margin-top: 10%;
    font-size: medium;
}

@media (min-aspect-ratio: 67/40) {
  /* Ventana muy achatada */
  #seccion_secretaria {
    height: fit-content;    
  }
} 

@media (max-aspect-ratio: 1/1) {
    #seccion_secretaria{
        height: fit-content;
    }
    
    #enlaces{
        width: 100%;
    }
    
    #enlaces > div {
        width: 100%;
        margin-bottom: 10%;
    }

    #enlaces > div  a > img {
        max-width: 60%;
    }

    #enlace_email{
        margin-top: 7%;
    }

    #linea_decoracion{
        width: 60%;
    }

    #seccion_secretaria > h1{
        margin-left: 8%;
        margin-right: 8%;
}
}

/* -------------- SECCION ESLOGAN -------------- */

#seccion_eslogan{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(imagenes/fondo3.png);
    background-size:cover;
    background-attachment:fixed;
}

#seccion_eslogan > h1{
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    color: black;
}

@media (max-aspect-ratio: 1/1){
    #seccion_eslogan{
        background-image: url(imagenes/fondo3_vertical.png);
    }

    #seccion_eslogan > h1{
        margin: 10%;
}
}

/* -------------- SECCION PIE DE PÁGINA -------------- */

footer{
    width: 100%;
    height: 100px;
    background-color: #1a0702;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer > p{
    color: white;
    font-size: normal;
    font-family: Calibri;
    text-align: center;
}

footer > p > a{
    color: #bfc5b4;
    text-decoration: none;
    text-align: center;
}

@media (max-aspect-ratio: 1/0.5){
    footer{
    padding-left: 5%;
    padding-right: 5%;
    height: fit-content;
}
}

/* ################## ESTILOS DE TEXTO ################## */

h1{
    font-family: Arial Nova Cond;
    letter-spacing: 5px;
    color: #812b18;
    text-align: center;
}

h2{
    font-family: Arial Nova Cond;
    letter-spacing: 3px;
    color: #000000;
    text-align: center;
}

.texto1{
    color: #000000;
    font-size:150%;
    font-family: Calibri;
    text-align: center;
}

@media (max-aspect-ratio: 1/1.2) {
  /* Pantalla vertical */
  .texto1{
    font-size:120%;
  }
}

.texto2{
    color: #363636;
    font-size:100%;
    font-family: Calibri;
}

/* ################## ESTILOS DE INPUT ################## */

input[type="text"]{
    width: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    font-size: medium;
    padding: 1%;

}

input[type="email"]{
    width: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    font-size: medium;
    padding: 1%;
}

input[type="submit"]{
    border: none;
}

#preguntas{
    text-align: left;
}

/* ################## ESTILOS GLOBALES ################## */

fieldset{
    border-radius: 15px;
    border: none;
}

.fixed {
    position: fixed;
    top: 0;
}
