.home .content-slide {
    width: 100%;
    min-height: 60rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    display: flex;
    justify-content: center;
}

.hero-banner .swiper {
    width: 100%;
}

.hero-banner .swiper .swiper-pagination .swiper-pagination-bullet {
    border: 0.3rem solid var(--main-white);
    width: 2rem;
    height: 2rem;
}

.hero-banner .swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--main-white);
}

.content-slide .content-data {
    width: 100%;
    min-height: 50rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.content-slide .content-data h1 {
    white-space: normal;
    display: contents;
}

.content-slide .content-data h2 {
    white-space: normal;
    display: contents;
    font-size: var(--fs-500);
}


.content-data a {
    text-decoration: none;
}

.content-data button {
    cursor: pointer;
    padding: 1.3rem 3.3rem;
    font-size: 1.6rem;
    background: transparent;
    color: var(--main-white);
    border: 0.1rem solid var(--main-white);
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease-out;
    display: flex;
    align-items: center;

    &:hover{
        transform: scale(1.1);
        transition: all 0.3s ease-out;
    }
}

.content-data__video {
    width: 100vw;
    height:60rem;
}

.home .amazon {
    width: 100%;
    background: var(--color-secondary-dark);
    position: relative;
    min-height: 45rem;
    padding: 5rem 0;
    overflow: hidden;
}

.amazon .img-background {
    position: absolute;
}

.amazon .img_bg1 {
    left: -8rem;
    bottom: 0;
}

.amazon .img_bg2 {
    right: -15rem;
    top: -6.5rem;
}

.amazon .content-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    z-index: 1;
}

.content-text__title {
    width: 50%;
    color: var(--color-green);
    text-shadow: rgba(0, 0, 0, 0.25) -0.5rem 0;
    margin-bottom: 0rem;
}

.content-text span {
    font-size: var(--fs-200);
}

.content-text p {
    font-weight: bold;
}

.content-text__description {
    margin-top: 2rem;
}

.home .institutes {
    width: 100%;
    padding: 5rem 0;
}

.section-institutes .content-title {
    width: 100%;
    text-align: center;
}

.content-title h3 {
    font-size: var(--fs-200);
}


.institutes .section-institutes {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-institutes .grid-data {
    width: 76.7rem;
    margin: auto;
}

.grid-data .item {
    width: 100%;
    min-height: 7.6rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    border-bottom: 0.2rem solid var(--main-white);
    cursor: pointer;
}

.item .img-country{
    width: 3.6rem;
    height: 3.6rem;
}

.item .img-arrow{
    width: 2.5rem;
    height: 2.4rem;
}

.structure {
    width: 100%;
    background-image: url('https://redamazonia.bio/wp-content/uploads/2024/05/bg_structure.webp');
    background-position: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.team{
    display: block;
    background-color: var(--backgroud-black);
}

.structure .shadow {
    width: 100%;
    min-height: 63.7rem;
    padding: 5rem 0;
    backdrop-filter: brightness(0.5) blur(0.4rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.shadow .content {
    width: 100%;
}

.structure .content-structure {
    width: 100%;
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
}

.content-structure .buttons-content {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.buttons-content .btn-estructure {
    padding: 1.2rem;
    font-weight: bold;
    background: var(--main-tertiary);
    border: none;
    color: var(--main-white);
    display: flex;
    gap: 1.5rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease-out;

    &:hover{
        transform: scale(1.1);
        transition: all 0.3s ease-out;
    }
}

.btn-estructure img{
    width: 2.4rem;
    height: 2.4rem;
}

.buttons-content .active {
    background-color: var(--color-secondary);
    color: var(--main-tertiary);
    transform: scale(1.1);
}

.active img {
    filter: invert(69%) sepia(3%) saturate(24%) hue-rotate(325deg) brightness(92%) contrast(82%);
}

.content-structure .text-content-structure {
    width: 80%;
    display: block;
}

.text-content-structure p {
    margin-bottom: 1rem;
}

.content-structure .none {
    display: none;
}


.members {
    width: 100%;
}

.members .content-section{
    width: 100%;
    min-height: 40rem;
    padding: 5rem 0;
    text-align: center;
}

.content-section .content-members{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.1rem;
    margin-top: 5rem;
}

.content-members .item{
    width: 21rem;
    transition: all 0.3s ease-out;

    &:hover{
        transform: scale(1.2);
        transition: all 0.3s ease-out;
    }
}

.content-members .item img{
    width: 21rem;
    height: 12rem;
    object-fit: contain;
}

#modal {
    display: none;
    z-index: 20;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
}

#modal #box {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%) translateY(200%);
    transition: transform 0.3s ease-out;
    width: 80%;
    height: 59rem;
    margin: auto;
    padding: 2rem;
    border-radius: 0.8rem;
    background-color: var(--color-gray);
}

#box #close-modal {
    position: absolute;
    padding: 10px;
    background-color: transparent;
    border: none;
    color: var(--main-white);
    font-size: var(--fs-100);
    font-weight: bold;
    cursor: pointer;
    right: 1.5rem;
    top: 1rem;
}

#box .content-modal {
    width: 100%;
    height: 100%;
    text-align: left;
}

.content-modal .header-modal {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-modal h3 {
    font-size: var(--fs-200);
}

.header-modal img {
    width: 12.3rem;
    height: 12.3rem;
    object-fit: contain;
}

.content-modal .body-modal {
    width: 100%;
    text-align: start;
    height: 34.8rem;
    overflow-y: scroll;
    margin-top: 2rem;
}

.content-modal .body-modal::-webkit-scrollbar {
    display: none;
}

.body-modal .text-modal {
    text-align: start;
    margin-bottom: 3rem;
}

.content-modal .btn-modal {
    padding: 1rem;
    background: transparent;
    border: 0.1px solid var(--color-secondary);
    color: var(--color-secondary);
    font-size: var(--fs-100);
    cursor: pointer;
    margin-top: 1rem;
}

body.modal-open {
    overflow: hidden;
}

@media screen and (max-width: 992px) {

    .amazon .content-text {
        align-items: center;
        text-align: center;
    }

    .amazon .img_bg1 {
        left: -8rem;
        bottom: -8rem;
    }

    .content-text h2 {
        width: 100%;
    }

    .structure .content-structure {
        flex-direction: column;
    }

    .content-structure .buttons-content,
    .content-structure .text-content-structure {
        width: 100%
    }

    .content-structure .buttons-content {
        flex-direction: row;
    }

    .structure .shadow {
        display: block;
    }


    #modal #box {
        position: fixed;
        top: 18%;
        height: 63rem;
    }
}

@media screen and (max-width: 768px) {
    .content-slide .content-data h1 {
        white-space: normal;
    }

    .amazon .content-text {
        align-items: start;
        text-align: start;
    }

    .amazon .img_bg2 {
        right: -46rem;
        top: -6rem;
    }

    .section-institutes .grid-data {
        width: 100%;
    }

    .grid-data .item {
        padding: 2rem 0;
    }

    .content-modal .header-modal {
        flex-direction: column;
        margin-bottom: 1.5rem;
    }

    .content-modal .body-modal {
        height: 20rem;
    }

    #modal #box {
        width: 98%;
        position: fixed;
        top: 13%;
        height: 56rem;
    }

    .content-structure .buttons-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 340px) {

    .content-modal .body-modal {
        height: 13rem;
    }

    #modal #box {
        top: 0;
        height: 51rem;
    }
}