
   
    body {
         background: url('1.jpg')no-repeat center  center fixed;
    background-size: cover;
        font-family: Arial, sans-serif;
        
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: 100vh;
    }
    
  
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 90%;
    z-index: 1; /* Send the wheel to the background */
}

.message-box {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    transition: opacity 0.1s ease;
}

.message-content {
    position: relative;
}

.close-message-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.success-message {
    background-color: #28a745;
    color: white;
}

.error-message {
    background-color: #dc3545;
    color: white;
}
@keyframes glowEffect {
    0% {
        box-shadow: 
          0 0 40px 15px rgba(0, 0, 0, 0.7),         /* Black glow */
          0 0 20px 5px rgba(255, 255, 255, 0.7),   /* #ffffff glow */
          0 0 30px 10px rgba(30, 46, 106, 0.7),    /* #1e2e6a glow */
          0 0 50px 20px rgba(255, 255, 255, 0.7);  /* #ffffff glow */
    }
    25% {
        box-shadow: 
          0 0 20px 5px rgba(255, 255, 255, 0.7),   /* #ffffff glow */
          0 0 30px 10px rgba(0, 0, 0, 0.7),        /* Black glow */
          0 0 40px 15px rgba(30, 46, 106, 0.7),    /* #1e2e6a glow */
          0 0 50px 20px rgba(255, 255, 255, 0.7);  /* #ffffff glow */
    }
    50% {
        box-shadow: 
          0 0 20px 5px rgba(0, 0, 0, 0.7),         /* Black glow */
          0 0 30px 10px rgba(30, 46, 106, 0.7),    /* #1e2e6a glow */
          0 0 40px 15px rgba(255, 255, 255, 0.7),  /* #ffffff glow */
          0 0 50px 20px rgba(30, 46, 106, 0.7);    /* #1e2e6a glow */
    }
    75% {
        box-shadow: 
          0 0 20px 5px rgba(255, 255, 255, 0.7),   /* #ffffff glow */
          0 0 30px 10px rgba(30, 46, 106, 0.7),    /* #1e2e6a glow */
          0 0 40px 15px rgba(0, 0, 0, 0.7),        /* Black glow */
          0 0 50px 20px rgba(255, 255, 255, 0.7);  /* #ffffff glow */
    }
    100% {
        box-shadow: 
          0 0 20px 5px rgba(30, 46, 106, 0.7),     /* #1e2e6a glow */
          0 0 30px 10px rgba(255, 255, 255, 0.7),  /* #ffffff glow */
          0 0 50px 15px rgba(0, 0, 0, 0.7),        /* Black glow */
          0 0 60px 20px rgba(30, 46, 106, 0.7);    /* #1e2e6a glow */
    }
}


canvas {
    max-width: 100%;
    max-height: 100%;
    width: 90vmin;
    height: 80vmin;
    border-radius: 50%;
    animation: glowEffect 5s infinite;
    z-index: 1; /* Keeps the wheel behind */
}



.win-arrow {
    position: absolute;
    top: 28%;
    left: 50%;
    right:50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 50px solid orange;
    z-index: 2; /* Keep the win-arrow above the wheel */
}

    /* Modal overlay (background) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

/* Modal content box */
.modal-content {
    font-family: 'Dancing Script', cursive;
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    font-size: 2.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: scale(0);
    animation: scaleUp 0.4s ease-out forwards, bounceIn 1s ease-out infinite;
}

/* Heading style */
.modal h2 {
    font-family: 'Dancing Script', cursive;
    margin-bottom: 20px;
    font-size: 4rem;
    color: #4CAF50;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Paragraph style */
.modal p {
    font-family: 'Dancing Script', cursive;
    margin-bottom: 20px;
    font-size: 3rem;
}

/* Close button style */
.close-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 3rem;
    width: 100%;
    transition: transform 0.2s ease;
}

/* Hover effect on the close button */
.close-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.05);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

        
        
        
       
   

.spin-btn {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Align the button center with the wheel center */
    background: url('spin-icon.png') no-repeat center center; /* Add image */
    background-size: 100% 100%; /* Adjust size of the image relative to button */
    width: 150px; /* Button size */
    height: 150px; /* Button size */
    border: none; /* Remove border */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Indicate it's clickable */
    z-index: 10; /* Ensure it appears on top of the canvas */
}

