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

body {
    color: 	hsl(0, 0%, 50%);
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

/* =============
    typography
   =============*/
h1,
.info-title,
.link-cancel,
.link-plan {
    font-weight: 900;
}

h1,
.info-title {   
    color:hsl(0, 0%, 15%);    
}

h1 {    
    font-size: 1.4rem;    
}

.info-title,
.info-descr {
    font-size: .95rem;
    line-height: 1.4; 
}

.content-summ {
    padding: .63em;
    margin-bottom: .5em;
}

/* =============
    layout
   =============*/
   .main {
    background-color: hsl(225, 100%, 99%);
    box-shadow: 0px 0px 50px 1px  hsla(223, 47%, 23%, .4);
    border-radius: 20px;
    width: 90%;
    max-width: 445px;
    display: flex;
    flex-direction: column;
}

.contents {
    width: 86%;
    display: flex;
    flex-direction: column;
    margin: 2em auto;
}

.container {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1.5em;
}

.container-flex {
    display: flex;
    align-items: center;
    padding: .5em .5em;    
}

/*---links & button---*/
.link-plan {
    color: hsl(245, 75%, 52%);
    font-size: .8rem;
    margin-left: auto;    
}

.link-plan:hover,
.link-plan:focus {
    color: hsl(252, 100%, 67%);
    text-decoration: none;
}

.link-cancel {
    color: hsl(0, 0%, 15%, .6);
    text-decoration: none;
    font-size: 0.95rem;
}

.link-cancel:hover,
.link-cancel:focus {
    color: hsl(0, 0%, 15%);  
}

.btn {
    background-color: hsl(245, 75%, 52%);
    box-shadow: 0 10px 20px -3px hsla(245, 75%, 52%, .4);
    color: hsla(225, 100%, 98%, .95);
    font-size: 1rem;
    font-weight: 700;
    border: 0;
    border-radius: 10px;
    padding: 1em 0;
    margin-bottom: 1.25em;
}

.btn:hover,
.btn:focus {
    background-color: hsl(252, 100%, 67%);
    box-shadow: 0 10px 20px -3px hsla(252, 100%, 67%, .4);
}

/* .attribution { 
    font-size: .65rem;
    margin-top: 4.5em;
}

.attribution a,
strong { 
    color: hsl(228, 45%, 44%);
    font-weight: 700; 
}

.attribution a:hover,
.attribution a:focus {
    color:hsl(252, 100%, 67%);;
} */

/*---images---*/
.hero-img {
    order: -1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.svg-icon {
    order: -1;
    margin-right: 1.25em;    
}

/*---background---*/
.bg-img {
    background-color: hsl(225, 100%, 94%);
    background-image: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="375" ><path fill="%23D6E1FF" fill-rule="evenodd" d="M-131.808 155.366c97.026 51.512 204.233 51.512 321.62 0 117.388-51.512 223.27-51.512 317.648 0V0h-639.268v155.366z"/></svg>');
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-bg-clr {
    background-color: 	hsla(224, 23%, 55%, .03);
    border-radius: 10px;
    width: 100%;
}

@media (min-width:375px) {
    .bg-img {
        background-image: 
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1440"><path fill="%23D6E1FF" fill-rule="evenodd" d="M0 349.974c218.558 116.035 460.05 116.035 724.475 0s502.933-116.035 715.525 0V0H0v349.974z"/></svg>');
    }
}





