:root {
    /* Fonts */
    /* Regular */
    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: normal;

    font-family: "poppins", sans-serif;
    font-weight: 400;
    font-style: italic;

    /* Medium */
    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-style: normal;

    /* Bold */
    font-family: "poppins", sans-serif;
    font-weight: 700;
    font-style: normal;

    font-family: "poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
    /* Extrabold */
    font-family: "poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
    /* Black */
    font-family: "poppins", sans-serif;
    font-weight: 900;
    font-style: normal;

    /* Font Size */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    /* Border Radius */
    --border-radius-s: 8px;
    --border-radius-m: 30px;

    /* Colors */
    --strawberry-red: #fb3640ff;
    --muted-teal: #7a9e7eff;
    --white-smoke: #f4f2f3ff;
    --deep-mocha: #362c28ff;
    --turf-green: #04724dff;

    /* Site max-width */
    --site-max-width: 1300px;

    /* Line height Body */
    --line-height-body: 1.5;

}


.articles {
    min-height: 100vh;
    margin: 100px 50px;
    background-color: var(--white-smoke);
    border-radius: 16px;
    box-shadow: 0 4px 30px var(--muted-teal);

}

.articles a {
    color: var(--strawberry-red);
}

.articles a:hover {
    text-decoration: underline;
}

.article-item {
    padding: 24px 40px 40px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.article-text {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    max-width: 50%;
    line-height: var(--line-height-body);

}

img {
    max-width: 300px;
}

hr {
  border: 1px dotted var(--deep-mocha);
  width: 93.75%;
}

h2 {
    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: var(--font-size-m);
    margin-bottom: 1rem;
}

em {
    font-style: italic;
    font-size: var(--font-size-s);
}

@media (max-width: 500px) {
    .article-item {
        width: 100%;
        gap: 0;
        flex-wrap: nowrap;
    }

    img:not(.sidebar-img, .nav-logo){
        display: none;
    }

    .open-sidebar-button,
    .close-sidebar-button {
        display: block;
    }
}