@font-face {
    font-family: "Racer";
    src: url("../fonts/Racer.woff2") format("woff2");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Racer";
    src: url("../fonts/Racer Italic.woff2") format("woff2");
    font-style: italic;
    font-weight: normal;
    font-display: swap;
}


/* RESET */

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


/* PAGE */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    background-color: #161616;
    color: #ffffff;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}


/* BRAND */

.brand {
    font-family: "Racer", sans-serif;
    color: #ffffff;
}

.powered-by {
    font-family: "Racer", sans-serif;
    font-style: italic;

    font-size: 16px;
    line-height: 1;

    margin-bottom: 2px;

    white-space: nowrap;
}

.brand-name {
    font-family: "Racer", sans-serif;

    font-size: 40px;
    line-height: 0.9;

    white-space: nowrap;

    transform: translateY(-1vh);
}

.main-logo {
    position: fixed;

    left: 50%;
    bottom: 30px;

    transform: translateX(-50%);

    width: 60px;
    height: auto;

    display: block;
}

.main-logo:hover {
    animation: logo-spin 0.6s ease-in-out;
}

@keyframes logo-spin {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .powered-by {
        font-size: 12px;
    }

    .brand-name {
        font-size: clamp(28px, 10vw, 40px);
    }
}

