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

body {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(bg-chat.png);
  background-color: #0b8141;
  padding-bottom: 60px;
}
.bg {
  background-color: #0b141a;
  background-image: url(bg-chat.png);
  background-attachment: fixed;
  height: 100%;
  z-index: 1;
  position: absolute;
  top: 0;
}

.header {
  z-index: 2;
  max-width: 478px;
  min-width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 80px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f2c33;
  color: white;
  position: fixed;
  align-self: center;
  top: 0;
}
.profil {
  width: 60px;
  height: 60px;
  border-radius: 99px;
}
.title {
  height: 30px;
  margin-left: 10px;
}
.search {
  height: 30px;
  width: 30px;
  fill: white;
}
.setting {
  height: 30px;
  width: 30px;
  fill: white;
}
.container1 {
  display: flex;
  align-items: center;
}
.nama {
  font-size: 18px;
  font-weight: bold;
}
.status {
  font-size: 14px;
  color: lightgreen;
  font-style: oblique;
}
.chat1 {
  align-self: flex-end;
  border: 3px solid snow;
  background-color: slategray;
  text-align: center;
  color: white;
  padding: 20px 20px;
  margin: 20px 20px 20px;
  margin-left: 25px;
  border-radius: 100px 0 100px 100px;
}
.chat2 {
  align-self: flex-start;
  border: 3px solid snow;
  background-color: lightgrey;
  text-align: center;
  color: slategray;
  padding: 20px 20px;
  margin: 20px 20px 20px;
  margin-right: 25px;
  border-radius: 0 100px 100px 100px;
}

.chat {
  max-width: 478px;
  min-width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}
.footer {
  max-width: 478px;
  min-width: 100%;
  height: 60px;
  display: flex;
  padding: 10px;
  background-color: #1f2c33;
  align-items: center;
  position: fixed;
  bottom: 0;
  z-index: 3;
}
.input {
  width: 90%;
}
.input input {
  height: 40px;
  border-radius: 40px;
  background-color: #2a3942;
  width: 100%;
  color: white;
}
.send {
  width: 10%;
  cursor: pointer;
}
.send svg {
  width: 100%;
  height: 30px;
  fill: white;
  transition: 100ms;
}
.send svg:active {
  scale: 0.75;
}
