:root {
  --black: #020424;
  --maroon-dark: #482635;
  --maroon: #7e083a;
  --maroon-light: #a58db7;
  --gray-dark: #4b435d;
  --gray: #aebabf;
  --gray-light: #a9b7ce;
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}
body {
  font-family: "Moderustic", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: var(--black);
  background-color: white;
  margin: 0;
  padding: 0;
}
a {
  color: var(--maroon);
}

main {
  font-size: 1.1rem;
  & button {
    font-size: 1.1rem;
  }
  & section {
    position: relative;
  }
}
footer {
  font-size: 1rem;
}
.text-hide {
  text-indent: -9999px; /* Shifts the text far off-screen */
  overflow: hidden; /* Ensures no overflow text is visible */
  white-space: nowrap; /* Prevents text from wrapping to the next line */
  display: block; /* Allows setting width and height */
  font-size: 1px;
  height: 0;
  width: 0;
}
.container {
  display: flex;
  flex-flow: column;
  padding: 0 var(--bs-gutter-x);
  max-width: 1280px;
  width: calc(100% - var(--bs-gutter-x) * 2);
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: calc(100% - var(--bs-gutter-x));
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
  margin-bottom: var(--bs-gutter-y);
}

@media (min-width: 576px) {
  .row > * {
    margin-bottom: 0;
  }
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

.card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  flex: 1 0 0%;
}

.card-deck {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  & .card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
    margin-top: 1rem;
  }
}
.card-img {
  width: 80%;
  border-radius: calc(0.25rem - 1px);
  overflow: hidden;
  margin: auto;

  & img {
    height: auto;
    width: 100%;
  }
}
.card-body {
  display: flex;
  flex-flow: column;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 4rem 2rem 3rem;
  justify-content: center;
  align-items: flex-start;

  & a.btn,
  & button.btn {
    margin: 1rem auto;
  }
}

.card-title {
  margin: auto;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 200;

  & .bold {
    font-weight: bold;
  }
}
.jumbotron {
  width: calc(100% - 2rem);
  padding-top: 6rem;
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  background: rgba(0, 0, 0, 0.4) url(images/space-greenhouse.jpg);
  background-size: cover;
  background-blend-mode: darken;
  backdrop-filter: blur(100px);
  color: white;
  min-height: 40vh;
  display: flex;
  justify-content: flex-start;
  & .container {
    position: relative;
    z-index: 1;
  }
  & .title {
    margin-left: 0;
    width: 75%;
    min-width: 280px;
    max-width: 720px;
  }
  & .subtitle {
    margin: 1rem auto 1.5rem 0;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
  }

  & p.lead {
    margin-top: 0.5rem;
  }
  &:before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: block;
    z-index: 0;
    background-color: rgba(100, 100, 100, 0.9);
    background-image: linear-gradient(var(--maroon) 20%, var(--maroon-light) 100%);
    mix-blend-mode: multiply;
    opacity: 0.8;
    backdrop-filter: blur(40px);
  }
}

.btn {
  display: inline-flexbox;
  flex-flow: row;
  padding: 0.5rem 1.8rem;
  margin: auto;
  font-weight: 400;
  border-radius: 1.5rem;
  border: 2px solid white;
}
a.btn[href] {
  text-decoration: none;
  color: white;
}

