/* styles.css */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
}

.container {
    text-align: center;
}

.wheel {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #333;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.segment {
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: #ffcc00;
    transform-origin: 100% 100%;
    text-align: center;
    line-height: 150px;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Para quitar el subrayado de los enlaces */
    transition: background-color 0.3s ease;
}

.segment:hover {
    background-color: #ffd700;
}

.segment:nth-child(1) { transform: rotate(0deg) translate(50%, 50%); }
.segment:nth-child(2) { transform: rotate(60deg) translate(50%, 50%); }
.segment:nth-child(3) { transform: rotate(120deg) translate(50%, 50%); }
.segment:nth-child(4) { transform: rotate(180deg) translate(50%, 50%); }
.segment:nth-child(5) { transform: rotate(240deg) translate(50%, 50%); }
.segment:nth-child(6) { transform: rotate(300deg) translate(50%, 50%); }

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #555;
}
