/* ESTILOS GENERALES CSNET */

:root {
    --principal: #0077b6;
    --principal-light: #00bcef;
    --principal-dark: #023e8a;
    --secundario: #272727;
    --negro: #111827;
    --gris: #d1d5db;
    --blanco: #fff;
    --texto: #374151;
    --light: #efefef;
}

@font-face {
    font-family: "Montserrat";
    src: url("/fuentes/Montserrat/Montserrat-VariableFont_wght.ttf")
        format("truetype");
    font-style: normal;
    font-weight: 100 900;
}
@font-face {
    font-family: "Montserrat";
    src: url("/fuentes/Montserrat/Montserrat-Italic-VariableFont_wght.ttf")
        format("truetype");
    font-style: italic;
    font-weight: 100 900;
}

.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: "Montserrat", sans-serif;
    background-color: var(--light);
    color: var(--texto);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1rem;
    font-weight: 500;
}

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;
}

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

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

/* FIN DE ESTILOS GENERALES CSNET */

/* COLORES */
.color-texto{
    color: var(--texto);
}
.fondo-principal {
    background-color: var(--principal);
}

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

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

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

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

#menuSuperior {
    padding-inline: 12%;
}

#menuSuperior .navbar-logo {
    height: 70px;
}

#menuSuperior .nav-link {
    color: var(--blanco);
    text-transform: uppercase;
    font-size: 1rem;
    padding: 4px 12px;
    font-weight: 500;
}
#menuSuperior .nav-link:hover {
    color: var(--gris);
}

#menuSuperior .nav-link.active {
    border-bottom: 2px solid var(--blanco);
}

.dropdown-menu {
    border-radius: 0;
}

.cta-blanco {
    background-color: var(--blanco);
    border-radius: 0;
    color: var(--principal);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 24px;
}
.cta-blanco:hover {
    color: var(--principal);
    background-color: var(--gris);
}
.cta-principal {
    background-color: var(--principal);
    border-radius: 0;
    color: var(--blanco);
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 24px;
}
.cta-principal:hover {
    color: var(--light);
    background-color: var(--texto);
}

.redes-contacto {
    gap: 24px;
}

/* Estilos pie */
.footer-links ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    text-decoration: none;
    color: #333;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-column h6 {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

@media (max-width: 760px) {
    #menuSuperior {
        padding-inline: 5%;
    }
}

@media (max-width: 500px) {
    #menuSuperior .navbar-logo {
        height: auto;
        width: 130px;
    }
}
