body {
    position: static;
    overflow-y: hidden;
}

.top {
    height: 100vh;
    position: relative;
}

.top > .carousel {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    display: flex;
    transition: transform 1s ease-in-out;
}

.top > .carousel > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.top > .carousel > img:last-of-type {
    object-position: left;
}

header {
    position: relative;
}

.nav > .logos {
    display: none;
}

.logos {
    position: absolute;
    top: 0;
    right: 20px;
    height: 100%;
    gap: 40px;
}

.logos a > img {
    height: 55px;
}

.logos a:first-child > img {
    height: 30px;
}

.carousel-btn {
    position: absolute;
    bottom: 10px;
    width: 100%;
    gap: 10px;
}

.carousel-btn > div {
    width: 32px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.carousel-btn > div > span {
    width: 12px;
    height: 4px;
    display: block;
    background: #ccc;
    position: relative;
    border-radius: 8px;
    transition: width 1s;
}

.carousel-btn > div.active > span {
    width: 32px;
    background: white;
}

.top > .motto {
    height: 100%;
    width: 100%;
}

.top > .motto > div {
    background-color: #32323269;
    padding: 20px;
    border-radius: 8px;
    color: #eee;
    font-weight: 600;
    flex-direction: column;
    font-size: 46px;
    text-align: justify;
    white-space: nowrap;
    gap: 20px;
}

.top > .motto > div > span:last-of-type {
    font-size: 22px;
    align-self: flex-end;
    font-style: italic;
}

.achievements {
    position: absolute;
    bottom: 50px;
    width: 100%;
    background-color: #32323269;
}

.achievements > div {
    position: relative;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    height: 150px;
    color: #eee;
    font-size: 40px;
    font-weight: 500;
}

.achievements > div > span:last-child {
    font-size: 20px;
    font-weight: 350;
}

.achievements > div:not(:last-child)::after {
    position: absolute;
    background: #eee;
    border-radius: 6px;
    content: '';
    height: 40%;
    width: 3px;
    right: -1px;
}

.topics-h1 {
    text-align: center;
    padding: 30px 0;
    font-size: 36px;
}

.topics {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topics > .header {
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.11);
    flex-wrap: wrap;
    gap: 2px;
}

.topics > .header > div {
    position: relative;
    aspect-ratio: 1.15 / 1;
    height: 200px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 20px;
    padding: 20px;
    user-select: none;
    cursor: pointer;
}

.topics > .header > div.active {
    background: #3D404F;
    color: #f0f0f0;
    border-color: transparent;
}

.topics > .header > div.active::after {
    position: absolute;
    content: '';
    bottom: -25px;
    width: 0;
	height: 0;
	border-left: 25px solid transparent;
	border-right: 25px solid transparent;
	border-top: 25px solid #3D404F;
    z-index: 9;
}

.topics > .body {
    display: flex;
    align-items: center;
    transition: 500ms ease-in-out;
}

.topics > .body > div {
    width: 100vw;
    flex-shrink: 0;
    height: 100%;
    padding: 50px;
    justify-content: space-evenly;
}

.topics > .body > div img {
    max-height: 350px;
    max-width: 40%;
    object-fit: contain;
}

.topics > .body > div img.border {
    border-radius: 5px;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
}

.topics > .body > div p {
    text-align: justify;
    font-size: 19px;
    width: 40%;
}

.news > .header {
    height: 30vh;
    position: relative;
}

.news > .header img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.news > .header div {
    position: absolute;
    font-size: 110px;
    color: #d1d1d1;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 6px;
    text-underline-offset: 10px;
}

.news-container {
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
}

.news-container > div {
    width: 1400px;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.news-container > div:not(.abstract) {
    margin: 40px 0;
    height: 200px;
    display: flex;
}

.news-container > div:not(.abstract)::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    background: #95CBB6;
    bottom: -50px;
}

.news-container > .abstract.open::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    background: #95CBB6;
    bottom: 0;
}

.news-container label {
    display: block;
    padding: 2px 8px;
    width: fit-content;
    color: #347d39;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #347d39;
    font-size: 12px;
    position: absolute;
    top: -30px;
}

