#markerless,
#markerless > #markerless-menu {
  position: absolute;
  left: 0svw;
  padding: 7svh 5svw 5svh 5svw;
  background-color: white;
  transition: left 0.5s ease-out;
}
#markerless {
  top: 0svh;
  left: 0svw;
  width: 100svw;
  height: 100svh;
  z-index: 2;
}
/* Common transitions */
#markerless,
#markerless > #markerless-menu {
  transition: left 0.5s ease-out;
}
/* Menu content styles */
#markerless > #markerless-menu {
  width: 100svw;
  height: 100svh;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#markerless > #markerless-menu > #markerless-menu-header {
  width: 100svw;
  height: 22svh;
  top: -5svh;
  position: absolute;
  background-image: url(../ui/titleimage-f773.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-height: 667px) {
  #markerless > #markerless-menu > #markerless-menu-header {
    height: 25svh;
    width: 112svw;
  }
}
/* Common content grid styles */
#markerless > #markerless-menu > #markerless-menu-content {
  display: grid;
  align-items: center;
  justify-content: center;
}
#markerless > #markerless-menu > h1 {
  top: 0;
  left: 0;
  font-size: 5vh;
  font-weight: bold;
  color: #ba0c2f;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3svh;
}

#markerless > #markerless-menu > #markerless-viewAR-button {
  background-color: #ba0c2f;
  color: white;
  border: none;
  padding: 3svw 6svw;
  cursor: pointer;
  font-size: 5svw;
  font-weight: 600;
  margin-top: 2vh;
  border-radius: 0px;
}

@media (min-aspect-ratio: 1/1) {
  #markerless > #markerless-menu > #markerless-viewAR-button {
    font-size: 2svw;
    padding: 3svh 6svh;
  }
}

/* Button common styles */
#markerless > #markerless-menu > #markerless-menu-content > button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#markerless > #markerless-menu > #markerless-menu-content > button > img {
  width: 100%;
  height: 60%;
  object-fit: contain;
}

#markerless > #markerless-menu > #markerless-menu-content > button > p {
  width: 90%;
  color: black;
  text-align: center;
  background-color: white;
  font-weight: 900;
  font-family: "BuckeyeSans2";
}

/* Border styles for buttons */
#markerless > #markerless-menu > #markerless-menu-content > button[id*="athletics"] {
  border-right: 0.5svh solid black;
  border-bottom: 0.5svh solid black;
}
#markerless > #markerless-menu > #markerless-menu-content > button[id*="waterman"] {
  border-bottom: 0.5svh solid black;
}
#markerless > #markerless-menu > #markerless-menu-content > button[id*="health"] {
  border-right: 0.5svh solid black;
  border-bottom: 0.5svh solid black;
}

#markerless > #markerless-menu > #markerless-menu-content > button[id*="central"] {
  border-bottom: 0.5svh solid black;
}

#markerless > #markerless-menu > #markerless-menu-content > button[id*="newark"] {
  border-right: 0.5svh solid black;
}

/* Mobile layout */
#markerless > #markerless-menu > #markerless-menu-content {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

#markerless > #markerless-menu > #markerless-menu-content > button > p {
  font-size: 3svw;
}

/* Desktop layout */
@media (min-aspect-ratio: 1/1) {
  #markerless > #markerless-menu > h1 {
    top: 70px;
    padding: 3vh;
  }

  #markerless > #markerless-menu > #markerless-menu-content {
    top: 100px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding: 1vh 10vw;
  }

  #markerless > #markerless-menu > #markerless-menu-content > button > p {
    font-size: 2svw;
  }

  /* Desktop-specific border adjustments */
  #markerless > #markerless-menu > #markerless-menu-content > button[id*="waterman"] {
    border-right: 0.5svh solid black;
  }

  #markerless > #markerless-menu > #markerless-menu-content > button[id*="health"] {
    border-right: none;
  }

  #markerless > #markerless-menu > #markerless-menu-content > button[id*="central"] {
    border-right: 0.5svh solid black;
    border-bottom: none;
  }
}

#markerless-drop{
  position: fixed;
  font-family: "BuckeyeSans2";
  width: 100svw;
  height: 5svh;
  display: flex;
  justify-content: center;
  bottom: 17.5svh;
  transition: opacity 0.5s ease-in-out;

  visibility: hidden;
  opacity: 0;
}

#markerless-drop > #markerless-drop-button {
  background-color: var(--osuRed);
  color: white;
  border-color: white;
  border-radius: 13px;
  border-style: solid;
  padding: 0px 20px;
  text-transform: uppercase;
  font-weight: 900;
}