
body {
    background: #64b5f6;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav {
	position: absolute;
    top: 50px;
    left: center;
     }  

                
.nav a {
text-decoration: none;
color: #333;
font-weight: 500; 
margin: 0 20px;
}



.clock {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    background-image: url(img/clock.png);
    background-size: contain ;
    background-blend-mode: overlay; 
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5), 0 0 20px 10px rgba(0, 0, 0, 0.6);
}

.clock::before {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    background: red;
    border-radius: 50%;
    z-index: 10;
    top: calc(50% - 7px);
    left: calc(50% - 7px);
}

.hour,
.min,
.sec {
    position: absolute;
    display: flex;
    justify-content: center;
    /* border: 1px solid #fff; */
}

.hour {
    width: 160px;
    height: 160px;
    top: calc(50% - 80px);
    left: calc(50% - 80px);
}

.hour::after,
.min::after,
.sec::after {
    content: "";
    width: 8px;
    height: 80px;
    background: #333;
    border-radius: 4px 4px 0 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.min {
    width: 210px;
    height: 210px;
    top: calc(50% - 105px);
    left: calc(50% - 105px);
}

.min::after {
    width: 4px;
    height: 100px;
}

.sec {
    width: 250px;
    height: 250px;
    top: calc(50% - 125px);
    left: calc(50% - 125px);
}

.sec::after {
    width: 2px;
    height: 150px;
    background: red;
}

.cogs {
    width: 80px;
    height: 80px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 137px;
    left: calc(50% - 58px);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cog1 {
    width: 90px;
    height: 90px;
    background: url(img/gear.png) center/cover;
    position: absolute;
    left: -45px;
    top: 20px;
    animation: cog 6s linear infinite reverse;
}

@keyframes cog {
    100% {
        transform: rotate(360deg);
    }
}

.cog2 {
    width: 70px;
    height: 70px;
    background: url(img/gear.png) center/cover;
    position: absolute;
    right: -12px;
    top: -20px;
    animation: cog 6s linear infinite;  }

        
    
         .time {
            font-family:  monospace;
            width: auto;
            padding: 5px 10px 5px 10px;
            font-size: 35px; 
            font-weight: 500;
            position: absolute;
            border-radius: 50px;
            top: -95px;
            left: 65px;
            box-shadow:  0 0 20px 10px rgba(0, 0, 0, 0.6);
            color: black;   

         }






















