.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content p a {
    color: #FBE70B !important;
}

.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, #fd000b, #ff000b);
    transition: box-shadow 0.3s ease;
    padding: 20px;
    border: none;
    width: 80%;
    height: 200px;
    max-width: 750px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 5px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
}

.close-btn:hover,
.close-btn:focus {
    font-family: 'AvenirNextMedium', sans-serif;
    border: 2px solid #f9f9f9;
    text-decoration: none;
    cursor: pointer;
}

.popup-content p {
    font-family: Verdana, sans-serif;
    font-size: 1.6rem;
    margin: 5px 0;
}

.ttf-message {
    color: #ffffff;
    font-size: 1rem !important;
    margin: 10px 0;
}

@media (max-width: 1024px) {
    .popup-content {
        width: 600px;
        height: 140px;
    }

    .popup-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .popup-content {
        height: 150px;
        width: 320px;
    }

    .popup-content p {
        font-size: 0.8rem;
    }

    .ttf-message {
        color: #ffffff;
        font-size: .8rem !important;
        margin: 10px 0;
    }
}