/* @font-face{
    font-family: 'Foglihten';
    src: url(font/foglihtenno06.ttf);
}
html, body{
    height: 100vh;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(#e7e7e7, #d7d7d7);
    font-family: 'Foglihten';
    display: flex;
    justify-content: center;
    align-items: center;
} */


.wrapper__clock {
    margin-top: 268px;
    margin-left: -14px;
} 


.clock-wrapper{
    position: absolute;
    width: 600px;
    height: 600px;
    margin: auto;
    padding: 5px;
    background: #e7e7e7;
    border-radius: 50%;
    box-shadow: 0 10px 15px rgba(0, 0, 0, .15), 0 2px 2px rgba(0, 0, 0, .2);
}
.clock-base{
    width: 600px;
    height: 600px;
    border-radius: 50%;
    box-shadow: 0 0 5px #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}
input{
     width: 560px;
     height: 560px;
    -webkit-appearance: none;  
    position: absolute;
    border-radius: 50%;
    border: solid 8px #e7e7e7;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: inset 0 0 5px #111;
}
#border{
    position: absolute;
    z-index: 2;
}
.border{
    width: 480px;
    height: 480px;
    border: 4px solid #444444d5;
    border-radius: 50%;
}
.border-1{
    width: 440px;
    height: 440px;
    border: 2px solid #444444d5;
    border-radius: 50%;
}
.border-2{
    width: 420px;
    height: 420px;
    border: 2px solid #444444d5;
    border-radius: 50%;
}
.border-3{
    width: 650px;
}
#clock-border{
    position: absolute;
    z-index: 2;
    left: 50%;
    font-size: 40px;
    display: flex;
    justify-content: center;
}
#ramka{
    background: #444444d5;
    width: 5px;
    height: 10px;
}
#ramka:nth-child(1){
    transform: rotate(30deg) translateY(-215px);
}
#ramka:nth-child(2){
    transform: rotate(60deg) translateY(-215px);
}
#ramka:nth-child(3){
    transform: rotate(90deg) translateY(-215px);
}
#ramka:nth-child(4){
    transform: rotate(120deg) translateY(-215px);
}
#ramka:nth-child(5){
    transform: rotate(150deg) translateY(-215px);
}
#ramka:nth-child(6){
    transform: rotate(180deg) translateY(-215px);
}
#ramka:nth-child(7){
    transform: rotate(210deg) translateY(-216px);
}
#ramka:nth-child(8){
    transform: rotate(240deg) translateY(-216px);
}
#ramka:nth-child(9){
    transform: rotate(270deg) translateY(-216px);
}
#ramka:nth-child(10){
    transform: rotate(300deg) translateY(-216px);
}
#ramka:nth-child(11){
    transform: rotate(330deg) translateY(-216px);
}
#ramka:nth-child(12){
    transform: rotate(360deg) translateY(-215px);
}
.clock-dial{
    position: absolute;
    z-index: 2;
    left: 50%;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.clock-dial .clock-indicator{
    position: absolute;
    height: 15px;
}
.clock-indicator:nth-child(1){
    transform: rotate(30deg) translateY(-200px);
}
.clock-indicator:nth-child(2){
    transform: rotate(60deg) translateY(-200px);
}
.clock-indicator:nth-child(3){
    transform: rotate(90deg) translateY(-200px);
}
.clock-indicator:nth-child(4){
    transform: rotate(120deg) translateY(-200px);
}
.clock-indicator:nth-child(5){
    transform: rotate(150deg) translateY(-200px);
}
.clock-indicator:nth-child(6){
    transform: rotate(180deg) translateY(-200px);
}
.clock-indicator:nth-child(7){
    transform: rotate(210deg) translateY(-200px);
}
.clock-indicator:nth-child(8){
    transform: rotate(240deg) translateY(-200px);
}
.clock-indicator:nth-child(9){
    transform: rotate(270deg) translateY(-200px);
}
.clock-indicator:nth-child(10){
    transform: rotate(300deg) translateY(-200px);
}
.clock-indicator:nth-child(11){
    transform: rotate(330deg) translateY(-200px);
}
.clock-indicator:nth-child(12){
    transform: rotate(360deg) translateY(-200px);
}
.clock-hour{
    position: absolute;
    z-index: 2;
    top: 41.6%;
    width: 4px;
    height: 65px;
    background-color: #000;
    border-radius: 2px;
    transform-origin: 2px 50px;
    transition: .5s;
    -webkit-animation: rotate-hour 43200s linear infinite;
    -moz-animation: rotate-hour 43200s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}
.clock-hour::before{
    content: "";
    display: block;
    position: absolute;
    top: -50px;
    width: 22px;
    height: 35px;
    background: #000;
    clip-path: polygon(50% 0%, 30% 100%, 70% 100%);
}
.clock-hour:after{
    content: "";
    display: block;
    position: absolute;
    left: -9px;
    top: -18px;
    width: 15px;
    height: 15px;
    border: solid 3px #000;
    border-radius: 50%;
}
.clock-minute{
    position: absolute;
    z-index: 3;
    top: 38.6%;
    width: 4px;
    height: 85px;
    background-color: #000;
    border-radius: 2px;
    transform-origin: 2px 70px;
    transition: 0.5s;
    -webkit-animation: rotate-minute 3600s linear infinite;
    -moz-animation: rotate-minute 3600s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}
.clock-minute::before{
    content: "";
    display: block;
    position: absolute;
    top: -80px;
    width: 22px;
    height: 65px;
    background: #000;
    clip-path: polygon(50% 0%, 30% 100%, 70% 100%);
}
.clock-minute:after{
    content: "";
    display: block;
    position: absolute;
    left: -9px;
    top: -18px;
    width: 15px;
    height: 15px;
    border: solid 3px #000;
    border-radius: 50%;
}
.clock-second{
    position: absolute;
    z-index: 4;
    top: 32%;
    width: 3px;
    height: 180px;
    background-color: #000;
    box-shadow: 0 0 2px rgba(0, 0, 0, .2);
    transform-origin: 1px 110px;
    transition: .5s;
    -webkit-animation: rotate-second 60s linear infinite;
    -moz-animation: rotate-second 60s linear infinite;
}
.clock-second::before{
    content: "";
    display: block;
    position: absolute;
    top: -105px;
    width: 3px;
    height: 170px;
    background-color: #000;
    border-radius: 20%; 
}
.clock-second:after{
    content: "";
    display: block;
    position: absolute;
    left: -9px;
    bottom: -18px;
    width: 15px;
    height: 15px;
    border: solid 3px #000;
    border-radius: 50%;
}
.clock-center{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    width: 500px;
    height: 500px;
    background: #f7f7f7;
    border-radius: 50%;
    -webkit-box-shadow: 50px 50px 60px 15px rgba(34, 60, 80, 0.4) inset;
    -moz-box-shadow: 50px 50px 60px 15px rgba(34, 60, 80, 0.4) inset;
    box-shadow: 50px 50px 60px 15px rgba(34, 60, 80, 0.4) inset;
    filter: drop-shadow(0 0 8px #111);
}
.clock-center::before{
    content: '';
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 50%;
}
.clock-center:after{
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border: 5px solid #f7f7f7;
    border-radius: 50%;
}

/* Мобильная адаптация */

    .clock-wrapper{
        width: 400px;
        height: 400px;

    }
    .clock-base{
        width: 400px;
        height: 400px;
        margin-left: -6px;
        margin-top: -4px;
    }
    input{
         width: 360px;
         height: 360px;
    }
    .border{
        width: 280px;
        height: 280px;
    }
    .border-1{
        width: 240px;
        height: 240px;
    }
    .border-2{
        width: 220px;
        height: 220px;
    }
    .border-3{
        width: 350px;
    }
    #clock-border{
        position: absolute;
        z-index: 2;
        left: 50%;
        font-size: 40px;
    }
    #ramka{
        width: 3px;
        height: 10px;
    }
    #ramka:nth-child(1){
        transform: rotate(30deg) translateY(-115px);
    }
    #ramka:nth-child(2){
        transform: rotate(60deg) translateY(-115px);
    }
    #ramka:nth-child(3){
        transform: rotate(90deg) translateY(-115px);
    }
    #ramka:nth-child(4){
        transform: rotate(120deg) translateY(-115px);
    }
    #ramka:nth-child(5){
        transform: rotate(150deg) translateY(-115px);
    }
    #ramka:nth-child(6){
        transform: rotate(180deg) translateY(-115px);
    }
    #ramka:nth-child(7){
        transform: rotate(210deg) translateY(-116px);
    }
    #ramka:nth-child(8){
        transform: rotate(240deg) translateY(-116px);
    }
    #ramka:nth-child(9){
        transform: rotate(270deg) translateY(-116px);
    }
    #ramka:nth-child(10){
        transform: rotate(300deg) translateY(-116px);
    }
    #ramka:nth-child(11){
        transform: rotate(330deg) translateY(-116px);
    }
    #ramka:nth-child(12){
        transform: rotate(360deg) translateY(-115px);
    }
    .clock-dial{
        left: 50%;
        font-size: 20px;
    }
    .clock-dial .clock-indicator{
        height: 15px;
    }
    .clock-indicator:nth-child(1){
        transform: rotate(30deg) translateY(-136px);
    }
    .clock-indicator:nth-child(2){
        transform: rotate(60deg) translateY(-136px);
    }
    .clock-indicator:nth-child(3){
        transform: rotate(90deg) translateY(-136px);
    }
    .clock-indicator:nth-child(4){
        transform: rotate(120deg) translateY(-136px);
    }
    .clock-indicator:nth-child(5){
        transform: rotate(150deg) translateY(-136px);
    }
    .clock-indicator:nth-child(6){
        transform: rotate(180deg) translateY(-136px);
    }
    .clock-indicator:nth-child(7){
        transform: rotate(210deg) translateY(-136px);
    }
    .clock-indicator:nth-child(8){
        transform: rotate(240deg) translateY(-136px);
    }
    .clock-indicator:nth-child(9){
        transform: rotate(270deg) translateY(-136px);
    }
    .clock-indicator:nth-child(10){
        transform: rotate(300deg) translateY(-136px);
    }
    .clock-indicator:nth-child(11){
        transform: rotate(330deg) translateY(-136px);
    }
    .clock-indicator:nth-child(12){
        transform: rotate(360deg) translateY(-136px);
    }
    .clock-hour{
        top: 38%;
        width: 4px;
        height: 65px;
    }
    .clock-hour::before{
        content: "";
        display: block;
        top: -40px;
        width: 12px;
        height: 25px;
    }
    .clock-hour:after{
        content: "";
        display: block;
        left: -3px;
        top: -13px;
        width: 10px;
        height: 10px;
    }
    .clock-minute{
        top: 32.6%;
        width: 4px;
        height: 85px;
    }
    .clock-minute::before{
        content: "";
        display: block;
        top: -59px;
        width: 12px;
        height: 45px;
    }
    .clock-minute:after{
        content: "";
        display: block;
        left: -3px;
        top: -12px;
        width: 10px;
        height: 10px;
    }
    .clock-second{
        position: absolute;
        z-index: 4;
        top: 23%;
        width: 3px;
        height: 180px;
    }
    .clock-second::before{
        display: none;
    }
    .clock-second:after{
        content: "";
        display: block;
        left: -5px;
        bottom: -15px;
        width: 10px;
        height: 10px;
    }
    .clock-center{
        width: 300px;
        height: 300px;
    }
    .clock-center::before{
        width: 30px;
        height: 30px;
    }
    .clock-center:after{
        width: 10px;
        height: 10px;

    }


