.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 50vh;
    background: url("../img/illustrations/wavy-background-blue.svg") no-repeat top center;
    background-size: 100% 100%;
    z-index: -1;
    pointer-events: none;
}

body {
    background-color: var(--wisp-white);
    display: flex;
    padding: 15px 15px 90px 15px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    align-self: stretch;
}

h1,
section h4 {
    color: var(--wisp-white);
}

header {
    display: flex;
    flex-direction: column;
    gap: 10vh;
    padding: 30px 10px;
    height: 39vh;
    width: 100%;
}

header .title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.quiz-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.button-light {
    text-decoration: none;
    font-family: "Proxima Nova", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.25rem;
    padding: 15px 25px;
    border-radius: 52px;
    color: var(--wisp-pink);
    background: var(--wisp-white);
}

.button-light:hover {
    background: var(--wisp-dark-200);
    box-shadow: 0px 2px 14px 0px rgba(27, 27, 33, 0.25);
}

.daily-tip {
    display: flex;
    width: 80%;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    border-radius: 15px;
    background: var(--wisp-yellow-100);
    box-shadow: 0px 4px 4px 0px rgba(27, 27, 33, 0.25);
}

.daily-tip .title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    width: 100%;
}

.daily-tip .p14-semibold {
    text-decoration: none;
    color: var(--wisp-blue);
}

.recommended-articles {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
}

.topic {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.topic .title {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.topic .title a {
    text-decoration: none;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: var(--wisp-dark-grey-700);
}

.topic .title a img {
    transform: scaleX(-1);
}

.article-carousel {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.wrapper {
    width: 100%;
}


.articles-frame {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 63%;
    grid-template-rows: min-content;
    padding: 1rem 0rem 2rem 0rem;
    gap: 0.9rem;
    margin-top: -1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.snaps-inline {
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 0rem
}

.snaps-inline>* {
    scroll-snap-align: start;
}

.article {
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 115/91;
    border-radius: 10px;
    background: var(--wisp-white);
    /* Medium shadow */
    box-shadow: 0px 4px 4px 0px rgba(27, 27, 33, 0.25);
    overflow: hidden;
}

.article .image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article p {
    display: flex;
    height: 40px;
    width: 89%;
    padding: 8px 10px;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Images */
.img1 {
    background-image: url('../img/illustrations/self-care.png');
}

.img2 {
    background-image: url('../img/illustrations/support.png');
}

.img3 {
    background-image: url('../img/illustrations/what-to-say.png');
}

.img4 {
    background-image: url('../img/illustrations/microaggression.png');
}

.img5 {
    background-image: url('../img/illustrations/grey-areas.png');
}

.img6 {
    background-image: url('../img/illustrations/online-harassment.png');
}


@media screen and (min-width: 480px) {
    .daily-tip {
        width: 80%;
        padding: 25px;
        gap: 20px;
        border-radius: 15px;
        max-width: 380px;
    }

    .articles-frame {
        grid-auto-columns: 45%;
    }

    .article {
        aspect-ratio: 100/80;
    }
}

@media screen and (min-width: 769px) {
    header {
        gap: 12vh;
        width: 90%;
    }

    .recommended-articles {
        width: 90%;
    }

    .articles-frame {
        grid-auto-columns: 30%;
    }
}

@media screen and (min-width: 1280px) {
    header {
        height: 39vh;
        width: 60%;
    }

    .recommended-articles {
        width: 55%;
    }

    .articles-frame {
        grid-auto-columns: 30%;
    }
}