


body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    overflow:hidden;
    padding: 20px;
    background-image:url('bg.jpg');
    font-family: philosopher;
}

.wheel-container {
    position: relative;
    width: 600px;
    margin: 50px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wheel {
    width: 100%;
    height: 600px;
    border: 10px solid #ddd;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.segment {
    width: 50%;
    height: 50%;
    position: absolute;
    transform-origin: 100% 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.segment .name {
    position: absolute;
    width: 52%;
    height: 192%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0.75turn) translateX(50%);
    font-size: 10px;
    text-align: center;
    color: #fff;
}

.hook {
    position: absolute;
    top: 40%;
    left: 47.5%;
    transform: translateX(-24%);
    width: 100px;
    height: 100PX;
    background: #721c24;
    border-radius: 100%;
    border: 1px solid #856404;
    z-index: 20;
}

.spin-button {
    margin-top: 20px;
    display: block;
    width: 100%;
    background-color: #856404;
    padding:20px;
    border-radius: 20px;
}


#spin-button {

    margin-top: 20px;
    display: block;
    width: 450px;
    background-color: #856404;
    padding: 20px;
    border-radius: 20px;
    border: none;
    text-align: center;
    align-items: center;
    margin: auto;
    font-size: 40px;

}
.chosen-names-list {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
    max-height: 790px;
}

#chosen-names {
    list-style-type: none;
    padding: 0;
   
    min-width: 900px;
    min-height: 60px;
    padding: 5px;
    margin: 5px;
}


#chosen-names div {
    border: 1px solid #ddd;
    margin-bottom: 5px;
    padding: 5px;
    color: white;
    text-align: center;
    padding: 10px;
    background-color: #8b6d49;
    border-radius: 40px;
    font-weight: 500;
    font-family: philosopher;
    font-size: large;
}

@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.rotate {
    animation: spin 2s linear infinite;
}


#name-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 30px;
    border-radius: 5px;
    font-size: 60px;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-out;
    z-index: 50;
}


  #arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 20px solid red; /* Color of the arrow */
  transform: rotate(45deg);
  display: none; /* Initially hidden */
}

#wheel-container {
  position: relative;
  display: inline-block;
}

#arrow {
  left: 50%;
  transform: translateX(-50%) rotate(45deg); /* Center the arrow */
  bottom: -30px; /* Adjust position as needed */
}

#winner-name {
    font-size: 80px;
    background-color: #856404;
    width: 800px;
    margin: auto;
    border-radius: 100px;
    padding: 10px;
    color: white;
}
#winner-step h1 {
    font-size: 70px;
    margin-bottom: 150px;
    margin-top: 150px;
}