
/******* info popup *************/

.wrapper .modal {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 760px;
    background-color: white;
    padding: 2rem 3rem;
    border-radius: 6px;
    box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
    z-index: 10;
    opacity: 1; /* Add opacity for animation */
    transition: opacity 0.3s;
    display: flex;
    flex-direction: row;
}

.wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 5;
}


.modal .left-content{
    margin-right: 1rem;
    flex: 0 0 3rem;
}
.modal .right-content {
    align-content: flex-start;
    flex: 1;
}
.modal .left-content i{
    padding: .8rem;
    border-radius: 50%;
    background-color: rgb(237, 238, 240);
    font-size: 2.1rem;
    color: #333;
}

.modal p {
    font-size: 1.1rem;
    line-height: 1.5em;
    margin-top: 0;
    text-align: justify;
}
.modal .right-content .btn-box{
    display: flex;
    margin-top: 1.6rem;
    align-items: end;
    justify-content: flex-end;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .modal {
        width: 90%;
        padding: 3rem;
    }
}
