* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'MyFont';
    src: url('fonts/Prata-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Font';
    src: url('fonts/Nunito-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'MyFont',serif;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000;
}

/* Background Video */

.hero-video {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 50% 50%;

    z-index: 1;
}
.hero-contents {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    text-align: center;

    z-index: 4;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 80%;

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, -40%);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        visibility 0.6s;
}

.hero-content.active {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, -50%);
}

.hero-content h1 {
    font-size: 55px;
    font-weight: 400;
    color: white;
}

.hero-content p {
    margin: 15px auto 0;
    max-width: 750px;
    padding: 0 20px;

    font-size: 18px;
    line-height: 1.6;
    color: white;
    font-family: 'Font', serif;
}
/* Header */

.header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 50px;

    z-index: 10;
}

.header-left {
    justify-self: start;
}

.logo {
    justify-self: center;
}

.logo img {
    width: 160px;
    height: auto;
    display: block;
}

.header-right {
    justify-self: end;
}

/* Steering Wheel */

.wheel-wrapper {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: min(900px, 70vw);

    transform: translate(-50%, 50%);

    z-index: 5;
}

.steering-wheel {
    width: 100%;
    height: auto;

    display: block;

    transform: rotate(0deg);
    transform-origin: center center;

    will-change: transform;

    user-select: none;
    pointer-events: none;
}
@media (max-width: 768px) {

    .hero-contents {
        top: 35%;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.15;
    }
    
}