/**Stylesheet for Whiskey Menu.*/
@font-face{
  font-family: theseasons;
  src: url('../Fonts/theseasons.woff2') format('woff2'),
     url('../Fonts/theseasons.ttf') format('truetype');
  font-display: swap;  
}

@font-face{
  font-family: inter;
  src: url('../Fonts/inter.woff2') format('woff2'),
     url('../Fonts/inter.ttf') format('truetype');
  font-display: swap;  
}

html, body {
	height: 100%;
  margin: 0;
  padding: 0;
  font-family: theseasons, Georgia, sans-serif;
  font-size: 1.05em;
  color: var(--bright);
  line-height: 1.5em;
  background: var(--dark);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --bright: #F4F3F2;
  --dark: #003E53;
  --primary: #DDC498; 
  --secondary: #003E53;
  /*171F33*/
}


/**Masthead Styles*/
#masthead{
  position: fixed;
  top: 0em;
  width: 100%;
  height: 4em;
  background: var(--dark);
  border-bottom: 1px solid #002F3E;
  box-sizing: border-box;
  z-index: 2;
}

#masthead-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .3em 1em;
  box-sizing: border-box;
}

#logo{
  position: relative;
  width: 8em;
  box-sizing: border-box;
}

#logo img{
  display: block;
  width: 100%;
  height: auto;
}



/**Basic Styles*/
#wrapper{
  position: relative;
  padding-top: 5.5em;
  box-sizing: border-box;
}

.margins{
  position: relative;
  padding: 0em 1em;
  box-sizing: border-box;
}

.headers h1, .headers h2{
  font-family: theseasons, Georgia, serif;
  font-size: 1.8em;
  line-height: 1.5em;
  margin: 0em 0em 0em 0em;
  text-transform: uppercase;
}

.primary{
  color: var(--primary);
}

.center{
  text-align: center;
}


/**Search*/
#whiskey_search label{
  display: none;
  font-size: .8em;
  margin-right: .5em;
}

#whiskey_list{
  font-family: theseasons, Georgia, sans-serif;
  font-size: .8em;
  color: var(--bright);
  background: var(--dark);
  padding: .5em;
  width: 11em;
  border-radius: 5px;
  border: 1px solid var(--bright);
}


/**Whiskey Menu Grid*/
#whiskey-menu-grid{
  position: relative;
  column-count: 1;
  column-gap: 2em;
  padding: 2em 0em 3em 0em;
  box-sizing: border-box;
}


/**Distillery*/
.distillery{
  position: relative;
  padding: 1em 0em 2em 0em;
  box-sizing: border-box;
}

.distillery h2{
  font-size: 1.25em;
  color: var(--primary);
  margin-top: 0;
}


/**Whiskeys*/
.whiskey-item{
  position: relative;
  margin: .5em;
  box-sizing: border-box;
}

.whiskey-row-top{
    display: flex;
    align-items: baseline;
}

.whiskey-item h3{
  font-size: .95em;
  margin: 0em .7em 0em 0em;
  font-weight: normal;
}

.whiskey-row-top span{
    margin-left: auto;
}

.dots{
    flex: 1;
    border-bottom: 2px dotted var(--bright);
    margin: 0 .7em;
}

.whiskey-row-description{
  display: none;
  position: relative;
  font-size: .8em;
  padding: 1.5em 0em 2em 0em;
  border-bottom: 1px solid #7B6543;
  box-sizing: border-box;
}



/**Barrel Styles*/
#barrel_menu{
  position: relative;
  padding: 3em 0em;
  box-sizing: border-box;
}


/**Barrel Number Styles*/
.barrel_number{
  position: absolute;
  top: .2em;
  right: .1em;
  font-size: 14em;
  line-height: .7em;
  opacity: .03;
  pointer-events:none;
  user-select:none;
}

/**Barrel Grids*/
#barrel-menu-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3em;
  padding: 2em 0em;
}

.barrel_image, .menu_image{
  display: none;
}

.barrel_item{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  box-sizing: border-box;
}

.barrel_item{
  position: relative;
  padding: 1em;
  border: 2px double var(--primary);
  box-sizing: border-box;
}

.barrel_item h3{
  font-size: 2em;
  line-height: 1.3em;
  max-width: 90%;
  margin: 0;
}

.barrel_top_row span {
    display: block;
    font-size: 1.4em;
    color: var(--primary);
    margin-top: 1em;
}

/**Barrel Styles*/
.barrel-info-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 4em 3em;
  grid-template-areas:
      "style age abv"
      "cask cask cask";
  gap: 1em;
  box-sizing: border-box;
}

.barrel-info-block:nth-child(1) {
    grid-area: style;
}

.barrel-info-block:nth-child(2) {
    grid-area: age;
}

.barrel-info-block:nth-child(3) {
    grid-area: cask;
}

.barrel-info-block:nth-child(4) {
    grid-area: abv;
}

.barrel_label{
  display: block;
  font-family: inter, sans-serif;
  font-size: .65em;
  color: var(--primary);
  text-transform: uppercase;
}

.barrel_value{
  font-size: .9em;
}

.tasting_notes p, .description p{
  font-size: .9em;
  margin: 0;
}


/**Images*/
.barrel_image_mobile{
  position: relative;
  width: 90%;
  left: 50%;
  max-width: 40em;
  height: 20em;
  background: #00384B;
  border-radius: 2em;
  transform: translateX(-50%);
  overflow: hidden;
  box-sizing: border-box;
}

