@import url("./reset.css");
/*@import url("./guidelines.css");*/

@font-face {
  font-family: "Billy Kimber";
  src: url("../font/BillyKimberFont.woff2") format("woff2"), /* Super Modern Browsers */
       url("../font/BillyKimberFont.woff") format("woff"), /* Pretty Modern Browsers */
       url("../font/BillyKimberFont.ttf") format("truetype"); /* Safari, Android, iOS */
}

body {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
               Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 350;
  background-color: white;
/*  background-color: #13342b;*/
/*  background-image: linear-gradient(0deg, rgba(19,52,43,1) 60%, rgba(0,0,0,1) 100%);*/
}

p {
  line-height: 1.25;
}

div[class$="-description"] p {
  margin-top: 1rem;
}

/* Header */
header {
  background-image: url("../img/background_menuBar.png");
  background-color: #13342b;
  color: #ab9278;
  min-height: 6rem;

  display: flex; /* Using flexible box to center the nav element vertically */
  flex-direction: column; /* Items are laid out in a line in the nav element */
  justify-content: center; /* Center content in the row of the nav element */

  z-index: 1; /* Position the header above absolute-positioned elements */
  position: fixed; /* Set the header to fixed position */
  top: 0; /* Position the header at the top of the page */
  width: 100%; /* Ensure the header is full width */
}

header nav {
  margin: 0 auto;
  text-align: center; /* Center the navigation menu */
}

header nav ul {
  display: flex;
  align-items: center;
}

header li {
  display: inline; /* Display navigation menu horizontally */
}

header a {
  font-family: "Billy Kimber";
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: #ab9278;
  text-decoration: none;
  display: inline-block;
  padding: 0 3rem 0 3rem;
}

#branding, #about, #products, #club {
  padding-top: 5.9rem; /* Accommodate fixed nav-bar of the specified height */
}

/* SECTION: Branding */
.lead-image {
  background-image: url("../img/background_leadImage.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

/*  NOTE: Prefer to create gradient via CSS*/
/*  background-image: linear-gradient(180deg, rgba(19,52,43,1) 60%, rgba(0,0,0,0) 100%);*/

  min-height: 500px;
}

.lead-image img {
  display: block;
  max-width: 60%;
  height: auto;
  padding-top: 7rem;
  margin: 0 auto;
}

/* SECTION: About */
#about {
  display: flex;
  align-items: center;
  padding-right: 7rem;
  background-color: #ffffff;
  position: relative;
  /*  width: 100%;*/
  /*  margin: 0 auto;*/
}

#about .left-col {
  width: 65%;
}

#about .left-col img {
  width: 100%;
  height: auto;
}

#about .right-col {
  width: 35%;
  position: absolute;
  left: 55%;
}

.about-description img {
  width: 100%;
  height: auto;
}

.about-description h2 {
  width: 100%;
  font-size: 2rem;
  color: #ab9278;
}

.about-description p {
  text-align: justify;
  font-size: 1rem;
  color: #ab9278;
}

/* SECTION: Products */
.product {
  display: flex;
  align-items: center;
  padding: 1.75rem 5%;
}

.product-package, .product-strain, .product-description {
  width: 33.333%;
}

.product-package, .product-strain {
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

.product-package img, .product-strain img {
  width: 100%; /* Maintain aspect ratio during responsive changes */
  height: auto; /* Maintain aspect ratio during responsive changes */
/*  margin: 0 auto;*/
/*  display: block;*/
}

.product-description {
  text-align: center;
}

.product-description img {
  max-width: 60%;
  height: auto;
  margin: 0 auto;
}

.product-description h3 {
  font-family: "Billy Kimber";
  margin-top: 1.5rem;
  font-size: 3.5rem;
}

.product-description p {
  font-size: 1rem;
}

.product-description span {
  margin-top: 2rem;
  font-size: 0.8rem;
  display: block;
}

.product-branding {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

div[class*="bkProduct"] {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.bkProduct1 {
  background-image: url("../img/background_NO1.png");
  background-color: #13342b;
  color: #ab9278;
}

.bkProduct2 {
  background-image: url("../img/background_NO2.png");
  background-color: #ab9278;
  color: #13342b;
}

.bkProduct3 {
  background-image: url("../img/background_NO3.png");
  background-color: #ffffff;
  color: #13342b;
}

/* SECTION: Club */
#club {
  background-color: #000000;
}

.tail-image {
  width: 65%;
  margin: 0 auto;
  color: #ab9278;
  padding-bottom: 5rem;
}

.tail-image img {
  width: 90%; /* Maintain aspect ratio during responsive changes */
  height: auto; /* Maintain aspect ratio during responsive changes */
  display: block;
  margin: 0 auto;
}

.tail-image p {
  text-align: center;
  margin-top: 1rem;
}

/* NAVIGATION: Mobile */
.mobile-nav {
  text-align: center;
  min-height: 3rem;
}

.mobile-nav img {
  padding: 1rem 0;
  max-width: 43%;
  height: auto;
  margin: 0 auto;
}

.open-button {
  font-size: 2rem;
  cursor: pointer;
  position: fixed;
  left: 20px;
}

.overlay-nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
  white-space: nowrap;
}

.overlay-content {
  position: relative;
  top: 15%;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}

.overlay-nav a {
  padding: 1rem 0.5rem 0.5rem 0.5rem;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  transition: 0.3s;
}

.overlay-nav .close-button {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 3rem;
}

/* RESPONSIVENESS: >= 769 pixels */
@media only screen and (min-width: 769px) {
  header.mobile-nav,
  .product-branding > img.flower {
    display: none;
  }
}

/* RESPONSIVENESS: <= 880 pixels */
@media only screen and (max-width: 880px) {
  header a {
    padding: 0 2rem 0 2rem; /* Tighten the desktop navigation */
  }

  .product-description h3 {
    font-size: 3rem;
  }

  .product-description p {
    font-size: 0.9rem;
  }
}

/* RESPONSIVENESS: <= 768 pixels */
@media only screen and (max-width: 768px) {
  header.desktop-nav,
  .product-strain {
    display: none;
  }

  #branding, #about, #products, #club {
    padding-top: 2.9rem;
  }

  .lead-image {
    min-height: 300px;
  }

  .lead-image img {
    padding-top: 3.5rem;
  }

  #about {
    padding-right: 0;
    position: static;
  }

  #about .right-col {
    position: static;
    left: 0;
  }

  #about,
  .product {
    flex-direction: column;
  }

  #about .left-col,
  #about .right-col,
  .product-package,
  .product-description {
    width: 80%;
    margin: 0 auto;
  }

  .tail-image {
    width: 75%;
  }

  .product {
    padding-left: 0;
    padding-right: 0;
  }

  .product-package img {
    width: 75%;
    margin: 0 auto;
    display: block;
  }

  .product-branding {
    margin-top: 3rem;
  }

  .product-branding > img {
    width: 40%;
    margin: 0;
  }

  .product-description p {
    font-size: 1rem;
    line-height: 1.25;
  }

  .about-description h2,
  .about-description p {
    text-align: center;
  }
}

/* RESPONSIVENESS: <= 450 pixels */
@media only screen and (max-height: 450px) {
  .overlay-nav a {
    font-size: 1rem;
  }

  .overlay-nav .close-button {
    font-size: 2rem;
    top: 15px;
    right: 35px;
  }
}
