*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Gotham Rounded, sans-serif;
    overflow: hidden;
}

html {
    height: 100vh;
    width: 100vw;
}

body {
    background: #10101E;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.analog_clock {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: 2px solid white;
    position: relative;
}

.analog_clock::after {
    content: '';
    background: black;
    z-index: 11;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.analog_clock .number {
    --rotation: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.5rem;
    transform: rotate(var(--rotation));
}

.analog_clock .number1 {
    --rotation: 30deg;
}

.analog_clock .number2 {
    --rotation: 60deg;
}

.analog_clock .number3 {
    --rotation: 90deg;
}

.analog_clock .number4 {
    --rotation: 120deg;
}

.analog_clock .number5 {
    --rotation: 150deg;
}

.analog_clock .number6 {
    --rotation: 180deg;
}

.analog_clock .number7 {
    --rotation: 210deg;
}

.analog_clock .number8 {
    --rotation: 240deg;
}

.analog_clock .number9 {
    --rotation: 270deg;
}

.analog_clock .number10 {
    --rotation: 300deg;
}

.analog_clock .number11 {
    --rotation: 330deg;
}

.analog_clock .hand {
    --rotation: 0;
    position: absolute;
    bottom: 50%;
    left: 50%;
    border-radius: 50rem 50rem 0 0;
    transform-origin: bottom;
    z-index: 10;
    transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

.analog_clock .hand.hour {
    width: 10px;
    height: 35%;
    background: black;
}

.analog_clock .hand.minute {
    width: 7px;
    height: 40%;
    background: black;
}

.analog_clock .hand.second {
    width: 3px;
    height: 45%;
    background: red;
}


.digital_clock .datetime {
    color: #fff;
    background: #10101E;
    font-family: "Segoe UI", sans-serif;
    width: 340px;
    padding: 15px 10px;
    border: 3px solid #2E94E3;
    border-radius: 5px;
    -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(255, 255, 255, 0.1));
    transition: 0.5s;
    transition-property: background, box-shadow;
}

.digital_clock .datetime:hover {
    background: #2E94E3;
    box-shadow: 0 0 30px #2E94E3;
}

.digital_clock .date {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
}

.digital_clock .time {
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.digital_clock .time span {
    position: relative;
    margin: 0 6px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 3px;
}