.clock {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.clock .wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 2px solid #b7babd;
    border-radius: 50%;
}
.clock .wrapper:nth-child(1) {
    height: 100%;
    width: 100%;
    z-index: 1;
}
.clock .wrapper:nth-child(2) {
    height: 90%;
    width: 90%;
    z-index: 2;
}
.clock .wrapper:nth-child(3) {
    height: 80%;
    width: 80%;
    z-index: 3;
}
.clock .wrapper:nth-child(4) {
    height: 70%;
    width: 70%;
    z-index: 4;
    background-color: #010e1f;
}
.clock .hours,
.clock .minutes,
.clock .seconds,
.clock .time {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 100%;
    width: 100%;
    border-radius: 50%;
}
.clock .time {
    height: 70%;
    width: 70%;
    z-index: 4;
    display: inline-flex;
    font-size: calc(1.50vw  + 1.50vw ); /* Adjusted font size to scale with viewport */
    justify-content: center;
    align-items: center;
}
.clock .time span {
    color: #ffffff;
    display: inline-block;
    text-align: center;
    opacity: 1;
}
.clock .time span:not(.seperator) {
    width: 4rem; /* Adjusted width to scale with viewport */
}
.pens_link {
    position: fixed;
    bottom: 56px;
    right: 56px;
    margin: auto;
    display: inline-flex;
    font-size: calc(1vw + 1vh); /* Adjusted font size to scale with viewport */
    text-decoration: none;
    border-radius: 50%;
    background-color: #ffffff;
    color: #212121;
    height: 56px;
    width: 56px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: animate 1500ms ease infinite;
}
@keyframes animate {
    0%,
    100% {
        transform: translateY(-10%);
    }
    50% {
        transform: translateY(10%);
    }
}
/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .clock {
        height: 10rem;
        width: 10rem;
    }
    .clock .time {
        font-size: calc(1vw + 1vh); /* Adjusted for smaller screens */
    }
    .pens_link {
        bottom: 40px;
        right: 40px;
        height: 48px;
        width: 48px;
        font-size: calc(1vw + 1vh); /* Adjusted for smaller screens */
    }
}
@media (max-width: 480px) {
    .clock {
        height: 8rem;
        width: 8rem;
    }
    .clock .time {
        font-size: calc(1vw + 1vh); /* Adjusted for very small screens */
    }
    .pens_link {
        bottom: 32px;
        right: 32px;
        height: 40px;
        width: 40px;
        font-size: calc(1vw + 1vh); /* Adjusted for very small screens */
    }
}
