@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

:root {
    --primary-color: #4a90e2; /* Vibrant Blue */
    --secondary-color: #ecf0f1; /* Light Grey */
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
}

.container {
    width: 90vw; /* Adjusted for responsiveness */
    max-width: 900px; /* Maximum limit */
    padding: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.05);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    align-items: center; /* Aligns children in the center */
}


.title, .input-label, .draw-button, .countdown-text {
    margin-bottom: 20px;
}

.input-label {
  display: block; /* ensures the label is on a new line */
  text-align: center; /* centers the label */
  margin-bottom: 10px; /* space between label and input */
}

.draw-name, .ticket-input, .draw-button {
 width: 80vw; /* Adjusted for responsiveness */
    max-width: 800px; /* Maximum width */
    padding: 12px;
    border: 4px solid var(--primary-color);
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.draw-name:focus, .ticket-input:focus {
    border-color: #3498db;
}

.ticket-input {
    height: 240px;
    resize: none;
}

.input-group + .input-group {
    margin-top: 20px;
}

.ticket-input:disabled,
.draw-name:disabled {
    background-color: #e0e0e0;
}

.draw-button {
    margin-top: 20px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.draw-button:hover {
    transform: translateY(-3px);
    background-color: #1b8ca0;
}

.slotMachine {
    display: none;
    width: 100%;
    height: 200px;
    border: 4px solid #333;
    border-radius: 70px;
    background-color: #ddd;
    box-shadow: 0 8px 16px -4px rgba(0,0,0,0.2);
    margin-top: 20px;
}

.winnerBox {
    width: 80vw; /* Adjusted for responsiveness */
    max-width: 800px; /* Maximum width */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slot {
    font-size: 1em;
    font-weight: bold;
}

.slotMachine.winner .winnerBox {
    background-color: yellow;
    text-decoration: underline;
    font-weight: bold;
    border-radius: 70px;
  font-size: 1.5em;
}

.confetti-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-image {
    vertical-align: middle;
    margin-right: 10px; /* Adjust the space between the image and the title */
    height: 50px; /* Adjust the size of the image as needed */
}

.download-pdf-button {
    margin-top: 20px;
    background-color: #4CAF50; /* Green color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}


::placeholder {
    font-family: 'Poppins', sans-serif;
    opacity: 0.8;
}

:-ms-input-placeholder {
   font-family: 'Poppins', sans-serif;
}

::-ms-input-placeholder {
   font-family: 'Poppins', sans-serif;
}
