@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-image: url(https://media.istockphoto.com/photos/sparklers-background-young-people-at-celebration-party-picture-id866491714?k=20&m=866491714&s=612x612&w=0&h=kB5D0PuHEMEvpIRbP53WHuMkpVSQ8IOhg1QtZ0ZQ1s8=);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    color: #fff;
    font-family: 'Lato', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    overflow: hidden;
}

/* add background mask */
body::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

body * {
    z-index: 1;
}

h1 {
    font-size: 60px;
    margin: -80px 0 40px;
}

.year {
    font-size: 200px;
    font-weight: 600;
    z-index: -1;
    opacity: 0.4;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%);

}

.countdown {
    /* display: flex; */
    display: none;
    transform: scale(2);
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px;
}

.time h2 {
    margin: 0 0 5PX;
}

@media(max-width: 500px) {
    hr {
        font-size: 45px;
    }
    .time {
        margin: 5px;
    }
    .time h2 {
        font-size: 12px;
        margin: 0;
    }
    .time small {
        font-size: 10px;
    }

}