@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@300;400;500;700&family=Questrial&display=swap');
@import url(fa-all.min.css);
@import url(animate-v0.0.1.css);

:root {
  --s1: 1rem;
  --primary-bg: #212121;
  --text-color: #ffffff;
}

html {
  height: 100vh;
}

/* Global font smoothing to reduce graininess on script fonts */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: #592B2B;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
}

.apply {
  background: var(--primary-bg) url('/images/background-25-forms.png') top center / 100% auto repeat-y;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

h1, h2, h3, h4, p {
  color: var(--text-color);
  margin: 0;
}

h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3em;
}

h2 {
  font-size: 4em;
  font-family: 'Questrial', sans-serif;
}

h3 {
  font-size: 2.5em;
  font-family: 'Questrial', sans-serif;
}

h4 {
  font-size: 2.1em;
  font-family: 'Questrial', sans-serif;
}

p {
  font-size: 1.3em;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
}

a {
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  display: block;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  padding: 1em;
  text-decoration: none;
  color: var(--text-color);
}

a:hover {
  color: rgb(254, 227, 140);
}

hr {
  border: 0.5px solid var(--text-color);
  width: 85%;
  margin: 1em auto;
}

.logo {
  width: 80px;
  padding: 0.3em;
  cursor: pointer;
}

.body-content {
  margin-top: 6em;
}

.main {
  min-height: 90vh;
}

.main-account {
  min-height: 95vh;
  background: url(/images/background-26-d.png) no-repeat center center fixed;
  background-size: cover;
}

.main-apply {
  min-height: 95vh;
  background: url(/images/background-25-app.png) top center / 100% auto repeat-y;
}

.menu, .menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-bg);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu {
  height: 5em;
}

.menu-mobile {
  height: 4.6em;
  display: none;
}

.menu nav, .menu-mobile nav {
  list-style: none;
}

.menu li {
  display: inline;
}

.menu a {
  display: inline-block;
  padding: 18px;
  font-size: 20px;
  font-family: 'Poppins', sans-serif;
}

.slide-out {
  top: 5em;
  right: 0;
  position: fixed;
  z-index: 1;
  width: 30em;
  height: 90vh;
  overflow-y: scroll;
  background-color: var(--primary-bg);
  padding: 1rem;
}

#opening {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  text-align: center;
  min-height: 100vh;
}

#welcome {
  width: 30em;
}

#hello {
  margin-bottom: 0.5em;
}

#welcome h4 {
  font-size: 1.3em;
}

#welcome h3, #welcome h4 {
  margin: 0.5em 0;
}

#checkin {
  width: 30em;
}

#start {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
}

.center-content {
  margin: 0em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
}

.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin: 3em 6em;
}

.with-sidebar > :first-child {
  flex-basis: 25em;
  flex-grow: 1;
}

.with-sidebar > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 50%;
}

.small-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin: 3em 6em;
}

.small-sidebar > :first-child {
  flex-basis: 18rem;
  flex-grow: 1;
}

.small-sidebar > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 62%;
}

.side-by-side {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin: 3em 6em;
}

.side-by-side > :first-child {
  flex-grow: 1;
}

.side-by-side > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 50%;
}

li {
  list-style: none;
  color: var(--text-color);
  font-size: 1.4em;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  padding: 0.5em;
}

.paragraph h4 {
  margin-top: 0;
}

.paragraph li {
  list-style: circle;
  font-size: 1.3em;
  padding: 0.3em;
}

#forms {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  align-content: center;
  text-align: center;
  margin: 4em 0 8em;
  min-height: 100vh;
}

#index-menu h2 {
  line-height: 0.6em;
  font-weight: 100;
}

#index-menu h3 {
  font-size: 1.3em;
  font-weight: 100;
}

#user-data {
  display: flex;
  cursor: default;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
  height: 100vh;
}

#user-data h1 {
  font-size: 3.5em;
  line-height: 0.2em;
}

#user-data a {
  font-size: 1.5em;
  line-height: 0.5em;
}

#ITwo {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

#info {
  width: 25em;
  display: block;
}

#info h2 {
  font-size: 2.2em;
}

#info a {
  font-size: 1.18em;
  font-weight: 500;
  padding: 0.7em;
  font-family: 'Poppins', sans-serif;
}

#info a:hover {
  background-color: #00313d;
  color: var(--text-color);
  border-radius: 2px;
}

#info-mobile h2 {
  font-size: 2.2em;
}

#info-mobile a {
  font-size: 1.18em;
  font-weight: 500;
  padding: 0.7em;
  font-family: 'Poppins', sans-serif;
}

