body {
    font-size: 100%;
    font-family: Montserrat, "Open Sans", Helvetica, Arial, sans-serif;
}

p {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: lighter;
    color: #2d2d2d;
    text-align: center;
}

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

img {
    max-width: 100%;
}

.col img {
    max-height: 22rem;
    margin: auto;
    padding: 1rem;
    display: block;
    max-width: 100%;
}

/***************** NAV *****************/
nav a:hover {
    text-decoration: none;
    color: #3D7FCF;
}

/* Responsive Nav Bar */
ul {
    background-color: #CE843B;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

li {
    font-size: 1.15rem;
    height: 3rem;
    border-bottom: 1px solid #FFF;
    flex-grow: 3;
    padding: 1rem 0;
    font-weight: 600;
}

.cart-info {
    flex-basis: 2.2rem;
    flex-grow: 1.9;
    padding: 1rem;
}

.cart-info:hover {
    color: #F5F5DC;
}

li a {
    text-decoration: none;
    color: #FFF;
}

/**************** HERO *****************/
header img {
    max-height: 13rem;
}

h1 .logo-w {
    font-size: 7.77rem;
}

h1 {
    color: #3D7FCF;
    display: inline-block;
    font-size: 2.48rem;
    font-family: Frijole, cursive;
}

/**************** ASIDE ****************/
@media only screen and (max-width: 670px) {
    aside {
        float: none;
        width: 100%;
        padding-top: 2rem;
    }
}

input {
    display: block;
    padding: .22rem;
    margin: .22rem;
    width: 100%;
}

aside {
    float: left;
    padding: .48rem;
    padding-top: 3rem;
    width: 19%;
}

input[type="submit"] {
    padding: .25rem;
    background-color: #3D7FCF;
    border: 1px solid #3D7FCF;
    border-radius: 5px;
    font-size: .75rem;
    color: white;
}
/*********** PRODUCTS SECTION ***********/
.addRemove {
    background-color: #CE843B;
    border: 7px;
    border-radius: 7px;
    padding: .22rem 1rem;
}

.addRemove:hover {
    background-color: #008CBA;
    text-shadow: 3px 3px 7px black, 0 0 25px blue, 0 0 5px darkblue;
    color: white;
}

.checkCart {
    display: table;
    margin: 0 auto;
}

section {
    padding: 0.75rem;
    float: left;
    width: 77%;
}

h2 {
    padding-top: 2.2rem;
    font-size: 3.19rem;
    text-align: center;
    color: #2d2d2d;
}

h3 {
    font-size: 1.97rem;
    text-align: center;
    color: #195266;
    font-family: 'Cormorant Garamond', serif;
}
/* responsive flexbox grid */
.item-container {
    display: flex;
    flex-wrap: wrap;
}

.item-container:before, .item-container:after {
    display: table;
    content: "";
}

.item-container:after {
    clear: both;
}

.col {
    display: block;
    float: left;
    margin: 1% 0 .5% 1%;
    border: 3px solid #CE843B;
    padding: 1rem;
}

.span_flex {
    width: 32.22%;
}

@media only screen and (max-width: 640px) {
    .col {
        margin: 1% 0 1% 1%;
    }

    .span_flex {
        width: 48%;
    }
}

@media only screen and (max-width: 480px) {
    .col {
        margin: 1% 0 1% 0%;
    }

    .span_flex {
        width: 100%;
    }
}
/* Hover image effects */
.hvr-grow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

@-webkit-keyframes hvr-pop {
    50% {
        -webkit-transform: scale(2.2);
        transform: scale(2.2);
    }
}

@keyframes hvr-pop {
    50% {
        -webkit-transform: scale(2.2);
        transform: scale(2.2);
    }
}

.hvr-pop {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px transparent;
}

.hvr-pop:hover, .hvr-pop:focus, .hvr-pop:active {
    -webkit-animation-name: hvr-pop;
    animation-name: hvr-pop;
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
/* media queries for mobile phones */
@media only screen 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
    .hvr-pop {
        display: none;
    }

    body {
        font-size: 58%;
    }

    h1 {
        font-size: 1.48rem;
        margin: auto;
    }

    h3 {
        font-size: 2.22rem;
    }

    * {
        text-align: center;
    }

    ul {
        flex-direction: column;
    }

    li {
        width: 100%;
        font-size: 1.3rem;
        border-bottom: .48px solid;
    }

    .cart-info {
        order: -1;
    }

    p {
        font-size: 1.3rem;
        line-height: 1.48rem;
    }

    aside {
        float: none;
        padding-top: 1.19rem;
        font-size: 1.48rem;
        width: 100%;
    }

    input {
        width: 100%;
        border: 1px solid #808080;
        font-size: 1.48rem;
    }

    input[type="submit"] {
        width: 22%;
        margin: auto;
        border-radius: 17px;
        font-size: 1.48rem;
        color: white;
    }

    section {
        float: none;
        width: 100%;
    }

    .col {
        margin: 1% 0 1% 0%;
    }

    .span_flex {
        width: 100%;
    }
}