* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Laila;
    user-select: none;
}

#name {
    position: absolute;
    left: 85%;
    top: 88%;
    text-transform: lowercase;
    transform: rotate(-45deg);
    color: gold;
    filter: drop-shadow(0px 0px 1px lime);
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-size: xxx-large;
}

.iniani {
    transition: ease-in 1s;
}

body {
    background: rgba(0, 0, 0, 1);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: rgba(0, 255, 0, 0.20);
    background-image: url(./logo.svg);
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 25%;
    padding: 20px;
    outline: 5px solid darkgreen;
    outline-offset: 5px;
    box-shadow: 0 0 100px gold;
    overflow: clip;
}

.clock {
    position: relative;
    border-radius: 50%;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 25px solid darkcyan;
}

#inside_clock {
    position: relative;
    border-radius: 50%;
    width: 125px;
    height: 125px;
    top: -22%;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid goldenrod;
    background-color: rgba(0, 0, 0, 0.333);
}

#logo_div {
    position: relative;
    height: 75px;
    width: 75px;
}

.clock span {
    position: absolute;
    transform: rotate(calc(30deg * var(--j)));
    inset: 5px;
    text-align: center;
}

.insideclock span {
    position: absolute;
    transform: rotate(calc(30deg * var(--jk)));
    inset: 0px;
    text-align: center;
}

.clock span b {
    transform: rotate(calc(-30deg * var(--j)));
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    height: 30px;
    width: 50px;
    color: gold;
    filter: drop-shadow(0px 0px 2px lime);
}

.insideclock span b {
    transform: rotate(calc(-30deg * var(--jk)));
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    height: 24px;
    width: 24px;
    color: gold;
    /* filter: drop-shadow(0px 0px 2px lime); */
}

span.ticks {
    position: absolute;
    transform: rotate(calc(6deg * var(--ticks)));
    inset: -28px;
    display: inline;
}

mark {
    border-radius: 15%;
}

.ticks {
    vertical-align: middle;
}

span.ticks b {
    transform: rotate(90deg);
    font-size: 24px;
    font-weight: 900;
    height: 32px;
    width: 50px;
    color: gold;
}

.inside_hand, .hand, .handrev {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.inside_hand i {
    position: absolute;
    background: var(--clr);
    height: var(--ht);
    width: var(--wt);
    z-index: 0;
    border-radius: 40%;
}

#day_of_week {
    position: absolute;
    display: flex;
    justify-content: space-between;
    width: 400px;
    top: 55%;
    color: rgba(0, 0, 0, 1);
    filter: drop-shadow(0px 0px 5px cyan);
    font-size: xx-large;
    font-weight: bolder;
}

.day_of_week {
    color: ghostwhite;
    filter: drop-shadow(0px 0px 10px gold);
}

#inside_clock_tz {
    position: absolute;
    top: 25%;
    color: gold;
    font-weight: bold;
    font-size: xx-large;
    line-height: 2;
}

#hour_ii {
    --clr: coral;
    --ht: 25px;
    --wt: 5px;
    filter: drop-shadow(0px 0px 1px lime);
}

#minute_ii {
    --clr: lightblue;
    --ht: 35px;
    --wt: 4px;
    filter: drop-shadow(0px 0px 1px lime);
}

#second_ii {
    --clr: lightyellow;
    --ht: 45px;
    --wt: 3px;
    filter: drop-shadow(0px 0px 1px lime);
}

.hand i, .handrev i {
    position: absolute;
    background: var(--clr);
    height: var(--ht);
    width: var(--wt);
    z-index: 0;
    border-radius: 40%;
}

#dot i, #inside_dot i {
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#inside_dot i {
    height: 5px;
    width: 5px;
}

#month_date {
    position: relative;
    font-size: 24px;
    font-weight: bolder;
    top: -20px;
    left: -60px;
}

#month {
    position: relative;
    left: 95px;
    background-color: #fff;
    color: #000;
}

#date {
    left: 160px;
    color: white;
}

#digital {
    position: relative;
    font-size: 50px;
    font-weight: bolder;
    top: 90px;
    left: -86px;
}

#utc_span {
    font-size: small;
    left: -135px;
    top: 15px;
    color: gold;
}

