@font-face {
    font-family: 'Switzer-Regular';
    src: url('assets/fonts/Switzer-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

/* Reset
-------------------------------------------------------------------------------*/

html, body, div, span, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp, small, strong,
sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
figure, footer, header, menu, nav, section, time,
mark, audio, video, details, summary {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

article, aside, figure, footer, header, nav, section,
details, summary {
    display: block;
}

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

html, body {
    min-height: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    line-height: 1.15;
    text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

textarea:not([rows]) {
    min-height: 10em;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
}

th {
    font-weight: bold;
    vertical-align: bottom;
}

td {
    vertical-align: top;
}

:target {
    scroll-margin-block: 5ex;
}

::selection {
    background: rgb(var(--text-color));
    color: rgb(var(--theme-background));
    text-shadow: none;
}

/* General
-------------------------------------------------------------------------------*/

:root {
    font-size: 62.5%;
    /* Colors */
    --theme-background: 255, 255, 255;
    --text-color: 0, 0, 0;
    /* Type */
    --font-family-primary: "Switzer-Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-size: 3.6vw;

    --line-height: 1.1;
    /* Border */
    --border-color: rgba(var(--text-color), 0.15);
    --border-radius: 8px;
    /* Spacers */
    --spacer-s: 0.8rem;
    --spacer-m: 1.6rem;
    --spacer-l: 4.8rem;
    /* Transition curves */
    --transition-easeInOutCirc: cubic-bezier(0.85, 0, 0.15, 1);
    --transition-easeInOutQuint: cubic-bezier(0.83, 0, 0.17, 1);
    --transition-easeOutQuart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    background-color: #000;
}

body {
    position: relative;
    background-color: rgb(var(--theme-background));
    color: rgb(var(--text-color));
    z-index: 0;
    font-family: var(--font-family-primary);
    font-size: var(--font-size);
    text-transform: uppercase;
    line-height: var(--line-height);
    font-weight: 400;
    text-align: center;
}

/* Type
-------------------------------------------------------------------------------*/

a {
    color: rgba(var(--text-color));
    text-decoration: underline;
    white-space: nowrap;
}

a:hover {
    color: rgb(var(--text-color));
    text-decoration: none;
}

h1 {
    font-weight: 400;
}

p {
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

/* Layout
-------------------------------------------------------------------------------*/

.wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding: var(--spacer-l);
}

main {
    flex: 1;
    overflow: clip;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer .arrow {
    margin: 0 var(--spacer-s);
    display: flex;
}

.arrow svg {
    width: var(--font-size);
}

.globe {
    position: fixed;
    width: 50svh;
    height: 50svh;
    animation: spin 10s linear infinite;
    background: rgb(var(--theme-background));
    z-index: 999;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
}

.globe span {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    animation-name: spinY;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in;
}

.globe span:nth-child(1) {
    animation-delay: 0;
}

.globe span:nth-child(2) {
    animation-delay: 0;
    animation-name: spinX;
    animation-timing-function: ease-out;
}

.globe span:nth-child(3) {
    animation-delay: 2s;
    animation-timing-function: ease-out;
}

.globe span:nth-child(4) {
    animation-delay: 2s;
    animation-name: spinX;
}

.globe span:nth-child(5) {
    animation-delay: 4s;
}

.globe span:nth-child(6) {
    animation-delay: 4s;
    animation-name: spinX;
    animation-timing-function: ease-out;
}

.globe span:nth-child(7) {
    animation-delay: 6s;
    animation-timing-function: ease-out;
}

.globe span:nth-child(8) {
    animation-delay: 6s;
    animation-name: spinX;
}

.globe span:nth-child(9) {
    animation-delay: 8s;
}

.globe span:nth-child(10) {
    animation-delay: 8s;
    animation-name: spinX;
    animation-timing-function: ease-out;
}

.globe span:nth-child(11) {
    animation-delay: 10s;
    animation-timing-function: ease-out;
}

.globe span:nth-child(12) {
    animation-delay: 10s;
    animation-name: spinX;
}

@keyframes spinY {
    100% {
        transform: rotateY(180deg);
    }
}

@keyframes spinX {
    100% {
        transform: rotateX(180deg);
    }
}
.error404 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    height: 100%;
}
/* Media queries
-------------------------------------------------------------------------------*/

/* phone */
@media (max-width: 767px) {
    :root {
        --font-size: 4.4vw;
        --spacer-s: 0.2rem;
        --spacer-l: 1.6rem;
        --line-height:1.3;
    }

    .globe {
        position: fixed;
        width: 75vw;
        height: 75vw;
    }
    main {
        justify-content: space-between;
    }

}