.btn-primary {
  background-image: linear-gradient(var(--maroon), var(--maroon-dark));
  background-color: var(--maroon);
  color: white !important;
}
.btn-lg {
  font-size: 130%;
  letter-spacing: 0.07rem;
}
.btn-group {
  display: flex;
  margin: auto;
  width: 100%;
  max-width: 500px;
  justify-content: center;
  align-items: center;

  & > * {
    margin: auto;
  }
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row;
  flex-wrap: wrap;

  & .btn {
    margin: auto;
  }
}
.title {
  text-indent: -9999px; /* Shifts the text far off-screen */
  overflow: hidden; /* Ensures no overflow text is visible */
  white-space: nowrap; /* Prevents text from wrapping to the next line */
  display: block; /* Allows setting width and height */

  margin: auto;
  aspect-ratio: 6 / 1;
  /* Sets the height of the logo element */
  background-image: url("images/aginnovators-title.svg"); /* URL of the logo image */
  background-size: 100%; /* Ensures the background image covers the entire area */
  background-repeat: no-repeat;
}
header {
  left: 0;
  margin: auto 0;
  z-index: 1;
}
nav.navbar {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5rem 0;
  color: white;
  background: rgba(50, 10, 20, 0.9);
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  z-index: 2;
  height: 44px;

  & .container {
    flex-flow: row;
    width: 100%;
    align-items: center;
    position: relative;
  }
  & .title {
    position: absolute;
    margin: auto;
    margin-left: 0;
    z-index: 2;
    left: 0;
    width: auto;
    height: 44px;
    left: 1rem;
    z-index: 5;
  }
  & ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    margin: auto;
    margin-right: 0;
    right: 0;
    & li {
      margin: auto 0.5rem;
      display: flex;
      flex-wrap: nowrap;
    }
    & li a {
      color: inherit;
      text-decoration: none;
      padding: 0.25rem 0.5rem;
      border-bottom: 1px solid transparent;
      font-weight: bold;
      font-size: 1.1rem;
      display: flex;
      flex-wrap: nowrap;
      &:hover {
        border-color: white;
      }
    }
  }
}

.btn-navbar {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  justify-content: center;
  align-items: center;
  margin: auto;
  position: absolute;
  right: 0;
  top: -22px;
  transition: transform 0.3s ease-in-out;
  z-index: 5;
  &.close {
    transform: rotate(45deg);

    & #hamburger-icon {
      display: none;
    }
    & #close-icon {
      display: block;
      margin: autol;
    }
  }

  & #hamburger-icon,
  & #close-icon {
    stroke: white;
    height: 60%;
    width: auto;
    margin: auto;
  }
  & #close-icon {
    display: none;
  }
  & path {
    fill: white;
  }
}

#home-page nav.navbar {
  background: rgba(50, 10, 20, 0.6);
  height: 44px;
}

.navbar-collapse {
  display: flex;
  margin-right: 0;
  margin-left: auto;
}

@media (max-width: 1080px) {
  .btn-navbar {
    display: block;
  }
  .navbar .container {
    padding: 0;
  }
  .navbar-collapse {
    position: absolute;
    min-height: 0px;
    height: 0px;
    width: 100%;
    transition: all 0.5s ease-in-out;
    background-image: linear-gradient(var(--maroon), var(--maroon-dark) 90%);
    overflow: hidden;

    z-index: 2;

    top: 30px;

    & ul.navbar-nav {
      display: flex;
      flex-flow: column;
      justify-content: center;
      width: 100%;
      margin: auto;
      padding: 1rem;
      & li {
        margin: auto;
        display: flex;
        width: 80%;
        margin: 1rem auto;
        justify-content: center;

        & a {
          width: calc(100% - 4rem);
          justify-content: center;
          padding: 1rem 2rem;
          font-size: 1.5rem;
        }
      }
    }
  }

  .navbar-collapse.active {
    min-height: 600px;
    height: calc(100vh - 6px);
  }

  .navbar-backdrop {
    height: calc(100vh - 47px);
    top: 44px;
    position: fixed;
    width: 100vw;
    background: var(--black);
    z-index: 1;
  }
}
.lead {
  line-height: 2.1rem;
  font-size: 1.4rem;
}

.section-title {
  color: var(--maroon);
  margin-bottom: 0.5rem;
  font-weight: normal;
  font-size: 2rem;

  & .bold {
    font-weight: bold;
  }
}

.page-title {
  margin-bottom: 0.5rem;
  font-weight: normal;
  font-size: 2.4rem;
  & .bold {
    font-weight: bold;
  }
}
.img-container {
  & img {
    width: 100%;
    height: auto;
  }
  & .caption {
    font-size: 0.95rem !important;
  }
}

.bg-maroon {
  background-color: var(--maroon-dark);
  color: white !important;
}

.bg-maroon-light {
  background-color: var(--maroon-light);
  color: var(--black);
}

