/* ESTILOS GENERALES CSNET */

:root {
    --principal: #d1d1d1;
    --secundario: #ededed;
    --gris-oscuro: #8d8d8d;
    --negro: #1d1d1b;
    --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: "Acephimere";
    src: url("/fuentes/Acephimere/Acephimere.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Acephimere";
    src: url("/fuentes/Acephimere/Acephimere-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}

body {
    width: 100vw;
    overflow-x: hidden;
}

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

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

.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: "Acephimere", 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;
}

/* PIE */

.pie {
    background-color: var(--negro);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem 1rem;
    text-align: center;
    color: var(--blanco);
    font-size: 0.9rem;
}

.pie a {
    color: var(--blanco);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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


/* FIN DE ESTILOS GENERALES CSNET */
.barra-navegacion {
    border-bottom: 1px solid black;
    height: 130px;
}

.navbar-brand {
    height: 80px;
}

.navbar-brand .imagen-logo {
    height: 100%;
    width: auto;
    display: block;
}

.menu-superior {
    align-items: end;
    height: 80px;
    text-transform: uppercase;
    font-size: 18px;
}

.navbar-collapse {
    position: relative;
    z-index: 1050;
    background-color: white;
}
.menu-superior .nav-item{
    background-color: white !important;

}
.menu-superior .nav-item .nav-link {
    color: black;
    padding-bottom: 0;
}
/* Animación en scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ZOOM */
.img-zoom-container {
    overflow: hidden;
    position: relative;
}

.img-zoom-container img {
    transition: transform 0.2s ease;
    will-change: transform;
    transform-origin: center;
}

.img-zoom-container:hover img {
    transform: scale(1.1);
}

/*  animación escritura */
.typing-effect {
    white-space: pre-wrap;
    overflow: hidden;
    min-height: auto;
    display: inline-block;
}

/* Página de contacto */

.formulario-contacto input,
.formulario-contacto textarea {
    border-radius: 0;
    border: 1px solid var(--gris-oscuro);
}

.formulario-contacto input::placeholder,
.formulario-contacto textarea::placeholder {
    text-transform: uppercase;
    color: var(--gris-oscuro);
}

@media (max-width: 767.5px) {
    .navbar-nav {
        background-color: var(--blanco);
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        border: 1px solid black;
    }
    .menu-superior .nav-link {
        border-bottom: 1px solid black;
    }
}
