body {
    /* background-color: #F8FE0; */
    font-family: "Open Sans", sans-serif;
}

h1, h2, h3 {
    font-family: "Merriweather", serif;
    font-weight: 600;
    padding-bottom: 1rem;
    color: #A271B2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;

}

p {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

main,
footer {
    margin: 0 auto;
}

.hero {
    align-items: center;
    background: url('../img/good-body-hero-lg.webp') center / cover no-repeat;
    display: flex;
    height: calc(60vh);
}

.btn {
    border: 2px solid #A271B2;
    color: #F8F3E0;
    background-color: #A271B2;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    padding: 1rem;
}

.btn:hover {
    border: 2px solid #FFAA1F;
    color: #F8F3E0;
    background-color: #FFAA1F;
}

.inner-container {
    padding: 1rem;
    a {
        color: #FF96DC;
        text-decoration: none;
    }
    a:hover {
        color: #FFAA1F;
    }
    p {
        margin-top: 2rem;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem 3rem;
}

nav a img {
    width: 250px;
}

ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    align-items: center;
}

ul li {
    img {
        width: 50px;
    }
}

header div img {
    width: 100%;
}

.scroll-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: scroll;
    margin-top: 2rem;
}

.scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 2rem;
}

.scroll-wrapper {
    scrollbar-color: #444 #eee;
    scrollbar-width: thin;
}

.card {
    min-width: 300px;
}

.notice,
.main,
.articles,
.socials {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 2rem;
    justify-content: center;
}

.flex {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 70%;
    margin-top: 1.5rem;
}

.flex > div {
    flex: 1 1 100%;
    width: 100%;
}

.flex h2,
.socials h2 {
    min-width: 100%;
}

.socials > div,
.socials ul {
    max-width: 70%;
    display: flex;
    justify-content: center;
    padding-left: 0;
}

.socials > div > img {
    min-width: 50px;
    max-width: 100px;
}

.articles ul {
    flex-direction: column;
    padding-left: 0;
}

.articles ul li {
    margin-top: 2rem;
}

.articles ul li img {
    width: 70%;
}

footer {
    background-color: #CBF7D0;
    padding: 2rem;
    a {
        color: #A271B2;
        font-weight: bold;
    }
}

@media (min-width: 800px) {
    .hero {
        height: calc(110vh);
    }

    .inner-container {
        padding: 8rem;
    }

    .flex > div {
        flex: 1 1 calc(50% - 3rem);
        max-width: 50%;
    }

    .flex:nth-child(even) {
        flex-direction: row-reverse;
    }

    .socials > div,
    .socials ul {
        width: 70%;
        flex-wrap: wrap;
    }
}

