@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&disaply=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;
    background: #031323;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    /* position: relative; */
}
/* clock */
#time {
    display: flex;
    gap: 40px;
    color: #fff;
    z-index: 20;
    margin-top: -35%;
}
#time .circle {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#time .circle svg {
    position: relative;
    width: 150px;
    height: 150px;
    transform: rotate(270deg)
}
#time .circle svg circle {
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: #191919;
    stroke-width: 4;
    transform: translate(5px, 5px);
}
#time .circle svg circle:nth-child(2) {
    stroke: var(--clr);
    stroke-dasharray: 440;
}
#time div {
    position: absolute;
    text-align: center;
    font-weight: 500;
    font-size: 1.5em;
}
#time div span {
    position: absolute;
    font-size: 0.35em;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateX(-50%);
}
#hours, #minutes, #seconds {
    transform: translateY(-10px);
}
#time .ap {
    position: relative;
    font-size: 1em;
    transform: translateX(-20px);
}
.dots {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
}
.dots::before {
    content: '';
    position: absolute;
    top: -3px;
    width: 15px;
    height: 15px;
    background: var(--clr);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--clr),
                0 0 60px var(--clr);
}

/* calender */
body {
    display: flex;
    justify-content: center;
    align-items: center;
}
body::before, body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#00ff59, #5af752);
    clip-path: polygon(10% 0%, 30% 30%, 10% 65%);
}
body::after {
    background: linear-gradient(#f8ff00, #ff1100);
    clip-path: circle(20% at 85% 75%);
    z-index: -10;
}
.clock, .inside {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 66%;
    height: 81.6%;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
    display: flex;
}
.clock {
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    z-index: 10;
    align-items: center;
    text-align: center;
}
.inside {
    width: 75%;
    height: 32%;
    margin-bottom: 0;
    position: absolute;
    bottom: 10%;
    padding: 10px;
}
.content {
    width: 100%;
    display: grid;
    place-items: center;
}
#cal img {
    width: 30px;
    height: 30px;
    filter: invert(100%) opacity(0.9);
}
.days {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}
#date {
    color: #fff;
    font-weight: 600;
    display: flex;
    justify-content: center;
}
.days span {
    margin: 0 10px;
    font-size: 1rem;
}
span#dates, span#month, span#year {
    margin: 8px 0 0 15px;
}

/* .animClass {
    animation: scaling 1s linear infinite alternate;
}

@keyframes scaling {
    0% {
        font-size: 0.8em;
    }
    100% {
        font-size: 1.2em;
    }
} */