.nav-menu {
  position: absolute;
  bottom: 4px;
  z-index: 3;
  text-align: center;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 3px;
  min-width: 80px;
  max-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.nav-menu-button {
  height: 40px;
  margin: 0 5px;
  padding: 8px 10px;
  width: fit-content;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  /* border: #DB6C4A 1px solid; */
  display: inline-block;
  cursor: pointer;
  color: #db6c4a;

  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu-button-text {
  display: inline-block;
  font-size: 18px;
  position: relative;
}
.nav-menu-button:hover {
  background: rgba(200, 200, 200, 1);
}

.controls {
  position: absolute;
  bottom: 50px;
  z-index: 2;
  text-align: center;
  width: 50%;
  padding-bottom: 3px;
  right: 25%;
  left: 25%;
  display: none;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-rows: auto;
}
.ctrl,
.ctrl_packages {
  padding: 0.5em;
  width: available;
  min-width: 150px;
  height: available;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  color: #db6c4a;
}
.ctrl:hover,
.ctrl_packages:hover {
  background: rgba(200, 200, 200, 1);
}

.nav-menu-top {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  text-align: right;
  float: right;
  width: 225px;
  height: 38px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}
.nav-menu-top-button {
  border-radius: 50%;
  padding: 8px 5px;
  width: fit-content;
  text-align: center;
  cursor: pointer;
  color: white;
  text-shadow: #000000 1px 1px 1px;
  display: inline-block;
}
.nav-menu-top-button:hover,
.nav-menu-top-button:hover .tooltiptext {
  /*color: white;*/
  visibility: visible;
}
.tooltiptext {
  visibility: hidden;
  width: fit-content;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  text-shadow: none;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
}

.hidden {
  display: none;
}

.show {
  display: inline-block;
}

.nav-menu-audio {
  position: absolute;
  top: 33px;
  right: 0;
  z-index: 5;
  text-align: right;
  float: right;
  display: inline-flex;
}

.nav-menu-reserve {
  position: absolute;
  top: 50px;
  right: 1%;
  z-index: 1;
  text-align: right;
  float: right;
  display: inline-flex;
}
.reserve {
  font-weight: bold;
  color: black;
  font-size: 1.4em;
  border: black solid;
}
.reserve:hover {
  cursor: pointer;
}

.nav-menu-margin {
  margin-left: 3px;
}

#audio_elm {
  position: relative;
  display: inline-block;
  visibility: hidden;
  padding: 8px 0;
  z-index: 1;
  text-align: center;
  height: 44px;
  margin-right: 5px;
}

/* Media for when width is less than 1030px */
@media screen and (max-width: 1030px) {
  .nav-menu {
    bottom: 0.2vh;
  }
  .nav-menu-button {
    padding: 0.7vw 0.8vw;
    width: fit-content;
    height: 7vh;
    margin: 0.1vw;
  }
  .controls {
    bottom: 10vh;
    right: 0;
    left: 50%;
    width: 50%;
    padding-bottom: 3px;
    transform: translateX(-50%);
    /* justify-items: center; */
  }
  .ctrl {
    padding: 0.5em;
    /* width: fit-content; */
    height: fit-content;
    margin: 0.1vw;
    font-size: 1em;
    min-width: 150px;
  }
  .nav-menu-button-text {
    font-size: 1em;
  }
  .nav-menu-button > i {
    font-size: 1em;
  }

  .nav-menu-top-button {
    padding: 0.7vw 0.8vw;
  }
  .nav-menu-top-button > i {
    font-size: 2em;
  }
}

@media screen and (max-width: 550px) {
  .nav-menu-top {
    /* display: none; */
    /* font-size: 1em; */
  }
  .ctrl {
    min-width: 150px;
  }
  .controls {
    bottom: 7vh;
    grid-template-columns: none;
  }

}
