@media (min-width: 2000px) {

    /* GERAL */
    .max-width-2000 {
        max-width: 2000px;
    }

    /* grid destaque de noticias */
    .grid-news-highlight {
        grid-template-columns: repeat(auto-fit, minmax(250px, 400px));
        justify-content: space-evenly;
        gap: 0;
    }

    /* about */
    .grid-areas-item:last-child {
        max-width: 570px;
    }

    /* footer */
    .logos-footer img {
        width: 50%;
        height: auto;
    }
}

@media (min-width: 1200px) {

    /* GERAL */
    h1,
    h2 {
        font-size: 2.5rem;
    }

    .display_none_min1200 {
        display: none !important;
    }

    /*banner homepage*/
    .banner-info {
        padding: 5rem;
    }
}


@media (min-width: 992px) {
    /* GERAL */

    .scroll-gallery-wrapper {
        /* Desabilita o scroll horizontal em ecras maiores */
        overflow-x: visible;
        white-space: normal;
        /* Permite que os itens quebrem para a linha de baixo novamente */
        display: grid;
        /* Volta para layout de grid em ecras maiores */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        /* grid original */
        gap: 4rem;
        /* gap original */
        justify-content: center;
        padding-bottom: 0;
        /* Remove padding extra do scrollbar */
    }

    .scroll-gallery-wrapper::-webkit-scrollbar {
        display: none;
        /* Esconde a scrollbar em ecras maiores */
    }

    .scroll-gallery-item {
        width: auto;
        /* Permite que os itens do grid se ajustem automaticamente */
        margin-right: 0;
        /* Remove a margem extra do scroll */
    }

    /* HEADER */
    header nav .nav-item {
        border-bottom: 3px solid transparent;
    }

    header nav .nav-item:after {
        transition: all ease-in-out .5s;
        background: none repeat scroll 0 0 var(--secundary-color);
        content: "";
        display: block;
        height: 3px;
        width: 0;
    }

    header nav .nav-item:hover:after {
        width: 100%;
    }

    header nav .dropdown-menu[data-bs-popper] {
        top: 120%;
    }
}

@media (min-width: 769px) {

    /* GERAL */
    .display_none_min769 {
        display: none !important;
    }

    /*homepage*/
    .video-wrapper-container {
        max-width: 60%;
    }

    #videoContainer {
        margin: auto !important;
    }

}

@media (min-width: 576px) {

    /* GERAL */
    .display_none_min576 {
        display: none !important;
    }
}

@media (max-width:1400px) {

    /*pagina parceiros*/
    .retangulo {
        left: 25%;
    }
}

@media (max-width:1199px) {

    /* GERAL */
    .display_none_max1199 {
        display: none !important;
    }

    /*banner homepage*/
    .banner-info {
        height: auto;
        padding: 5rem 2rem;
    }

    /* events */
    .event-content {
        left: 8.5%;
    }

    /* parceiros */
    .partners-info .box-text {
        margin-left: 0rem;
    }

    .partners-info img {
        width: 100%;
        height: auto;
    }

}


@media (max-width: 991px) {

    /* GERAL */
    .display_none_max991 {
        display: none !important;
    }

    .title-vetor {
        margin-top: 0.5rem;
    }

    .mright-2rem {
        margin-right: 2rem !important;
    }

    .purple-design {
        background-color: #B3B3F5;
        padding: 4rem 0;
    }

    .purple-design h2 {
        color: #fff;
    }

    .purple-design .grid-news-item .border,
    .purple-design .title-vetor div,
    .purple-design .hr-line-btn {
        background-color: var(--third-color);
    }

    .purple-design .grid-news-item .border {
        width: 6px;
        height: 50%;
    }

    .purple-design .read-more-btn a,
    .purple-design .read-more-btn span {
        color: var(--third-color);
    }

    .purple-design .poemsbtn {
        color: #fff;
        background-color: rgb(0, 0, 0, 0.8);
    }



    /* HEADER */
    header nav li {
        margin-bottom: 1rem;
        width: 100%;
        margin-right: 0;
        display: flex;
        justify-content: center;
    }

    header nav li .dropdown-item {
        display: block;
        width: fit-content;
    }

    body.homepage header nav .navbar-content ul {
        background-color: #0000005c;
    }

    body.homepage header .dropdown-item {
        color: #ffffff;
    }


    header nav .navbar-content ul {
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
        width: 100%;
        background-color: #ffffff5c;
        box-shadow: var(--primary-shadow);
    }

    header nav .dropdown-menu {
        width: 100%;
    }

    /* pagina about*/

    .grid-areas {
        grid-template-columns: repeat(auto-fit, minmax(150px, 250px));
        gap: 2rem;
    }

    .grid-areas-item:last-child {
        max-width: 250px;
    }

    .grid-areas-item img {
        height: 4rem;
    }

    /* NEW */
    .new-content {
        padding: 1rem;
    }

}

@media (max-width: 768px) {

    /* GERAL */
    .display_none_max768 {
        display: none !important;
    }

    .title-vetor-greybox {
        margin-right: 1rem;
        margin-top: 0.5rem;
        align-self: baseline;
    }

    /* NL */
    #vetor1-nl {
        width: 50%;
    }

    .nl {
        padding: 6rem 0;
    }

    #vetor2-nl {
        width: 7%;
    }

    /* Homepage */
    .grid-platform {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
        grid-gap: 4rem;
        justify-content: center;
    }

    .border.display_none_min769 {
        margin-right: 0px;
        margin-left: 20px;
    }

    .grid-platform-item:nth-of-type(2) p,
    .grid-platform-item:nth-of-type(2) h4 {
        text-align: right;
        width: 100%;
    }

    .grid-platform-item:nth-of-type(2) img {
        float: right;
    }

    .grid-platform-item:nth-of-type(3) p,
    .grid-platform-item:nth-of-type(3) h4,
    .grid-platform-item:nth-of-type(1) p,
    .grid-platform-item:nth-of-type(1) h4 {
        text-align: left;
        width: 100%;
    }

    .grid-platform-item:nth-of-type(3) img,
    .grid-platform-item:nth-of-type(1) img {
        float: left;
        margin-right: 10%;
        margin-left: 0;
    }

    #videoContainer {
        margin: 0 !important;
    }


}

@media (max-width: 604px) {

    /* About */
    .grid-areas {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 575px) {

    /* GERAL */
    .display_none_max575 {
        display: none !important;
    }

    /* NL */
    #vetor1-nl {
        width: 90%;
    }
    #vetor2-nl {
        width: 10%;
    }

    /* homepage */
    .banner-info span {
        font-size: 250%;
    }

    .banner-info .banner_title {
        margin-bottom: 0rem;
    }

    /* HEADER */
    header .navbar-nav li {
        margin-right: 0rem;
    }

    /* events */
    .event-content,
    .new-content {
        top: -3rem;
        left: 4%;
    }

    .grid-events {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /*parceiros*/
    .grid-partners img {
        width: auto;
        height: auto;
        max-height: 70px;
        max-width: 100%;
        margin: auto;
        display: block;
    }

    .grid-partners {
        grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    }
}

@media (max-width: 500px) {

    /* about */
    .partners-info img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 460px) {

    .new-content {
        padding: 1rem;
    }

    .galeria-horizontal img {
        width: 300px;
    }
}