* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    width: 100%;
}

.clock {
    background-image: linear-gradient(to bottom, black, #302f2f, black );
    background-size: cover;
    width: 100%;
    height: 100%;
}

.clock-body {
    width: 35vh;
    height: 35vh;
    border-radius: 50%;
    border: 5px solid white;
    background-image: linear-gradient(#fe80ff, #aa3bff);
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.clock-round {
    position: relative;
    width: 100%;
    height: 100%;
}

.hand {
    position: absolute;
    background-color: white;
    top: 50%;
    border-radius: 15px;
    transform-origin: 100%;
    transition: all 0.1s;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
}

.hr-hand {
    height: 6.5px;
    width: 35%;
    transform: translateX(43%) rotate(90deg);
}

.mnt-hand {
    height: 6.5px;
    width: 45%;
    transform: translateX(11%) rotate(90deg);
}

.sec-hand {
    height: 2.5px;
    width: 45%;
    transform: translateX(11%) rotate(90deg);
}

.main {
    position: absolute;
    width: 5%;
    height: 5%;
    background-color: white;
    border: none;
    outline: none;
}

.main-12 {
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.main-3 {
    left: 100%;
    top: 50%;
    transform: translate(-100%, -50%);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.main-6 {
    left: 50%;
    top: 100%;
    transform: translate(-50%, -100%);
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.main-9 {
    top: 50%;
    transform: translateY(-50%);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.clock-digital {
    height: 13vh;
    width: 32vh;
    background-image: linear-gradient(#fe80ff, #aa3bff);
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -70%);
    border-radius: 20px;
    text-align: center;
    vertical-align: middle;
    color: white;
    border: 5px solid white;
}

p {
    position: relative;
    top: 50%;
    transform: translateY(-53%);
    font-size: 7vh;
}

.mid {
    font-size: 9vh;
}