@media (max-width: 768px) {
    .clock-wrapper {
        width: 300px;
        height: 300px;

        left: 50%;
        margin-left: -150px;

    }
    .clock-base {
        width: 300px;
        height: 300px;
        margin-left: -6px;
        margin-top: -4px;
    }

    input {
        width: 315px;
        height: 315px;
    }

    .border-3 {
        width: 300px;
    }

    .clock-second {
        position: absolute;
        z-index: 4;
        top: 13.5%;
        width: 3px;
        height: 102px;
    }

.clock-second:after {
    content: "";
    display: block;
    left: -3px;
    bottom: -13px;
    width: 8px;
    height: 8px;
}

    .clock-center {
        width: 280px;
        height: 280px;
    }

    .clock-hour {
        top: 35%;
        width: 4px;
        height: 46px;
    }

    .clock-minute {
        top: 26.6%;
        width: 4px;
        height: 69px;
        /* left: 10px; */
    }
    .clock-minute:after {
        content: "";
        display: block;
        left: -2px;
        top: -11px;
        width: 8px;
        height: 8px;
    }

    .clock-minute::before {
        content: "";
        display: block;
        top: -49px;
        width: 12px;
        height: 35px;
    }

    .clock-hour:after {
        content: "";
        display: block;
        left: -2px;
        top: -11px;
        width: 8px;
        height: 8px;
    }

    .clock-second {
        position: absolute;
        z-index: 4;
        top: 13.5%;
        width: 3px;
        height: 102px;
    }
}