.banner {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: url('../../public/image/portada/portada.png') no-repeat center top;
    background-size: cover;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .banner {
        min-height: 400px;
        font-size: 1.5rem;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    .banner {
        min-height: 400px;
        font-size: 1.2rem;
        padding-top: 5px;
    }

    #logo {
        width: 70px;
    }
}

.text-overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 32px;
    font-weight: normal;
    text-align: center;
    font-family: Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-overlay::after {
    content: "";
    width: 80px;
    height: 0.5px;
    background: white;
    margin-top: 10px;
}

/*  HEADER AND FOOTER */

body {
    font-family: Tahoma, sans-serif;
}

.link_menu {
    font-size: 12px !important;
}

/* Cambiar color del navbar */
.navbar {
    background-color: #d0023c !important;
    padding: 10px 15px;
}

/* Botón del menú hamburguesa */
.navbar-toggler {
    border: none;
    background-color: transparent;
    padding: 8px;
    outline: none !important;
    box-shadow: none !important;
}

/* Icono del menú hamburguesa con 4 líneas blancas */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='4' d='M5 5h20M5 12h20M5 19h20M5 26h20'/%3E%3C/svg%3E");
}

/* Estilo general de los enlaces */
.navbar-nav .nav-link {
    font-family: Tahoma, sans-serif;
    font-size: 13px;
    font-weight: regular;
    color: white !important;
    transition: background 0.3s ease-in-out;
}

/* Cuando pasas el mouse encima */
.navbar-nav .nav-link:hover {
    background-color: #99082b !important;
    color: white !important;
}

/* Cuando un enlace está activo */
.navbar-nav .nav-item .nav-link.active {
    background-color: black !important;
    color: white !important;
    border-radius: 5px;
}

/* Espaciado entre títulos del menú */
.navbar-nav {
    display: flex;
    gap: 22px;
}

/* Asegurar que el botón y el logo estén alineados */
.navbar-toggler {
    order: -1;
    /* Mueve el botón al lado izquierdo */
}

.navbar-brand {
    margin-left: 10px;
}

/* Eliminar el marco negro al hacer clic */
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

/*footer --------------------------------------------------------------------------------------------*/
.footer {
    background-color: #181b22;
    color: white;
    padding: 40px 0;
    font-family: Tahoma, sans-serif;
}

.footer-logo {
    width: 100px;
    margin-bottom: 10px;
}

.footer p,
.footer a {
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.newsletter {
    display: flex;
    align-items: center;
    background-color: #1c1e28;
    /* Color de fondo similar al de la imagen */
    padding: 5px;
    border-radius: 5px;
    width: fit-content;
}

.newsletter input {
    border: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
    flex: 1;
    color: #ccc;
    /* Color del texto */
    background: white;
}

.newsletter button {
    background-color: #d0021b;
    /* Color rojo del botón */
    border: none;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
}

.newsletter button:hover {
    background-color: #d0023c;
    /* Un tono más oscuro al pasar el mouse */
}


.footer-single-logo {
    max-width: 200px;
    /* Ajusta el tamaño según lo necesites */
    height: auto;
    display: block;
    margin-top: 20px;
}