@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
body{
    margin: 0;
    width: 98vw;
    height: 95vh;
     overflow-x: hidden !important;
     font-family: 'Rubik', sans-serif;
}
* {
    box-sizing: border-box;
}
body::before{
    content: '';
    z-index: -1;
    position: absolute;
    left: -100px;
    border-bottom-left-radius: 45%;
    border-bottom-right-radius: 45%;
    height: 85%;
    width:450px;
    background: rgb(136,56,255);
    background: linear-gradient(38deg, rgba(136,56,255,1) 44%, rgba(233,66,255,1) 88%);
}
body::after{
    z-index: -1;
    content: '';
    position: absolute;
    bottom: 0;
    left:70vw;
    border-top-left-radius: 45%;
    border-top-right-radius: 45%;
    height: 85%;
    width:450px;
    background: #f8f8f8;
}
.content{
    height: 100%;
    width: 90vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
@media (min-width: 947px){
    .phone {
        left: 70px;
    }
    .main-text {
        top:90px;
    }
    .attribution { 
    position: relative;
    bottom: 4rem;
     font-size: 13px; text-align: center;
     }
}
.phone{
    margin: 1.5rem;
    position: relative;
    z-index: 1;
    background: hsl(270, 20%, 96%);
    width: 300px;
    height: 590px;
    border: 13px white solid;
    box-sizing: border-box;
    box-shadow: 10px 10px 30px #b4b3b3;
    border-radius: 30px;
}
/*notch*/
.phone::before {
    content: '';
    position: absolute;
    background: white;
    width:  140px ;
    height: 25px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
     margin-top: -2px;
    left: 70px;
}
.header {
    font-size: 16px;
    color: white;
    position: relative;
    z-index: -2;
    width: 100%;
    height: 80px;
     background: rgb(136,56,255);
    background: linear-gradient(38deg, rgba(136,56,255,1) 44%, rgba(233,66,255,1) 88%);
    border-top-right-radius: 17px;
    border-top-left-radius: 17px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    box-shadow: 0px 5px 4px #b4b3b3;
    display: flex;
    align-items: center;
    line-height: 2%;
}
#arrow {
    position: relative;
    top: 3.8rem;
    left: 1rem;
    width: 7px;
    height: 7px;
    border-right: 2px solid white ;
    border-bottom: 2px solid white ;
    border-left: 2px solid transparent;
    border-top: 2px solid transparent;
    transform: rotate(135deg);
}
.person-img {
    position: relative;
    top:2.6rem;
    left: 2rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px white solid;
}
.person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.person-id{
    position: relative;
    left: 4.5rem;
}
.person-id h4 {
    font-size: 80%;
}
.person-id p {
    font-size: 60%;
     color: hsl(276, 100%, 81%);
}
#setting-icon {
    position: relative;
    bottom: 1.9rem;
   left: 245px;
}
#setting-icon div {
  width: 4px;
  height: 4px;
  background-color: white;
  border-radius: 50%;
  margin: 4px 0;

}
.main-text {
    position: relative;
    max-width: 380px;
    height: 400px;
    margin: 1rem;
    margin-left: 8rem;
}
.main-text p {
    color: gray;
}
@media (max-width:946px) {
    body{
        overflow-x: hidden;
    }
    body::before{
        left:-50px;
        width: 320px;
        height: 60%;
    }
    .content{
        height: auto;
    }
    .phone{
        top:50px;
        left:10%;
    }
    .main-text {
        top:50px;
        right: 25px;
        text-align: center;
    }
    body::after{
    height: 65%;
    border-bottom-left-radius: 5%;
        width:250px;
    left:72vw;
    }
}
@media (max-width:350px){
    .phone{
        top:50px;
        left:6%;
    }
    .main-text {
        width: 100%;
        top:50px;
        right: 30px;
        text-align: center;
    }
}
ul {
    list-style-type:none;
}
.chat-texts{
    display: block;
    position: absolute;
    top:87px;
    line-height: normal;
    font-size: 70%;
}

