body{
    margin: 0;
    font-family: Rubik;
}
.main-container{
    z-index: 1000;
    display: flex;
    margin-top: 10%;
    margin-bottom: 10%;
    align-items: center; 
    justify-content: center;
    position: relative;
    margin-left: 20%;  
}
.white-space{
    height: 40px;
    width: 200px;
    background-color: white;
    display: block;
    border-radius: 0 0 24px 24px;
    margin: -20px auto 10px;
}
.phone{
    width: 390px;
    color: hsl(0, 0%, 100%);
    border: 20px solid white;
    border-radius: 50px;
    box-shadow: 8px 8px 18px 3px rgba(0, 0, 0, 0.15);
    background-color: hsl(270, 20%, 96%);
    margin-right: 15%;
}
.avatar{
    width: 40px;
    border-radius: 50px;
    margin-right: 20px;
    position: relative;
    top: 4px;
    border: 2px solid hsl(270, 20%, 96%);
}
.name{
    display: inline-block;
    margin: 10px 0 0 0;
}
.name >h3{
    margin: 0;
    font-weight: 500;
}
.name >p{
    margin: 5px 0;
    font-weight: 400;
    font-size: .75rem;
}
.back-arrow{
    display: inline-block;
    padding: 10px;
    position: relative;
    bottom: 10px;
}
.dots{
    display: inline-block;
    position: relative;
    left: 80px;
    bottom: 5px;
}
.phone-top{
    display:block;
    background-image: linear-gradient(to right,hsl(264, 100%, 61%),hsl(293, 100%, 63%));
    padding: 10px;
    border-radius: 30px 30px 15px 15px;
    width: 370px;
    margin: 0 auto;
    color: hsl(270, 20%, 96%);
}
.sender{
    color: hsl(276, 55%, 52%);
    background-color: rgba(238,230,245,255)    ;
    display: inline-block;
    border-radius: 15px 15px 15px 5px;
    padding: 10px;
    width: 60%;
    margin: 10px;
    font-size: .9rem;
    line-height: 1.3rem;
    box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.07);
}
.dog{
    width: 70px;
    margin: 10px 10px 10px 0;
    border-radius: 12px;
    float: right;
}
.receiver{
    float: right;
    border-radius: 15px 15px 5px 15px;
    padding: 10px;
    width: 60%;
    margin: 5px 10px;
    font-size: .9rem;
    line-height: 1.3rem;
    box-shadow: 1px 1px 6px 2px rgba(0, 0, 0, 0.07);
    background-color: white;
    color:black;
}
.prices{
    color: hsl(270, 20%, 96%);
    background-image: linear-gradient(to right,hsl(293, 100%, 63%),hsl(264, 100%, 61%));
}
.num{
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    left:20px;
}
.radio{
    height: 15px;
    width: 15px;
    background-color: transparent;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: 3px;
    border-radius: 100%;
    border: 1.5px solid white;
}
.chat{
    background-color: white ;
    border-radius: 20px;
    color: hsl(270, 20%, 80%);
    padding: 5px;
    width: 84%;
    margin: 15px auto;
    font-size: 0.9rem;
}
.message{
    display: inline-block;
    position: relative;
    bottom: 10px;
    left: 10px;
}
.send{
    display: inline-block;
    font-size: 2.5rem;
    margin-left: 160px;
    color: hsl(271, 36%, 24%);
}
.text{
    width: 450px;
    color: hsl(270, 20%, 80%);
    line-height: 1.5rem;
    font-size: 1.1rem;
    margin-right: 10%;
}
.text h1{
    line-height: 3rem;
    color: hsl(271, 36%, 24%);
    font-weight: 500;
    font-size: 3rem;
}
.dark{
    display: inline-block;
    background-image: linear-gradient(to bottom,hsl(293, 100%, 63%),hsl(264, 100%, 61%));
    height: 1500px;
    width: 700px;
    border-radius: 0 0 4000px 4000px;
    position: absolute;
    left:-5%;
    top: -400px;
    z-index: 0;
}
.attribution{
    text-align: center;
    position: relative;
    margin: 20% auto 10%;
    z-index: 90;
    width: 440px;
}

@media screen and (max-width: 900px) {
    .main-container{
        display: block;
    }
    .dark{
        height: 1000px;
        width: 400px;
    }
    .phone{
        margin: auto;
    }
    .text{
        margin: auto;
       padding: 20px;
    }
    .attribution{
        margin: 10% auto 10% 20%;
    }
    
    

}
