

.popup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.popup-content {
    position: relative;
    background-color: #eeeeee;
    padding: 3rem;
    border-radius: 2rem;
    border: 2px solid #cdcccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 700px;
    max-width: 90%;
    box-sizing: border-box; 
    display: flex; /* Use flexbox for the content alignment */
    flex-direction: column; /* Align content in a column */
    justify-content: space-between; /* Add space between elements */
    align-items: center; /* Align elements in the center */
}

.popup-content .close-x-btn {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: 2rem;
    color: #6f6967;
    cursor: pointer;
    padding: 0rem 0.5rem;
    border: 2px solid #cdcccc;
    border-radius: 50%;
    background-color: transparent;
}

.popup-content .popup-title {
    font-size: 4rem;
    font-weight: bold;
    color: #363636;
    margin-bottom: 2rem;
}

.popup-content img {
    max-width: 100%; /* Set maximum width to 100% */
    height: auto; /* Allow height to adjust automatically */
}

.popup-content .content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 20px;
    padding: 0 1rem;
}

.popup-content .content p {
    font-size: 2rem;
    font-weight: 500;
    color: #363636;
    text-align: left;
    line-height: 2.2rem;
    padding-top: 1rem;
}

.popup-content .content .red-underlined {
    color: #ef4014;
    text-decoration: underline;
}

.popup-content button {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background-color: #f75d1c;
    color: white;
    font-size: 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    align-self: flex-end; /* Align the button to the right */
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .popup-content {
        padding: 2rem;
    }

    .popup-content .close-x-btn {
        position: absolute;
        top: -0.5rem;
        right: 0.5rem;
        font-size: 2rem;
        color: #363636;
        cursor: pointer;
        padding: 0 0.5rem;
    }

    .popup-content .popup-title {
        font-size: 2.3rem;
    }

    .popup-content .content {
        gap: 1rem;
        margin-top: 20px;
    }

    .content img {
        max-width: 100%; /* Set maximum width to 100% */
        height: auto; /* Allow height to adjust automatically */
        max-height: 45px;
    }



    .popup-content .content p {
        font-size: 1.5rem;
        line-height: normal;
    }

    .popup-content button {
        margin-top: 1rem;
        padding: .75rem 1.5rem;
        background-color: #f75d1c;
        color: white;
        font-size: 1.5rem;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        /* align-self: flex-end; Align the button to the right */
        align-self: center;
    }
}
