/****************************************
 Universal Styles
*****************************************/

h2, h6 {
    max-width: 100%;
    padding: 2%;
    padding-bottom: 0;
    margin: 0;
  }
  
  p {
    max-width: 100%;
    padding: 2%;
    line-height: 200%;
    text-align: justify;
    font-size: 14pt;
  }
  
  p a {
    color: var(--brown);
  }
  
  img {
    max-width: 100%;
  }
  
  /****************************************
   Header Code
  *****************************************/
  
  header {
    font-family: var(--sans);
  }
  
  #header-flex {
    display: flex;
    flex-flow: column wrap;
  }
  
  .logo {
    text-align: center;
  }

  .logo img{
      max-width: 30%;
      margin-top: 30px;
      margin-bottom: 30px;
  }
  .link-icon {
      width: 35px;
      margin-right: 10px;
  }

  .socials{
      margin-bottom: -5px;
      padding-left: 10px;
  }
  
  @media (max-width: 40em) {
    .socials {
      text-align: center;
      margin-top: 2%;
    }

    .logo img{
        max-width: 70%;
        margin-bottom: 5px;
    }

    .link-icon{
        width: 25px;
    }

  }
  
  /****************************************
   Blue Updates Bar
  *****************************************/
  
  
  .smallbar {
    height: 50px;
    background: var(--blue);
    line-height: 50px;
    font-size: 12pt;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
  }

  @media (max-width: 40em) {
    .smallbar{
        font-size: 8pt;
    }
    
}
  
  /****************************************
   How to Buy & Image
  *****************************************/
  
  #middle-header {
    display: flex;
    flex-wrap: wrap;
  }
  
  .buy-info {
    background: var(--tan);
    padding: 2%;
    flex: 1 30%;  
    display: flex;
    flex-flow: column wrap;
  }

  body .buy-info{
    background-image: url("images/backgroundpattern3.png");
    background-size: cover;
  }
  
  .buy-image {
    flex: 3 40%;  
    display: flex;
    flex-flow: column wrap;
    border-left: 20px solid var(--white);
  }
  
  h2 {
    font-size: 20pt;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  @media (max-width: 1200px) {
    .buy-info {
      order: 2;
      flex: 1 100%;
      padding: 6%;
    }
    .buy-image {
      order: 1;
      flex: 1 100%;
      border-left: 0;
    }
    h2 {
      text-align: center;
    }
  }
  
  /****************************************
   Body Code
  *****************************************/
  
  body {
    margin: 0;
    font-family: var(--sans);
    color: var(--black);
    font-size: 12pt;
    --blue: #D3ECEC;
    --brown: #96694C;
    --tan: #E9E1DD;
    --gray: #eee;
    --black: #312620;
    --white: #fff;
    --sans: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  }

  body h2{

    padding-top: 5%;
    text-align: center;
  }
  
  /****************************************
   Product Code
  *****************************************/
  
  #product {
    display: flex;
    flex-wrap: wrap;
    padding: 4%;
  }
  
  .product-card {
    padding: 2%;
    flex: 1 20%;
    display: flex;
    flex-flow: column wrap;
  }
  
  .product-card:first-child, 
  .product-card:nth-child(2) {
    flex: 2 46%;
    text-align: center;
  }
  
  .product-card:first-child img, 
  .product-card:nth-child(2) img{
    max-width: 50%;
  }

  @media (max-width: 1200px) {
    .product-card {
      flex: 1 46%;
    }
  }
  
  @media (max-width: 40em) {
    .product-card {
      flex: 1 100%;
    }
    .product-card:first-child, 
    .product-card:nth-child(2) {
    flex: 1 100%;
    }
    .product-card:first-child img, 
  .product-card:nth-child(2) img{
    max-width: 100%;
  }
  }
  
  .product-image {
  }
  
  .product-info {
    margin-top: auto;
    text-align: center;
  }
  
  h3, h5 { font-size: 14pt; }
  
  h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  h4 {
    font-weight: 400;
  }
  
  /****************************************
   About Us & Contact Info
  *****************************************/
  
  #aboutus {
    background: var(--tan);
    display: flex;
    flex-wrap: wrap;
  }

  body #aboutus{
    background-image: url("images/backgroundpattern3.png");
    background-size: cover;
  }
  
  .aboutus-left {
    padding: 2%;
    flex: 1 60%;
    display: flex;
    flex-flow: column wrap;
  }
  
  .aboutus-right {
    padding: 2%;
    flex: 1 30%;
  }
  
  
  h6 {
    font-size: 20pt;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  @media (max-width: 40em) {
    .aboutus-left {
      flex: 1 100%;
      padding: 6%;
    }
    .aboutus-right {
      flex: 1 100%;
    }
    .aboutus-right p {
      text-align: center;
    }
    h6 {
      text-align: center;
    }
  }
  
  /****************************************
   Footer / Copyright
  *****************************************/
  
  footer {
    background: var(--black);
    font-family: var(--sans);
    color: var(--white);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  
  .copyright {
    padding: 3%;
    flex: 1 16%;
  }
  
  @media (max-width: 40em) {
    .copyright {
      flex: 1 100%;
      padding: 4%;
      text-align: center;
    }
  }
  
  .footer-socials {
    padding: 3%;
    flex: 1 16%;
    text-align: right;
  }
  
  @media (max-width: 40em) {
    .footer-socials {
      flex: 1 100%;
      padding: 4%;
      text-align: center;
    }
  }
  