@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 700;
}

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

body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background-color: #000000;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    padding: 16px;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .9;
}

.background--error {
    background-image: url("../img/error-bg.webp");
}

.background--landing {
    background-image: url("../img/landing-bg.webp");
}

.page {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page--error {
    gap: 36px;
}

.page--error > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    color: rgba(255,255,255, .4);
}

@media (min-width: 768px) {
    .page--error > div {
        flex-direction: row;
    }
}

.page--error > div div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.page--error > div h1 {
    font-size: 10.375rem;
    font-weight: 700;
    line-height: 140px;
}

.page--error > div h2 {
    font-size: 1.4375rem;
    font-weight: 700;
}

.page--landing > h1 {
    padding: 30px 0 4px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: 0.04px;
    color: rgba(255,255,255, .87);
}

@media (min-width: 768px) {
    .page--landing > h1 {

        font-size: 2.5625rem;

    }
}

.page--landing > h2 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0.08px;
    color: rgba(255,255,255, .87);
}

a {
    cursor: pointer;
    padding: 8px 16px;
    background: unset;
    border: 1px solid #FFFFFF;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: unset;
    color: #FFFFFF;
    transition: opacity .3s;
}

a:hover {
    opacity: .75;
}