#info-mobile a:hover {
  background-color: #00313d;
  color: var(--text-color);
  border-radius: 2px;
}

#small-menu {
  display: none;
}

#dates {
  width: 25em;
  display: block;
}

#dates h2 {
  font-size: 2.2em;
}

#dates ul {
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  text-align: left;
}

#dates li {
  font-size: 1.05em;
  font-weight: 700;
  padding: 0.4em;
  margin-bottom: 1em;
}

#dates-mobile h2 {
  font-size: 2.2em;
}

#dates-mobile ul {
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  text-align: left;
}

#dates-mobile li {
  font-size: 1.05em;
  font-weight: 700;
  padding: 0.4em;
  margin-bottom: 1em;
}

#thecolumn {
  text-align: left;
  text-indent: 3em;
  padding-bottom: 5%;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
select,
textarea {
  width: 30em;
  max-width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  border: solid 1.3px var(--text-color);
  border-radius: 2px;
  outline: 0;
  background: var(--text-color);
  height: 2em;
  box-sizing: content-box;
  color: #000000;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: #74bcff;
}

label {
  font-size: 1em;
  font-family: 'Poppins', sans-serif;
}

.nav {
  padding-top: 0.35em;
}

.nav a {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
}

.indexnav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.indexnav li {
  display: inline;
}

.indexnav a {
  display: inline-block;
  padding: 10px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 24px;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.indexnav a:hover {
  color: #00313d;
}

.account-menu {
  border: 0.7px solid var(--text-color);
  background-image: url(/images/white.png);
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(25px);
  border-radius: 5px;
  margin: 0.75em auto;
  max-width: fit-content;
}

.account-menu nav {
  list-style: none;
}

.account-menu li {
  display: inline;
}

.account-menu a {
  display: inline-block;
  padding: 0.5em;
  font-size: 1.35rem;
  color: #1F4C3F;
  font-family: 'Poppins', sans-serif;
}

.account-menu a:hover {
  color: #FEE38C;
}

.video-wrapper {
  position: relative;
}

.video-wrapper > video {
  width: 100%;
  vertical-align: middle;
  z-index: auto;
}

.video-wrapper > video.has-media-controls-hidden::-webkit-media-controls {
  display: none;
}

.video-overlay-play-button {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10px calc(50% - 50px);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  opacity: 0.95;
  cursor: pointer;
  background-image: linear-gradient(transparent, #000);
  transition: opacity 150ms;
}

.video-overlay-play-button:hover {
  opacity: 1;
}

.video-overlay-play-button.is-hidden {
  display: none;
}

.close {
  position: fixed;
  top: 10px;
  right: 28px;
  z-index: 5;
  transition: fill 0.2s ease-in-out;
  transition-property: fill;
}

.close:hover {
  fill: #b92a2a;
}

.back {
  position: fixed;
  top: 10px;
  left: 28px;
  z-index: 5;
  transition: fill 0.2s ease-in-out;
  transition-property: fill;
}

.back:hover {
  fill: #2a84b9;
}

footer {
  bottom: 0.8em;
  align-self: flex-end;
  justify-content: center;
  color: var(--text-color);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  background-color: var(--primary-bg);
}

footer .copyright {
  margin: 0;
  padding: 0;
  font-size: 0.7em;
  list-style: none;
}

footer li {
  display: inline-block;
  padding-inline: 0.5em;
  font-size: 1em;
}

.footerone {
  bottom: 0.8em;
  position: sticky;
  align-self: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-color);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

.footerone .copyright {
  margin: 0;
  padding: 0;
  font-size: 0.7em;
  list-style: none;
}

.footerone li {
  display: inline-block;
  padding-inline: 0.5em;
  font-size: 1em;
}

.button, .button-legal {
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  position: relative;
  display: inline-block;
  height: 2.65em;
  line-height: 2.65em;
  font-size: 1.2em;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding: 0 1.5em;
  background-color: transparent;
  border-radius: 6px;
  border: solid 1px #b9b9b9;
  color: var(--text-color);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover, .button-legal:hover {
  background-color: var(--text-color);
  border: solid 1px var(--text-color);
  color: #922E2E;
}

.button-legal {
  margin: 0.5em;
}

svg {
  fill: var(--text-color);
}

body.is-legal {
  background: #c3d8c7 center / cover;
  overflow: auto;
}

.is-legal {
  color: #000000;
  fill: #000000;
}

#loading {
  stroke: #000000;
}

#mobile-toggle {
  display: none;
}

.list-link {
  padding-top: 1rem;
}

.list-link a {
  font-size: 1.5rem;
  padding: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

table, tr, td, th {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text-color);
  padding: 0.5rem 0.2rem;
  text-align: left;
}

th {
  text-align: left;
}

.waivers table {
  max-width: 100%;
  width: 100%;
}

.waivers td, .waivers th {
  padding-left: 1.8rem;
  padding-right: 1.8rem;
  font-size: 1em;
}

/* Modal Overlay */
.modal-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 33, 33, 0.85); /* Dark semi-transparent overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Modal active state */
.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Modal Box */
.modal-box {
  background-color: var(--primary-bg);
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 0.7px solid var(--text-color);
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5em 2em;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

/* Modal Close Button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2.2em;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #b92a2a;
}

/* Modal Title */
.modal-title {
  font-family: 'Questrial', sans-serif;
  font-size: 2.4em;
  margin: 0 0 0.8em 0;
  text-align: center;
}

/* Modal Content */
.modal-content p {
  font-size: 1.3em;
  line-height: 1.6;
  margin: 1em 0;
}

/* Optional: Responsive adjustment */
@media screen and (max-width: 480px) {
  .modal-box {
    width: 95%;
    padding: 2em 1.5em;
  }
  
  .modal-title {
    font-size: 2.1em;
  }
}

/* Info Modal Overlay - same as before but with a different class for multiple modals */
.info-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 33, 33, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  overflow-y: auto; /* Allows scrolling if modal itself is too tall on small screens */
}