.bg-gray-dark {
  background-color: var(--gray-dark);
  color: white;
}
.bg-gray {
  background-color: var(--gray);
  color: var(--black);
}

.bg-gray-light {
  background-color: var(--gray-light);
  color: var(--black);
}

section {
  padding: 2rem 0;
  & p {
    line-height: 1.6rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
  }
}
.page-header {
  padding: 6rem 1rem 2rem;
  background: linear-gradient(90deg, #7e083a 20%, #886cb5 100%);
  background-blend-mode: overlay;
  color: white;
  overflow: hidden;
  position: relative;
  & h1 {
    font-size: 2.6rem;
    font-weight: 200;
    letter-spacing: 0.03rem;
  }
  & p.lead {
    margin-top: 0.25rem;
  }
  &:before {
    position: absolute;
    content: "";
    background-image: url(images/innovator-symbol.png);
    background-size: cover;
    background-blend-mode: overlay;
    opacity: 0.2;
    left: -2%;
    height: 110%;
    mix-blend-mode: overlay;
    aspect-ratio: 585 / 566;
    top: 0;
    z-index: 0;
    transition: all 0.3s ease;
  }
}
@media (min-width: 1280px) {
  .page-header:before {
    left: 2%;
  }
}
@media (min-width: 1480px) {
  .page-header:before {
    left: 4%;
  }
}

.video-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray);
  &:last-child {
    border: none;
  }
  & h2 {
    color: var(--maroon);
    font-weight: 400;
    font-size: 2.1rem;
    margin: 0.25rem auto;
  }
  & h3 {
    color: var(--gray-dark);
    font-weight: normal;
    margin: 0.25rem auto 1rem;
    font-size: 1.5rem;
  }
  & p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

footer > * {
  padding: 2rem 0;
}

.video-container {
  width: 100%;
  /*padding: 0.25rem 0.5rem;*/

  & .embeded-video {
    width: 100%;
    height: 100%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
  }
  & .zembeded-video:after {
    background-image: url(images/Video-player-icon.svg);
    background-size: cover;
    content: "";
    display: block;
    position: absolute;
    width: 20%;
    z-index: 1;
    aspect-ratio: 1 / 1;
    pointer-events: none;
  }
  & iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
  }

  & img.video-thumb {
    width: 100%;
    height: auto;
    border: 0;
  }

  & video {
    width: 100%;
    border: 0;
  }
}
.logos {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  & > * {
    flex: 0 0 1;
    margin: auto;
    margin-left: 0;
    width: 80%;
    max-width: 400px;
  }
}

.interactive-container {
  margin: 0;
  padding: 0;
  outline: 2px solid white;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  & iframe {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 0;
  }
}

.accomodations-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  & > div {
    display: flex;
    flex-flow: column;
    padding: 10px;
    margin: 0 0;
    width: calc(33% - 20px);
  }
}
.accomodations-list img {
  max-width: 150px;
  margin: 0 0 5px 0;
}
.accomodations-list h3,
.accomodations-list p {
  margin: 0 0 5px 0;
}
@media (min-width: 860px) {
  .jumbotron .title {
    width: 60%;
  }
  .row {
    flex-wrap: nowrap;
  }
  .col-6 {
    max-width: calc(50% - var(--bs-gutter-x) * 2);
    flex: 0 0 auto;
  }
  .col-4 {
    max-width: calc(33.3% - var(--bs-gutter-x) * 2);
    flex: 0 0 auto;
  }
  .col-8 {
    max-width: calc(66.6% - var(--bs-gutter-x) * 2);
    flex: 0 0 auto;
  }

  .col-10 {
    max-width: calc(83.33% - var(--bs-gutter-x) * 2);
    flex: 0 0 auto;
  }

  .card-deck {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;

    & .card {
      margin-top: 0;
    }
  }
}

