html {
    min-height: 100%;
    margin: 0;
}

body {
    display: grid;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #0F1226;
}

main {
    display: flex;
    justify-content: center;
}

/*------------------------------FONTS------------------------------*/
.font-lexend-deca,
h2,
h3,
span {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

h2 {
    font-size: 2.5rem;
}

.h2-insights {
    color: #A461D2; 
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
}

h2,
h3 {
    color: #FFFFFF;
}

span {
    font-weight: 300;
    color: #a9a7bb;
    line-height: 1.5rem;
}

/*------------------------------FLEX------------------------------*/
.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

/*------------------------------SECTION------------------------------*/
section {
    border-radius: 1rem;
    background-color: #1E1D40;
    width: min-content;
}

/*------------------------------ARTICLE-TEXT------------------------------*/
.article-text {
    margin: 3rem;
}

.stats-area {
    gap: 3rem;
}

/*------------------------------IMG------------------------------*/
img {
    height: 100%;
    border-end-end-radius: 1rem;
    border-start-end-radius: 1rem;
    filter: sepia(100%) brightness(50%) hue-rotate(221deg) saturate(438%) contrast(76%);
    -webkit-filter: sepia(100%) brightness(50%) hue-rotate(221deg) saturate(438%) contrast(76%);
    -moz-filter: sepia(100%) brightness(50%) hue-rotate(221deg) saturate(438%) contrast(76%);
}

/*----------MEDIA----------*/
@media (max-width: 1545px) {
    section {
        flex-direction: column-reverse !important;
        text-align: center;
        width: 42vw;
    }

    img {
        width: 100%;
        border-end-end-radius: 0;
        border-start-start-radius: 1rem;
    }

    .stats-area {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
    body {
        margin: 3rem;
    }
    
    section {
        width: fit-content;
    }
}