body {
    background-color: purple;
    text-align: center;
}

p {
    color: blanchedalmond;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 70px;
}



.imagen {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
}

.imagen .img {
    width: 100%;
    height: auto;
}

.imagen h1 {
    position: absolute;
    top: 10%; /* Ajusta la posición arriba del video */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 10px;
}

.imagen .video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    height: 315px;
    border: none;
}

.descargar {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: brown;
    color: white;
    font-size: 20px;
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
}

.navbar .form-control {
    width: 200px;
    border-radius: 20px;
}

.navbar .btn-outline-primary {
    border-radius: 50%;
    padding: 5px 10px;
}

.navbar .btn-outline-primary:hover {
    background-color: #ff5722;
    color: white;
    border-color: #ff5722;
}



/* Estilos para el contenedor de carga */
#loadingContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Fondo semi-transparente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    padding: 20px;
    text-align: center;
}
/* Ajusta el tamaño del GIF de carga */
#loadingGif {
    width: 150px;
    max-width: 80%; /* Evita que sea más grande que la pantalla */
    height: auto;
    margin-bottom: 20px;
}

/* Contenedor de la barra de progreso */
#progressBarContainer {
    width: 90%;
    max-width: 350px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
}

/* Barra de progreso */
#progressBar {
    width: 0%;
    height: 100%;
    background-color: #ffcc00;
    transition: width 0.3s ease;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    #loadingGif {
        width: 120px;
    }

    #progressBarContainer {
        width: 85%;
    }
}

@media (max-width: 480px) {
    #loadingGif {
        width: 100px;
    }

    #progressBarContainer {
        width: 80%;
        height: 8px;
    }
}

@media (max-width: 360px) {
    #loadingGif {
        width: 80px;
    }

    #progressBarContainer {
        width: 75%;
        height: 6px;
    }
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 20px;
    font-size: 14px;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