.barrel_image_mobile img, .menu_image_mobile img, .menu_image img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.barrel_image_mobile img, .menu_image_mobile img{
  object-position: center;
}

.menu_image_mobile{
  position: relative;
  width: 90%;
  left: 50%;
  max-width: 40em;
  height: 20em;
  margin: .5em 0em 1.5em 0em;
  background: #00384B;
  border-radius: 2em;
  transform: translateX(-50%);
  overflow: hidden;
  box-sizing: border-box;
}



/**Pages*/
#page_grid{
  display: grid;
  gap: 2em;
  padding-bottom: 4em;
}

#page_content h1{
  line-height: 1.3em;
}

#page_content p{
  font-size: .9em;
  margin-bottom: 1.5em;
}

#page_content em{
  font-size: 1.1em;
}

.link{
  display: block;
  font-family: var(--primary);
  color: var(--primary);
  margin-top: 2em;
}

#page_content a:hover{
  opacity: .8;
}

#page_grid_image{
  position: relative;
  left: 50%;
  width: 90%;
  max-width: 20em;
  transform: translateX(-50%);
  box-sizing: border-box;
}

#page_grid_image img{
  width: 100%;
  height: auto;
}

.menu-switch{
  position: fixed;
  bottom: 1.5em;
  right: 1em;
  font-size: .9em;
  font-weight: bold;
  color: var(--dark);  
  text-decoration: none;
  background: var(--primary);
  padding: .7em 1.5em;
  border-radius: 2em;
  box-shadow: 0 0 10px #00222D;
  box-sizing: border-box;
}

.menu-switch:hover{
  color: var(--primary);
  background: var(--dark);
}


#colophon{
  font-size: .8em;
  text-align: center;
}




/**Media Queries*/
@media only screen and (min-width: 28em){


  /**Barrel Styles*/
  .barrel_item{
    padding: 2em;
  }


}



@media only screen and (min-width: 36em){



  /**Barrel Styles*/
  .barrel-info-grid{
    grid-template-columns: 1fr 1fr 1fr;
  }
}


@media only screen and (min-width: 42em){

 /**Basic Styles*/
  .margins{
    padding: 0em 4em;
  }

  /**Barrel Number Styles*/
  .barrel_number{
    font-size: 17em;
  }


}


@media only screen and (min-width: 48em){

  /**Barrel Grid Styles*/
  .barrel_item h3{
    max-width: 70%;
  }

  /**Barrel Grids*/
 .barrel-info-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
       "style age cask abv";
  }

  /**Search*/
  #whiskey_list{
    width: 15em;
  }

    


}


@media only screen and (min-width: 59em){

  /**Basic Styles*/
  #wrapper{
    position: relative;
    padding-top: 6.5em;
    box-sizing: border-box;
  }

  .margins{
    left: 50%;
    width: 86%;
    padding: 0;
    transform: translateX(-50%);
  }

  .headers h1, .headers h2{
    font-size: 2.2em;
  }


  /**Whiskey Menu Grid*/
  #whiskey-menu-grid{
    padding-top: 3em;
    column-count: 2;
    column-gap: 3em;
    column-rule: 1px solid var(--primary);
  }

  .distillery{
    break-inside: avoid;
    padding: 1.5em 0em;
  }


  .distillery h2{
    font-size: 1.4em;
  }


  /**Whiskeys*/
  .whiskey-item{
    margin: .75em 1em;
  }


  /**Barrel Grids*/
  #barrel-menu-grid{
    gap: 4em;
  }

  .barrel_item{
    padding: 3em;
  }


  .barrel_item h3{
    font-size: 2.7em;
    line-height: 1.1em;
    width: 70%;
  }

  


  /**Pages*/
  #page_grid{
    position: relative;
    grid-template-columns: 20em calc(100% - 22em);
    gap: 2em;
    align-items: center;
    box-sizing: border-box;
  }

  #page_grid > :first-child{
    order: 2;
  }

  #page_grid > :last-child{
      order: 1;
  }


}


@media only screen and (min-width: 70em){

  /**Whiskey Menu Grid*/
  #whiskey-menu-grid{
    column-gap: 8em;
  }


  /**Barrel Number Styles*/
  .barrel_number{
    top: .17em;
    right: .05em;
    font-size: 20em;
  }



  /**Barrel Grids*/
  .barrel_image_mobile, .menu_image_mobile{
    display: none;
  }

  .barrel_block{
    display: grid;
    gap: 3em;
    align-items: center;
    justify-content: center;
  }

  .barrel_block:nth-child(odd of .barrel_block){
    grid-template-columns: 1fr 20em;
  }

  .barrel_block:nth-child(even of .barrel_block){
    grid-template-columns: 20em 1fr;
  }

  .barrel_block:nth-child(odd of .barrel_block) .barrel_image, .barrel_block:nth-child(even of .barrel_block) .barrel_item {
    order: 2;
  }
  .barrel_block:nth-child(odd of .barrel_block) .barrel_item, .barrel_block:nth-child(even of .barrel_block) .barrel_image {
    order: 1;
  }

  .barrel_image{
    display: flex;
    align-items: center;
    height: 90%;
    background: #00384B;
    border-radius: 2em;
    overflow: hidden;
  }

  .barrel_image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .menu_image{
    display: block;
    height: 22em;
    margin: .5em 0em 1.5em 0em;
    background: #00384B;
    border-radius: 2em;
    overflow: hidden;
  }

  .image_hidden{
    display: none;
  }



}


@media only screen and (min-width: 80em){


}