@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: visible;
}

#popup {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup-content {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

#btn {
    margin-top: 8px;
    background-color: #008CBA;
    color: white;
    padding: 1px 2px;
    border: 2px solid #008CBA;
    border-radius: 8px;
}

#btn:hover {
    border-color: #005588;
    background-color: #005588;
}

#waves-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1000000;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.text h1 {
    font-family: 'Parisienne', cursive;
    text-align: center;
}

#special {
    color: #fff;
    padding-bottom: 10px;
    animation: animate 1s steps(1) infinite;
}

@keyframes animate {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.clock {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.clock::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #005588;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    z-index: 100000;
}

.clock span {
    position: absolute;
    inset: 20px;
    color: #fff;
    text-align: center;
    transform: rotate(calc(30deg * var(--i)));
}

.clock span b {
    font-size: 2em;
    opacity: 0.5;
    font-weight: 600;
    display: inline-block;
    transform: rotate(calc(-30deg * var(--i)));
}

.circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 10;
}

.circle i {
    position: absolute;
    width: 6px;
    height: 50%;
    background: var(--clr);
    opacity: 0.75;
    transform-origin: bottom;
    transform: scaleY(0.5);
}

.circle:nth-child(1) i {
    width: 2px;
}

.circle:nth-child(2) i {
    width: 6px;
}

.circle2 {
    width: 240px;
    height: 240px;
    z-index: 9;
}

.circle3 {
    width: 180px;
    height: 180px;
    z-index: 8;
}

.circle::before {
    content: '';
    position: absolute;
    top: -8.5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--clr);
    box-shadow: 0 0 20px var(--clr),
        0 0 60px var(--clr);
}

.time {
    display: flex;
    font-size: 2em;
}

.time div {
    position: relative;
    width: 200px;
    text-align: center;
    font-weight: 500;
    font-size: 1em;
}

#time1 div:nth-child(1)::after {
    content: ' years';
    font-size: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time1 div:nth-child(2)::after {
    content: ' months';
    font-size: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time1 div:nth-child(3)::after {
    content: ' days';
    font-size: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time2 div {
    padding-top: 20px;
}

#time2 div:nth-child(1)::after {
    content: ' hours';
    font-size: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time2 div:nth-child(2)::after {
    content: ' minutes';
    font-size: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#time2 div:nth-child(3)::after {
    content: ' seconds';
    font-size: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}