@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    user-select: none;
}

.main-div {
    background-color: black;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-body {
    padding: 5rem;
}

#clock,
#date {
    color: #ff0000;
    font-size: 60px;
    font-family: Orbitron;
    letter-spacing: 7px;
    background-color: rgb(0, 0, 0);
    /* border-radius: 5px; */
    display: flex;
    justify-content: center;
    padding: 5rem 5rem 0 5rem;
}

#date {
    font-size: 1rem;
    padding-bottom: 5rem;
    color: rgb(255, 106, 0);
}

.box {
    position: relative;
    z-index: 1;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.box::after,
.box::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), transparent 70%, rgba(147, 147, 147, 0.553));
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 2px;
    border-radius: 5px;
    animation: 3s spin linear infinite;
}

.box::before {
    filter: blur(1.5rem);
    /* opacity: 0.6; */
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}