.investimentos-wrapper {
    width: 100%;    

    background-color: #23304b;
    background-image: 
        radial-gradient(circle at -65% 97%, #00000017 58%, transparent 58.05%),
        radial-gradient(circle at 88% -81%, #0000002e 52%, transparent 52.05%),
        radial-gradient(circle at -63% 23%, #00000017 57%, transparent 57.05%),
        linear-gradient(51deg, #00000021 50%, transparent 50.05%)
    ;
    color: aliceblue;

    filter: drop-shadow(0 0 1rem black);
    
    overflow-x: hidden;

    z-index: 1;
}

.investimentos {

    margin: auto;
    max-width: 160rem;
    width: 100%;

    padding: 2rem;

    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.investimentos-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    text-align: justify;
    hyphens: auto;
}

.investimentos-container {
    display: none
}

.investimentos .swiper {
    width: 100%;
    height: clamp(170px, 2vw, 300px);
    
    margin: 1rem 0;
    padding: 0 1rem;
    overflow: visible;
}

.investimentos .swiper-slide {
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0.5;

    transform: scale(.8);
}

.investimentos .swiper-slide > * {
    height: 100%;
}

.investimentos .swiper-slide.swiper-slide-active {
    opacity: 1;
    z-index: 3;
    transform: scale(1);
}

.investimentos-item {
    background-color: aliceblue;
    color: black;

    border: none;
    box-shadow: 0 0 1rem rgb(130, 187, 238);

    border-radius: 1rem;

    display: flex;
    flex-flow: column;
}

.investimentos-item h2 {
    font-size: clamp(1rem, 4vw, 2.4rem);
    text-align: center;
    font-weight: bold;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1rem;
}
.investimentos-item p {
    height: 70%;
    font-size: clamp(1rem, 3.4vw, 2rem);
    text-align: center;
    padding: 1rem;
}

.investimentos-text {
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    text-align: justify;
    hyphens: auto;
}

.investimentos-links {
    align-self: center;
    margin-top: 1.6rem;
}

.investimentos-links a {
    background-color: aliceblue;
    color: black;
    font-size: clamp(1rem, 3.5vw, 1.8rem);
}

@media screen and (min-width: 769px) {
    .investimentos .swiper {
        display: none;
    }

    .investimentos-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 3rem;

        margin: 2rem 0;
    }

    .investimentos-item h2 {
        font-size: clamp(1.4rem, 2vw, 2rem);
        height: 33%;
    }

    .investimentos-item p {
        font-size: clamp(1.4rem, 2vw, 1.6rem);
        text-align: justify;
        hyphens: auto;
    }
}

@media screen and (min-width: 1279px) {

    .investimentos {
        height: 100%;
        justify-content: space-around;
    }

    .investimentos-title {
        font-size: clamp(1.4rem, 1.5vw, 2.4rem);
    }

    .investimentos-subtitle,
    .investimentos-text {
        font-size: clamp(1.5rem, 1vw, 2rem);
    }

    .investimentos-container {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .investimentos-item {
        border: 3px solid aliceblue;
        padding: 1.2rem;
        transition: all ease .3s;
    }

    .investimentos-item:hover {
        transform: scale(1.1);
        cursor: pointer;

        background-color: unset;
        color: aliceblue;
        box-shadow: 0 0 0 #000;
    }

    .investimentos-item h2 {
        font-size: clamp(1.6rem, 1vw, 1.8rem);
        padding: 0;
    }
    .investimentos-item p {
        font-size: clamp(1.3rem, 1vw, 1.8rem);
        text-align: center;
        padding: 0;
    }
    
    .investimentos-links {
        align-self: center;
        margin-top: 1.6rem;
    }
    
    .investimentos-links a {
        font-size: clamp(1rem, 1vw, 1.6rem);
        background-color: aliceblue;
        color: black;
    }

}

@media screen and (min-height: 864px) {

    .investimentos-title {
        font-size: clamp(1.4rem, 3vw, 3.8rem);
    }
    
    .investimentos-subtitle, .investimentos-text {
        font-size: clamp(1.1rem, 2.5vw, 2rem);
    }
    
    .investimentos-container {
        gap: 2.2rem;
    }

    .investimentos-item {
        padding: 1.6rem;
    }

    .investimentos-item h2 {
        font-size: clamp(1.1rem, 2.5vw, 2.4rem);
    }
    
    .investimentos-item p {
        margin-top: 1rem;
        font-size: clamp(1.4rem, 2vw, 1.8rem);
    }

    .investimentos-links a {
        font-size: clamp(1rem, 2vw, 2.4rem);
    }
}

@media screen and (min-height: 961px) {

    .investimentos-title {
        font-size: clamp(1.4rem, 3vw, 4.4rem);
    }

    .investimentos-subtitle, .investimentos-text {
        font-size: clamp(1.1rem, 2.5vw, 3rem);
    }

    .investimentos-container {
        gap: 3rem;
    }

}