body {
    font-family: "Karla";
    font-size: 16px;
    font-weight: 400;
    justify-content: center;
    margin: 0;
    background-color: hsl(204, 43%, 93%);
}


.cardcontainer {
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    justify-content: center;
    text-align: left;
    vertical-align: middle;
    margin: 50px 250px 30px;
    

}


.right-card,
.left-card {
    color: hsl(204, 43%, 93%);
}
.upper-card {
    grid-column: 1/3;
    align-items: center;
    background-color: white ;
    padding-top: 30px;
    padding-left: 50px;
    padding-right: 250px;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
}


.left-card {
    background-color: hsl(179, 62%, 43%);
    padding-left: 50px;
    padding-right: 7px;
        border-bottom-left-radius: 7px;
}

.dollar {
    align-content: baseline;
}
.sub-text {
    font-size: 14px;
    font-weight: 300;
    
}

.right-card {
    padding-left: 50px;
    padding-bottom: 20px;
    align-items: center;
    background-color: hsl(179, 59%, 46%);
    border-bottom-right-radius: 7px;
}

.list {
    list-style: none;
    padding-left: 0;
    }



.button {
        border: none;
        color: white;
        font-size: 16px;
        height: 35px;
        width: 180px;
        background-color: hsl(71, 73%, 54%);
        border-radius: 0.5em;
        cursor: pointer;
}

.button:active {
    border:none;
    outline: none;
    font-size: 15px;
}
.button:focus {
    outline: 0;
}
@media screen and (max-width: 375px) {

    .cardcontainer {
        display: grid;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: 1fr;
        width: 70%;
        margin: 7%;
        overflow: scroll;

        justify-content: center;
    }

    .upper-card,
    .left-card,
    .right-card {
        padding-left: 15px;
    }
    .upper-card {
        grid-column: 1/2;
        padding-top: 0;
        padding-right: 7px;
        padding-bottom: 0;
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
   }
    
   .left-card {
       border-bottom-left-radius: 0;
   }

   .right-card {
       border-bottom-left-radius: 7px;
       border-bottom-right-radius: 7px;
   }
}