@import url('https://fonts.googleapis.com/css2?family=Inter+Tight&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter Tight", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    height: 100vh;
    background: radial-gradient(circle,rgb(53, 132, 156), rgb(29, 82, 92), rgb(31, 159, 182)) no-repeat;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

.header {
    display: none;
}

h2 {
    font-size: 2.5em;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 900;
}

.progress-wrapper {
    width: 100px;
    height: 20px;
    background-color: black;
    margin-bottom: -15px;
    border-radius: 5px;
    border: 1px solid white;
}

.progress-bar {
    background-color:rgb(57, 185, 194);
    width: 0%;
    border-radius: 4px;
    height: 18px;
}

.year {
    color: rgba(0, 0, 0, 0.404);
    opacity: 0.2;
    font-size: 10em;
    position: fixed;
    user-select: none;
}

.countdown {
    display: none;
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin: 15px;
}

.time small {
    margin-top: -35px;
}

.overall-left {
    margin-top: 20px;
}

.overall-left small {
    font-size: 0.7em;
}

.days {
    transform: translateY(-40px);
    font-size: 5em;
}

.days + small {
    transform: translateY(-73px);
}

svg {
    width: 200px;
    height: 200px;
    position: fixed;
}

svg rect {
    width: 200px;
    height: 200px;
    fill: none;
    stroke-width: 200px;
    stroke: aqua;
    stroke-dasharray: 200;
    stroke-dashoffset: 50%;
    animation: move 4s linear infinite
}

@keyframes move {
    to {
        stroke-dashoffset: 250%;
    }
}

@media (max-width: 600px) {
    .countdown {
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 auto;
    }
    .time {
        margin: 0;
        padding: 0;
        transform: scale(0.9);
    }

}