body {
    background-color: purple;
}

p {
    color: green;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 70px;
    text-align: center;
}

d-inline-block align-text-top {
    width: 100px;
    height: 100px;
}

h1{
    color: rgb(69, 160, 212);
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
}

h2 {
    color: black;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
}

h3 {
    color: black;
    margin: 5%;
    text-align: left;
    font-size: 20px;
}

.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;
}


.imagen {
    position: relative;
    margin-bottom: 50px;
    
}

.imagen .img {
    width: 100%;
    height: auto;
    margin-top: -2%;
}

.imagen .btn {
    position: absolute;
    margin-top: -1%;
    left: 50%; 
    transform: translate(-50%, -50%);
    background-color: brown;
    color: white;
    font-size: 20px;
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
}


.imagen .img2 {
    width: 100%;
    height: 500px;
    margin-top: -9px; 
    
}

.imagen .img3 {
    position: absolute;
    right: 10%;
    top: 60%;
    transform: translateY(-50%); /* Centrado vertical */
    width: 600px; /* Tamaño de la imagen 3 */
    height: auto;
    z-index: 1; /* Asegura que la imagen 3 esté encima */
}

.imagen .texto {
    position: absolute;
    top: 40%; /* Coloca el texto un poco más arriba */
    left: 10%; /* Alinea el texto a la izquierda */
    transform: translateY(-50%);
    color: white; 
    font-size: 30px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo oscuro semi-transparente */
    padding: 10px 20px;
    border-radius: 10px;
}

.imagen .btn {
    position: absolute;
    top: 60%; /* Subimos el botón por encima del texto */
    left: 10%;
    transform: translateY(-50%);
    background-color: brown;
    color: white;
    font-size: 20px;
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
}
    



.container {
    background-color: #f4f4f9; 
    padding: 30px;
    margin-top: 10px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin-bottom: 50px; 
   
}

container text-center {
    text-align: center;

}

.btn {
    position: absolute;
    left: 67%;  
    transform: translate(-50%, -50%);
    margin-top: 20px;
    background-color: brown;
    border-radius: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.container2{
    text-align: center;
}
/* 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;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    width: 100%;
    margin-top: auto;
}