﻿/* Popup Modal Container */
.popup-modal {
    position: fixed;
    /*top: -100px;*/ /* Initially hidden above the screen */
    /*left: 50%;
    transform: translateX(-50%);*/
    top: -1000px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0; /* Initially invisible */
    transition: top 0.7s ease-out, opacity 0.7s ease-out; /* Smooth transition */
}

    .popup-modal.show {
        top: 20px; /* Slide down to this position */
        opacity: 1; /* Make visible */
    }

    .popup-modal h2 {
        margin: 0;
        font-size: 20px;
        font-weight: bold;
    }

    .popup-modal p {
        margin: 10px 0;
        font-size: 16px;
        line-height: 1.5;
    }

/* Close Button */
.close-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    padding: 5px 12px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: background-color 0.3s ease;
}

    .close-btn:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

/* Page Content for demonstration */
.content {
    padding: 100px 20px;
    font-size: 18px;
}
