* {
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

/* Mobile First */
[class*="col-"] {
    display: table-cell;
    width: 100%;
    float: left;
    padding: 10px 12px;
}

.col-sm-1 {
    width: 8.33%;
}

.col-sm-2 {
    width: 16.66%;
}

.col-sm-3 {
    width: 25%
}

.col-sm-4 {
    width: 33.33%;
}

.col-sm-5 {
    width: 41.66%;
}

.col-sm-6 {
    width: 50%;
}

.col-sm-7 {
    width: 58.33%;
}

.col-sm-8 {
    width: 66.66%;
}

.col-sm-9 {
    width: 75%;
}

.col-sm-10 {
    width: 83.33%;
}

.col-sm-11 {
    width: 91.66%;
}

.col-sm-12 {
    width: 100%;
}

/* Tablet */
@media only screen and (min-width: 768px) {
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }
}

/* Desktop */
@media only screen and (min-width: 1024px) {
    #shop-container {
        width: 75%;
        margin-top: 50px;
        float: right;
    }
}

html {
    font-size: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    height: 100%;
    margin: 0;
    background-color: #FFFFFF;
}

a {
    font-size: 2rem;
    font-weight: 400;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

h2 {
    font-size: 2rem;
    margin: 0px;
}

h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0px;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

p {
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
}

button {
    font-family: 'Roboto', sans-serif; 
    font-weight: 500;
    background-color: #3498DB;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 10px 12px;
    cursor: pointer;
}

button:hover {
    background-color: #2691d9;
    color: #F2F2F2;
}

button:active {
    background-color: #2283c3;
    color: #E6E6E6;
}

button:disabled {
    background-color: #E0E0E0;
    color: #FFFFFF;
}

input {
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    margin-left: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    font-size: 1.6rem;
    padding: 4px 5px;
}

input:hover {
    border: 1px solid #3498DB;
}

input:active, input:focus {
    border: 2px solid #3498DB;
}

#logo {
    font-size: 2.4rem;
    margin: 0;
    display: inline-block;
    text-align: center;
    line-height: 50px;
    padding-left: 10px;
    color: #FFFFFF;
}

#number-of-items {
    font-size: 1.6rem;
    font-weight: 500;
    width: 24px;
    height: 18px;
    border-radius: 9px;
    color: #FFFFFF;
    position: absolute;
    top: 4px;
    right: 9px;
}

#shop-container {
    padding: 10px;
    position: relative;
}

header#nav-bar {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: #23AF35;
    z-index: 1000;
}

button#btn-cart {
    float: right;
    width: 75px;
    height: 50px;
    color: #FFFFFF;
    background-color: #23AF35;
    border: none;
    border-radius: 0px;
    padding: 0;
    padding-right: 10px;
}

button#btn-cart > i.fa {
    font-size: 2.4rem;
}

button#btn-cart:hover {
    color: #F2F2F2;
    background-color: #1D952D;
}

button#btn-cart:hover > #number-of-items {
    color: #F2F2F2;
}

button#btn-cart:active {
    color: #E6E6E6;
    background-color: #198027;
}

button#btn-cart:active > #number-of-items {
    color: #E6E6E6;
}

.item-card {
    border: 1px #E0E0E0 solid;
    border-radius: 5px;
    box-shadow: 0px 2px 10px -4px #000000;
    overflow: hidden;
}

.item-image {
    overflow: hidden;
}

.item-brand {
    margin-top: 8px;
}

.item-cost {
    font-weight: 700;
    color: #000000;
    display: inline-block;
    width: 100%;
    height: 37px;
    line-height: 37px;
}

.add-to-cart-btn {
    height: 37px;
    border-radius: 5px; 
    float: right;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background-color: rgba(0,0,0,0.6);
}

.using-mouse :focus {
    outline: none;
}

.bottom-margin {
    margin-bottom: 12px;
}

.no-scroll {
    overflow: hidden;
}

.inline-block {
    display: inline-block;
}

