.messages-container{
    padding: 1rem;
    background: var(--white-color);
}

.details-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.details-box .img{
    width: 250px;
    height: 250px;
}

.details-box .img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.details-box .details{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.details-box .details h1{
    font-weight: 550;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.details-box .details p:nth-child(2){ font-size: 1.25rem; }
.details-box .details p:nth-child(3){ font-size: 1rem; }

.message-text{ 
    font-size: 1rem;
    text-align: justify; 
    padding: 1.5rem;
}


@media (max-width: 520px){
    .details-box{ 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .details-box .img{
        width: 150px;
        height: 150px;
    }
    
    .details-box .details{ align-items: center; }
    .details-box .details h1{ font-size: 1.2rem; }
    .details-box .details p:nth-child(2){ font-size: 1rem; }
    .details-box .details p:nth-child(3){ font-size: 0.8rem; }
}