@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');



button {
    all: unset;
    cursor: pointer;
}

#insights img {
    max-width: 100%;
    height: auto;
}

.tabs {
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 0;
}

.tab-buttons {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: sticky;
    background-color: #081828;
    padding-top: 1rem;
    padding-bottom: 1rem;
    justify-content: center;
}

.tab-button {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-transform: uppercase;
}

.tab-button.active {
    color: black;
    background-color: white;
    border-radius: 10px;
}

.tab-button span:not(.line) {
    line-height: 1rem;
    font-size: .75rem;
    letter-spacing: 0.1rem;
}

.tab-contents {
    padding: 2rem;
    width: 80%;
    color: #000000;
    height: 100%;
    overflow-y: hidden;
    margin: auto;
}

.tab-content {
    transition: all 140ms cubic-bezier(.4, 0, .2, 1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(20px);
    width: 100%;
}

@media screen and (max-width: 1400px) {
    .tab-contents {
        width: 100%;
    }
}

.tab-content.active {
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 100%;
    transition: all 140ms cubic-bezier(.4, 0, .2, 1);
    transform: translateY(0px);


}



.tab-content p {
    font-weight: 300;
}

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

    .tab-buttons {
        min-width: 100%;
        overflow-x: scroll;
        height: auto;
        background-color: #081828;
        backdrop-filter: blur(8px);
        margin-top: 5%;
    }

    .tab-contents {
        width: 100%;
    }

    .tab-content.active {
        width: 100%;

    }
}

@media screen and (max-width: 846px) {
    .tab-buttons {
        margin-top: 5%;
        justify-content: unset;
    }

}