@font-face {
    font-family: "PolySans Bulky Wide";
    src: url("/assets/fonts/PolySans-BulkyWide.woff2")format("woff2"),
        url("/assets/fonts/PolySans-BulkyWide.woff")format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: calc(min(6vw, 100px) * 1);
    background: #212120;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: min(6vw, 100px);
    width: 100%;
    height: 100%;
    font-family: 'PolySans Bulky Wide', sans-serif;
}

#logo {
    max-height: min(6vw, 100px);
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
}

#video {
    flex-shrink: 1;
    /*flex-grow: 1;*/
    min-height: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 calc(min(6vw, 100px) * -1);
}

#video video {
    aspect-ratio: 16/9;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

#text {
    text-align: center;
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1.2;
}

#text h1 {
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 30px 0;
}

#text a.button {
    background: #e30513;
    height: 40px;
    padding: 0 30px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 700;
    line-height: 38px;
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
    transition: box-shadow 0.5s;
    text-transform: uppercase;
}

#text a.button:hover {
    box-shadow: 0 0 15px 0 #e30513;
}

@media (orientation: portrait) {
    body {
        padding: calc(min(6vh, 100px) * 1);
        gap: min(6vh, 100px);
    }

    #logo {
        max-height: min(6vh, 100px);
    }

    #video {
        margin: 0 calc(min(6vh, 100px) * -1);
    }
}

@media screen and (max-height: 700px) {
    body {
        height: auto;
    }

    #video {
        height: 300px;
    }
}