/* ESTILOS GENERALES CSNET */

:root {
    --principal: #01264e;
    --secundario: #153f6b;
    --negro: #131313;
    --blanco: #fff;
}

@font-face {
    font-family: "Roboto";
    src: url("/fuentes/Roboto/Roboto-Light.ttf");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Roboto";
    src: url("/fuentes/Roboto/Roboto-Regular.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("/fuentes/Roboto/Roboto-Bold.ttf");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Darker Grotesque";
    src: url("/fuentes/Darker_Grotesque/static/DarkerGrotesque-Medium.ttf");
    font-style: normal;
    font-weight: 400;
}

.fondo-principal {
    background-color: var(--principal);
}

.color-principal {
    color: var(--principal);
}

.fondo-secundario {
    background-color: var(--secundario);
}

.color-secundario {
    color: var(--secundario);
}

.fondo-negro {
    background-color: var(--negro);
}

.color-negro {
    color: var(--negro);
}

.fondo-blanco {
    background-color: var(--blanco);
}

.color-blanco {
    color: var(--blanco);
}

.boton-principal {
    color: white;
    background-color: var(--principal);
    border: 1px solid var(--principal);
}

.boton-principal:hover {
    color: white;
    background-color: var(--secundario);
    border: 1px solid var(--secundario);
}

.boton-outline-principal {
    color: var(--principal);
    border: 1px solid var(--principal);
}

.boton-outline-principal:hover {
    color: white;
    background-color: var(--principal);
}

body {
    font-family: "Roboto", sans-serif;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
    overflow-x: hidden;
}

main {
    flex-grow: 1;
}

.boton-clausula {
    width: fit-content;
    border: 1px solid rgb(190, 190, 190);
}

.boton-clausula:focus:not(:focus-visible),
.boton-clausula:not(.collapsed) {
    color: var(--negro);
    box-shadow: none;
    background-color: transparent;
    border: 1px solid rgb(190, 190, 190);
}

.boton-clausula:not(.collapsed)::after {
    background-image: url("/imagenes/iconos/chevron-down.svg"),
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.card-noticia {
    text-decoration: none;
    color: var(--negro);
    transition: all 0.2s;
}

.card-noticia:hover {
    color: var(--negro);
    opacity: 0.7;
}

.noticia a {
    color: var(--principal);
    text-decoration: none;
    transition: all 0.2s;
}

.noticia a:hover {
    opacity: 0.7;
}

ul.pagination {
    justify-content: center;
    margin-bottom: 3em;
}

.pagination .page-item.active .page-link {
    background-color: var(--verde1);
    border-color: var(--verde1);
}

.pagination .page-link {
    color: var(--verde1);
}

.pagination .page-link:focus {
    box-shadow: none;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 0;
}

/* FIN DE ESTILOS GENERALES CSNET */

.pie {
    border-top: 2px solid white;
    background-color: var(--principal);
}

.pie a {
    color: var(--blanco);
}

/* Estilos personalizados */
.darker-grotesque {
    font-family: "Darker Grotesque", "Roboto", sans-serif;
}

.navbar-toggler.icon-only {
    border: none;
    background: none;
    padding: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler.icon-only:focus {
    box-shadow: none;
}

.menuSuperior {
    width: 100dvw;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


.menuGeneral {
    background-color: var(--principal);
}

.menuSuperiorContenido {
    max-width: 1300px;
}

.navbar-brand img {
    height: 115px;
}

.nav-link {
    color: white;
}

.icono-menu {
    font-size: 50px;
}

/* Navlinks */
.nav-link {
    color: #f8fafc;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color 0.25s ease;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-family: "Darker Grotesque", "Roboto", sans-serif;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background-color: #94a3b8;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Selector idioma */
.idioma-selector {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.idioma-link {
    color: #f8fafc;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.3rem 0.5rem;
    transition: color 0.25s ease;
    text-decoration: none;
}

.idioma-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background-color: #94a3b8;
    transition: width 0.3s ease, left 0.3s ease;
}

.idioma-link:hover {
    color: #ffffff;
}

.idioma-link:hover::after {
    width: 80%;
    left: 10%;
}

/* Sangris y espaciados */
.gap-40 {
    gap: 40px;
}
/* titulos */
.titulo-seccion {
    color: #000;
    font-family: "Darker Grotesque";
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 64px; /* 100% */
}

/* botones */
.btn-cta-outline-white {
    display: flex;
    width: fit-content;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 1000px;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px; /* 100% */
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.btn-cta-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 500px) {
.menuSuperior {
    width: 100%;
    background-color: var(--principal);
    z-index: 1030;
}

.titulo-seccion {
    font-size: 40px;
    line-height: 1; /* 100% */
}


    .navbar-brand img{
        width: 250px;
    }
}
