* {
    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;
    font-size: 1.5em;
    transform: translate(-50%, -50%);
    color: #333;
}

.number:nth-child(3n) {
    color: #ff6f61;
}

.number {
    /* Colocar los números alrededor del reloj */
    top: calc(50% + 130px * cos(var(--i) * 30deg));
    left: calc(50% + 130px * sin(var(--i) * 30deg));
}

.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;
}
