.modal__container {
    background-color: rgba(33, 37, 41, 0.75);
    backdrop-filter: blur(5px);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    transition: 1s ease;
}

.modal__body {
    min-width: 18.75rem;
    width: 90%;
    max-width: 45rem;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 6rem auto;
    border-radius: var(--border-radius-3);
    padding: 1.5rem;
    position: relative;
}

.modal__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.modal__author--info {
    display: flex;
    flex-direction: column;
}

.modal__post--title p, .modal__posts--content p {
    text-align: justify;
}

.button__modal--close {
    background-color: var(--color-gray-5);
    color: var(--color-gray-3);
    width: 2rem;
    height: 2rem;
    border-radius: var(--border-radius-circle);
    display: flex;
    justify-content: center;
    position: absolute;
    top: 15px;
    right: 15px;
}

.button__modal--close:hover {
    background-color: var(--color-gray-4);
}

.modal__posts--content{
    overflow-y:auto;
    max-height: fit-content;

}

@keyframes modalAppear {
    0% {
        opacity: 0%;
        transform: translateY(-200%);
    }
    
    100% {
        opacity: 100%;
        transform: translate(0);
    }
}

.slideDown {
    animation: modalAppear;
    animation-duration: 0.5s;

}