.news-container > div > div {
    position: relative;
    width: 100%;
}

.news-container > div > div > p {
    width: 80%;
    margin-bottom: 10px;
    font-size: 17px;
}

.news-container > div > div:nth-child(2) {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    max-width: 400px;
    max-height: 175px;
}

.news-container > div img {
    object-fit: contain;
    max-height: inherit;
    max-width: inherit;
}

.news-container > div > div > a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #ccc;
    font-size: 22px;
    margin-bottom: 20px;
    display: block;
    cursor: pointer;
    width: 80%
}

.news-container > div > div > div a,
.news-container > div button {
    margin-top: 30px;
    text-decoration: none;
    background: #ddd;
    padding: 10px;
    border: none;
    font-size: 15px;
    border-radius: 2px;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
}

.news-container > div > div > div a:hover,
.news-container > div button:hover {
    background: #ccc;
}

.news-container > div > div > div a {
    margin-left: 6px;
}

.news-container > div button > img {
    width: 14px;
    margin-left: 8px;
    position: relative;
}

.news-container .abstract {
    max-height: 0;
    overflow: hidden;
    transition: 500ms;
    margin-top: 20px;
}

.news-container .abstract.open {
    margin-top: 40px;
    max-height: 150vh;
}

.news-container .abstract > h2 {
    margin-bottom: 20px;
}

.news-container .abstract > p {
    width: 70%;
    font-size: 18px;
    height: max-content;
    text-align: justify;
}

.news-container .abstract > p > a {
    text-decoration: underline;
}

.news-container .abstract > :last-child {
    margin-bottom: 50px;
}

.goto-container {
    position: absolute;
    bottom: 80px;
    width: 100%;
    justify-content: center;
    display: none;
}

.goto-container a {
    background: #eee;
    padding: 20px 20px;
    border-radius: 200px;
    text-decoration: none;
    font-weight: 500;
    text-decoration: none;
    color: #323232;
}

.goto-container img {
    width: 20px;
    margin-left: 24px;
}

@media only screen and (max-width: 1850px) {
    .logos {
        display: none;
    }
}

@media only screen and (max-width: 1800px) {
    header > .brand {
        position: relative;
    }
}

@media only screen and (max-width: 1500px),
       only screen and (max-height: 850px) {
    header > .brand > div:last-child {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }

    header > .brand > div:last-child > span {
        min-width: 50%;
    }

    header {
        justify-content: space-evenly !important;
        padding: 4px;
        gap: 4px;
    }

    header > .brand {
        left: 0;
        width: fit-content;
    }
    
    .nav {
        flex-shrink: 0;
    }

    .nav > ul:first-of-type {
        padding-right: 6px;
    }

    .nav > ul:last-of-type {
        padding-left: 6px;
    }

    .top > .motto > div {
        font-size: 36px;
        margin-bottom: 200px;
    }

    .achievements > div {
        font-size: 36px;
    }

    .news-container {
        padding: 0 50px;
    }

    .news-container > div {
        width: 90%;
    }
}

@media only screen and (max-width: 1400px) {
    header > .brand h1 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 1350px) {
    .nav > ul:first-of-type {
        padding-right: 20px;
    }

    .nav > ul:last-of-type {
        display: none;
    }

    .topics > .header > div {
        height: 170px;
    }

    .topics > .body > div {
        padding: 50px 10px;
    }

    .topics > .body > div p {
        max-width: 45%;
        width: unset;
    }

    .topics > .body > div img {
        max-width: 45%;
    }

    .news-container > div > div > span > a {
        font-size: 19px;
    }

    .news-container > div:not(.abstract) {
        min-height: 250px;
        height: unset;
        gap: 10px;
    }

    .news-container > div > div:nth-child(2) {
        max-width: 350px;
        max-height: 150px;
    }

    .news-container > div > div > a {
        width: 90%;
        font-size: 22px;
    }
}

