body .row,
body h2 {
  position: relative;
}

.modal-title,
body h2 {
  font-weight: 700;
  font-size: 1.728rem;
}

.row-title-content,
body .row h2 {
  text-align: left;
}

.row-number,
body h2 {
  color: #fff;
  font-size: 1.2rem;
  font-style: normal;
  text-shadow: 0 0 40px #000;
}

::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  color-scheme: dark light;
  background-color: #212529;
}



body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: #212529;
}

body .row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: calc(100vh / 12);
  background-size: cover;
  background-position: center;
  text-align: center;
  transition: height 0.3s ease;
  cursor: pointer;
}

body .row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
  transition: background-color 75ms;
}

body .row:hover::before {
  background: rgba(255, 255, 255, 0.5);
}

body .row:hover {
  height: calc(100vh / 8);
}

body h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  padding: 0.2em 1em;
  border-radius: 5px;
  margin: 0;
  z-index: 2;
  transition: color 0.125s;
  display: inline-block;
}

body .row:hover h2 {
  color: #000;
}

@media (orientation: landscape) and (max-height: 768px) {
  body .row {
    height: calc(100vh / 6.25) !important; /* Makes height override any other settings */
  }

  body .row:hover {
    height: calc(100vh / 4) !important; /* Ensures this height on hover, regardless of other styles */
  }
}


body .row h2 {
  padding: 0.2em 1.5em;
}

.modal-content {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  max-height: calc(100vh - 1rem);
  overflow-y: auto;
}

.modal-body {
  font-weight: 400;
  max-height: 87vh;
  overflow-y: auto;
}

.modal-body p {
  margin-top: 3rem;
  margin-bottom: 0rem;
}

.body-no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  body .row {
    height: calc(100vh / 6.25);
  }

  body .row:hover {
    height: calc(100vh / 4);
  }

  .modal-body {
    max-height: 75vh;
  }
}

body .row h2 .arrow-icon {
  width: 11px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-100%) translateY(-2px);
}

body .row:hover h2 .arrow-icon {
  opacity: 1;
  transform: translateX(0) translateY(-2px);
}

.row-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.row-number {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  margin-right: 1.5em;
}

body .row:hover .row-number {
  color: #000;
  transition: color 125ms;
}

.modal-body h5 {
  font-size: 1.728rem;
}

.modal-body img {
  margin-top:3vh;
}