html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.overlay-box:after {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    /* opacity: 0.85; */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -1;
}

.overlay-box {
    height: 150px;
    /* Ajusta esta altura según tus necesidades */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay-box img.profile-img {
    width: 80px;
    /* Ajusta el tamaño de la imagen */
    height: 80px;
    /* Asegúrate de que la altura y la anchura sean iguales para mantener la forma circular */
    object-fit: cover;
}

.overlay-box h3 {
    margin-top: 10px;
    /* Ajusta el margen superior si es necesario */
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-footer .btn {
    display: block;
    width: auto;
    /* Asegúrate de que el botón no ocupe todo el ancho del contenedor */
    text-align: center;
}

.illuminated-image {
    filter: drop-shadow(0 0 10px rgb(255, 255, 255));
}

.card {
    background-color: transparent;
}

.img-small {
    display: none;
}

@media (max-width: 500px) {
    .img-large {
        display: none;
    }

    .img-small {
        display: block;
    }
}

.iframe-container {
    width: 100%;
    height: 100%;
}

iframe {
    width: 100%;
    min-height: 30rem;
    border: none;
    /* Remueve el borde del iframe */
}

#imagen-carrusel img {
    width: 100%;
    height: 500px;
}

:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2c5f8d;
    --accent-color: #0077b6;
    --dark-color: #0a2540;
    --light-color: #f0f7fb;
    --text-dark: #1a252f;
    --text-light: #5a6c7d;
    --border-color: #d1dce5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    /* Fondo blanco, o puedes usar otro color */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Para que esté sobre todo el contenido */
}

/* Spinner styling */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: #1a4d7a;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}