.info-modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* Info Modal Box - taller and wider for detailed content */
.info-modal-box {
  background-color: var(--primary-bg);
  background-position: center;
  background-size: cover;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 0.7px solid var(--text-color);
  border-radius: 8px;
  width: 90%;
  max-width: 800px;            /* Wider than the previous modal */
  max-height: 85vh;            /* Takes most of the screen height */
  overflow-y: auto;            /* Internal scrolling for long content */
  padding: 3em 2.5em 2.5em;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

.info-modal-overlay.active .info-modal-box {
  transform: scale(1);
}

/* Scrollbar styling to match your dark theme */
.info-modal-box::-webkit-scrollbar {
  width: 10px;
}
.info-modal-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.info-modal-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}
.info-modal-box::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Close button - same style as before */
.info-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 2.4em;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

.info-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #b92a2a;
}

/* Optional: Title styling if you want one */
.info-modal-title {
  font-family: 'Questrial', sans-serif;
  font-size: 2.6em;
  text-align: center;
  margin: 0 0 1.5em 0;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media screen and (max-width: 680px) {
  .info-modal-box {
    width: 95%;
    max-width: none;
    padding: 3em 1.5em 2em;
    max-height: 90vh;
  }
  
  .info-modal-title {
    font-size: 2.2em;
  }
}

@media screen and (max-width: 950px) {
  #info, #dates {
    display: none;
  }
  #welcome, #info-mobile, #dates-mobile {
    width: max-content;
  }
  #small-menu {
    display: block;
  }
  #t-hide {
    display: none;
  }
  .main-account {
    background: url(/images/background-26-m.png) center / cover no-repeat;
  }
  .menu {
    display: none;
  }
  .menu-mobile {
    display: flex;
  }
  .menu-mobile > :first-child {
    flex: 1;
    transform: translateX(40px);
  }
  .menu-mobile > :last-child {
    margin-left: auto;
  }
  .slide-out {
    top: 4.6em;
    width: 100%;
  }
  .mm {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    cursor: default;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-align: center;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    z-index: 10;
    background-color: var(--primary-bg);
  }
  .mm a {
    font-size: 2.2em;
    padding: 0.9rem;
    font-family: 'Poppins', sans-serif;
  }
  .mm-close {
    position: fixed;
    top: 20px;
    right: 28px;
    z-index: 15;
  }
  .with-sidebar, .small-sidebar, .side-by-side {
    margin: 1em 1.8em;
  }
  .body-content {
    margin: 4.8em 0.5em 0 0.5em;
  }
  .waivers td, .waivers th {
    font-size: 0.7em;
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.4em;
  }
  h2 {
    font-size: 2.9em;
  }
  h3 {
    font-size: 2.1em;
  }
  h4 {
    font-size: 1.8em;
  }
  p {
    font-size: 1.2em;
  }
  .nav a {
    display: block;
  }
  .with-sidebar {
    margin: 0.6em;
  }
  #m-hide {
    display: none;
  }
  #mobile-toggle {
    display: flex;
  }
  .indexnav li {
    display: block;
  }
  .indexnav a {
    display: block;
    padding: 16px;
    border-bottom: none;
  }
  .footerone li, footer li {
    display: block;
  }
}