* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}
:root {
  --app-background: #f5f3f7;
  --Light-Magenta: #e942ff;
  --Light-Violet: #8838ff;
  --grad-background: linear-gradient(to left, #8838ff, #e942ff);
  --p-color: hsl(270, 7%, 64%);
}
body {
  background: var(--app-background);
  overflow: hidden;
}
.container {
  width: 100%;
  height: 100vh;
}
.container .right,
.container .left {
  width: 200px;
  height: 50vh;
  background: var(--grad-background);
  border-radius: 0 0 50% 50%;
  -webkit-border-radius: 0 0 50% 50%;
  -moz-border-radius: 0 0 50% 50%;
  -ms-border-radius: 0 0 50% 50%;
  -o-border-radius: 0 0 50% 50%;
  position: absolute;
  z-index: -1;
}
@media (min-width: 576px) {
  .container .right,
  .container .left {
    width: 33%;
    height: 70vh;
  }
}
.container .left {
  left: -80px;
}
.container .right {
  border-radius: 50% 50% 0 0;
  bottom: 0;
  right: -80px;
  opacity: 0.05;
}
.container .main {
  height: 100vh;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 100px;
}
@media (min-width: 768px) {
  .container .main {
    flex-direction: row;
  }
}
.container .main .phone {
  width: 250px;
  padding: 10px;
  background: #fff;
  border-radius: 25px;
}
.container .main .phone .heading {
  padding: 25px 10px 10px;
  background: var(--grad-background);
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 12px 12px 8px 8px;
  -webkit-border-radius: 12px 12px 8px 8px;
  -moz-border-radius: 12px 12px 8px 8px;
  -ms-border-radius: 12px 12px 8px 8px;
  -o-border-radius: 12px 12px 8px 8px;
  &::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 25px;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }
  i {
    font-size: 10px;
    &:last-child {
      position: absolute;
      right: 10px;
    }
  }
  img {
    width: 25px;
    margin: 0 10px;
    border: solid #fff 2px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }
  h5 {
    font-weight: 400;
  }
  p {
    color: hsl(276, 100%, 81%);
    padding-top: 2px;
    font-size: 8px;
  }
}
.container .main .phone .chat {
  padding: 10px;
  background: var(--app-background);
  border-radius: 0 0 12px 12px;
  -webkit-border-radius: 0 0 12px 12px;
  -moz-border-radius: 0 0 12px 12px;
  -ms-border-radius: 0 0 12px 12px;
  -o-border-radius: 0 0 12px 12px;
  position: relative;
  .massage {
    max-width: 150px;
    margin: 7px 0;
    padding: 5px;
    font-size: 10px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }
  .massage.m-left {
    color: hsl(276, 55%, 52%);
    background: hsla(206, 7%, 79%, 0.344);
  }
  .on-right {
    position: absolute;
    right: 10px;
  }
  .massage.m-right {
    color: hsl(271, 15%, 43%);
    background: #fff;
  }
  .last {
    margin-top: 128px;
  }
}
.container .main .phone .chat img {
  width: 40px;
  margin: 0 2px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}
.container .main .phone .chat .m-bottom {
  margin-top: 5px;
  max-width: 170px;
  display: flex;
  background: linear-gradient(to right, #8838ff, #e942ff);
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  div {
    display: flex;
    align-items: center;
    padding: 3px 0 3px 10px;
    width: 100%;
  }
  p {
    padding: 5px;
    font-size: 8px;
    color: #ffffffae;
    width: 100%;
    position: relative;
    span {
      position: absolute;
      right: 20px;
      font-size: 10px;
      color: #fff;
      font-weight: bold;
    }
  }
}
.container .main .phone .chat .m-bottom > div > span {
  display: flex;
  width: 8px;
  height: 8px;
  border: solid 1px #fff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.container .main .phone .chat label {
  padding: 5px;
  margin-top: 20px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  i {
    width: 20px;
    height: 20px;
    align-content: center;
    text-align: center;
    color: #fff;
    background: hsl(271, 36%, 24%);
    border-radius: 50%;
  }
}
.container .main .phone .chat label > input {
  border: none;
  outline: none;
  background: transparent;
  margin-left: 10px;
  &:placeholder-shown {
    color: hsl(206, 6%, 79%);
    font-size: 7px;
  }
}
.container .main .info {
  max-width: 450px;
  h1 {
    color: hsl(271, 36%, 24%);
    font-size: 35px;
  }
  p {
    color: var(--p-color);
    margin-top: 10px;
    line-height: 1.5;
  }
}
