html {
    box-sizing: border-box;
}

:root {
    --bg-color: hsl(270, 20%, 96%);
    --bg-mobile: hsl(0, 0%, 100%);
}

@font-face {
    font-family: Rubik;
    src: url(/fonts/Rubik-VariableFont_wght.ttf);
}

* {
    font-family: Rubik;
    box-sizing: inherit;
}



body {
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
}

/* Container Styles */
.container {
    margin: 0 auto;
    position: relative;
    background-color: var(--bg-color);
    z-index: -6;
    display: flex;
    flex-flow: column;
    height: 100dvh;
    align-items: center;
    padding: 4rem 6% 3% 8%;
}

.background-design {
    width: 550px;
    height: 110%;
    background-image: linear-gradient(180deg, hsl(293, 100%, 63%), hsl(264, 100%, 61%));
    z-index: -5;
    position: absolute;
    border-radius: 0 0 319px 300px;
    top: -24%;
    left: -354px;
}

/* Mobile */
.mobile {
    background-color: var(--bg-mobile);
    border-radius: 30px;
    padding: 10px;
    margin: 10rem 30px;
    width: 82%;
    min-width: 270px;
    max-width: 270px;
    font-size: .8rem;
    height: fit-content;
}



/* Header Section */

header {
    background-image: linear-gradient(90deg, hsl(264, 100%, 61%), hsl(293, 100%, 63%));
    color: hsl(276, 100%, 81%);
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 9% 5% 0%;
    position: relative;
}

.whitebar {
    position: absolute;
    top: -13%;
    left: 22%;
    width: 56%;
    height: 49%;
    border-radius: 0 0 19px 19px;
    background-color: var(--bg-mobile);
}

header img {
    width: 10%;
    border-radius: 100%;
    border: 2px solid hsl(276, 100%, 81%);
    margin-left: 16px;
}

.headerprofile {
    margin-left: 4%;
    padding-top: 4%;
}

.one {
    margin: 0;
    color: var(--bg-mobile);

}

.two {
    margin-bottom: 9%;
    margin-top: 0;
    font-size: .6rem;
}

.fa-ellipsis-vertical {
    margin-left: auto;
}

/* Mobile Phone main section*/
.mobile-phone-main {
    background-color: hsl(270, 20%, 96%);
    display: flex;
    flex-flow: row wrap;
    padding: 2% 3%;
    font-size: 0.6rem
}

.chat-image {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
    align-items: center;
    width: 70%;
    position: relative;
    left: 32%;
    margin-top: 8px;
}

.image {
    width: 27%;
    border-radius: 30%;
}

.chatr {
    color: hsl(271, 15%, 43%);
    width: 61%;
    position: relative;
    left: 40%;
    background-color: var(--bg-mobile);
    padding: 8px 3px 8px 8px;
    margin-top: 4%;
    border-radius: 10px 10px 2px 10px;
}

.chatl {
    width: 64%;
    background-color: hsla(276, 100%, 81%, 20%);
    padding: 9px 3px 9px 8px;
    color: hsl(276, 55%, 52%);
    border-radius: 10px 10px 10px 2px;
}

/* Chat Pricing Section Styles */

.chat-pricing {
    width: 80%;
    background-image: linear-gradient(90deg, hsl(293, 100%, 63%), hsl(264, 100%, 61%));
    border-radius: 10px 10px 10px 2px;
    padding: 12px 3px 9px 12px;
    margin-bottom: 6px;
    color: hsl(276, 100%, 81%);
    position: relative;
}

span {
    font-size: 1rem;
    margin-left: 21%;
    color: var(--bg-mobile);
    font-weight: 500;
}

/* Radio Styles */
.purple {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.purple-input {
    display: none;
}

.purple-purple {
    width: 1rem;
    height: 1rem;
    border: 2px solid hsl(289, 100%, 72%);
    padding: 2px;
    border-radius: 50%;
    margin-right: 7px;
}

.purple-purple::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    background-color: hsl(293, 100%, 63%);
    transition: transform 0.2s linear;
    transform: scale(0);
}

.purple-input:checked+.purple-purple::after {
    transform: scale(1);
}

/* Chat box section styles */

.placeholder-text {
    color: hsl(206, 6%, 79%);
    margin: 10px;
    font-size: 0.6rem;
}

.placeholder {
    background-color: var(--bg-mobile);
    border-radius: 15px;
    padding: 0 3px 0 17px;
    margin: 2% auto;
    display: flex;
    align-items: center;
    width: 94%;
}

.fa-circle-chevron-right {
    margin-left: auto;
}


/* Text Section Styles */
.main-text {
    text-align: center;
    padding: 5%;
}

.text-heading {
    color: hsl(271, 36%, 24%);
    font-weight: 800;
    font-size: 30px;
}

.main-text p {
    color: hsl(270, 7%, 64%);
    font-size: 1rem;
    line-height: 1.5;
}

/* Media Queries Styles */
@media screen and (min-width: 762px) {
    .container {
        flex-flow: row nowrap;
    }

    .main-text {
        padding: 10%;
        text-align: left;
        margin: 110px 0px 50px 50px;
        padding-right: 0;
        font-size: 1rem;
    }
}

@media screen and (min-width: 1050px) {
    .container {
        padding: 50px 30% 50px 15%;
    }

    .background-design {
        top: 0%;
        left: -6%;
        height: 100%;
        width: 480px;
    }
}

@media screen and (min-width: 1428px) {
    .container {
        padding: 50px 35% 50px 17%;
        height: 100%;

    }

    .background-design {
        left: -5%;
        width: 465px;
    }
}

.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}