@font-face {
    font-family: 'Moderniz';
    src: url('../fonts/Moderniz.woff2') format('woff2'),
         url('../fonts/Moderniz.woff') format('woff'),
         url('../fonts/Moderniz.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Moderniz';
    src: url('../fonts/coolvetica rg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif; /* Fuente estándar del sistema */
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #eee;
    background-image: url('../media/backgrounds/dark_forest.jpg'); /* Imagen de fondo oscura */
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Asegura que el pie de página esté al fondo de la página */
}

header {
    background-color: #000;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

header img {
    width: 100px;
    filter: brightness(0.6); /* Oscurece el logo */
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #eee;
    text-decoration: none;
    font-size: 1.2em;
    text-shadow: 2px 2px 4px #000;
}

nav ul li a:hover {
    color: #f00;
    text-shadow: 2px 2px 8px #ff0000;
}

main {
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente para mejorar la legibilidad */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    flex: 1; /* Toma el espacio restante */
}

h1, h2 {
    font-family: 'Moderniz', Arial, sans-serif; /* Cambia a la fuente "Moderniz" */
    color: #fff; /* Cambia el color a blanco */
    text-shadow: 4px 4px 8px #000;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
}

footer {
    background-color: #000;
    color: #eee;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.6);
    margin-top: auto; /* Empuja el pie de página al fondo */
}

form {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

form label {
    margin-top: 10px;
    color: #ccc;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #222;
    color: #eee;
}

form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #555;
    color: #eee;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #f00;
}

.gallery-container {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #333; /* Fondo gris para la sección de la galería */
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    background-color: #333; /* Fondo gris para la galería */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.gallery img {
    width: 200px;
    height: auto;
    border: 2px solid #444;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #f00;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border: 2px solid #444;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f00;
    text-decoration: none;
}

body {
    margin: 0;
    overflow: hidden;
}

#transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 1;
    transition: opacity 1s ease;
    z-index: 10;
}

#transition.hidden {
    opacity: 0;
    pointer-events: none;
}

#image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#image.visible {
    opacity: 1;
}

#image.hidden {
    opacity: 0;
}

/* Contenedor de contenido */
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Estilo del contenedor de texto */
.text-container {
    flex: 1;
    margin-right: 20px;
}

.text-container p {
    font-family: 'Moderniz', Arial, sans-serif;
}

/* Video Container Styles */
#video-container {
    width: 50%; /* Ajusta el ancho del video como desees */
    height: 0;
    padding-bottom: 28.125%; /* Mantén la relación de aspecto 16:9 */
    position: relative;
}

#video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 1920px) and (max-height: 1080px) and (aspect-ratio: 16/9) {
    footer {
        display: none;
    }
}