#year {
    --clr: white;
    --ht: 250px;
    --wt: 2px;
    filter: drop-shadow(0px 0px 5px lime);
}

#hour {
    --clr: red;
    --ht: 90px;
    --wt: 9px;
    filter: drop-shadow(0px 0px 5px lime);
}

#rev_hour {
    --clr: red;
    --ht: 20px;
    --wt: 9px;
    filter: drop-shadow(0px 0px 5px lime);
}

#minute {
    --clr: blue;
    --ht: 160px;
    --wt: 7px;
    filter: drop-shadow(0px 0px 5px lime);
}

#rev_minute {
    --clr: blue;
    --ht: 32px;
    --wt: 7px;
    filter: drop-shadow(0px 0px 5px lime);
}

#second {
    --clr: yellow;
    --ht: 200px;
    --wt: 4px;
    filter: drop-shadow(0px 0px 5px lime);
}

#rev_second {
    --clr: yellow;
    --ht: 40px;
    --wt: 4px;
    filter: drop-shadow(0px 0px 5px lime);
}

#msecond1, #msecond2, #msecond3 {
    --ht: 25px;
    --wt: 10px;
}

#msecond1 {
    --clr: gold;
}

#msecond2 {
    --clr: red;
}

#msecond3 {
    --clr: blue;
}

#digital>span>mark {
    line-height: 1.0;
    height: 45px;
    width: 63px;
    display: inline-block;
    font-family: 'Courier New', monospace;
}

#month_date>span>mark {
    line-height: 1.0;
    height: 22px;
    width: 58px;
    display: inline-block;
}

#digital_hour {
    position: relative;
    left: -108px;
    background-color: red;
    color: #000;
}

#digital_minute {
    position: relative;
    left: -45px;
    background-color: blue;
    color: white;
}

#digital_second {
    position: relative;
    left: 18px;
    background-color: yellow;
    color: #000;
}

#digital_msecond {
    position: relative;
    font-size: xx-large;
    background-color: black;
    color: green;
    top: 0px;
    left: 82px;
    height: 32px !important;
    width: 63px !important;
}

#utc_digital {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    top: 70px;
    left: -96px;
}

#utc_digital>span>mark {
    line-height: 1.0;
    height: 20px;
    width: 25px;
    display: inline-block;
    font-family: 'Courier New', monospace;
}

#utc_month {
    position: relative;
    left: -55px;
    background-color: white;
    color: black;
    width: fit-content !important;
    min-width: 30px;
}

#utc_date {
    position: relative;
    left: -12px;
    background-color: inherit;
    color: white;
}

#utc_date.swap {
    left: 5px;
}

#utc_digital_hour {
    position: relative;
    left: 45px;
    background-color: coral;
    color: #000;
}

#utc_digital_minute {
    position: relative;
    left: 70px;
    background-color: lightblue;
    color: #000;
}

#utc_digital_second {
    position: relative;
    left: 95px;
    background-color: lightyellow;
    color: #000;
}

#utc_digital_msecond {
    position: relative;
    font-size: small;
    background-color: black;
    color: lightgreen;
    top: 3px;
    left: 120px;
    height: 11px !important;
    width: 30px !important;
}

#utc_clock {
    position: absolute;
    top: 85%;
    font-size: x-large;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0px 0px 5px cyan);
}

#utc_clock.swap {
    color: ghostwhite;
}

.nep {
    width: fit-content !important;
    height: 30px !important;
    left: 85px !important;
    padding-top: 5px;
}

.nep.swap {
    left: 70px !important;
}

.year_nep {
    font-size: xx-large !important;
    top: 46% !important;
}

#sunrise_sunset {
    position: absolute;
    font-size: 50px;
    font-weight: bold;
    top: 0%;
    width: 195%;
    display: flex;
    justify-content: space-around;
}

#sunrise, #sunset {
    color: rgba(0, 0, 0, 0.75);
    filter: drop-shadow(0px 0px 5px lime);
}

.sunrise {
    color: gold !important;
}

.sunset {
    color: ghostwhite !important;
}

#hole {
    top: 88%;
    position: absolute;
    color: greenyellow;
    filter: drop-shadow(0px 0px 5px lime);
    left: 0%;
    font-size: xxx-large;
    font-weight: bold;
}

