@charset "UTF-8";

* {
    box-sizing: border-box;
    margin: 0 0;
    padding: 0 0;
    outline: none;
}
*::before, *::after {
    box-sizing: border-box;
}

html {
    display: flex;
    height: 100%; /*fallback*/
    height: -webkit-fill-available;
}
body {
    width: 100%;
    background-color: #121922;
    font-family: sans-serif;
    text-align: center;
    color: #fff;
}

.container {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 30px;
    max-width: 1920px;
    min-height: 100%;
    margin: auto;
    padding: 45px 10px;
}
.content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    max-width: 100%;
    max-height: 300px;
}

.clock {
    display: grid;
    place-items: center;
    width: 280px;
    height: 280px;
    border: 10px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 5px 5px #0003,
                inset 0 0 5px 5px #0003;
    background-color: #ad6;
    color: #000;
    animation: opacity 1s linear;
}
@keyframes opacity {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
.clock .plate,
.clock .arrows {
    grid-area: 1/1;
    position: relative;
    width: 100%;
    height: 100%;
}
.clock .digit {
    position: absolute;
    font-size: 20px;
}
.clock .one {
    top: 22px;
    right: 68px;
}
.clock .two {
    top: 65px;
    right: 28px;
}
.clock .three {
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}
.clock .four {
    bottom: 65px;
    right: 28px;
}
.clock .five {
    bottom: 22px;
    right: 68px;
}
.clock .six {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}
.clock .seven {
    bottom: 23px;
    left: 65px;
}
.clock .eight {
    bottom: 64px;
    left: 25px;
}
.clock .nine {
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
}
.clock .ten {
    top: 65px;
    left: 24px;
}
.clock .eleven {
    top: 24px;
    left: 64px;
}
.clock .twelve {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}
.clock .arrows {
    display: flex;
    align-items: center;
    justify-content: center;
}
.clock .arrows:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 6px solid #ad6;
    border-radius: 50%;
    background-color: #121922;
}
.clock .arrow {
    position: absolute;
    bottom: 50%; /**/
    box-shadow: 0 0 4px 1px #0003;
    border-radius: 2px;
    background-color: #000;
    transform-origin: bottom;
    transition: 0.2s ease;
}
.clock .hour {
    width: 6px;
    height: 70px;
    transition: none;
}
.clock .minute {
    width: 4px;
    height: 90px;
}
.clock .second {
    width: 2px;
    height: 90px;
}

.footer {
    margin-bottom: -10px;
    font-size: 15px;
    color: #eee;
}
.footer a {
    margin-left: 1px;
    text-decoration: none;
    color: #ad6;
}
.footer a:hover {
    text-decoration: underline;
}