/*----- POPUP START -----*/
.poptxt{
    margin-top: 2.8rem;
}
.poptxt button{
    font-size: 2rem;
    color: var(--white);
    background-color: var(--primary);
    padding: 1rem 3rem;
    transition: all 300ms ease;
    border-radius: 2rem;
}
.poptxt button:hover{
    background-color: var(--light-color);
    opacity: 0.9;
    cursor: pointer;
}
/* modal */
.modal{
    /* width: 100%;
    height: 100%; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    display: grid;
    place-items: center;
    /* background: rgba(0, 0, 0, 0.3); */
    background-color: var(--primary);
    opacity: 0.6;
    display: none;
    animation: openModal 500ms linear forwards;
    z-index: 2000;
}
.modal .card{
    background: white;
    width: 85vw;
    max-width: 60rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    position: relative;
    border-radius: 2rem;
}
.modal .card #close{
    color: var(--black);
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2.8rem;
    cursor: pointer;
}
.modal .card h2{
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.modal .card p{
    font-size: 1rem;
    margin-bottom: 1rem;
}

.modal .card .info ul{
    padding: 0 2rem;
    list-style: none;
    /* list-style-type: square; */
    /* list-style: url('../auimg/arrow.svg'); */
}

.modal .card .info  ul li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: var(--primary);
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1em; /* Also needed for space (tweak if needed) */
    margin-left: -1em; /* Also needed for space (tweak if needed) */
  }

.modal .card .info ul li{
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* openModal animation */
@keyframes openModal{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

/* closeModal animation */
@keyframes closeModal{
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}

/* Create a class for set closeModal */
.close-modal-animation{
    animation: closeModal 500ms linear forwards;
}

@media screen and (max-width: 800px){
    .modal .card{
        flex-direction: column;
        width: 85vw;
        /* text-align: center; */
    }    
}
/*----- POPUP END -----*/















