* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transform-origin: top;
}

body {
    background-color: #ddd;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrapper {
    height: 495px;
    width: 495px;
    background: rgb(232,183,172);
    background: linear-gradient(120deg, rgba(153,104,93,1) 10%, rgba(232,183,172,1) 20%, rgba(255,216,209,1) 35%, rgba(209,160,149,1) 50%, rgba(141,95,86,1) 70%, rgba(215,169,159,1) 85%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50% ;
    position: relative;
}

.wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -5px;
    border-radius: inherit;
    background: linear-gradient(125deg, rgba(153,104,93,1) 5%, rgba(232,183,172,1) 15%, rgba(255,216,209,1) 30%, rgba(209,160,149,1) 45%, rgba(141,95,86,1) 65%, rgba(215,169,159,1) 80%);
    box-shadow: 10px 12px 15px #000a;
}

.container {
    position: absolute;
    left: 100%;
    z-index: -2;
}

.dial {
    height: 90px;
    width: 30px;
    background: rgb(232,183,172);
    background: linear-gradient(-45deg, rgba(232,183,172,1) 10%, rgba(255,216,209,1) 45%, rgba(209,160,149,1) 80%);
    position: relative;
    border-radius: 0 70% 70% 0/50% 30% 30% 50%;
}

.dial:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -3;
    margin: -5px;
    border-radius: inherit;
    background: linear-gradient(45deg, rgba(232,183,172,1) 5%, rgba(255,216,209,1) 40%, rgba(209,160,149,1) 75%);
    box-shadow: 10px 12px 15px #000a;
}

.grooves {
    height: 100%;
    display: flex;
    justify-content:space-around;
    align-items:flex-start;
    flex-direction: column;
}

li {
    height: 3px;
    width: 15px;
    background: rgb(232,183,172);
    background: linear-gradient(90deg, rgba(232,183,172,1) 10%, rgba(255,216,209,1) 45%, rgba(209,160,149,1) 80%);
    list-style: none;
    border-radius: 33%;
}

.face {
    height: 90%;
    width: 90%;
    background: rgb(175,160,157);
    background: radial-gradient(circle, rgba(175,160,157,1) 50%, rgba(222,205,202,1) 90%);
    border-radius: 50%;
    position: relative;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: inset rgba(175,160,157,1) 10px;
    border-left-color: rgba(222,205,202,1);
    border-top-color: rgba(222,205,202,1);
    box-shadow: inset #0009 3px 3px 5px 5px;
}

.center {
    height: 2%;
    width: 2%;
    border-radius: 25%;
    background-color: #ccc;
    transform-origin: center;
    box-shadow: 2px 2px 1px black;
}

.twelve, .one, .two, .three, .four, .five, .six, .seven, .eight, .nine, .ten, .eleven, .hour, .seconds {
    height: 12%;
    width: 3px;
    background-color: #dfdfdf;
    position: absolute;
}

.twelve {
    top: 5%;
    left: 50%;
    transform: rotate(0deg);
    box-shadow: 3px 1px 1px #0009;
}

.one {
    top: 11.5%;
    left: 72%;
    transform: rotate(30deg);
    box-shadow: 3px 1px 1px #0009;
}

.two {
    top: 27.5%;
    left: 88.5%;
    transform: rotate(60deg);
    box-shadow: 3px 0 1px #0009;
}

.three {
    top: 50%;
    left: 95%;
    transform: rotate(90deg);
    box-shadow: 2px -3px 1px #0009;
}

.four {
    top: 72.5%;
    left: 88.5%;
    transform: rotate(120deg);
    box-shadow: 0px -3px 1px #0009;
}

.five {
    top: 89%;
    left: 72.25%;
    transform: rotate(150deg);
    box-shadow: -1px -3px 1px #0009;
}

.six {
    top: 95%;
    left: 50%;
    transform: rotate(180deg);
    box-shadow: -3px -2px 1px #0009;
}

.seven {
    top: 89%;
    left: 27.25%;
    transform: rotate(210deg);
    box-shadow: -3px 0 1px #0009;
}

.eight {
    top: 72.5%;
    left: 11%;
    transform: rotate(240deg);
    box-shadow: -3px 1px 1px #0009;
}

.nine {
    top: 50%;
    left: 4.5%;
    transform: rotate(270deg);
    box-shadow: -1px 3px 1px #0009;
}

.ten {
    top: 27.5%;
    left: 10.5%;
    transform: rotate(300deg);
    box-shadow: 0px 3px 1px #0009;
}

.eleven {
    top: 11.5%;
    left: 27.5%;
    transform: rotate(330deg);
    box-shadow: 1px 3px 1px #0009;
}

.hour, .seconds {
    background: rgb(232,183,172);
    background: linear-gradient(0deg, rgba(232,183,172,1) 10%, rgba(255,216,209,1) 45%, rgba(209,160,149,1) 80%);
    top: 50%;
    transform: rotate(-180deg);
    border-radius: 50% 50% 50% 50% / 0 0 100% 100%;
}

.hour {
    height: 16%;
    width: 4px;
    animation: hour-anim 720s 0s linear infinite;
    box-shadow: -4px -3px 1px #0009;
    z-index: 4;
}

@keyframes hour-anim {
    0% {transform: rotate(-180deg); box-shadow: -4px -3px 1px #0009;}
    25% {transform: rotate(-90deg); box-shadow: -2px 3px 1px #0009;}
    50% {transform: rotate(0deg); box-shadow: 4px 3px 1px #0009;}
    75% {transform: rotate(90deg); box-shadow: 2px -3px 1px #0009;}
    100% {transform: rotate(180deg); box-shadow: -4px -3px 1px #0009;}
}

.seconds {
    height: 45%;
    width: 2px;
/*    animation: seconds-anim 60s 0s linear infinite;*/
    animation: seconds-anim 60s steps(60, end) infinite;
    box-shadow: -4px -3px 1px #0009;
    z-index: 5;
}

@keyframes seconds-anim {
    0% {transform: rotate(-180deg); box-shadow: -4px -3px 1px #0009;}
    25% {transform: rotate(-90deg); box-shadow: -2px 3px 1px #0009}
    50% {transform: rotate(0deg); box-shadow: 4px 3px 1px #0009;}
    75% {transform: rotate(90deg); box-shadow: 2px -3px 1px #0009;}
    100% {transform: rotate(180deg); box-shadow: -4px -3px 1px #0009;}
}

@media only screen and (max-width: 600px) {
    .wrapper {
        height: 250px;
        width: 250px;
    }
    
    .wrapper:before {
        margin: -2px;
    }
    
    .top-strap, .bottom-strap {
        height: 50vh;
        width: 200px;
    }
    
    .dial {
        height: 45px;
        width: 15px;
    }
    
    .dial:before {
        margin: -2px;
    }
    
    li {
        height: 1px;
        width: 8px;
    }
}
