
.upload__post--backdrop {
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 150;
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}


.add_post-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
    border-bottom: 2px solid #eee;
}

.add_post-svg {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #eee;
    padding: 10px;
    margin-left: 20px;
    cursor: pointer;
}

 .add_post-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 2rem;
    margin-top: 10px;
    padding: 20px;
}

.post_content-main,
.post_item-main {
    background-color: white;
    width: 120px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
}

.post_content,
.post_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    text-decoration: none;
}

.post_content > div:last-child,
.post_item > div:last-child {
    font-weight: bold;
    color: black;
}

.post_content,
.post_item {
    cursor: pointer;
}


@media (min-width: 920px) {
    .add_post-modal {
        position: fixed;
        top: 30%;
        left: 50%;
        transform: translate(-50%);
        background-color: white;
        z-index: 200;
        width: 45%;
        height: 45vh;
        border-radius: 10px;
        box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2);
    }

    .add_post-header > p {
        font-size: 24px;
        font-weight: bold;
        margin: 0;
    }

    .add_post-header {
        padding: 5px 0px;
    }
}


@media(max-width: 919px) {
    .add_post-modal {
        position: fixed;
        top: 50%;
        right: 0px;
        left: 0px;
        bottom: 0px;
        background-color: white;
        z-index: 200;
        border-radius: 32px 32px 0px 0px;
    }

    .add_post-header > p {
        font-size: 16px;
        font-weight: bold;
    }

    .post_content > div:last-child,
    .post_item > div:last-child {
        font-size: 12px;
    }
}

