.popup
{
    position: fixed;
    top: 70%;
    left: 50%;
    width: 750px;
    height: 250px;
    transform: translate(-50%, -50%);
    background-color: transparent;
    background-image: url("../../assets/ui/scroll_background.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 15px;
    padding: 20px;
    z-index: 2300000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding-bottom: 60px;
}

.popup-title
{
    text-align: center;
    font-size: 3em;
    color: white;
    margin-bottom: 10px;
}

.popup-content
{
    text-align: center;
    font-size: 33px;
    color: white;
    margin-bottom: 20px;
}

.difficulty-button
{
    margin: 10px;
    padding: 15px 30px;
    font-size: 33px;
    border: none;
    border-radius: 5px;
    background: #e74c3c;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.difficulty-button:hover
{
    background: #c0392b;
}

.close-button
{
    position: absolute;
    bottom: 20px;
    right: 300px;
    font-size: 33px;
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    background: #635f55;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-button:hover
{
    background: #c02b73;
}

#winPopup {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    z-index: 300000;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding-bottom: 60px;
}


#winPopup .popup-title
{
    text-align: center;
    font-size: 3em;
    color: #32cd32;
    margin-bottom: 10px;
}

#winPopup .popup-content
{
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

#winPopup .close-button
{
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 150px;
    font-size: 33px;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    background: #32cd32;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

#winPopup .close-button:hover
{
    background: #28a745;
}
