@charset "UTF-8";

/* Fondo y texto */
body {
    background: url(/Imagenes/fondo_agua.jpg) no-repeat center center fixed;
    background-size: cover;
    font-size: 16px;
    color: #4b3a35; /* Mejor contraste */
}

/* Estilos para encabezados */
h1, h2 {
    color: #FF6666;
}

h3, h4, h5, h6 {
    color: #CC9999;
}

/* Estilos para enlaces */
a {
    color: #d9001a; /* Color más oscuro para mejor legibilidad */
}

/* Formularios */
.form {
    background-color: #e6968f;
    padding: 15px;
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

/* Pop-up de cookies */
.cookie-popup {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}

.cookie-popup p {
    margin: 0;
}

.cookie-popup a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-popup button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-popup button:hover {
    background-color: #45a049;
}

/* Botones generales */
.button {
    padding: 15px 30px;
    margin: 10px;
    background-color: #007BFF;
    color: white;
    border: 2px solid #28a745;
    border-radius: 8px;
    font-size: 18px;
    font-weight: normal;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #218838;
    color: #ffffff;
    border-color: #1c7430;
}

/* Galería de videos */
.videos-grid {
	
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas */
    gap: 20px; /* Espacio entre los videos */
    justify-content: center;
    max-width: 1200px; /* Ancho máximo del contenedor */
    margin: 20px auto;
    padding: 0 10px;
}

.video-item {
    text-align: center;
    border: 1px solid #ccc;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    overflow: hidden; /* Evitar desbordamientos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px; /* Limitar el tamaño máximo del contenedor */
    margin: auto; /* Centrado */
}
.video-item video {
    width: 100%; /* Video ocupa todo el ancho del contenedor */
    max-width: 100%; /* Evitar que exceda el tamaño del contenedor */
    height: auto; /* Mantener proporción */
    border-radius: 5px; /* Bordes redondeados */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Sombra opcional */
}

.video-item h3 {
    margin: 10px 0; /* Espaciado alrededor del título */
    font-size: 16px; /* Tamaño de texto para títulos */
}

.video-item p {
    margin: 5px 0; /* Espacio entre líneas de texto */
    font-size: 14px;
    color: #333;
}

.video-item a {
    margin-top: 10px; /* Espacio superior para el enlace */
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.video-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}


/* General para imágenes */
img {
    max-width: 100%; /* Responsivas */
    height: auto;
}
