header {
  margin: 0px 0px 0px 0px;
  position: fixed;
  z-index: 2000;
  width: 100%;
  height: 90px;
  background-color: var(--zero);
  transition: all 0.5s ease-in-out; }
  header.header-scrolled {
    background-color: var(--primary);
    opacity: 0.95; }
  @media (min-width: 768px) {
    header {
      height: 160px; } }
  header #logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 140px;
    height: 58px;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../images/design/GBG-Logo.svg"); }
    @media screen and (min-width: 768px) {
      header #logo {
        width: 300px;
        height: 124px;
        margin: 0 auto;
        left: 0;
        right: 0; } }
  header.header-scrolled #logo {
    background-image: url("../images/design/GBG-Logo-w.svg"); }

/* overlay */
.overlay {
  position: fixed;
  background: var(--primary);
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index: 2000; }

.overlay.open {
  opacity: .95;
  visibility: visible;
  height: 100%; }

.overlay.open li {
  animation: fadeInRight .4s ease forwards;
  animation-delay: .30s; }

.overlay.open li:nth-of-type(2) {
  animation-delay: .35s; }

.overlay.open li:nth-of-type(3) {
  animation-delay: .40s; }

.overlay.open li:nth-of-type(4) {
  animation-delay: .45s; }

.overlay nav {
  position: relative;
  height: 50%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  text-align: center;
  background: none;
  padding-left: 0px;
  padding-right: 0px; }

@media (min-width: 567px) {
  .overlay nav {
    font-size: 36px; } }
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
  width: 100%; }

.overlay ul li {
  display: block;
  height: 50%;
  height: calc(100% / 2);
  min-height: 0px;
  position: relative;
  opacity: 0;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 0px; }

.overlay ul li a {
  display: inline-block;
  position: relative;
  color: var(--primary);
  background-color: var(--zero);
  text-decoration: none;
  overflow: hidden;
  text-transform: lowercase;
  font-weight: 900;
  padding: 0px 10px 0px 10px; }

.overlay ul li a:hover {
  color: var(--zero);
  background-color: var(--primary);
  border: 1px solid var --zero; }

.overlay ul li a.active {
  color: var(--zero);
  background-color: var(--primary);
  border: 1px solid var --zero; }

.overlay ul li a.active:hover {
  color: var(--secondary);
  color: var(--zero);
  background-color: var(--primary); }

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%; }
  100% {
    opacity: 1;
    left: 0; } }
/* TOGGLE */
#toggle {
  display: block;
  position: absolute;
  width: 75px;
  height: 70px;
  top: 5px;
  left: 5px;
  cursor: pointer;
  z-index: 3000; }

@media (min-width: 480px) {
  #toggle {
    top: 25px;
    left: 25px; } }
#toggle:hover {
  color: var(--primary);
  background-color: var(--zero); }

#toggle.toggle-scrolled:hover {
  background-color: var(--secondary); }

#toggle:hover .button_container span {
  background: var(--primary) !important; }

#toggle.active {
  background-color: var(--zero); }

#toggle.toggle-scrolled.active {
  background-color: var(--secondary); }

#toggle.active:hover {
  background-color: var(--zero); }

#toggle.toggle-scrolled.active:hover {
  background-color: var(--secondary); }

.button_container {
  display: block;
  position: absolute;
  top: 15px;
  right: 10px;
  height: 45px;
  width: 55px;
  cursor: pointer;
  transition: opacity .25s ease; }

.button_container:hover {
  /* opacity: .7; */
  opacity: 1.0; }

#toggle.active .button_container .top {
  transform: translateY(16px) translateX(0) rotate(45deg);
  background: var(--primary); }

#toggle.active .button_container .middle {
  opacity: 0;
  background: var(--primary); }

#toggle.active .button_container .bottom {
  transform: translateY(-16px) translateX(0) rotate(-45deg);
  background: var(--primary); }

.button_container span {
  background: var(--primary);
  border: none;
  height: 3px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all .35s ease;
  cursor: pointer; }

.button_container:hover span {
  background: var(--primary) !important; }

.button_container span:nth-of-type(2) {
  top: 17px; }

.button_container span:nth-of-type(3) {
  top: 33px; }

#socialmedia {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3000;
  text-align: center; }

@media (min-width: 768px) {
  #socialmedia {
    top: 50px;
    right: 45px; } }
#socialmedia a {
  width: 40px;
  height: 40px;
  font-size: 40px;
  display: inline-block;
  color: var(--secondary);
  transition: 0.3s;
  margin-left: 15px; }

header.header-scrolled #socialmedia a {
  color: var(--zero); }

#socialmedia a:hover {
  color: var(--secondary);
  transition: 0.3s; }

@media (min-width: 480px) {
  #socialmedia a {
    color: var(--primaary); }

  #socialmedia a.id:hover {
    color: var(--secondary);
    transition: 0.3s; } }
#socialmedia a.id {
  color: var(--primary); }

#socialmedia a.id:hover {
  color: var(--secondary);
  transition: 0.3s; }

#introarrow {
  position: absolute;
  z-index: 3;
  width: 100%;
  text-align: center;
  bottom: 30px; }

#introarrow .fa {
  font-size: 5em;
  color: rgba(255, 255, 255, 0.7); }

#introarrow a .fa {
  color: var(--secondary); }

#introarrow a:hover .fa {
  color: var(--primary); }
