*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #091921;
}

body.light 
{
    background: #D1DAE3;
}

.clock
{
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #091921 url(clock.png);
    background-size: cover;
    border-radius: 50%;
    border: 4px solid #091921;
    box-shadow: -8px -8px 15px rgba(255,255,255,0.05),
                20px 20px 20px rgba(0,0,0,0.3),
                inset -8px -8px 15px rgba(255,255,255,0.05),
                inset 20px 20px 20px rgba(0,0,0,0.3);
}

body.light .clock
{
    background: #D1DAE3 url(clock.png);
    background-size: cover; 
    border: 4px solid #CAD3DC;
    box-shadow: -8px -8px 15px rgba(255,255,255,0.5),
                10px 10px 10px rgba(0,0,0,0.1),
                inset -8px -8px 15px rgba(255,255,255,0.5),
                inset 10px 10px 10px rgba(0,0,0,0.1);
}

.clock::before
{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border-radius: 50%;
    z-index: 10000;
}

body.light .clock::before 
{
    background: #008EFF;
}

.clock .hour,
.clock .min,
.clock .sec
{
    position: absolute;
}

.clock .hour, .hr
{
    width: 160px;
    height: 160px;
}

.clock .min, .mn
{
    width: 190px;
    height: 190px;
}

.clock .sec, .sc
{
    width: 230px;
    height: 230px;
}

.hr, .mn, .sc
{
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    position: absolute;
    border-radius: 50%;
}

.hr::before
{
    content: '';
    position: absolute;
    width: 8px;
    height: 85px;
    background: #FF105E;    
    z-index: 10;
    border-radius: 6px 6px 0 0;
}

.mn::before
{
    content: '';
    position: absolute;
    width: 4px;
    height: 95px;
    background: #FFFFFF;    
    z-index: 11;
    border-radius: 6px 6px 0 0;
}

body.light .mn::before
{
    background: #091921;
}

.sc::before
{
    content: '';
    position: absolute;
    width: 2px;
    height: 150px;
    background: #0FD2F5;    
    z-index: 12;
    border-radius: 6px 6px 0 0;
}

.toggle
{
    position: absolute;
    top: 30px;
    right: 150px;
    width: 20px;
    height: 20px;
    font-size: 18px;
    border-radius: 50%;
    background: #D1DAE3;
    color: #D1DAE3;
    font-family: consolas;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    align-items: center;
}

.toggle::before
{
    position: absolute;
    content: 'Light Mode';
    left: 25px;
    white-space: nowrap;
}

.toggleClass
{
    position: absolute;
    top: 30px;
    right: 150px;
    width: 20px;
    height: 20px;
    font-size: 18px;
    border-radius: 50%;
    background: #D1DAE3;
    color: #D1DAE3;
    font-family: consolas;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.toggleClass::before
{
    position: absolute;
    content: 'Light Mode';
    left: 25px;
    white-space: nowrap;
}

body.light .toggleClass
{
    background: #091921;
    color: #091921;
}

body.light .toggleClass::before
{
    content: 'Dark Mode';
}