.popup
{
    position: fixed;
    top: 70%;
    left: 50%;
    width: 750px;
    height: 250px;
    transform: translate(-50%, -50%);
    background-color: transparent;
    background-image: url("../../assets/widgets/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;
    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: 150px;
    right: 50px;
    font-size: 22px;
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    background: #635f55;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-button:hover
{
    background: #c02b73;
}


#backButton {
    position: absolute;
    top: 85px;
    left: 20px;
    padding: 15px 30px;
    font-size: 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    z-index: 20000;
}

#backButton:hover {
    background-color: #2980b9;
}

#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(233, 3, 3, 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: #ffffff;
    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: #cd5932;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

#winPopup .close-button:hover
{
    background: #ea5828;
}