/*
# Front-end Style Guide

## Layout

The designs were created to the following widths:

- Mobile: 375px
- Desktop: 1440px

## Colors

### 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%)

## Typography

### Body Copy

- Font size (paragraph): 16px

### Font

- Family: [Red Hat Display](https://fonts.google.com/specimen/Red+Hat+Display)
- Weights: 500, 700, 900
*/
*{
 padding: 0;
 margin: 0;
 box-sizing: border-box;
 font-family: 'Red Hat Display', sans-serif;
}
body{
 background-color: hsl(225, 100%, 94%);
 background-image: url("images/pattern-background-desktop.svg");
 background-position: top;
 background-size: cover;
 background-repeat: no-repeat;
}
h4{
  font-weight: 800;
}
main{
 width: 350px;
 margin: 0 auto;
 height: 490px;
 position: relative;
 top: 60px;
 border-radius: 12px;
  background-color: white;
  
}
img{
 max-width: 100%;
 border-top-left-radius: 12px;
 border-top-right-radius: 12px;
}

.top{
 width: 80%;
}
 p{
 font-size: 14px;
 color: hsl(224, 23%, 55%);
}
.middle{
 width: 83%;
background-color: hsl(225, 100%, 98%);
 border-radius: 8px;
 padding: 12px 20px 8px 20px ;
}
.middle h6{
 font-size: 13px;
}
.middle span{
 font-size: 12px;
 color: hsl(245, 75%, 52%);
 border-bottom: solid 1px hsl(245, 75%, 52%);
}
.bottom{
 width: 83%;
}
button{
 width: 100%;
 background-color: hsl(245, 75%, 52%)!important;
 border-radius: 10px!important;
 font-size: 12px!important;
box-shadow: 0 10px 20px 0px hsla(245, 75%, 52%, 0.3);
transition: 220ms ease-in!important;
}
button:hover{
  transform: scale(1.1);
}
@media screen and (max-width:500px){
 body{
  
  background-image: url("images/pattern-background-mobile.svg");
  background-size: contain;
 }
}


