@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;

}
.popup-container{
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.btn{
    padding: 5px 60px;
    background: #000;
    color: #fff;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    border-radius: 30px;
}
.popup{
    width: 800px;
    height: 550px;
    background: #000;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 10px 30px 30px;
    color: #fff;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}
.open-popup{
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}
.popup h2{
    font-size: 30px;
    font-weight: 500;
    margin: 20px 0 10px;
}
.popup ul{
    font-size: 16px;
}
.popup ul li{
    list-style-type: none;
    text-decoration: none;
    padding-bottom: 1rem;
}
.popup button{
    width: 30%;
    margin-top: 10px;
    padding: 10px 0;
    background: #fff;
    color: #000;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
@media all and (max-width: 600px){
    .popup{
        width: 350px;
        height: 600px;
        margin-top: 4rem;
        position: absolute;
        overflow: visible;
    }
    .popup h1{
        font-size: 14px;
    }
    .popup ul{
        font-size: 15px;
    }
    .btn{
        position: absolute;
        display: flex;
    }
}