* {
    box-sizing: border-box;
    text-align: center;
}

body {
    margin: 0;
    background-image: url('img/bg_best.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

body::after {
    content: '';
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.container {
    display: none;
    margin-top: 80px;
    margin-bottom: 80px;
    /*display: flex;*/
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 60px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.time {
    margin: 0 15px;
    font-size: 20px;
}

.time h2 {
    margin: 10px;
    font-size: 36px;
}

.year {
    font-size: 240px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: -2;
    opacity: 0.5;
}

.loader {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    /*display: none;*/
    
}

@media (max-width: 600px) {
    h1 {
        font-size: 40px;
    }

    .time {
        margin: 0 8px;
        font-size: 16px;
    }
    .time h2 {
        margin: 2px;
        font-size: 28px;
    }

    .year {
        font-size: 180px;
    }
} 

@media (max-width: 400px) {
    h1 {
        font-size: 30px;
    }

    .time {
        margin: 0 5px;
        font-size: 12px;
    }
    .time h2 {
        margin: 0;
        font-size: 20px;
    }
    
    .year {
        font-size: 100px;
    }
} 
