body{
    margin: 0;
    padding-top: 130px;
    background-color: #18191a;
    font-family: Arial, Helvetica, sans-serif;
    object-fit: cover;
    padding-bottom: 110px;
}
.messenger{
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding: 4px 8px;
    align-items: center;
    border-bottom: 1px solid grey;
}
.message-profile-info{
    display: flex;
}
.back-button{
    border: none;
    align-items: center;
    height: 50px;
    background-color: transparent;
    cursor: pointer;
}
.back-button img{
    height: 30px;
}
.message-dp{
    width: 50px;
    height: 50px;
    padding: 4px 6px;
}
.message-dp img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.message-dp-name{
    color: white;
    font-size: 16px;
}
.options{
    margin-right: 10px;
    display: flex;
}
.options button{
    padding: 8px;
    border-radius: 50%;
    border: none;
    background-color: #3a3b3c;
    cursor: pointer;
}
.options img{
    height: 24px;
}
.options div{
    padding: 4px;
    margin-left: 4px;
    cursor: pointer;
}
.option:hover{
    background-color: #3a3b3c6b;
}
.main-content{
    display: flex;
    flex-direction: column;
}
.sender-dp{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sender-profile-picture img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
.dp-name{
    margin: 0;
    color: white;
    font-size: 19px;
}
.view-button{
    margin-top: 8px;
    border-radius: 4px;
    border: none;
    padding: 8px 15px;
    background-color: #3a3b3c;
    color: white;
    font-size: 15px;
    cursor: pointer;
}
.view-button:hover{
    background-color: gray;
}
.encryption{
    color: white;
    font-size: 12px;
    margin-top: 25px;
}
.learn-more{
    font-size: 12px;
    color: #2374e1;
}
.message-content{
    display: flex;
    flex-direction: column;
}
.message-time{
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.actual-time{
    margin: 4px 6px;
    background-color: #3a3b3c;
    padding: 6px 30px;
    border-radius: 6px;
}
.actual-time p{
    color: rgb(204, 202, 202);
    margin: 0;

}
.unread{
    color: rgb(204, 202, 202);
    margin: 0;
    font-size: 12px;
}
.message-body{
    display: flex;
    flex: 1;
    flex-direction: column;
    position: relative;
    max-height: max-content;
    color: white;
    padding: 6px 8px;
}
.message-body p{
    margin: 0;
}
.first{
    display: flex;
}
.second{
    display: flex;
    align-items: center;
    justify-content: end;
}
.sender{
    background-color: #3a3b3c;
    margin-bottom: 4px;
    font-size: 15px;
    max-width: 250px;
    border-radius: 5px;
    padding: 8px 6px;
}
.receiver{
    background-color:#2374e1;
    max-width: 250px;
    border-radius: 5px;
    padding: 8px 6px;
    font-size: 15px;
    margin-bottom: 4px;
}
.sender video,img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 4px;
}
.receiver video,img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 4px;
}
.type-message{
    position: absolute;
    bottom: 54px;
    right: 0;
    left: 0;
    height: 35px;
    background-color: #18191a;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-top: 1px solid white;
}
.left-section{
    width: 60px;
    display: flex;
    justify-content: space-between;
}
.left-section img{
    height: 25px;
    margin-right: 2px;
}
.middle-section{
    display: flex;
    flex: 1;
}
.middle-section input{
    width: 100%;
    padding: 10px 12px;
    border-radius: 20px;
    color: white;
    font-size: 15px;
    border: none;
    background-color: rgb(104, 101, 101);
}
.middle-section input::placeholder{
    place-self: 😆;
    font-size: 16px;
    color: rgb(207, 205, 205);
}
.right-section img{
    height: 25px;
}

.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid black;
    display: flex;
    align-items: center;
    background-color: #3a3b3c;
    justify-content: space-between;
}
.footer p{
    margin: 0;
    color: white;
    font-size: 20px;
    text-decoration: none;
}
.footer button{
    background-color: grey;
    border: none;
    padding: 6px 13px;
    border-radius: 20px;
    cursor: pointer;
}
.footer div{
    padding: 10px 8px;
}
.footer a{
    text-decoration: none;
}
@media (min-width:1000px){
    body, .footer{
        width: 600px;
        border: 2px solid grey;
        border-radius: 2px;
        margin-left: 32%;
    }
    body{
        background-color: rgb(233, 231, 231);
    }
    .main-content{
        height: 100%;
        display: flex;
        flex: 1;
        background-color: #18191a;
    }
}