@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    src: local('Montserrat'),
        url(../fonts/Montserrat-VariableFont_wght.ttf);
}

.libre-caslon-text-regular {
    font-family: "Libre Caslon Text", serif;
    font-weight: 400;
    font-style: normal;
}

.libre-caslon-text-bold {
    font-family: "Libre Caslon Text", serif;
    font-weight: 700;
    font-style: normal;
}

.libre-caslon-text-regular-italic {
    font-family: "Libre Caslon Text", serif;
    font-weight: 400;
    font-style: italic;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Libre Caslon Text", serif;
    font-style: normal;
    display: flex;
    flex-direction: column;
}

/* DECORACIÓN DE LOS ENLACES */
p a {
    color: rgb(44, 134, 150);
    text-decoration: none;
}

/* HEADER */
header {
    padding: 60px;
    text-align: center;
    background-image: url("../img/lacaldera.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

/* CUADRO CONTENEDOR DEL VÍDEO */
header div {
    background-color: rgba(16, 88, 16, 0.7);
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 20px;
}

header h1,
p {
    font-family: 'Montserrat';
}

#vid {
    flex-wrap: nowrap;
    height: 400px;
    width: 80%;
    object-fit: cover;
}

/* ZONA NAVEGABLE */
.navIn {
    display: flex;
    justify-content: space-around;
    background: rgb(44, 162, 192);
    font-weight: 700;
    flex-wrap: nowrap;
}

.navIn a {
    scale: 1;
    color: rgb(8, 40, 110);
    padding: 14px 5%;
    text-align: center;
    text-decoration: none;
    transition: all 1s ease 0s;
    flex-wrap: nowrap;
}

.navIn a:hover {
    scale: 1.1;
    background: rgba(16, 88, 16, 0.7);
    transition: all 1s ease 0s;
    box-shadow: 3px 10px 6px black;
}

/* CONTENIDO MAIN */
main {
    background-image: linear-gradient(rgb(77, 180, 206), rgb(7, 53, 61), rgb(55, 55, 55));
}

.contenedorInf {
    display: flex;
    flex-flow: column wrap;
}

/* ESTE ES EL CUADRO QUE CONTIENE LA INFORMACIÓN "FLOTANTE" */
.informacion {
    margin: 15px 10%;
    border-radius: 7px;
    border: 5px inset green;
    text-align: justify;
    background: rgba(228, 237, 240, 0.767);
    box-shadow: 15px 15px 15px rgb(0, 0, 0);
    padding: 15px;
    box-sizing: border-box;
    justify-content: center;
}

/* ESTILO DE LOS H2 DENTRO DE .INFORMACION */
.informacion h2 {
    text-shadow: 2px 8px 3px rgb(44, 162, 192);
    text-align: center;
    color: rgba(9, 83, 27, 0.856);
}

/* ESTILO DE LOS P */
.informacion p {
    font-weight: 700;
    text-align: justify;
}

/* ESTILO DEL IFRAME */
#paginas {
    border: none;
    background-image: linear-gradient(rgb(77, 180, 206), rgb(7, 53, 61), rgb(55, 55, 55));
    min-height: 800px;
    width: 100%;
}

/* ESTILO PARA LAS IMAGENES */
img {
    max-height: 200px;
    width: 300px;
    margin: 5px;
}

/* ESTILO DEL IFRAME PARA EL VIDEO DE LOS INDIANOS */
#indianos {
    width: auto;
    height: 300px;
}

/* ESTILO PARA EL CUADRO QUE HAY EN EVENTOS, TUVE QUE MODIFICARLO PARA PODER USAR LOS VIDEOS Y FOTOS */
.informacionEven {
    display: flex;
    flex-direction: column;
    margin: 15px 10%;
    border-radius: 7px;
    border: 5px inset green;
    text-align: justify;
    background: rgba(228, 237, 240, 0.767);
    box-shadow: 15px 15px 15px rgb(0, 0, 0);
    padding: 15px;
    box-sizing: border-box;
    justify-content: center;
    font-weight: 700;
}

/* IMAGENES DENTRO DEL CUADRO QUE HAY EN EVENTOS */
.informacionEven img {
    width: auto;
    height: auto;
}

/* TITULOS PARA EVENTOS */
.informacionEven h2 {
    text-shadow: 2px 8px 3px rgb(44, 162, 192);
    text-align: center;
    color: rgba(9, 83, 27, 0.856);
}

/* LINEA DIVISORIA */
hr {
    border-top: 5px solid rgb(30, 179, 87);
    margin-right: 5%;
    margin-left: 5%;
    margin-bottom: 15px;
    border-radius: 3px;
}
/* CONTENEDOR DE IMAGENES DE LAS OTRAS PÁGINAS*/
.contimg {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

/* FOOTER */

footer {
    display: inline-flex;
    flex-direction: row;
    height: auto;
    width: auto;
    background: rgb(55, 55, 55);
    margin-top: auto;
    padding-bottom: 3vh;
    justify-content: space-around;
}

.contenedorf {
    display: flex;
    flex-direction: row;
}

/* BOTÓN DE SUBIR PARA IR ARRIBA DEL TODO */
#subir {
    background-image: linear-gradient(rgb(255, 255, 255), rgb(166, 207, 18));
    color: rgb(76, 91, 224);
    font-weight: bold;
    text-decoration: none;
    border: 4px outset rgb(60, 230, 68);
    box-shadow: 4px -5px 3px black;
    padding: 5px;
    height: auto;
    text-align: center;
}


/* FORMULARIO */
#contacto {
    background: rgba(21, 165, 190, 0.822);
    margin: 5px;
    border: 5px solid black;
}

#contacto form, input {
    display: flex;
    flex-direction: column;
    margin: 5px 10px;
}

label {
    margin: 5px 10px;
    font-weight: bold;
    color: black;
}

#contacto p {
    margin: 10px 10px;
    font-weight: bold;
}

/* PARTE RESPONSIVE PARA MÓVILES*/
@media screen and (max-width: 700px) {
    .navIn {
        flex-direction: column;
    }

    #vid {
        display: none;
    }

    footer {
        display: flex;
        flex-direction: column;
    }
}