body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background:  url("fon.jpg")  ;
}


.whatsapp-chat {
    width: 100%;
/*    height: 100vh;*/
    display: flex;
    flex-direction: column;
    align-items: center;     
    justify-content: flex-start;
}

.chat-header {
    width: 100%;
    height: 60px;
    background-color: #075e54;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: relative;
}

.chat-header .back-arrow {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.chat-header .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    position: absolute;
    left: 50px;
}

.menu a{
    text-decoration: none;
    color: white;
    padding-right: 10px;
}

.menu a:hover{
    color: #800000;
    font-family: bold;
}

.menu{
    margin-left: 950px;
    
}

.chat-header .chat-title {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.chat-title2{
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
.chat-title {
  display: block;
  left: 500px;
}

.chat-title2 {
  display: block;
}
.chat-title-container {
  display: flex;
  flex-direction: column;
}
.chat-title2 {
  position: relative;
  top: 20px;
  right: 725px; /* adjust the value to move it below the .chat-title element */
}

.chat-title {
  margin-bottom: 10px; /* add some space between the elements */
}

.chat-header .chat-icons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.chat-header  {
    color: #fff;
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
}

.chat-icons {
  display: flex;
  justify-content: space-between;
  margin-right: 20px;
}

.chat-icon {
  flex-basis: 24px; /* default size */
  flex-grow: 1;
  margin: 5px;
}

/* Medium screen size (e.g. tablet) */
@media (max-width: 768px) {
  .chat-icon {
    flex-basis: 20px;
  }

}

/* Small screen size (e.g. mobile) */
@media (max-width: 480px) {
  .chat-icon {
    flex-basis: 16px;
    width: 20px;
  }
  .chat-body{
    font-size: 13px;
  }
}

.chat-body {
    width: 100%;
    padding: 15px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chat-message {
    width: auto;
    max-width: 70%;
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    word-wrap: break-word;
        }
.chat-message img{
    width: 90%;
    height: auto;
    padding: 10px;
    margin: 5px 5px;
    border-radius: 10px;
}

.chat-message h2 {
    padding: 10px;
    
}

.chat-message.sent {
    background-color: #b3ffb3;
    color:black;
    margin-left: auto;
    text-align: center;
}

.chat-message.received {
    background-color: #fff;
    color: #000;
    }

.chat-message .message-time {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
    display: block;
    text-align: right;
}

.chat-input {
    width: 100%;
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    position: relative;
}

.chat-input .input-field {
    width: calc(100% - 80px);
    height: 40px;
    border: none;
    border-radius: 20px;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
}

.chat-input .input-icon {
    color: #666;
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
}

.chat-input .input-icon.mic {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.chat-footer{
    background-color: #075e54;
    width: 100%;
}

.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  border-radius: 5px 5px 5px 5px ;
  cursor: pointer;

}

.dropdown {
  position: relative;
  display: inline-block;
}

@media screen and (min-width: 1200px) {
    .dropdown {
        left: 370px;
    }
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}