@font-face {
    font-family: "Gameplay";
    src: url("font/Gameplay.ttf") format('truetype');
}


body {
    margin: 0 auto;
    position: fixed;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
}
body::before{
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('assets/BACKGROUND.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
}
.countdown-container {
    display: flex;
    justify-content: center;
    height: 100%;
    position: relative;
    width: 95%;
    transform: translateY(160px);
}


.countdown-container img {
    object-fit: contain;
    max-width: 700px;
    width: 100%;
    object-position: center bottom;
}

.countdown-text {
    top: 0;
    position: absolute;
    left: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    text-align: center;
    font-size: 3vh;
    margin: 0 auto;
    opacity: 0;
    transition: opacity ease-in-out 500ms;
    display: flex;
    flex-direction: column;
}

.countdown-text.active {
    opacity: 1;
}

p {
    color: white;
    margin: unset;
    height: fit-content;
    font-family: 'Gameplay', sans-serif;
}

p.start {
    font-size: 80%;
}
/*p.start{
    display: flex;
    align-self: center;
    position: relative;
    line-height: 35px;
    transform: translateX(11px);
    margin-bottom: 18px;
}
p.start::before{
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    color: white;
    width: 0;
    height: 10px;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-left: 1rem solid;
    left: -22px;
}*/

i.gg-play-button::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    color: white;
    width: 0;
    height: 10px;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-left: 1rem solid;
    top: 5px;
}

/*
p i.gg-play-button {
    display: inline-block;
    width: 3.5vh;
    height: 3.5vh;
    transform: none;
}
*/


@media screen and (max-width: 640px) {


    .countdown-container {
        transform: translateY(60px);
    }

}

@media screen and (max-width: 500px) {

}

@media screen and (max-width: 375px) {


}
@media screen and (orientation: landscape) and (max-width: 1024px) {

    .countdown-container {
        transform: translateY(30px);
    }
}