.open-sans {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    background-color: #f4f4f9;
    color: #333;
    text-align: center;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

h1, h2 {
    margin: 10px 0;
}

button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

hr {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
    width: 80%;
}

#emoji {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#emoji:hover {
    transform: scale(1.2);
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ffcc00;
    border-radius: 50%;
    animation: confetti-rise var(--duration, 2.5s) ease-out forwards;
}

@keyframes confetti-rise {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(calc(-150px - var(--y-offset, 0) * 1px)) translateX(calc(var(--x-offset, 0) * 1px)) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(calc(300px + var(--y-offset, 0) * 1px)) translateX(calc(var(--x-offset, 0) * 2px)) scale(0.8);
    }
}