@font-face {
    font-family: try;
    src: url("assets/TH3\ MACHINE.ttf");
}

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

body {
    perspective: 1000px;
}

.cover {
    background-color: black;
    width: 100vw;
    height: 105vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    text-align: center;
    backface-visibility: hidden;
}

video {
    /* opacity: .77; */
    position: absolute;
}

.preloader-main {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    backface-visibility: hidden;
}

.preloader-main div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.preloader-main h1 {
    font-family: try;
    font-size: 100px;
}

button {
    padding: 5px 90px;
    font-size: 35px;
    font-weight: 600;
    font-family: serif;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 5px #1c3328;
    background-color: #ffffff00;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    font-family: 'leaf';
}

button:hover {
    box-shadow: inset 0px 0px 15px 3px #1c3328;
    scale: 1.1;
    transition: 10ms;
}

@media screen and (max-width: 700px) {
    .preloader-main h1 {
        font-size: 50px;
    }
}

/* Transition Styles */
/* .flip {
    transform: rotateY(180deg);
    transition: transform 1s ease;
} */

.hidden {
    opacity: 0;
    transition: opacity 1s ease;
}

#mainContent {
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    backface-visibility: hidden;
    transform: scale(0.9);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 1;
}

#mainContent.show {
    opacity: 1;
    transform: scale(1);
}