:root {
    --background: #ffffff;
    --foreground: #212121;
    --primary: #111167;
}

* {
    transition: all;
    transition-duration: 150ms;
    margin: 0;
    box-sizing: border-box;
    font-family: Archivo, sans-serif;
    color: var(--foreground);
}

body {
    height: 100vh;
    width: 100vw;
    text-align: center;
    display: grid;
    place-items: center;
    gap: 3rem;
    padding: 2rem;
    background-color: var(--background);
}

main {
    display: grid;
    gap: 3rem;
    max-width: 56rem;
    justify-items: center;
}

h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 0.8;
    color: var(--primary);
}

h2 {
    font-weight: 600;
    line-height: 2;
}

p {
    line-height: 1.5;
}

#separator {
    border-radius: 0.25rem;
    width: 2rem;
    height: 0.5rem;
    background-color: var(--primary);
}

footer {
    padding: 2rem 0rem;
    color: var(--primary);
}

@media (prefers-color-scheme: dark) {
    * {
        color: white;
    }

    :root {
        --background: #212121;
        --foreground: #ffffff;
        --primary: #FFD000;
    }
}

@media only screen and (min-width: 768px) {
    body {
        padding: 4rem;
    }

    h1 {
        font-size: 5rem;
    }

    p {
        font-size: 1.25rem;
    }
}

@media only screen and (min-width: 1024px) {
    body {
        padding: 6rem;
    }
}

@media only screen and (min-width: 1280px) {
    h1 {
        font-size: 7rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.5rem;
    }
}