

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

body {
    height: 95vh;
    padding: 1rem ;
    margin: 1rem;
    display: flex;
    
    justify-content: center;
    align-items: center;
    background-color: hsl(0, 100%, 100%);
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
   

}

.main {
  display: flex;
  flex-direction: row;
  justify-content: center;     
  align-items: center;
  
}



.phone {


    width: 18.9rem;
    border: 12px solid white;
    border-radius: 30px;
    position: relative;
    background-color: hsl(270, 20%, 96%);
     box-shadow: 5px 10px  30px rgba(0, 0, 0, 0.316);
}

.header span {
    color: white;
}


.part1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.part1 img {
    height: 2rem;
    border-radius: 50%;
    border: 2px solid white;
    margin: 0px 8px;
}

.part2 img {
    color: white;
    background-color: white;
}

.name {
    display: inline-block;
}

.name h3 {
    font-size: 0.80rem;
    color: white;

}

.name h5 {
    font-size: 0.55rem;
    color: hsl(276, 100%, 81%);
}





.header {
    background: linear-gradient(25deg, hsl(264, 100%, 61%), hsl(293, 100%, 63%));
    border-radius: 20px 20px 10px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px 20px 20px;
}











.heading {
    width: 25rem;
}



.blank {

    height: 2.1rem;
    width: 57%;
    position: absolute;
    top: -10px;
    left: 23%;
    background-color: white;
    border-radius: 0px 0px 15px 15px;


}



.chat {
    display: flex;
    flex-direction: column;
    height: 85%;
    padding: 15px 10px
}

.first {
    align-self: flex-start;
    padding: 10px 13px 10px 7px;
    font-size: 0.50rem;
    background-color: hsla(267, 22%, 90%, 0.425);
    border-radius: 10px 10px 10px 5px;
    margin-bottom: 0.60rem;
    

}

#first{
    padding-right: 30px;
}

.first h3 {
    color: hsl(276, 55%, 52%);
    font-weight: 500;

}


#first_second{
    margin-top: 0.60rem;

}



.img {
    display: flex;
    flex-direction: row-reverse;
}


.img img {
    height: 2.9rem;
    margin: 0.60rem 0rem 0.60rem 0.50rem;
    border-radius: 10px;
}


.second {

    display: flex;
    align-self: flex-end;
    padding: 10px 15px 10px 10px;
    font-size: 0.50rem;
    background-color: hsl(0, 100%, 100%);
    border-radius: 10px 10px 5px 10px;
    margin-bottom: 0.60rem;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.084);

}

.second h3{
    font-weight: 500;
    color:  hsl(270, 7%, 64%);
}

.circle{
    height: 0.80rem;
    width: 0.80rem;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid hsl(289, 100%, 72%);
    margin-right: 0.50rem;
}


.new{
    display: flex;
    align-self: flex-start;
    padding: 10px 7px;
    width: 70%;
    font-size: 0.50rem;
    background: linear-gradient(25deg, hsl(264, 100%, 61%), hsl(293, 100%, 63%));
    border-radius: 10px 10px 10px 5px;
    margin-bottom: 0.60rem;
    display: flex;
    justify-content: space-between;
    
}


.new{
    align-items: center;
    display: flex;
    color:   hsl(276, 93%, 88%);
}

.option{
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.option h4{
    font-weight: 500;
    font-size: 0.60rem;
}

.price{
    font-weight: 500;
    font-size: 0.90rem;
    color: white;
}



.inpt{
    margin: 5px 0px -2px 0px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(0, 100%, 100%);
    padding: 0.40rem;
    border-radius: 25px;
}

.icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    background-color: hsl(271, 36%, 24%);
}

.msg h3{
    font-size: 0.50rem ;
    margin-left: 0.80rem;
    color: hsl(206, 6%, 79%);
    font-weight: 400;
}



.color{
    position: absolute;
    top: 0px;
    left: -80px;
    height: 93%;
    width: 32rem;
    border-radius: 0px   0px  260px  260px ;
    background: linear-gradient(25deg, hsl(264, 100%, 61%), hsl(293, 100%, 63%));
}



.color2{
    position: absolute;
    bottom: -50px;
    right: -100px;
    height: 93%;
    width: 28rem;
    border-radius: 260px  260px  0px  0px ;
    background-color:hsla(267, 22%, 90%, 0.227) ;
}





.heading{
    z-index: 1;
    width: 28rem;
    margin: 0px 0px 0px 140px ;
}

.heading h1{
    font-size: 2.4rem;
    font-weight: 500;
    color: hsl(271, 36%, 24%);
    margin-bottom: 1rem;
}

.heading p{
    font-size: 0.99rem;
    color:  hsl(270, 7%, 64%);
    line-height: 1.9rem;
    font-weight: 400;
}

/* Tablet & small desktop adjustments */
@media (max-width: 1024px) {
  .heading {
    margin-left: 80px;
  }

  .color2 {
    bottom: -100px;
    right: -80px;
  }
}




@media (max-width: 1025px){

.heading{
    margin:  0px 0px 0px 110px ;
}


}

@media (max-width: 928px){

    body{
        height: 100%;
    }

.main {  
  flex-direction: column;
  
}

  .heading {
    margin: 2rem 0 0 0;
    width: 90%;
  }

  .heading h1,
  .heading p {
    text-align: center;
  }

 

.color2{
    bottom: -300px;
    right: -100px;
}
}

@media (max-width: 510px){

    .phone{
        align-self: center;
    }
    
    .color{
        top: -100px;
    left: -300px;

    }
    
    .heading{
        width: 90%;
    }

    .heading h1{
        font-size: 2rem;
    }

    .heading p{
        font-size: 0.90rem;
        line-height: 1.5rem;
    }
} 