/* Reset básico para asegurar que el body ocupe toda la pantalla */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    /* Evita barras de desplazamiento si el video es un poco más grande */
    font-family: 'Montserrat', sans-serif;
    /* Fuente legible para todo el sitio */
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 100% de la altura del viewport */
    overflow: hidden;
    /* Asegura que el video no se desborde */
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centra el video */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    /* Asegura que el video cubra el contenedor manteniendo su relación de aspecto */
    z-index: -1;
    /* Envía el video al fondo, detrás del contenido */
}

.fadein {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente para el texto */
    display: flex;
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    text-align: center;
    color: white;
    z-index: 1;
    /* Asegura que el texto esté por encima del video */
}

.contenido {
    padding: 20px;
    max-width: 90%;
    /* Limita el ancho del contenido en pantallas grandes */
    box-sizing: border-box;
    /* Incluye padding en el ancho total */
}

.contenido h1 {
    font-size: 8vw;
    /* Tamaño de fuente responsivo para el título */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contenido p {
    font-size: 4vw;
    /* Tamaño de fuente responsivo para el párrafo */
    margin-bottom: 30px;
    line-height: 1.5;
}

.contenido button {
    background-color: #007bff;
    /* Color azul para el botón */
    color: white;
    border: none;
    padding: 2.5vw 5vw;
    /* Padding responsivo para el botón */
    font-size: 3vw;
    /* Tamaño de fuente responsivo para el botón */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contenido button:hover {
    background-color: #0056b3;
    /* Color más oscuro al pasar el ratón */
}

/* Media Queries para ajustes finos en diferentes tamaños de pantalla */

/* Para tablets y pantallas un poco más grandes que móviles */
@media (min-width: 600px) {
    .contenido h1 {
        font-size: 6vw;
    }

    .contenido p {
        font-size: 3vw;
    }

    .contenido button {
        padding: 2vw 4vw;
        font-size: 2.5vw;
    }
}

/* Para desktops y pantallas grandes */
@media (min-width: 1024px) {
    .contenido h1 {
        font-size: 4em;
        /* Usa 'em' para un tamaño más fijo en pantallas grandes */
    }

    .contenido p {
        font-size: 1.5em;
    }

    .contenido button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
}