header{
  padding: 15px;
  overflow: hidden;
  background: black;
  color: white;
  font-family: Verdana, sans-serif;
}
.logo{
  width: 120px;
  margin: 0;
  padding-left: 5px;
  border: none;
  box-shadow: none;
}
/*controls entire nav decoration*/
nav {
  display: block;
  background-color: black;
  overflow: hidden;
  font-family: Verdana, sans-serif;
}
/*controls the links in the nav section*/
nav a{
 float: left;
 color: white; /*determines font colour*/
 text-align: center;
 padding: 14px 16px;
 text-decoration: none; /*removes the underlines*/ 
 font-size: 17px;
}
/*makes selection different colour when selected*/
nav a:hover{
  background-color: white;
  color: black;
}
.nav-bar__inner {
  max-width: 1140px;
  margin-right: 1rem;
  padding: 0 1rem;
  text-align: right;
  float: right;
}
/* controls the cart section, rem refers to the universal standard measurement for internet. makes code more universal and less likely to be missinterpreted */
.cart {
  display: inline-block;
  font-size: 1rem;
  height: 3.75em;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: #fff;
}

.cart-content {
  z-index: 1;
  position: absolute;
  top: 4.25rem;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  width: 100%;
  max-width: 570px;
  padding: 1rem;
  background: #fff;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}
/* controls all sections of table in cart */
.cart-content__close {
  float: right;
  border: none;
  padding: 10px 27px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.cart-content__title {
  margin: 1em 0 0.5em 0;
}

.cart-items {
  width: 100%;
  text-align: right;
}

.cart-items thead tr {
 background-color: #cacaca;
 font-weight: bold;
}

.cart-items__head {
  text-align: left;
}

.cart-items__product {
  text-align: left;
}

.cart-items__num-label {
  max-width: 3rem;
}

.cart-items__price-label {
  max-width: 3rem;
}

.cart-items__action button {
background-color: transparent;
border: none;
}

.cart-items tfoot {
  font-weight: bold;
 }

body {
    font-family: tahoma;
    color:#282828;
    margin: 0px;
  }

  .product {
    display: flex;
    flex-flow: wrap;
    padding: 1rem;
  }

  img {
    width: 80%;
  }
  
  .product-image {
    width: 80%;
  }
  /* controls the color-boxes as a group */
  .variants {
    padding: 0;
    list-style-type: none;
  }

  .product-image,
  .product-info {
    margin-top: 10px;
    width: 50%;
  }
  /* controls the color-boxes individually */
  .color-box {
    float: left;
    width: 40px;
    height: 40px;
    margin: 5px;
    cursor: pointer;
    border-radius: 2px;
  }

  .color-box:hover{
    filter: brightness(70%);   
  }

  ul {
    list-style-type: none;
  }
  
  .product-button {
    margin-top: 30px;
    border: none;
    background-color: #07ce3c;
    color: white;
    height: 40px;
    width: 100px;
    font-size: 14px;
    cursor: pointer;
    display: block;    
  } 
  
  .product-button:active{
    background-color: #07c53a;
  }
  .-disabled {
    background-color: #ccc;
    color: #999;
    cursor: not-allowed;
  }
  
  .disabledButton {
    background-color: #d8d8d8;
  }
  
  .review-form {
    width: 400px;
    padding: 20px;
    margin: 40px;
    border: 1px solid #d8d8d8;
  }
  
  input {
    width: 100%;  
    height: 25px;
    margin-bottom: 20px;
  }
  
  textarea {
    width: 100%;
    height: 60px;
    font-family: tahoma;
  }

  .tabs {
    padding: 0;
    list-style-type: none;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
  }
  .tab {
    cursor: pointer;
    background-color: #ccc;
    padding: 0.25em;
    border: 1px solid #aaa;
    margin-right: 1em;
    border: 1px solid #aaa;
    display: inline-block;
    position: relative;
    border-bottom: none;
  }
  .no-reviews{
    margin-left: 60px;
  }
  .view-reviews li{
    border: 1px solid #d8d8d8;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .submit{
    border: none;
    height: 25px;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }
  
  .activeTab {
    background-color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    margin-bottom: -1px;
  }
  
  /* make columns stack for mobile */
@media screen {
  .product {
    display: flex;
    flex-flow: wrap;
  }

  .product-image,
  .product-info {
    width: 100%;
  }

  .section-reviews {
    flex-grow: 1;
  }
}
/* create responsive columns, 2 for tablet */
@media screen and (min-width: 768px){
  .product {
    display: flex;
    flex-flow: wrap;
  }

  .product-image,
  .product-info {
    width: 50%;
  }

  .section-reviews {
    flex-grow: 1;
  }
} 