html {
    box-sizing: border-box;
    font-size: 16px;
}

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

#background-video {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -3;
}

#ios-background-video {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-image: url(/assets/video/bg.hevc.mp4);
    background-size: cover;
}

#curtain {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.35);
}

#hero {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#hero aside {
    width: 30rem;
    max-width: 95%;
    padding: 2.5rem;
}

#hero h2 {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 2.5rem;
    text-align: center;
    line-height: .9;
    margin-top: 3rem;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    text-align: center;
    z-index: 1;
}

footer p {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: .8rem;
    margin: 0;
}

footer a {
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.1s ease;
}

footer a:hover {
    animation: ring 0.12s ease-in-out 0s 4;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@media (max-width: 80em) {
    #hero aside {
        width: 50rem;
    }

    #hero h2 {
        font-size: 4.25rem;
        margin-top: 6rem;
        line-height: 1;
    }

    footer p {
        font-size: 1.5rem;
    }
}
