.cont-message
{
    margin-top: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.textheader
{
    font-size: 1.5em;
    margin-bottom: 1em;
    background-color: black;
    color: white;
    padding: 1em;
    border: none;
    border-radius: 4px;
}

.comment-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 70%;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comment {
    display: flex;
    margin-bottom: 15px;
}

.comment .profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: gray;
    margin-right: 10px;
}

.comment-content {
    flex: 1;
}

.comment-content .name {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-content .text {
    background: #f0f2f5;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    max-width: 90%;
}

.comment-content .time {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.replies {
    margin-left: 50px;
    margin-top: 10px;
}

.reply-btn {
    font-size: 12px;
    color: #065fd4;
    cursor: pointer;
    margin-left: 10px;
}

.reply-btn:hover {
    text-decoration: underline;
}



@media screen and (max-width: 360px){


.cont-message
{
    margin-top: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.textheader
{
    font-size: 1em;
    margin-bottom: 1em;
    background-color: black;
    color: white;
    padding: 1em;
    border: none;
    border-radius: 4px;
    text-align: center;
}

.comment-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}

.comment {
    display: flex;
    margin-bottom: 15px;
    font-size: 0.7em;
}

.comment .profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: gray;
    margin-right: 10px;
}

.comment-content {
    flex: 1;
}

.comment-content .name {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-content .text {
    background: #f0f2f5;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    max-width: 90%;
}

.comment-content .time {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.replies {
    margin-left: 50px;
    margin-top: 10px;
}

.reply-btn {
    font-size: 12px;
    color: #065fd4;
    cursor: pointer;
    margin-left: 10px;
}

.reply-btn:hover {
    text-decoration: underline;
}



}


@media screen and (max-width: 512px){

.cont-message
{
    margin-top: 2em;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.textheader
{
    font-size: 0.8em;
    margin-bottom: 1em;
    background-color: black;
    color: white;
    padding: 1em;
    border: none;
    border-radius: 4px;
}

.comment-box {
    background: white;
    border-radius: 10px;
    padding: 10px;
    width: 70%;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comment {
    display: flex;
    margin-bottom: 10px;
}

.comment .profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: gray;
    margin-right: 10px;
}

.comment-content {
    flex: 1;
}

.comment-content .name {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-content .text {
    background: #f0f2f5;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
    max-width: 90%;
}

.comment-content .time {
    font-size: 0.6em;
    color: #666;
    margin-top: 4px;
}

.replies {
    margin-left: 50px;
    margin-top: 10px;
}

.reply-btn {
    font-size: 12px;
    color: #065fd4;
    cursor: pointer;
    margin-left: 10px;
}

.reply-btn:hover {
    text-decoration: underline;
}



}