/* 1. NAVBAR WRAPPER */
/* 2. NAVBAR */
/* 3. BUTTONS */
/* 4. MENU OVERLAY (mobile devices) */



/* 1. NAVBAR WRAPPER */

.wrapper.navbar.fullpage {
  position: fixed;
  height: 100%;
  opacity: 1;
  z-index: 1000;
  padding-top: 0;
  padding-bottom: 0;
}

.wrapper.navbar.fullpage .navbar-content {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  grid-template-rows: 80px 1fr;
  grid-template-areas:
    "navbar-logo menu-overlay menu-button"
    ". menu-overlay .";
  place-self: center stretch;
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
}

@media (min-height: 450px) {
  .wrapper.navbar.fullpage .navbar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 80px 1fr;
    grid-template-areas:
      "navbar-logo menu-button"
      "menu-overlay menu-overlay";
    height: 100%;
    padding-top: 0;
    place-self: center stretch;
    opacity: 1;
  }
}

/* End of WRAPPER */



/* 2. NAVBAR */

.navbar {
  height: 80px;
  width: 100%;
  position: fixed;
  top: 60px;
  background-color: white;
  opacity: 0.9;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  justify-self: start;
  height: 35px;
  cursor: pointer;
  grid-area: navbar-logo;
}

.navbar-logo-img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

/* End of NAVBAR */



/* 3. BUTTONS */

.navbuttons {
  display: none;
  height: 2rem;
}

@media (min-width: 1000px) {
  .navbuttons {
    display: flex;
  }
}

.navbutton {
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 20px;
}

@media (min-width: 1000px) {
  .navbutton {
    font-size: 1rem;
  }
}

.navbutton,
.menu-overlay-navbutton {
  background-color: transparent;
  border: none;
  border-top: 4px solid white;
  border-bottom: 4px solid white;
  cursor: pointer;
}

a.navbutton,
.menu-overlay-navbutton {
  position: relative;
  transition: all 0.15s ease-out;
  /*
    webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    -ms-transition: all 0.15s ease-out;
  */
}

a.navbutton:hover,
.menu-overlay-navbutton:hover,
.menu-overlay-navbutton:focus {
  color: #ba0d2e;
}

a.navbutton:before,
.menu-overlay-navbutton:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -6px;
  left: 0;
  background-color: #ba0d2e;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.5s cubic-bezier(1, 0.25, 0, 0.75) 0s;
  transition: all 0.25s cubic-bezier(1, 0.25, 0, 0.75) 0s;
  transition-delay: 0.25s;
}

a.navbutton:hover:before,
a.navbutton.active:before,
.menu-overlay-navbutton:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

div:target {
  padding-top: 100px;
}

.navbutton--icon:hover {
  border-color: white;
}

.navbutton--icon img {
  all: initial;
  margin-top: 2px;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 5px;
  cursor: pointer;
}

.navbutton--icon img:hover {
  opacity: 0.7;
  -webkit-transition: opacity 100ms ease-out;
  -moz-transition: opacity 100ms ease-out;
  -o-transition: opacity 100ms ease-out;
  transition: opacity 100ms ease-out;
}

.textbutton-banner {
  display: none !important;
}

@media (min-width: 600px) {
  .textbutton-banner {
    display: block !important;
  }
}

/* End of BUTTONS */



/* 4. MENU OVERLAY (mobile devices) */

.menu-overlay {
  display: flex;
  flex-direction: column;
  grid-area: menu-overlay;
  align-items: center;
}

.menu-button {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  justify-self: end;
  align-items: center;
  height: 30px;
  grid-area: menu-button;
  cursor: pointer;
}

.menu-button-text {
  font-weight: 900;
  padding-right: 6px;
}

.menu-button img {
  height: 30px;
  width: 30px;
}

/* End of MENU OVERLAY (mobile devices) */