@font-face {
    font-family: Title;
    src: url('https://tntnvmd.com/hiring/assets/font/SVN-A-Love-Of-Thunder.ttf');
}

@font-face {
    font-family: Normal;
    src: url('https://tntnvmd.com/hiring/assets/font/FS\ Diavlo\ Medium.ttf');
}

@font-face {
    font-family: NavBar;
    src: url('https://tntnvmd.com/hiring/assets/font/FS-ClanPro-NarrowUltra.ttf');
}

:root {
    --white-theme: rgb(255, 255, 255);
    --brown-theme: rgb(111 17 6);
    --light-brown-theme: rgb(241 236 211);
    --light-light-brown-theme: rgb(252, 206, 162);
    --dark-theme: rgb(43, 36, 28);
}

a {
    text-decoration: none;
}

body{
    height: auto;
}

.main, .title, .countdownTimer > span {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body {
    flex-direction: column;
    align-items: center;
    margin: 0;
    outline: 0;
}

span {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 5px;
}

.main {
    height: 100%;
    margin-bottom: 0px;
    width: 100%;
    height: 100%;
}

.title, .countdownTimer > span {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title {
    background: url("bg.png");
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    color: var(--brown-theme);
    gap: 2vh;
}

.mainTitle {
    filter: drop-shadow(5px 5px 2px);
    font-family: Title, sans-serif;
    font-size: min(10vw, 5rem);
    letter-spacing: -1.6px;
    text-shadow:
    4px 4px 0 var(--light-light-brown-theme),
    -1px -1px 0 var(--light-light-brown-theme),  
    1px -1px 0 var(--light-light-brown-theme),
    -1px 1px 0 var(--light-light-brown-theme),
    1px 1px 0 var(--light-light-brown-theme);
}

.countdownTimer, .title > p {
    font-family: Title, sans-serif;
    display: flex;
    align-items: flex-start;
    font-size: 3rem;
    gap: 3vw;
    filter: drop-shadow(3px 3px 1px);
    text-shadow:
    2px 2px 0 var(--light-light-brown-theme),
    -1px -1px 0 var(--light-light-brown-theme),  
    1px -1px 0 var(--light-light-brown-theme),
    -1px 1px 0 var(--light-light-brown-theme),
    1px 1px 0 var(--light-light-brown-theme);
}

.countdownTimer {
    margin-bottom: 40px;
}

.title > p {
    margin: 0px;
    padding: 0px;
    font-size: 2.2rem;
    text-align: center;
    text-wrap: balance;
}

.countdownTimer > span > span:nth-child(2){
    font-size: 1.5rem;
}

.countdownTimer > span > span:nth-child(1) {
    /* font-style: normal; */
    font-size: 3rem;
    filter: drop-shadow(3px 3px 1px);
    text-shadow:
    2px 2px 0 var(--light-light-brown-theme),
    -1px -1px 0 var(--light-light-brown-theme),  
    1px -1px 0 var(--light-light-brown-theme),
    -1px 1px 0 var(--light-light-brown-theme),
    1px 1px 0 var(--light-light-brown-theme);
}

.whiteCanvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(1200px, 100vw);
    background: var(--white-theme);
    text-align: center;
    font-size: 1rem;
    padding: 20px 0px;
    color: var(--brown-theme);
    margin-bottom: 30px;
}

.followUs {
    font-family: Title, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 10px;
    width: 100%;
    background: var(--white-theme);
    font-size: 1.5rem;
    color: var(--brown-theme);
}

.followUs > span:nth-child(2) {
    display: flex;
    flex-direction: row;
    column-gap: 40px;
}

.followUs > span:nth-child(2) > a {
    color: var(--brown-theme);
    display: flex;
    align-items: center;
    column-gap: 10px;
    transition: 300ms ease;
}

.followUs > span:nth-child(2) > a > p {
    margin: 0;
    font-size: 1.4rem;
}

.followUs > span:nth-child(2) > a:hover {
    color: var(--light-brown-theme);
}

@media screen and (max-width: 1100px) {
    .title {
        background-attachment:scroll;
        height: 80%;
        padding-top: calc(80px + 5vh);
    }
}

@media screen and (max-width: 600px) {
    .navBar {
        height: 10vh;
    }
    
    #menu {
        z-index: 2;
        display: block;
        position: fixed;
        right: 0;
        top: 0;
        margin-right: 15px;
        margin-top: 1.25vh;
    }
    
    .navElements {
        z-index: 2;
        transition: ease 400ms;
        transform: translateX(300px);
        align-self: flex-start;
        flex-direction: column;
        align-items: flex-start;
        border-top: none;
        border-right: none;
        gap: 2vh;
        padding-top: 40px;
        font-size: min(4vw, 1.3rem);
        background: var(--white-theme);
        border-radius: 0px 0px 0px 5px;
    }
    
    .navElements.navElementsActive {
        transform: translateX(0px);
    }
    

    .main {
        margin-top: 0px;
    }

    .countdownTimer {
        font-size: 1.5rem;
    }

    .title > p {
        font-size: 1.5rem;
    }
    
    .countdownTimer > span > span:nth-child(1) {
        font-size: 2.5rem;
    }

    .countdownTimer > span > span:nth-child(2){
        font-size: 1.1rem;
    }

    .followUs > span:nth-child(2) > a > p {
        display: none;
    }

}

@keyframes appear {
    0% {
        display: none;
        /* height: 0%; */
        transform: scaleX(0);
    }

    100% {
        display: flex;
        /* height: 100%; */
        transform: scaleX(1);
    }
}

@keyframes disappear {
    0% {
        display: flex;
        /* height: 100%; */
        transform: scaleX(1);
    }
    
    100% {
        display: none;
        opacity: 0;
        /* height: 0%; */
        transform: scaleX(0);
    }
}