@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;
  background-color: hsl(270, 20%, 96%);
}

.bg {
  width: 100%;
  max-width: 500px;
  height: 100vh;
  position: fixed;
  z-index: -1000;
}
.bg__dark {
  background: linear-gradient(to right, hsl(264, 100%, 61%), hsl(293, 100%, 63%));
  top: 0;
  left: 0;
  border-bottom-right-radius: 50% 30%;
  border-bottom-left-radius: 50% 30%;
  transform: translateX(-60%) translateY(-50%);
}
@media (min-width: 768px) {
  .bg__dark {
    transform: translateX(-16%) translateY(-13%);
  }
}
.bg__light {
  background-color: hsl(276, 23%, 91%);
  bottom: 0;
  right: 0;
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
  transform: translateX(60%) translateY(50%);
}
@media (min-width: 768px) {
  .bg__light {
    transform: translateX(35%) translateY(15%);
  }
}

.container {
  display: flex;
  height: 100vh;
  align-items: center;
  flex-direction: column;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .container {
    margin: 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin: 0 auto;
  }
}

.phone {
  border: 0.7rem solid hsl(0, 0%, 100%);
  border-radius: 2rem;
  width: 15.5rem;
  height: 31.5rem;
  background-color: hsl(270, 20%, 96%);
  box-shadow: 0.2rem 1rem 0.5rem rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .phone {
    position: absolute;
    margin-right: 29rem;
  }
}
.phone__head {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to right, hsl(264, 100%, 61%), hsl(293, 100%, 63%));
  border-radius: 1rem 1rem 0 0;
  margin-top: -1px;
  padding-bottom: 0.7rem;
  align-items: center;
}
.phone__head__camera {
  padding: 0.6rem 0;
  background-color: hsl(0, 0%, 100%);
  width: 8rem;
  border-radius: 0 0 1rem 1rem;
}
.phone__head__profile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding: 0 1rem 0 0.7rem;
  width: 100%;
}
.phone__head__profile__left {
  display: flex;
  color: hsl(0, 0%, 100%);
  align-items: center;
  gap: 0.2rem;
}
.phone__head__profile__left svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: hsl(0, 0%, 100%);
}
.phone__head__profile__left img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid hsl(0, 0%, 100%);
}
.phone__head__profile__left div {
  padding-left: 0.2rem;
}
.phone__head__profile__left div h5 {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 500;
}
.phone__head__profile__left div p {
  font-size: 8px;
  opacity: 0.5;
}
.phone__head__profile__right {
  line-height: 0.2;
  margin-left: 3em;
  color: hsl(0, 0%, 100%);
}
.phone__head__profile__right::after, .phone__head__profile__right::before {
  content: ".";
  display: block;
}
.phone__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 8px;
  padding: 0.7rem 0.5rem 0.5rem 0.4rem;
}
.phone__body__chat {
  background-color: hsl(276, 23%, 91%);
  padding: 0.4rem 0.6rem 0.5rem 0.5rem;
  color: hsl(276, 55%, 52%);
  border-radius: 0.5rem;
  width: 129px;
  line-height: 1.2;
}
.phone__body__chat__right {
  display: flex;
  flex-direction: column;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}
.phone__body__chat__right__image {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.phone__body__chat__right__image img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(0, 0%, 100%);
}
.phone__body__chat__right__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.5rem;
  color: hsl(271, 15%, 43%);
}
.phone__body__chat__right__text div {
  display: flex;
  justify-content: flex-end;
  background-color: hsl(0, 0%, 100%);
  padding: 0.5rem 0.4rem 0.5rem 0.5rem;
  max-width: 125px;
  border-radius: 0.5rem;
  line-height: 1.2;
}
.phone__body__price {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.phone__body__price__order {
  background: linear-gradient(to right, hsl(293, 100%, 63%), hsl(264, 100%, 61%));
  color: hsl(0, 0%, 100%);
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 0.5rem;
  width: 160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone__body__price__order p {
  font-size: 12px;
  font-weight: 800;
}
.phone__body__price__order--border {
  border: 1px solid hsl(0, 0%, 100%);
  padding: 0.3rem;
  border-radius: 50%;
}
.phone__body__price__order div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.phone__body__input {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background-color: hsl(0, 0%, 100%);
  justify-content: space-between;
  border-radius: 0.8rem;
  margin-top: 0.5rem;
  padding: 0.3rem 0.2rem 0.3rem 1rem;
}
.phone__body__input input {
  border: none;
  border-radius: 0.5rem;
  font-size: 10px;
  color: hsl(206, 6%, 79%);
  opacity: 0.5;
}
.phone__body__input button {
  background-color: hsl(271, 36%, 24%);
  color: hsl(0, 0%, 100%);
  border: none;
  border-radius: 50%;
  font-size: 8px;
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
}
.phone__body__input button svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: hsl(0, 0%, 100%);
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  margin-top: 4rem;
  gap: 1rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .content {
    margin: 0;
    align-items: start;
    max-width: 450px;
    margin-top: 6rem;
    gap: 1rem;
    margin-left: 28rem;
  }
}
.content h1 {
  font-weight: 500;
  font-size: 40px;
  color: hsl(271, 36%, 24%);
}
@media (min-width: 768px) {
  .content h1 {
    padding: 0;
    margin: 0;
  }
}
.content p {
  font-size: 16px;
  color: hsl(270, 7%, 64%);
  padding: 0 2rem;
  margin-top: 0.5rem;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .content p {
    padding: 0;
    text-align: left;
  }
}

/*# sourceMappingURL=style.css.map */