@media only screen and (max-width: 1250px) {
    header.open .nav {
        max-height: 350px !important;
    }

    header {
        height: 80px;
    }

    header .brand {
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 999;
    }

    header > .brand > div:last-child {
        display: none;
    }

    header.open .brand h1 {
        color: #323232 !important;
    }

    header .toggle {
        display: block;
    }

    header .nav {
        height: fit-content;
        max-height: 0px;
        width: 100%;
        border-radius: 0;
        position:absolute;
        top: 0;
        transition: max-height 500ms;
    }

    header.open .nav {
        max-height: 300px;
    }

    .dropdown {
        display: none;
    }

    .nav > ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 75px;
    }

    .nav > ul:first-child li a {
        padding: 6px;
    }

    header > .logos {
        display: flex;
        gap: 30px;
        right: 100px;
    }

    .logos a > img {
        height: 48px;
    }

    .logos a:first-child > img {
        height: 25px;
    }

    .news-container > div > div > p {
        width: 100%;
    }

    .footer-sitemap {
        gap: 30px;
        height: 225px;
    }

    .footer-section {
        width: 150px;
    }

    .footer-section h4 {
        font-size: 20px;
    }

    .col-s {
        gap: 20px;
    }

    .top > .motto > div {
        font-size: 30px;
    }

    .top > .motto > div > span:last-of-type {
        font-size: 20px;
    }

    .achievements > div {
        font-size: 32px;
    }

    .achievements > div > span:last-child {
        font-size: 19px;
    }
}

@media only screen and (max-width: 1000px) {
    .top > .motto > div {
        width: 96%;
        font-size: 3vw;
    }

    .top > .motto > div > span:last-of-type {
        font-size: 2vw;
    }

    .achievements {
        display: none;
    }

    .goto-container {
        display: flex;
    }

    .topics-h1 {
        font-size: 30px;
    }

    .topics > .header {
        flex-wrap: nowrap;
    }

    .topics > .header > div {
        height: 100px;
        aspect-ratio: unset;
        font-size: 2vw;
    }

    .topics > .body {
        align-items: start;
    }

    .topics > .body > div {
        flex-direction: column;
        gap: 40px;
        padding: 50px 10px 30px 10px;
    }
    
    .topics > .body > div p {
        max-width: 90%;
    }

    .topics > .body > div img {
        max-width: 90%;
    }

    .news-container > div {
        flex-direction: column-reverse;
        width: 100%;
    }

    .news-container > div > div:nth-child(2) {
        max-width: 100%;
        max-height: 150px;
        justify-content: center;
    }

    .news-container .abstract > p {
        width: 100%;
    }

    .news > .header div {
        font-size: 80px;
    }

    .news-container > div:not(.abstract) {
        gap: 40px;
    }

    .news-container > div > div > a {
        width: unset;
    }
}

@media only screen and (max-width: 750px) {
    .footer-sitemap {
        height: unset;
    }

    .topics > .header > div {
        font-size: 2.5vw;
    }

    .news-container > div > div > a {
        font-size: 22px;
    }
}

@media only screen and (max-width: 600px) {
    .top > .motto > div {
        width: 100%;
        border-radius: 0;
        font-size: 24px;
        text-align: center;
        white-space: normal;
    }

    .top > .motto > div br {
        display: none;
    }

    .top > .motto > div > span:last-of-type {
        font-size: 16px;
    }

    header > .logos {
        display: none;
    }

    .nav > .logos {
        top: unset;
        bottom: 30px;
        gap: 20px;
        display: flex;
        flex-direction: column;
        position: absolute;
        height: fit-content;
    }

    .logos a > img {
        height: 55px;
    }

    .topics > .header {
        flex-wrap: wrap;
    }

    .topics > .header > div {
        flex-shrink: 0;
        width: 49%;
        font-size: 17px;
    }

    .topics > .body > div img {
        max-width: 95%;
    }

    .topics > .body > div p {
        font-size: 18px;
        max-width: 98%;
    }

    .news-container {
        padding: 0 20px;
    }
}


@media only screen and (max-width: 360px) {
    .logos a > img {
        height: 45px;
    }

    .logos a:first-child > img {
        height: 20px;
    }
}

@media only screen and (pointer:coarse) {
    .top {
        height: var(--mobile-viewport-height)
    }
}