@media (max-width: 2160px) {
  .navbar-collapse {
      height: 100%;
      width: 0;
      position: fixed;
      z-index: 6;
      top: 0;
      right: 0;
      background-color: #6e6e6e4f;
      overflow-x: hidden;
      transition: 0.5s;
      padding-top: 60px;
  }
  .navbar-collapse a {
      text-align: center;
  }
  .overlayDarken {
      position: fixed;
      z-index: 5;
      background-color: rgba(0, 0, 0, 0.3);
      opacity: 100%;
      width: 0%;
      right: 0%;
      margin-right: 0%;
      top: 0%;
      height: 100%;
      transition: 0.5s;
  }
}

.hed {
  z-index: 3;
  background-image: linear-gradient(180deg, #ffffff, #eef2f3, #ffffff);
  background-attachment: fixed;
  top: 0;
  left: 0;
  height: 55px;
  width: 100vw;
  position: fixed;
}

html {
  height: 100%;
  overflow: hidden;
  position: relative;
}

body {
  height: calc(var(--vh, 1vh) * 100);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1;
  color: black;
  margin-top: 55px;
  background-image: linear-gradient(180deg, #ffffff, #eef2f3, #ffffff);
  background-attachment: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  overflow: hidden;
  background-size: cover;
  touch-action: manipulation; /* Prevent double-tap zoom */
}

.btn {
  border-radius: 2rem !important;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: space-between;
}

p, a, small {
  color: black;
}

.btn-outline-light {
  color: black !important;
  border-color: black !important;
}

.example {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.example table > tbody > tr > td > input {
  display: block;
  width: 100%;
}

.remove {
  margin-top: 15px;
}

.active {
  background-color: red !important;
}

#main, #navMove, #navbarToggle {
  transition: 0.5s;
}

#links-0-link,
#links-0-content,
#links-0-delete,
#links-0-link-label,
#links-0-content-label,
#links-0-delete-label {
  order: 9999;
}

#image-container {
  max-width: 450px;
  width: 100vw;
  inset: 0px;
  height: calc(var(--availableHeight));
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}

.media-wrapper {
  height: calc(var(--availableHeight));
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  position: relative;
}

.media {
  width: 100vw;
  height: calc(var(--availableHeight));
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  overflow-y: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.image-container {
  max-width: 100%;
  display: flex;
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  scroll-snap-align: start;
}

.media img {
  display: flex;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.col-md-12 {
  display: flow;
  position: relative;
  width: 100%;
  height: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden;
}

.room-description {
  transition: max-height 0.3s ease;
  max-height: 60px;
  overflow: hidden;
}

.room-description-content {
  color: white;
}

.room-description.expanded {
  max-height: 300px; /* Adjust as needed to fit the full content */
}

.room-description::after {
  content: '▲';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  color: white;
  transition: transform 0.3s ease;
}

.room-description.expanded::after {
  transform: rotate(180deg);
}



.room-description-content p {
  color: white !important;
}
/* Extend the clickable area of the arrow buttons */
button[id^="btn-left-"], button[id^="btn-right-"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.8);
  color: black;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button[id^="btn-left-"] {
  left: 10px;
}

button[id^="btn-right-"] {
  right: 10px;
}

/* Extend the clickable area vertically with transparent space */
button[id^="btn-left-"]::before, button[id^="btn-right-"]::before {
  content: '';
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0;
  right: 0;
  cursor: pointer;
}

