@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');

* {
    font-family: "Outfit", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px;
}

img {
    margin-top: 10px;
    width: 500px;
    height: auto;
}

h1 {
    font-size: 40px;
    color: #002060;
    text-align: center;
}

.container_links {
    padding-left: 20px;
}

.container_links h2 {
    font-size: 30px;
    color: #002060;
    margin: 0;
}

.container_links ul {
    padding-left: 20px;
}

.container_links ul ul {
    padding-left: 24px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.container_links li {
    font-size: 16px;
    color: #002060;
    line-height: 1.5em;
}

.container_links ul ul li {
    font-size: 15px;
}

.container_informacion {
    padding: 20px;
}

.container_informacion h2 {
    font-size: 30px;
    text-align: center;
    color: #002060;
    margin: 0;
}

.ing {
    max-width: 1300px;
}

.ing h3 {
    font-size: 20px;

    &:hover {
        text-decoration: underline;
    }
}

.ing-1 {
    padding-top: 20px;
    max-width: 1300px;
}

.ing-1 h3 {
    font-size: 20px;

    &:hover {
        text-decoration: underline;
    }
}

p {
    text-align: justify;
}

.container_informacion ul {
    text-align: justify;
}


/* Menú lateral fijo (Inicio / Aporte Criterios / Subir) */
.menu-lateral {
    position: fixed;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 6px;
    box-shadow: 0 6px 20px rgba(0, 32, 96, 0.22);
}

.menu-lateral_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 68px;
    padding: 8px 4px;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: #002060;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.menu-lateral_item:hover,
.menu-lateral_item:focus-visible {
    background: #eef1f8;
    transform: translateY(-2px);
}

.menu-lateral_icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #002060;
    color: #ffffff;
    flex-shrink: 0;
}

.menu-lateral_icono svg {
    width: 18px;
    height: 18px;
}

.menu-lateral_texto {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

#btn-subir {
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out, max-height 0.2s ease-in-out, padding 0.2s ease-in-out, margin 0.2s ease-in-out;
}

#btn-subir[data-visible="false"] {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    pointer-events: none;
}

@media (max-width: 600px) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }

    h1 {
        font-size: 30px;
        text-align: center;
        margin: 10px 0;
    }

    .menu-lateral {
        right: 8px;
        padding: 8px 4px;
        gap: 4px;
    }

    .menu-lateral_item {
        width: 56px;
        padding: 6px 2px;
    }

    .menu-lateral_icono {
        width: 30px;
        height: 30px;
    }

    .menu-lateral_texto {
        font-size: 9px;
    }
}

@media print {
    .menu-lateral {
        display: none !important;
    }

    .container_links {
        page-break-after: always;
        break-after: page;
    }

    .ing,
    .ing-1 {
        page-break-before: always;
        break-before: page;
    }
}

.indent {
    padding-left: 35px;
}

@media (max-width: 600px) {
    .indent {
        padding-left: 15px;
    }
}