/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    /* overflow: auto; */
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
}

/* The Close Button */
.closeX {
    color: #aaa;
    float: right;
    /* position: absolute; */
    clear: both;
    /* right: 50px; */
    font-size: 28px;
    font-weight: bold;
}

.closeX:hover,
.closeX:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modalContent {
    overflow: auto;
}

#closeModal {
    font-size: 28px;
}

/* ///////////////////////////////////////////////////////////// */
.modalContent {
    margin: auto;
}

.scorllable {
    overflow: auto;
    height: calc(70vh - 10px);
    /* max-height: 500px; */
}

.followBtns {
    display: flex;
    margin: 5px 0 15px 0;

    .modalContentHeading {
        margin: 0 10px;
        cursor: pointer;

        &:hover {
            color: #08009f;
        }
    }
}

.modalContentContet {
    margin: auto;
    border-radius: 15px;
}

.follower {
    margin: 5px auto;
    border-radius: 5px;
    padding: 5px;
    min-width: calc(225px + 10px);
    max-width: calc(525px + 10px);
    display: flex;
    background-color: #c8ccd6c2;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.followInfo {
    width: 280px;
    overflow: hidden;
}

.followUserName {
    text-decoration: none;
    cursor: pointer;
    color: #08009f;
    font-weight: bold;

    &:hover {
        color: #0c00e7;
    }
}

#modalContentContetfollowerWarn,
#modalContentContetfollowingWarn {
    display: block;
    text-align: center;
}

.imgName {
    align-items: center;
    display: flex;

    span {
        margin-left: 10px;
    }
}

.followBtn {
    padding: 5px 10px;
    background-color: #c1c1c1;
    border: 1px solid #888;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    width: 90px;
    margin-left: 10px;
}

/* //////////////////////////////////////////////////// */

@media screen and (max-width: 600px) {
    .modal-content {
        margin: 0px;
        width: unset;
        height: calc(100% - 40px);
    }

    .scorllable {
        height: calc(100vh - 70px);
    }
}

@media screen and (max-width: 500px) {


    .followInfo {
        width: 228px;
    }
}

@media screen and (max-width: 450px) {
    .modal-content {
        /* width: calc(100% - 20px); */
        padding: 5px;
        height: calc(100% - 10px);
    }

    .followInfo {
        width: 220px;
    }

    .closeX {
        position: absolute;
        right: 50px;
    }
}

@media screen and (max-width: 400px) {
    .followInfo {
        width: 140px;
    }
}