:root {
    --primary: #ede9de;
    --secondary: #e9ff81;
    --primary-text: #02152b;
    --secondary-text: #958556;
    --dark: #02152b;
    --light: #f3f3f3;
}

@font-face {
    font-family: "Poppins";
    src: url(../fonts/Poppins-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url(../fonts/Poppins-Medium.ttf);
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url(../fonts/Poppins-Bold.ttf);
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url(../fonts/SpaceGrotesk-Regular.ttf);
    font-weight: 400;
    font-display: swap;
}

body {
    font-family: "Poppins", sans-serif !important;
    color: var(--primary-text);
}

.container {
    margin-bottom: 4.5rem;
}

header {
    padding: .5rem .75rem;
    margin-top: 1.5rem;
}

header a {
    display: inline-block;
    padding: .3125rem 0;
}

main {
    margin-top: 3rem;
}

h1 {
    font-size: 1.75rem;
    font-weight: 500;
}

h1 span {
    background-color: var(--secondary);
}

.last-changed {
    color: var(--secondary-text);
}

.latest-changes {
    display: none; /* enable when we have text to show in this element */
    background-color: var(--primary);
    border-radius: .5rem;
    border: 0;
    margin-top: 1.5rem;
}

section {
    margin-top: 1.5rem;
}

section.intro {
    padding-bottom: .25rem;
}

h2 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 1rem;
}

h2 i {
    padding-right: .25rem;
}

section ul, section ol {
    line-height: 1.75;
}

footer {
    background-color: var(--dark);
    padding: 3.25rem 3.75rem !important;
    border-top-left-radius: 45px;
    border-top-right-radius: 45px;
    margin-bottom: 0 !important;
    font-family: "Space Grotesk", sans-serif !important;
}

footer .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

footer .links {
    display: flex;
    gap: 2.5rem;
    width: fit-content;
    list-style-type: none;
}

footer a {
    color: white;
}

footer a:hover {
    color: var(--light);
}

footer .social-media {
    padding: 1rem 0;
}

footer hr {
    color: white;
}

footer p {
    color: white;
}

footer .footer {
    display: flex;
    gap: 5rem;
}

@media (max-width: 768px) {

    .container {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
        align-items: center !important;
        margin-bottom: 3rem;
    }

    ol, ul {
        padding-left: 1rem;
    }

    ol ul {
        padding-left: 2rem;
    }

    footer {
        margin: 0 !important;
        border-radius: 0;
        width: 100%;
        max-width: 100% !important;
    }

    footer .header {
        flex-direction: column;
        gap: 2rem;
    }

    footer .links {
        flex-direction: column;
        align-items: center;
        padding: 0 !important;
        gap: 1rem;
    }

    footer .info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .social-media {
        display: flex;
        justify-content: center;
    }

    footer .footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
    }
}