#game {
  position: relative;
  width: 100%;
  background-image: linear-gradient(var(--maroon), white 150%);
  background-color: var(--maroon);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  & header {
    padding: 1rem;
    width: calc(100% - 2rem);
    margin: auto;
  }

  & .heroes-menu {
    display: flex;
    flex-direction: row;
    margin: auto;
    padding: 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
    align-items: center;
    & .hero-menu-item {
      width: calc(33.3% - 2rem);
      padding: 1rem;
      aspect-ratio: 3 / 3;
      margin: auto 1rem;
      background: white;
    }
  }

  & canvas,
  & video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #231f20;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }
}
/*
.gallery-slider {
  position:relative;
  overflow: hidden;
  width: 100%;
  display:flex;
  justify-content: flex-start;
  align-items:center;
  & .slider-button {
    position:absolute;
    width:2rem;
    height:4rem;
    padding:0;
    border:0;
    background:rgba(255,255,255,.5);
    margin:auto;
    border-radius:10px;
    z-index:3;
    display:none;
    &#arrow-right {
      right:0;
    }
    &#arrow-left {
      left:0;
    }
  }
}
*/
.gallery {
  /*
   * handled in slick theme *
  margin-left:rem;
  display: flex;
  flex-flow: row;
  gap: 1.5rem;
  justify-content: center;
  align-items:flex-start;
  right:0;
  */

  & .reel-video-container {
    position: relative;

    aspect-ratio: 9 / 16;
    min-height: 300px;
    background: rgba(0, 0, 0, 0.5);
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 700px;
    &:after {
      /*
      content: "";
      background-image: url(images/Video-player-icon.svg);
      background-size: cover;
      content: "";
      display: block;
      position: absolute;
      width: 40%;
      z-index: 1;
      aspect-ratio: 1 / 1;
      */
    }
  }
}

#historic-innovators-cards {
  padding-top: 3rem;
  .card {
    overflow: visible;
  }
  & h3 {
    color: var(--maroon);
    font-size: 1.8rem;
    margin: 1rem auto 0.5rem;
  }
  & .card-img {
    padding: 1.25rem 1.25rem 0;
    height: 220px;
    text-align: center;
    overflow: visible;

    & img {
      height: 220px;
      width: auto;
      margin: auto;
    }
  }

  & .card-body {
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.25rem 1.25rem 0.75rem;
    margin-top: 0;
    align-items: center;
    justify-content: flex-start;
    & p {
      margin: 0.5rem auto 0.5rem;
    }
  }
  & .button-container {
    flex-grow: 0;
    justify-content: center;
    width: 100%;
    /*margin: auto auto 0;*/
  }
  & .card-footer {
    padding: 0.75rem 1.25rem;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    & p {
      margin: auto auto .25rem;
    }

    & .card-footer-link {
      text-align: left;
      width: 100%;
      border-top: 1px dotted var(--gray-light);
      padding: 0.25rem 0 0;
      margin: 0.25rem 0 0;

      & a {
        font-size: 1rem;
      }
    }
  }

  & p.caption {
    font-size: 1rem;
    line-height: 1.2;
    color: var(--gray-dark);
  }
}

/*credits*/
#credits-window .modal-body,
#credits-window .modal-header {
  padding: 1rem 2rem;
}
#credits-window .modal-header {
  padding-right: 1rem;
}
#credits-window {
  & dl {
    & dt {
      font-weight: bold;
      margin: 0.25rem 0;
    }
    & dd {
      margin: 0.25rem 0 1rem;
    }
  }
  & .modal-body p {
    font-size:.95rem;
  }
}

/*modals*/

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  overflow-y: scroll;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-dialog {
  position: relative;
  width: auto;
  top: 2rem;
  margin: 0.5rem auto;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.fade {
  opacity: 0;
  transition: opacity 0.25s linear;
}

.fade.show {
  opacity: 1;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition:
    transform 0.3s ease-out,
    -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  transform: translate(0, -25%);
}
.modal.show .modal-dialog {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;

  & .modal-title {
    font-weight: 300;
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-header .close-button {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 0.75rem auto;
  }
}
@media (min-width: 768px) {
  .modal-lg {
    width: 90%;
    max-width: calc(860px + 2rem);
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 90%;
    max-width: calc(1024px + 2rem);
  }
}

.close-button {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}
button.close-button {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
}
