.backdrop-dark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-wrapper {
    position: relative;
    padding: 40px 0;
}
.profile-modal {
    background-color: white;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 90vh;
    position: relative;
    overflow: hidden;
}
.profile-img {
    width: 100%;
}
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.profile-detail {
    padding: 20px;
    overflow-y: auto;
}
.part {
    margin: 15px 0;
}
.profile-q {
    margin: 0;
    font-size: 15px;
    color: #133957;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
}
.profile-a {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-family: 'Kaisei Opti', 'Times New Roman', Times, serif;
}
.profile-list {
    padding-left: 1.2rem;
    color: #B32225;
}
.profile-detail::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
/* Track */
.profile-detail::-webkit-scrollbar-track {
    background: #D8DEE3;
    border-radius: 15pt;
}
/* Handle */
.profile-detail::-webkit-scrollbar-thumb {
    background: #B32225;
    border-radius: 15pt;
}
/* Handle on hover */
.profile-detail::-webkit-scrollbar-thumb:hover {
    background: #555;
    border-radius: 15pt;
}
.close-modal {
    width: 20px;
    position: absolute;
    right: 30px;
    top: 50px;
    z-index: 1000;
    cursor: pointer;
}
@media screen and (min-width: 768px) {
    /* .profile-modal {
        display: grid;
        grid-template-columns: 0.8fr 1fr;
        height: 400px;
        align-items: flex-start;
    } */
    .profile-modal {
        display: flex;
        flex-direction: row;
        height: 400px;
    }
    .profile-img {
        width: 50%; /* add on*/
        height: 100%;
    }
    .profile-detail {
        /* height: 70vh; */
        width: 50%;
        height: 100%;
    }
    .close-modal {
        top: 0;
        right: 20px;
    }
}
@media screen and (min-width: 1024px) {
    .profile-modal {
        width: 100%;
        height: 550px;
    }
}
@media screen and (min-width: 1200px) {
    .close-modal {
        right: 95px;
    }
}
@media screen and (min-width: 1400px) {
    .close-modal {
        right: 140px;
    }
    .profile-modal {
        max-width: 1000px;
    }
}
