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

body{
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background-color: hsl(204, 43%, 93%);
}

.header{
    border-radius: 5px 5px 0 0;
    background-color: white;
    max-width: 325px;
    padding: 1.5em;
    margin: 3em auto 0 auto;

    box-shadow: 5px 2px 20px rgba(0, 0, 0, 0.1), -5px 2px 20px rgba(0, 0, 0, 0.1);
}

.header h1{
    color: hsl(179, 62%, 43%);
    font-size: 1.25em;
}

.header h2{
    color: hsl(71, 73%, 54%);
    font-size: 1em;

    margin: 1em 0;
}

.header p{
    color: hsl(218, 22%, 67%);
    line-height: 1.65;
    font-size: 14px;
}

.section{
    background-color: hsl(179, 62%, 43%);
    color: white;
    max-width: 325px;
    padding: 1.5em;
    margin: 0 auto;

    box-shadow: 5px 2px 20px rgba(0, 0, 0, 0.1), -5px 2px 20px rgba(0, 0, 0, 0.1);
}

.section h1{
    font-size: 1.25em;
}

.section .money{
    display: flex;
    align-items: center;
    margin: 0.75em 0 0.5em 0;
}

.section h2{
    /* color: hsla(218, 22%, 67%, .7); */
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.15em;
    font-weight: 400;
}

.section span{
    color: white;
    font-size: 2em;
    font-weight: 700;
    margin-right: 0.35em;
}

.section button{
    background-color: hsl(71, 73%, 54%);
    color: white;
    width: 100%;
    font-size: 1em;
    font-weight: 700;
    padding: 0.75em;
    margin: 2em 0 0.25em 0;

    border-radius: 5px;
    border: none;
    outline: none;
    cursor: pointer;

    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.end{
    border-radius: 0 0 5px 5px;
    background-color: hsla(179, 62%, 43%, .8);
    color: white;
    max-width: 325px;
    padding: 1.5em;
    margin: 0 auto 3em auto;

    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1), -5px 5px 20px rgba(0, 0, 0, 0.1);
}

.end h1{
    font-size: 1.35em;
}

.end p{
    /* padding-right: 6em; */
    line-height: 1.65;
    margin-top: 1em;
    color: hsl(204, 43%, 93%);
    max-width: 200px;
}

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }

@media (min-width: 720px){
    .header{
        max-width: 650px;
        padding: 2.5em 2em 1.5em 2.5em;
        font-size: 1.15em;
    }

    .header p{
        font-size: 16px;
        padding-right: 1em;
        margin-bottom: 0.5em;
    }

    .container{
        display: flex;
        
    }

    .section{
        margin-right: 0;
        padding: 2em;
        margin-bottom: 3em;
        display: block;
        width: 325px;

        box-shadow: -10px 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 0 5px;
    }

    .section .money{
        margin: 1.5em 0;
    }

    .end{
        margin-left: 0;
        display: block;
        width: 325px;
        padding-left: 2.5em;

        box-shadow: 10px 5px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 5px 0;

        
    }

    .end p{
        line-height: 1.5;
    }

    .warp{
        margin: 10em 0;
    }
}