.navbar-custom, footer {
    background-color: #016ca1 !important;
}
header.masthead {
    background-image: url('./../assets/img/bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh; /* La altura siempre será igual a la altura de la ventana */
    width: 100%; /* La anchura se ajusta al 100% */
}
@media (max-width: 768px) {
    header.masthead {
        background-position: center top; /* Ajusta la posición del fondo */
    }
}
.btn-primary {
    background-color: #016ca1;
    border-color: #016ca1;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:focus-within {
    background-color: #192d5e !important;
    border-color: #192d5e !important;
}

    /* Configuración general del body y la estructura de la página */
    html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: white;
    }

    body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: white;
    }
    .bg-video-container {
    position: relative;
    height: 100vh;
    width: 100%;
  }

  .bg-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
  }

  .btn-login {
    background-color:rgba(1, 6, 61, 0.63);
    border-color:rgba(255, 255, 255, 0.66);
    border-width: 1px; 
    margin: 0.5rem; /* agrega espacio entre botones */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius:40px;
    color: white;
    transition: background-color 0.3s;
  }

  .btn-login:hover {
    background-color:rgba(2, 40, 106, 0.9);
    border-color:rgb(0, 170, 255);
    border-width: 1px; 
    color: rgb(255, 255, 255);
  }
  .bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgb(0 3 6 / 45%) !important;
  }
.modal-content {
    position: relative;
    display: flex
;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}
    /* El contenido principal ocupa el espacio restante */
    .content {
      flex: 1;
    }
    .logo {
        max-width: 80%; /* El logo nunca será más ancho que su contenedor */
        height: 50px; /* Mantiene las proporciones originales */
        width: 190px;; /* Permite que la imagen se ajuste al contenido */
        max-height: 10vh; /* El logo ocupa como máximo el 10% de la altura de la ventana */
    }
    @media (max-width: 768px) {
        .logo {
            max-height: 15vh; /* En pantallas más pequeñas, aumenta ligeramente la altura del logo */
        }
    }
    
    @media (max-width: 480px) {
        .logo {
            max-height: 20vh; /* Ajusta el tamaño del logo para pantallas muy pequeñas */
        }
    }
    .responsive-text {
        color: #192d5e;
        font-family: Optima, sans-serif;
        font-size: 3rem; /* Tamaño base adaptativo */
        text-align: center; /* Centra el texto */
        margin: 0; /* Elimina márgenes extra */
    }
  
    /* Media queries para ajustar el texto en diferentes dispositivos */
    @media (max-width: 1200px) {
        .responsive-text {
            font-size: 2.5rem;
        }
    }
  
    @media (max-width: 768px) {
        .responsive-text {
            font-size: 2rem;
        }
    }
  
    @media (max-width: 480px) {
        .responsive-text {
            font-size: 1.5rem;
        }
    }