#cal_year {
    color: gold;
    position: absolute;
    top: 47%;
    left: 20%;
    font-weight: bold;
    font-size: x-large;
    letter-spacing: 5px;
}

@media screen and (max-width: 400px) {
    * {
        scrollbar-width: none;
    }

    #name {
        left: 87%;
        top: 91%;
        font-size: x-large;
    }

    .container {
        background-size: 30%;
        padding: 5px;
        outline-offset: 3px;
        box-shadow: 0px 0px 50px gold;
        overflow: clip;
    }

    .clock {
        width: 300px;
        height: 300px;
        inset: 0px;
    }

    #inside_clock {
        width: 75px;
        height: 75px;
        top: -20%;
    }

    .insideclock span {
        inset: -5px;
    }

    .insideclock span b {
        font-size: 12px;
        height: 16px;
        width: 12px;
    }

    span.ticks {
        position: absolute;
        transform: rotate(calc(6deg * var(--ticks)));
    }

    #year {
        --ht: 150px !important;
        --wt: 2px;
    }

    #inside_clock_tz {
        position: absolute;
        top: 33%;
        color: gold;
        font-weight: bold;
        font-size: small;
        line-height: 2;
    }

    #hour {
        --ht: 50px !important;
    }

    #hour_ii {
        --ht: 10px !important;
        --wt: 4px !important;
    }

    #rev_hour {
        --ht: 10px !important;
    }

    #minute {
        --ht: 75px !important;
    }

    #minute_ii {
        --ht: 20px !important;
        --wt: 3px !important;
    }

    #rev_minute {
        --ht: 14px !important;
    }

    #second {
        --ht: 100px !important;
    }

    #second_ii {
        --ht: 30px !important;
        --wt: 2px !important;
    }

    #rev_second {
        --ht: 18px !important;
    }

    #msecond1, #msecond2, #msecond3 {
        --ht: 20px;
        --wt: 5px;
    }

    #inside_dot i {
        height: 4px;
        width: 4px;
    }

    #month_date {
        font-size: 20px;
        top: -18px;
    }

    #month {
        left: 40px;
        height: 19px !important;
    }

    #digital {
        font-size: 20px;
        top: 45px;
        left: 12px;
    }

    #digital>span>mark {
        height: 20px;
        width: 30px;
        font-family: 'Courier New', monospace;
    }

    #month_date>span>mark {
        width: 50px;
    }

    #digital_minute {
        left: -80px;
    }

    #digital_second {
        left: -50px;
    }

    #digital_msecond {
        font-size: small;
        top: 0px;
        left: -20px;
        height: 15px !important;
        width: 25px !important;
    }

    #utc_digital {
        font-size: 12px;
        top: 30px;
        left: -42px;
    }

    #utc_span {
        font-size: xx-small;
        left: -115px;
        top: 10px;
        color: gold;
    }

    #utc_digital>span>mark {
        height: 12px;
        width: 20px;
    }

    /* #utc_month {
        width: 30px !important;
    } */

    #utc_date {
        left: -25px;
    }

    #utc_date.swap {
        left: -22px;
    }

    #utc_digital_hour {
        left: 0px;
    }

    #utc_digital_minute {
        left: 20px;
    }

    #utc_digital_second {
        left: 40px;
    }

    #utc_digital_msecond {
        font-size: xx-small;
        left: 60px;
        top: 2px;
        height: 7px !important;
        width: 20px !important;
    }

    #utc_clock {
        top: 81%;
        font-size: small;
    }

    .nep {
        width: fit-content !important;
        height: 22px !important;
        left: 40px !important;
        top: -1px !important;
        padding-top: 3px;
        font-size: medium;
    }

    .nep.swap {
        left: 45px !important;
        font-size: small;
        top: -2px !important;
    }

    #date {
        font-size: medium;
        top: 7px !important;
        left: 97px !important;
    }

    #day_of_week {
        width: 222px;
        top: 57%;
        font-size: small;
    }

    #sunrise_sunset {
        font-size: 25px;
        top: -5%;
        width: 190%;
    }

    #cal_year {
        top: 45%;
        font-size: large;
        letter-spacing: 0px;
    }

    .year_nep {
        font-size: large !important;
        top: 45% !important;
    }

    #hole {
        top: 91%;
        left: -1%;
        font-size: x-large;
    }
}