:root{
 /* ### Primary */

--Pale-blue: hsl(225, 100%, 94%);
--Bright-blue: hsl(245, 75%, 52%);

/* ### Neutral */

--Very-pale-blue: hsl(225, 100%, 98%);
--Desaturated-blue: hsl(224, 23%, 55%);
--Dark-blue: hsl(223, 47%, 23%);


--fs-11: .9rem;
--fs-1: 1.2rem;
--fs-2: .8rem;
--fs-3: .65rem;
--fs-4: .4rem;
--fs-5: .2rem;
--fs-6: .1rem;

}




/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body{
    font-family: 'Red Hat Display', sans-serif;
    background-color: var(--Very-pale-blue);
    background-image: url(./images/pattern-background-mobile.svg);
    background-repeat: no-repeat;
    font-size: 16px;
   
}
.fs-1{font-size: var(--fs-1);}
.fs-2{font-size: var(--fs-2);}
.fs-3{font-size: var(--fs-3);}
.fs-4{font-size: var(--fs-4);}
.fs-5{font-size: var(--fs-5);}
.clr-dark{color: var(--Dark-blue);}
.clr-saturated{color: var(--Desaturated-blue);}
.wrapper{
    width: 100%;
    max-width: 1200px;
    min-height: 10vh;
    padding: 5em 2em;
    margin: 0 auto;
}

.container{
    width: 100%;
    min-width: 200px;
    max-width: 320px;
    background-color: white;
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 0 auto;
   
    box-shadow: 0px 18px 27px 3px rgba(114,128,167,0.48);
    -webkit-box-shadow: 0px 18px 27px 3px rgba(114,128,167,0.48);
    -moz-box-shadow: 0px 18px 27px 3px rgba(114,128,167,0.48);
}
.header{
    background-image: url(./images/illustration-hero.svg);
    height: 150px;
    background-size: cover;
}
.d-flex{
    display: flex;
}
.texts{
    width: 100%;
    margin: 20px auto;
     padding: 0 2em;
}

.plan{
    width: 100%;
    align-items: center;
    margin: 20px auto;
    justify-content: center;
    flex: 1;
    gap: 15px;
    background-color: hsl(225, 100%, 94%, .6);
    max-width: 250px;
    min-width: 100px;
    padding: .8em 1.9em;
    border-radius: 10px;
}
.music{margin-left: -25px;}
.plan-text{font-weight: 900;}
.link{
   margin-left: 3.5em; 
   margin-right: -2em;
}
.link:hover,
.link:active{
    text-decoration: none;
    color: var(--Desaturated-blue);
}

.proceed{
    margin: 30px auto 10px auto;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--Bright-blue);
    color: var(--Very-pale-blue);
    width: 250px;
    border-radius: 10px;
    box-shadow: 0px 18px 27px 3px rgba(114,128,167,0.48);
   -webkit-box-shadow: 0px 18px 27px 3px rgba(114,128,167,0.48);
   -moz-box-shadow: 0px 18px 27px 3px rgba(114,128,167,0.48);
}

.proceed:hover,
.proceed:active{
    background-color: var(--Desaturated-blue);
    cursor: pointer;
}

.payment{
    font-weight: 900;
    margin-top: 5px;
}

.cancel{
    padding-bottom: 1.5em;
    font-weight: 900;
}

.cancel:hover,
.cancel:active{
    color: var(--Dark-blue);
    cursor: pointer;
}



@media (min-width: 23.5em){
    body{
        background-color: var(--Very-pale-blue);
        background-image: none;
       
    }
}

@media (min-width: 60em){
    body{
        background-color: var(--Very-pale-blue);
        background-image: url(./images/pattern-background-desktop.svg);
    }
    .container{
        margin: 7em auto 0 auto;
    }
}