@font-face {
    font-family: "all-round-gothic";
    src: url("/static/fonts/all-round-gothic.otf") format("opentype");
}

@font-face {
    font-family: "poppins";
    src: url("/static/fonts/poppins-regular.woff2") format("woff2");
}

:root {
    --purple: #5b3d82;
    --light-purple: #8a6baf;
    --yellow: #f7c625;
    --dark: hsla(200, 47.368421052631575%, 7.450980392156863%, 1);
}

body {
    background-color: var(--dark);
    scroll-behavior: smooth;
    font-family: "poppins", sans-serif;
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "all-round-gothic", sans-serif;
    color: var(--yellow);
    text-shadow: var(--purple) 3px 3px;
}

p {
    text-align: justify;
}

body > main {
    margin: 0 auto;
    @media screen and (max-width: 650px) {
        width: 100%;
    }

    @media screen and (min-width: 650px) and (max-width: 800px) {
        width: 650px;
    }

    @media screen and (min-width: 800px) and (max-width: 1100px) {
        width: 800px;
    }

    @media screen and (min-width: 1100px) {
        width: 1000px;
    }
}

article {
    border-radius: 5px;
    background-color: white;
    box-shadow: 10px 10px var(--light-purple);

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        padding: 1em;
        text-align: center;
        color: var(--purple);
        text-shadow: none;
    }
    p {
        text-align: center;
        color: black;
    }
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1em; 
    row-gap: 2em;
}

a.button, button.button {
    display: block;
    text-align: center;
    padding: 1em 0.5em;
    background-color: var(--yellow);
    text-decoration: none;
    border-radius: 5px;
    color: var(--dark);
    margin: 1em auto;
    font-style: "all-round-gothic";
    max-width: 75%;
    transition: 0.4s;

    &:hover {
        background-color: var(--yellow);
        color: var(--dark);
        box-shadow: 7px 7px var(--light-purple);
        transition: 0.2s;
        transform: translate(-2px, -2px);
    }
}

img {
    object-fit: cover;
    border-radius: 5px;
}