.placeholder {
    font-size: 80px; /* Adjust the size as needed */
    color: black; /* Optional: Change color */
    opacity: 0.8; /* Optional: Adjust visibility */
}

    /* Media Queries for 1920x1080 (Large Screens) */
    /*BIG SCREEN*/
    @media (min-width: 1920px) and (max-width: 1920px) and (min-height: 1080px) and (max-height: 1080px) {
        body {
            background: url('1.jpg') no-repeat center center fixed;
            background-size: cover;
            font-size: 1.2rem;
        }

        .container {
            width: 80%;
            height: 80%;
            padding: 20px;
        }

        canvas {
            width: 80vmin;
            height: 80vmin;
        }

       

        

        .modal-content {
            width: 60%;
        }

        .modal h2 {
            font-size: 2rem;
        }

        .modal p {
            font-size: 1.5rem;
        }

        .close-btn {
            font-size: 1.5rem;
            padding: 12px 24px;
        }
    }

    
    /* Modal overlay (background) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

/* Modal content box */
.modal-content {
    font-family: 'Dancing Script', cursive;
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    font-size: 2.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: scale(0);
    animation: scaleUp 0.4s ease-out forwards, bounceIn 1s ease-out infinite;
}

/* Heading style */
.modal h2 {
    font-family: 'Dancing Script', cursive;
    margin-bottom: 20px;
    font-size: 4rem;
    color: #4CAF50;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Paragraph style */
.modal p {
    font-family: 'Dancing Script', cursive;
    margin-bottom: 20px;
    font-size: 3rem;
}

/* Close button style */
.close-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 3rem;
    width: 100%;
    transition: transform 0.2s ease;
}

/* Hover effect on the close button */
.close-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    40% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.05);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}


        
    input::placeholder {
    font-size: 40px; /* Increased font size for placeholder text */
    color: #888; /* Optional: Customize the placeholder color */
    font-weight: 400; /* Optional: Make placeholder text regular weight */
}
    input {
         margin-top:10%;
        font-weight: 500;
        font-size: 40px;  /* Increase font size for inputs */
        padding: 30px;  /* Increase padding for better touch targets */
        width: 120%;  /* Slightly increase width to make the inputs larger */
    }
    button {
        font-size: 30px;  /* Increase button font size */
        padding: 20px 25px;
        width:120%;
          /* Increase button padding for larger button */
    }
    


#user-form {
    margin-top: 75%;  /* Add 40% margin at the top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px; /* Optional: To limit the width of the form */
}
    

.win-arrow {
        top: 13.5%;
        left:47.2%;
        border-bottom: 30px solid orange;
         transform: rotate(180deg);
    }


  #spin-btn {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Align the button center with the wheel center */
    background: url('spin-icon.png') no-repeat center center; /* Add image */
    background-size: 100% 100%; /* Adjust size of the image relative to button */
    width: 150px; /* Button size */
    height: 150px; /* Button size */
    border: none; /* Remove border */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Indicate it's clickable */
    z-index: 10; /* Ensure it appears on top of the canvas */
}

.message-box {
    display: none;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    transition: opacity 0.1s ease;
    font-size:30px;
}

.message-content {
    position: relative;
}

.close-message-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.success-message {
    background-color: #28a745;
    color: white;
}

.error-message {
    background-color: #dc3545;
    color: white;
}

/*  Small Screens (Below 768px) */
@media (max-width: 768px) {
    body {
        padding: 0px;
    }
 input::placeholder {
    font-size: 12px; /* Increased font size for placeholder text */
    color: #888; /* Optional: Customize the placeholder color */
    font-weight: 400; /* Optional: Make placeholder text regular weight */
}
    #user-form {
        width: 100%;
    }

    #user-form input {
        font-size:1REM;
        padding: 8px;
    }

    .container {
        max-width: 100%;
    }
    
      .win-arrow {
        top: 20%; /* Adjust position */
        left: 45%; /* Move slightly to the left */
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 40px solid orange; /* Reduce size */
    }

   #spin-btn {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Align the button center with the wheel center */
    background: url('spin-icon.png') no-repeat center center; /* Add image */
    background-size: 100% 100%; /* Adjust size of the image relative to button */
    width: 150px; /* Button size */
    height: 150px; /* Button size */
    border: none; /* Remove border */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Indicate it's clickable */
    z-index: 10; /* Ensure it appears on top of the canvas */
}


    canvas#wheel {
        width: 100%;
        height: auto;
    }

    .modal {
        width: 90%;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 16px;
    }

    button.close-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
 input::placeholder {
    font-size: 12px; /* Increased font size for placeholder text */
    color: #888; /* Optional: Customize the placeholder color */
    font-weight: 400; /* Optional: Make placeholder text regular weight */
}
    #user-form input {
        font-size: 14px;
        padding: 10px;
    }
.win-arrow {
        top: 15%;
        border-bottom: 30px solid orange;
         transform: rotate(180deg);
    }
    #spin-btn {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Align the button center with the wheel center */
    background: url('spin-icon.png') no-repeat center center; /* Add image */
    background-size: 100% 100%; /* Adjust size of the image relative to button */
    width: 150px; /* Button size */
    height: 150px; /* Button size */
    border: none; /* Remove border */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Indicate it's clickable */
    z-index: 10; /* Ensure it appears on top of the canvas */
}
    .modal {
        width: 95%;
    }

    .modal-content h2 {
        font-size: 18px;
    }

    .message-box {
        font-size: 12px;
        padding: 8px;
    }
}
  