.chat-left {
    position: relative;
    right: 35px;
    width: 80%;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(276, 100%, 91%);
    color: hsl(276, 55%, 52%);
    border-bottom-left-radius:1px;
    margin: 5px;
    box-shadow: 1px 2px 5px #c5c5c5;
}
.chat-left p , .chat-right p {
    width: 90%;
    position: relative;
}
.chat-right-image{
     position: relative;
    left: 35px;
    width:90%;
    max-height: 50px;
    background:transparent;
}
@media (max-width:360px){
    .phone::before{
        left: 35px;
    }
   .phone{
       width: 95vw;
       height: 640px;
   }
   
}
.chat-images li {
    display: inline;
    float: left;
    width: 50px;
    height: 50px;
    margin: 3px;
    border-radius: 10%;
}
.chat-images li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10%;
}
.chat-right{
    position: relative;
    top:5px;
    left: 43px;
    width:75%;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-bottom-right-radius:1px;
    margin: 7px;
    color: hsl(271, 15%, 43%);
     box-shadow: 2px 1px 5px #c5c5c5;
}
.small {
     position: relative;
    left: 90px;
    width:55%;
    height: 35px;
}
.big{
    top:5px;
    height: 60px;
}
.pricing{
    top:5px;
    height: 40px;
     width: 90%;
     color: hsl(289, 100%, 72%);
      background: rgb(136,56,255);
    background: linear-gradient(49deg, rgba(233,66,255,1) 22%, rgba(136,56,255,1) 62%);
}
.price li {
    display: inline;
    float: left;
    margin: 3px;
}
label{
    position: relative;
    top:15px;
    -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}
label input {
    opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.check {
    position: absolute;
  left:-25px;
  height: 18px;
  width: 18px;
   background-color: transparent;
  border-radius: 50%;
   border: 3px solid hsl(289, 95%, 77%);
}
label:hover  input ~ .check {
  background-color: #fff;
}
label input:checked ~ .check{
  background-color: #f8f8f8;
}
.price li h2{
    color: white;
}
label .hour{
    margin-right: 5px;
}
.type-a-text {
    position: absolute;
    bottom: 7px;
    width: 95%;
    left: 7px;
    height: 40px;
    border-radius: 30px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.type-a-text input{
    position: relative;
    right: 20px;
    border: none;
    border-radius: 10px;
    height: 30px;
}
.send-button {
    position: absolute;
    right: 5px;
    bottom: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: hsl(271, 36%, 24%);
    border-radius: 50%;
}
.arrow {
    position: relative;
    right: 2px;
    width: 10px;
    height: 10px;
    border-right: 3px solid white ;
    border-bottom: 3px solid white ;
    border-left: 3px solid transparent;
    border-top: 3px solid transparent;
    transform: rotate(-45deg);
}
.phone{
    overflow: hidden;
}
.chat-texts{
    transform: translateY(500px);
    animation: appear 8s linear forwards;
}
@keyframes appear {
    0%{
        transform: translateY(500px);
    }
    100% {
        transform: translateY(0);
    }
}
.chat-text {
   transform: scale(0);
}
.chat-text:nth-child(1){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 1.2s;
}
.chat-text:nth-child(2){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 2.4s;
}
.chat-text:nth-child(3){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 3.2s;
}
.chat-text:nth-child(4){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 4s;
}
.chat-text:nth-child(5){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 4.8s;
}
.chat-text:nth-child(6){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 5.6s;
}
.chat-text:nth-child(7){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 6.4s;
}
.chat-text:nth-child(8){
    animation: pop 1s ease-in-out forwards;
    animation-delay: 7.2s;
}
@keyframes pop {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
 .attribution { 
    position: relative;
    bottom: .5rem;
     font-size: 13px; text-align: center;
     }
    .attribution a { 
        text-decoration: none;
        color:  rgb(136,56,255); }