*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color: #6495ed;
}

main{
    min-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.clock{
    min-width: 600px;
    min-height: 600px;
    background-color: #f0f8ff;
    border-radius: 600px;
    border: 15px solid #333;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number{
    font-size: 2.5rem;
    font-weight: 600;
    /* background-color: bisque; */
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 5px;
}

.number-1{
    transform: rotate(30deg);
}
.number-2{
    transform: rotate(60deg);
}
.number-3{
    transform: rotate(90deg);
}
.number-4{
    transform: rotate(120deg);
}
.number-5{
    transform: rotate(150deg);
}
.number-6{
    transform: rotate(180deg);
}
.number-7{
    transform: rotate(210deg);
}
.number-8{
    transform: rotate(240deg);
}
.number-9{
    transform: rotate(270deg);
}
.number-10{
    transform: rotate(300deg);
}
.number-11{
    transform: rotate(330deg);
}
.number-12{
    transform: rotate(360deg);
}

.second-hand{
    width: 5px;
    height: 240px;
    background-color: #a52a2a;
    position: absolute;
    border-radius: 5px;
    transform: translate(0, -50%);
    transform-origin: bottom center;
}

.minute-hand{
    width: 8px;
    height: 220px;
    background-color: #333;
    position: absolute;
    border-radius: 5px;
    transform: translate(0, -50%);
    transform-origin: bottom center;
}

.hour-hand{
    width: 13px;
    height: 150px;
    background-color: #333;
    position: absolute;
    border-radius: 13px;
    transform: translate(0, -50%);
    transform-origin: bottom center;
}

.center {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background-color: #a52a2a;
    position: absolute;
}

.date{
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.digital-clock{
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    background-color: #f0f8ff;
    padding: 10px 20px;
    border-radius: 10px;
    border: 3px solid #333;
    text-align: center;
    margin-bottom: 10px;
}

.toggle-format {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10;
}

.ticks{
    position: absolute;
    width: 100%;
    height: 100%; 
}

.ticks div{
    position: absolute;
    width: 2px;
    background-color: #333;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}