@import url('https://fonts.googleapis.com/css2?family=Alata&family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Big+Shoulders+Display:wght@100..900&family=Commissioner:wght@100..900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&family=Epilogue:ital,wght@0,100..900;1,100..900&family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Karla:ital,wght@0,200..800;1,200..800&family=Kumbh+Sans:wght@100..900&family=League+Spartan:wght@100..900&family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Young+Serif&display=swap');

:root{
    --Soft-Cyan-Full-Slider-Bar: hsl(174, 77%, 80%);
    --Strong-Cyan-Slider-Backround: hsl(174, 86%, 45%);
    --Light-Grayish-Red-Discount-Background: hsl(14, 92%, 95%);
    --Light-Red-Discount-Text: hsl(15, 100%, 70%);
    --Pale-Blue-CTA-Text: hsl(226, 100%, 87%);
    --White-Pricing-Component-Background: hsl (0, 0%, 100%);
    --Very-Pale-Blue-Main-Background: hsl(230, 100%, 99%);
    --Light-Grayish-Blue-Empty-Slider-Bar: hsl(224, 65%, 95%);
    --Light-Grayish-Blue-Toggle-Background: hsl(223, 50%, 87%);
    --Grayish-Blue-Text: hsl(225, 20%, 60%);
    --Dark-Desaturated-Blue-Text-CTA-Background: hsl(227, 35%, 25%);
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0;
    background-color: var(--Very-Pale-Blue-Main-Background);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 500;
    top: 0;
    left: 0;
    overflow-x: hidden;
}

p{
    color: var(--Grayish-Blue-Text);
    font-size: 15px;
}

.background{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 50vh;
}


h1{
    font-size: 1.4rem;
}

.box{
    position: relative;
    z-index: 5000;
    box-shadow: 0px 20px 20px rgb(197, 196, 196);
    /* padding: 1rem; */
    padding-bottom: 2rem;
    /* margin-top: 30vh; */
    /* border: 1px solid; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 85%;
    background-color: white;
    border-radius: 1rem;
}

.top{
    background-image: url(images/pattern-circles.svg);
    background-repeat: no-repeat;
    background-position: center;
    padding: 1.4rem;
    padding-top: 4rem;
}

.top p{
    padding-left: 14%;
    padding-right: 14%;
    line-height: 1.5rem;
    text-align: center;
}

.slider{
    background-color: var(--Strong-Cyan-Slider-Backround);
    width: 15%;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 5px 10px var(--Strong-Cyan-Slider-Backround);
}

.slider img{
    width: 50%;
    height: 1rem;
    cursor: grab;
}

.slider::after{
    position: absolute;
    z-index: -1;
    border-radius: 1rem;
    content: '';
    width: 90%;
    height: .7rem;
    background-color: var(--Light-Grayish-Blue-Empty-Slider-Bar);
}


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

.price{
    font-size: 2rem;
}

.cost, .monthlyBilling, .yearlyBilling{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .4rem;
}

hr{
    width: 100%;
}

input{
    display: none;
}

.toggle{
    display: flex;
    gap: 10px;
}

.switch{
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    background-color: var(--Light-Grayish-Blue-Toggle-Background);
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.switch::after{
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}


input:checked + .switch{
    background-color: var(--Strong-Cyan-Slider-Backround);
}

input:checked + .switch::after{
    left: 25px;
}

.discount{
    background-color: var(--Light-Grayish-Red-Discount-Background);
    color: var(--Light-Red-Discount-Text);
    padding: .11rem;
    border-radius: 5rem;
}

.flex{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

button{
    border: none;
    background-color: var(--Dark-Desaturated-Blue-Text-CTA-Background);
    color: var(--Pale-Blue-CTA-Text);
    padding: 1rem;
    width: 60%;
    border-radius: 3rem;
    cursor: pointer;
}

@media (min-width: 800px){
    .top p{
        padding-left: 0;
        padding-right: 0;
    }

    .box{
        width: 40%;
    }

    .cost{
        position: absolute;
        top: -1rem;
        right: 1rem;
    }

    .slider{
        margin-top: 8rem;   
        width: 10%;
    }
    .slider img{
        width: 50%;
    }
    .page{
        position: absolute;
        left: 1rem;
        top: 2rem;
    }
    .slider img{
        margin-top: 0;
    }
    .bottom{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        /* border: 1px solid; */
        width: 90%;
    }
    .ps{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        /* border: 1px solid; */
    }
    .ps p{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: .4rem;
        /* border: 1px solid; */
    }
    button{
        width: 50%;
    }
}