/* reset */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* variables */

:root {
    --posX: 0;
    --posY: 0;

    --color-red: #bf4040;
    --color-orange: #f68020;
    --color-yellow: #fcbe4b;
    --color-darkest: #2b2b2b;
    --color-dark: #595959;
    --color-medium: #999999;
    --color-light: #cccccc;
    --color-lightest: #d9d9d9;

    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 2rem;
    --space-4: 3rem;
    --space-5: 5rem;
    --space-6: 8rem;
}

html {
    font-size: 90%;
    height: -webkit-fill-available;
}

body {
    display: flex;
    background: #1d1d1d;
    font-family: Inter, Helvetica, sans-serif;
    font-weight: var(--weight-regular);
    color: var(--color-medium);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
}

p {
    line-height: 1.5;
}

main {
    display: flex;
    position: relative;
    flex: 1;
    padding: 2rem;
    margin: 0 auto;
    max-width: 720px;
}

@media only screen and (max-width: calc(720px + 4rem)) {
    main {
        padding: 1rem;
    }
}
