* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
}

.container {
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

#clock {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border: 8px solid #333;
    border-radius: 50%;
    background: white;
}

.hand {
    position: absolute;
    background: #333;
    transform-origin: bottom;
    transform: rotate(0deg);
    transition: transform 0.5s ease-in-out;
}

.hour-hand {
    width: 6px;
    height: 70px;
    top: 80px;
    left: 147px;
}

.minute-hand {
    width: 4px;
    height: 100px;
    top: 50px;
    left: 148px;
}

.center-circle {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    top: calc(50% - 7.5px);
    left: calc(50% - 7.5px);
}

.number {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: #333;
}

/* Colocamos los números en sus respectivas posiciones alrededor del reloj */
.number:nth-child(1) {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.number:nth-child(2) {
    top: 40px;
    left: 75%;
    transform: translateX(-50%);
}

.number:nth-child(3) {
    top: 95px;
    left: 90%;
    transform: translateX(-50%);
}

.number:nth-child(4) {
    top: 155px;
    left: 90%;
    transform: translateX(-50%);
}

.number:nth-child(5) {
    top: 210px;
    left: 75%;
    transform: translateX(-50%);
}

.number:nth-child(6) {
    top: 240px;
    left: 50%;
    transform: translateX(-50%);
}

.number:nth-child(7) {
    top: 210px;
    left: 25%;
    transform: translateX(-50%);
}

.number:nth-child(8) {
    top: 155px;
    left: 10%;
    transform: translateX(-50%);
}

.number:nth-child(9) {
    top: 95px;
    left: 10%;
    transform: translateX(-50%);
}

.number:nth-child(10) {
    top: 40px;
    left: 25%;
    transform: translateX(-50%);
}

.number:nth-child(11) {
    top: 10px;
    left: 25%;
    transform: translateX(-50%);
}

.number:nth-child(12) {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.controls {
    margin-top: 20px;
}

button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background-color: #ff6f61;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #ff5a4d;
}

.feedback {
    margin-top: 20px;
    font-size: 1.2em;
}
