* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url("ath.jpg");
  background-size: cover;
}

.chat-container {
  width: 100%;
  max-width: 550px;
  background-image: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100vh;
  border: 3px solid #000000;
}

header {
  padding: 25px;
  background-color: #373737;
  color: white;
  display: flex;  
  justify-content: space-between;  
  align-items: center;
  padding: 10px;
}
header img {
    border-radius: 50px;
    width: 65px;
    border: 2px solid #000000;
}
header h1 {
  font-size: 20px;
  display: flex;
}
.theme-toggle {
  border: none;
  background-color: transparent;
  color: white;
  cursor: pointer;
}

.chat-list {
  flex-grow: 19;
  padding: 10px;
  overflow-y: auto;
  background-image: url('back.jpg');
  background-size: cover;
  background-position: center;
}

.message {
  margin: 10px 0;
  display: flex;
  align-items: flex-start;
  max-width: 80%;
  padding: 20px;
}

.message.outgoing {
  align-self: flex-end;
  background-color: #ffffff86;
  color: #000000;
  border-radius: 10px 0 10px 10px;
  padding: 10px;
  margin-left: 100px;
}

.message.incoming {
  align-self: flex-start;
  background-color: #00000083;
  color: #ffffff;
  border-radius: 0 10px 10px 10px;
  padding: 5px;
  margin-right: 30px;
}

.typing-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background-color: #646464;
}

.typing-input {
  flex-grow: 1;
  border: 1px solid #000000;
  border-radius: 20px;
  padding: 5px;
  font-size: 14px;
  outline: none;
  margin-right: 10px;
  
}

.button-group {
  display: flex;
  gap: 3px;
}

button {
  padding: 4px 5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 3px;
}

.send-button {
  background-color: #2e2e2e87;
  color: white;
  border-radius: 20px;
  font-size: 50px;
  border: 2px solid #000000;
}
.send-button {
    color: #ffffff;
    font-size: 15px;
    border-radius: 50px;
}

.delete-button h2 {
  background-color: #7f7f7f;
  color: white;
  border-radius: 50px;
  font-size: 30px;
  margin-right: 0px;
  border: 2px solid #000000;
}

footer {
  padding: 10px;
  background-color: #373737;
  color: white;
  text-align: center;
}

        /* Style the menu button */
#menu-btn {
  position: absolute;
  top: 50;
  left: 0;
  background-color: transparent;
  color: #fff;
  border: 1px solid #7f98ff;
  padding: 4px 4px;
  font-size: 10px;
  cursor: pointer;
}

/* Style the menu container */
#menu-container {
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #ffffff6a;
  padding: 10px;
  display: none; /* Hide the menu by default */
}

/* Style the menu items */
#menu-container ul {
  list-style: none;
  margin: ;
  padding: 0;
}

#menu-container li {
  margin-bottom: 10px;
}

#menu-container a {
  color: #000000;
  text-decoration: none;
}
h3 {
    text-align: center;
}
header h3 {
    text-align: center;
}

.avatar {
    border-radius: 1000px;
    font-size: -100px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    align-self: flex-start;
    margin: 1px;
}
      



