/* html {
  scroll-behavior: smooth;
} */

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', arial, sans-serif;
  /* background-color: black; */
}

nav {  
  height: 48px;
  background-color: black;
  padding-left: 15%;
  display: flex;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#divaudio {
  display: none;
}

.nav-padding {
  height: 48px;
}

#logo {  
  height: 38px;  
  padding:  5px 15px;  
  display: flex;
}

.desktop-menu { 
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.desktop-menu li {
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 100%;
}

.desktop-menu li a {
  color: white;
  text-decoration: none;
  height: 100%;
  padding: 13px 10px;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;  
  display: block; 
  transition: color 300ms;
}

.desktop-menu li a:hover, 
.desktop-menu li a:active, 
.desktop-menu li a.active {
  color: #d22f25;
  border-bottom: 3px solid #d22f25;
}

.mobile-menu {    
  z-index: 1002;
}

.mobile-menu li {
  width: 90%;
  
}

.mobile-menu li a {
  color: white;
  text-decoration: none;
  height: 100%;
  padding: 16px 10px;  
  box-sizing: border-box;
  display: block; 
  border-bottom: 1px solid #ebebeb98;  
}

.mobile-menu li a:hover, 
.mobile-menu li a:active, 
.mobile-menu li a.active {
  color: #d22f25;  
}

#close-mobile-menu {
  /* font-family: Arial, Helvetica, sans-serif; */
  text-align: right;
  border-bottom: 1px solid transparent;
  font-size: 1.5rem;
  padding: 0;
}

.drawer-toggle {
  width: 40px;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  box-sizing: border-box;
  cursor: pointer;
}

.drawer-toggle div {
  width: 90%;
  height: 3px;
  background-color: white;
}

.backdrop {
  width: 100vw;
  height: 100vh;
  background-color: black;
  opacity: .75;
  z-index: 1001;
  position: fixed;
  top: 0;  
  transform: translateX(-100%);
  transition: transform 500ms;
}

.showmobilemenu {
  transform: translateX(0);    
}

@media (min-width: 651px) {
  .drawer-toggle {
      display: none;
  }  
}

@media (max-width: 650px) {
  .desktop-menu {
    display: none;
  }  

  #logo {
    position: absolute;
    top: 0;    
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
  }
}

@media (max-width: 800px) {
  nav {
    padding-left: 20px;
  }
}

.div-contents {
  background-color: white;  
}

.header {
  text-align: center;
  font-family: 'Playfair Display';
  font-size: 2.5rem;
  color: #d22f25;
  margin: 0;      
}

.grey-line {
  border-top: 3px solid #ebebeb98;
  width: 250px;
  margin: 0 auto 30px auto;
}

/* PRODUCTS */

#products-container {
  width: 80%;
  margin: auto;
  position: relative;
}

#products-menu {
  width: 320px;
  background-color: #d22f25;
  border-radius: 7px;  
  position: fixed;
  top: 182px;
  left: 10%;
  z-index: 100;
  transition: height 250ms;
}

#products-menu ul {
  list-style: none;  
  margin: 0;
  padding: 0;
  text-align: center; 
}

#products-menu li {
  height: 30px;
  line-height: 30px;
}

#products-menu a {
  text-decoration: none;
  color: white;
  height: 100%;
  transition: color 250ms;
  font-weight: bold;
  display: block;
}

#products-menu a:hover,
#products-menu a.active {
  color: black;  
}

#products-header {
  top: 48px;
  position: fixed;
  width: 100%;
  z-index: 100;
  background-color: white;
}

#products-list {
  width: 100%;
  position: absolute;
  top: 134px;
  padding-left: 335px;    
  box-sizing: border-box;    
}

.product-group {
  font-size: 31px;
  color: #d22f25;
  margin: 0;
}

.product-item {
  font-size: 22px;
  padding-left: 10px;
}

#products-menu-toggle {
  height: 30px;  
  line-height: 30px;
  width: 90%;
  background-color: #d22f25; 
  border-radius: 7px;  
  position: fixed;
  top: 182px;
  left: 10%;
  z-index: 101;
  font-weight: bold;  
  color: black;
  text-align: center;
  display: none;
}

#products-menu-toggle:after {
  content: '';
  border-top: 10px solid white;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;  
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: -1;  
}

@media (max-width: 1400px) {
  #products-container {
    width: 90%;
  }

  #products-menu, #products-menu-toggle {
    left: 5%;
  }
}

@media (max-width: 900px) {
  #products-menu {
    height: 30px;
    overflow: auto;
    width: 90%;
  } 

  #products-menu-toggle {
    display: block;
  }

  #products-list {
    padding-left: 0;
    top: 164px;
  }
}

@media (max-width: 600px) {
  .nav-padding {
    height: 24px;
  }

  #products-list {    
    top: 188px;
  }
}

@media (max-width: 338px) {
  #products-menu, #products-menu-toggle {
    width: 95%;
    left: 2.5%;
  }
}

@media (max-height: 901px) and (min-width: 901px) {
  #products-menu li {
   height: inherit;
   line-height: inherit;
  }

  .nav-padding {
    height: 24px;
  }

  #products-list {    
    top: 110px;
  }

  #products-menu {    
    top: 134px;
  }

  .grey-line {
    margin-bottom: 0;
  }
}

@media (max-height: 668px){
  #products-menu li a {
    height: inherit;
    line-height: inherit;
    font-size: .9em;    
   }  
}

/* CUSTOM SCROLLBAR FOR PRODUCTS MENU */
.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: transparent; 
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #888; 
}
