html {
  background: url(../img/toymonkey.gif);
  background-repeat: no-repeat;
  background-color: black;
  background-position: center;
  height: 100%;
}

body {
    background-color: black;
    display: none;
}

#bc-error-msg-container {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 80%;
}

#bc-error-msg-container .bc-error-msg {
  border: 1px solid red;
  position: relative;
  padding: 1em;
  margin: 1em;
  border-radius: 10px;
  background-color: #ff00007a;
  color: white;
}

.debug {
  border: 1px solid white;
}

.item-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.children-disabled > * {
  opacity: 0.4;
  pointer-events: none;
}

#flash-screen {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200000;
  visibility: collapse;
}

#flash-screen.visible {
  visibility: visible !important;
}

#flash-screen div {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
}

#flash-screen div.layer-1 {
  background: radial-gradient(circle, rgba(255, 255, 255, 1), transparent 80%);
}

#flash-screen div.layer-2 {
  background: radial-gradient(circle, rgba(255, 255, 255, 1), transparent 200%);
}

#flash-screen > .active {
  opacity: 1 !important;
  transition: opacity 1s linear;
}

.masthead {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
}

header .head-background {
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
}

header .head-background video {
  width: 100%;
  max-width: 2080px;
}

header .head-title {
  /* border: 1px solid blue; */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/*
header h1 {
  font-size: 8vw;
  text-align: center !important;
  width: 100%;
  color: white;
} 
*/

header .head-text {
  color: white;
  width: 40%;
  left: 30%;
  position: relative;
}

header h2 {
  /* border: 1px solid white; */
  /* font-family: 'Astloch', cursive; */
  width: 100%;
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 2em;
  text-align: center !important;
  color: white;
}

@media (orientation: portrait) {
  header .head-background {
    left: 0;
    transform: none;
    width: 100%;
  }

  header h1 {
    font-size: 12vw;
  }

  header .container {
    margin: 0;
    width: 100%;
  }

  #bc-error-msg-container .bc-error-msg {
    font-size: 2em;
  }
}

/*################# NAVIGATION BAR #################*/

#mainbar {
  font-family: 'IM Fell DW Pica SC', serif;
  font-size: 1.2em;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  width: 80%;
  height: 3em;
  top: 0.5em;
  margin-left: 10%;
  border-radius: 4px;
  box-shadow: 0 0 10px rgb(0, 0, 0);
}

#mainbar .navbar-brand {
  font-family: 'Jim Nightshade', cursive;
  font-size: 2em;
}

#mainbar a img {
  height: 1.3em;
  margin: 0.1em 0.3em 0.1em 0.1em;
}

#mainbar button {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 0.9em;
}

#mainbar .connect-btn {
  font-family: 'Outfit', sans-serif;
  border-radius: 0.5em;
  box-shadow: 0 0 0.6rem 0.2rem rgba(255, 0, 0, 0.7);
  color: rgb(255, 212, 212);
  height: 2em;
  width: 2em;
  line-height: 0;
  border: 2px solid rgba(255, 0, 0, 0.8);
  margin: calc(50% - 1em - 0.3rem) 0.4em 0 0.4em;
  padding: calc(50% - 1em);
}

#mainbar .connect-btn.connected {
  box-shadow: 0 0 0.6rem 0.2rem rgba(0, 255, 0, 0.7);
  border: 2px solid rgba(0, 255, 0, 0.8);
}

/*
#mainbar.navbar {
  padding-top: 0;
  padding-bottom: 0;
}*/

#mainbar ul.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 1em
}

#mainbar .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

#mainbar .navbar-nav .nav-link:hover {
  color: white;
}

#mainbar .navbar-nav .nav-link:active {
  background-color: rgba(0, 125, 255, 0.5);
  box-shadow: 0 0 10px rgb(0, 125, 255);
}

#mainbar .dropdown-menu .dropdown-item {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  margin: 5px 0 5px 0;
}

#mainbar .dropdown-menu-dark .dropdown-item:focus, #mainbar .dropdown-menu-dark .dropdown-item:hover {
  background-color: none;
  color: white;
}

#mainbar .dropdown-menu .dropdown-item:active {
  background-color: rgba(0, 125, 255, 0.5);
  box-shadow: 0 0 10px rgb(0, 125, 255);
}

#mainbar .wallet-item svg {
  display: block;
}

#mainbar .wallet-item span {
  display: none;
}

@media (max-width: 992px) {

  #mainbar {
    width: 94%;
    height: fit-content;
    margin-left: 3%;
    font-size: 3em;
  }

  #mainbar .container {
    max-width: 100%;
  }

  #mainbar .navbar-brand {
    font-size: 1.6em;
  }

  #mainbar a img {
    height: 1.3em;
  }

  #mainbar .wallet-item svg {
    display: none;
  }
  
  #mainbar .wallet-item span {
    display: block;
  }

  #mainbar .connect-btn {
    margin: 0.2em 0 0.2em 0;
    padding: 0.2em 0.5em 0.2em 0.5em;
    line-height: 1em;
    width: fit-content;
    height: unset;
  }
}

/*################# SECTIONS #################*/

/*
.page-section {
}*/

.page-section .container .row {
  min-height: 16vw;
}

.page-section {
  /* font-family: 'IM Fell DW Pica SC', serif; */
  font-family: 'Vollkorn', serif;
  font-size: 1.1em;
  color: white;
  margin-top: 12%;
  padding-top: 5%;
}

.page-section .section-title {
  display: flex;
  align-items: center;
}

.page-section .section-title a {
  color: white;
  margin: 0 0 0.3em 1em;
  width: 1.3em;
}

.page-section .section-title h2 {
  font-size: 1.8em;
  font-family: 'IM Fell DW Pica SC', serif;
}

.page-section .section-image {
  width: 100%;
  position: relative;
}

#SeeTheCircus {
  margin-top: 0;
  padding-top: 1%;
}

#SeeTheCircus {
  font-size: 1.2em;
}

#SeeTheCircus .section-image img {
  width: 100%;
}

@media (orientation: portrait) {
  #SeeTheCircus {
    font-size: 2em;
  }

  .page-section {
    font-size: 2em;
    line-height: 1.3em;
    margin-top: 30%;
    padding-top: 20%;
  }
}

/*################# TOKEN INFO CREEN #################*/
#token-description-screen {
  display: none;
  z-index: 10000;
  position: fixed;
  top: 10%;
  left: 50%;
  height: 80%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  transition: transform 500ms;
  transform-style: preserve-3d;
}

#token-description-screen.flip {
  transform: translateX(-50%) rotateY(180deg);
}

#token-description-screen .token-front-face {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  background-color: black;
  border-radius: 1.8em;
}

/*
#token-description-screen .token-front-face img {
  
}*/

#token-description-screen .token-back-face {
  position: relative;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
}

/*
#token-description-screen .token-front-face {
}*/

#token-description-screen .token-front-face img {
  height: 100%;
  border: 4px solid rgba(0, 0, 255, 0.2);
  border-radius: 1.8em;
  box-shadow: 0 0 1em 0.2em rgb(0 0 64);
}

#token-description-screen .description-frame {
  height: 100%;
  position: relative;
}

.description-frame .close-button {
  position: absolute;
  top: 2.5em;
  right: 3em;
}

.description-frame .close-button button {
  width: 2vw;
  height: 2vw;
  border-radius: 1vw;
  border-color: rgb(0, 0, 200);
  background-color: black;
  color: white;
  line-height: 0;
}

.description-frame .frame-background {
  border: 4px solid rgba(0, 0, 255, 0.2);
  border-radius: 1.8em;
  background-color: black;
  /* opacity: 0.9; */
  height: 100%;
  box-shadow: 0 0 1em 0.2em rgb(0, 0, 64);
}

.description-frame .frame-background img {
  height: 100%;
  border-radius: 1.8em;
  /* opacity: 0.4; */
}

.description-frame .description-frame-items {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 5%;
}

.description-frame-items .token-title {
  /* border: 1px solid red; */
  position: relative;
  color: white;
  display: flex;
  padding-left: 1em;
  flex-direction: column;
  height: 20%;
  width: 100%;
}

.description-frame-items .token-title h1 {
  font-family: 'IM Fell DW Pica SC', serif;
}

.description-frame-items .token-dialog {
  /* border: 1px solid green; */
  position: relative;
  height: 59%;
  width: 100%;
  padding: 1em 1em 0 1em;
}

.description-frame-items .token-dialog.expanded {
  height: 69%;
}

.token-dialog .token-dialog-box {
  border: 1px solid white;
  padding: 1em;
  /* margin: 1em; */
  border-radius: 0.5em 0.5em 0 0 ;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.token-dialog-box .token-dialog-text {
  font-size: 1.5em;
  color: white;
  overflow-y: auto;
  width: calc(100%);
  height: calc(100%);
  font-family: 'Vollkorn', serif;
}

.token-dialog-text::-webkit-scrollbar {
  width: 0.5em;
}

/* Track */
.token-dialog-text::-webkit-scrollbar-track {
  background: #202020a0;
  border-radius: 4px;
}

/* Handle */
.token-dialog-text::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 4px;
}

.description-frame-items .token-info-display {
  /* border: 1px solid blue; */
  position: relative;
  width: 100%;
  height: 10%;
  display: flex;
  padding: 0 1em 1em 1em;
  color: white;
}

.token-info-display div {
  border: 1px solid white;
  width: calc(100% / 3);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  font-size: 2em;
  background-color: rgba(0, 0, 0, 0.5);
}

.token-info-display .key-info-display {
  border-radius: 0 0 0 0.5em;
}

.token-info-display div span {
  font-size: 1em;
}

.token-info-display div a {
  line-height: 0;
  border-radius: 50%;
  /* border: 2px solid white; */
  padding: 0.05em;
  color: white;
  /* opacity: 0.4; */
}

.token-info-display div a.not-set {
  border: 2px solid #fff170;
  box-shadow: 0 0 8px 0px #fff170;
  color: yellow;
  opacity: 1;
  transition: box-shadow 500ms, filter 500ms;
}

.token-info-display div a.not-set:hover {
  box-shadow: 0 0 8px 2px #fff170;
  filter: drop-shadow(0 0 6px #fff170);
  transition: box-shadow 500ms, filter 500ms;
}

.token-info-display div a.set {
  opacity: 1;
  border: 2px solid white;
  color: white;
  transition: box-shadow 500ms, filter 500ms;
}

.token-info-display div a.set:hover {
  box-shadow: 0 0 8px 2px white;
  filter: drop-shadow(0 0 6px white);
  transition: box-shadow 500ms, filter 500ms;
}

.token-info-display .rat-info-display {
  border-radius: 0 0 0.5em 0;
}

.token-info-display .rat-info-display span {
  font-size: 0.6em;
}

.description-frame-items .token-key-control-panel {
  /* border: 1px solid blue; */
  position: relative;
  width: 100%;
  height: 10%;
  display: flex;
  padding: 0 1em 1em 1em;
}

.description-frame-items .token-key-control-panel.item-hidden {
  visibility: collapse;
}

.token-key-control-panel .input-group > * {
  color: white;
  border: 1px solid white;
  background-color: black;
}

.token-key-control-panel .form-select {
  min-width: 5em;
  box-shadow: 0 0 5px 1px rgb(160, 160, 255);
}

.token-key-control-panel .btn {
  box-shadow: 0 0 5px 1px rgb(160, 160, 255);
  background-color: rgba(0, 0, 128, 0.1) !important;
}

.token-key-control-panel .form-select:hover, .token-key-control-panel .btn:hover {
  box-shadow: 0 0 8px 1px rgb(255, 255, 255);
}

@media (orientation: portrait) {
  #token-description-screen {
    top: 20%;
    width: 90%;
    height: fit-content;
  }

  .description-frame .frame-background img {
    height: auto;
    width: 100%;
  }

  .token-title h1, .token-title h3 {
    font-size: 3em;
  }

  .description-frame-items .token-dialog {
    height: 64%;
    padding: 0em 0.7em 0 0.7em;
    font-size: 1.5em;
  }

  .description-frame-items .token-info-display {
    padding: 0 0.5em 0.5em 0.5em;
    font-size: 2em;
  }

  .token-key-control-panel .input-group-lg>* {
    font-size: 2em;
    border-radius: 0.6em;
  }

  .token-info-display .rat-info-display span {
    font-size: 0.5em;
  }
}

/*################# ME ROVERS #################*/
.rover {
  /*border: 1px solid red; */
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.rover img {
  max-width: 100%;
  border-radius: 1vw;
}

.rover .miniframe:hover {
  transition: 0.5s;
  box-shadow: 0 0 8px 2px yellow;
}

#roversContainer {
  overflow-y: auto;
  max-height: 42vw;
}

#roversContainer::-webkit-scrollbar {
  width: 0.5em;
}

/* Track */
#roversContainer::-webkit-scrollbar-track {
  background: #202020a0;
  border-radius: 4px;
}

/* Handle */
#roversContainer::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 4px;
}

.miniframe {
  /* border: 1px solid blue; */
  border-radius: 1vw;
  position: relative;
  color: white;
  transition: 1s;
}

.infobar {
  display: flex;
  background-color: rgba(54, 54, 54, 0.4);
  border-radius: 0 0 1vw 1vw;
  border: 3px solid rgba(40, 40, 40, 0.2);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.6em;
}

.infobar .token-id {
  /* border: 1px solid white; */
  width: 50%;
  justify-self: flex-end;
  align-self: center;
  border-radius: 0 0 0 1vw;
  padding: 0.1em 0 0.1em 0.8em;
  font-size: 1.2em;
}

.infobar .token-attrs svg.glow {
  color: yellow;
  filter: drop-shadow(0 0 6px yellow);
}

.infobar .token-attrs {
  /* border: 1px solid white; */
  width: 50%;
  justify-self: flex-end;
  align-self: center;
  border-radius: 0 0 1vw 0;
  text-align: right;
  padding: 0.1em 0.8em 0.1em 0;
  font-size: 1.2em;
}

.sales-panel {
  background-color: rgba(0, 0, 255, 0.1);
  border: 1px solid rgba(0, 0, 255, 0.2);
  border-radius: 1em;
  width: 100%;
  margin-bottom: 2em;
  margin-top: 1em;
  display: flex;
  font-family: 'Outfit', sans-serif;
}

.sales-panel div {
  /* border: 1px solid; */
}

.sales-panel .sales-info {
  padding: 0.5em 1em 0.5em 2em;
  width: 54%;
}

.sales-panel .minting {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.sales-panel .minting .glow-container {
  width: fit-content;
  height: fit-content;
  position: relative;
}

.sales-panel .minting .input-group {
  width: fit-content;
  height: fit-content;
  /* border: 1px solid white; */
}

.sales-panel .minting .glow-bg {
  position: absolute;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  top: -8px;
  left: -8px;
  filter: blur(10px);
  background: radial-gradient(rgb(255, 221, 105, 0.5), rgba(136, 133, 120, 0.5), rgb(192, 134, 25, 0.5), rgb(229, 197, 58, 0.5), rgb(255, 221, 105, 0.7));
  background-size: 400%;
  animation: steam 30s cubic-bezier(.77, .19, .24, .77) infinite;
  opacity: 0.6;
  transition: 0.5s opacity;
}

.sales-panel .minting .glow-container:hover > .glow-bg {
  opacity: 1;
  transition: 0.5s opacity;
}

.sales-panel .minting .input-group .btn {
  background-color: black;
  border: 2px solid yellow;
  color: white
}

.sales-panel .minting .input-group .form-select {
  background-color: black;
  border: 2px solid yellow;
  color: white
}

.sales-panel .supply-info {
  font-family: inherit;
  width: 13%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4em;
  border: 1px solid white;
  border-radius: 10px;
}

.sales-panel .supply-info .description {
  line-height: 1em;
}

.sales-panel .supply-info h2 {
  font-family: inherit;
}

@media (orientation: landscape) and (max-width: 1400px){
  .sales-panel {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .sales-panel .minting {
    width: 30%;
  }

  .sales-panel .supply-info {
    width: calc(30% - 0.8em);
    padding: 0.4em;
  }

  .sales-panel .supply-info h2 {
    margin: 0 0.4em 0 0;
  }

  .sales-panel .supply-info .info-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
  }

  .sales-panel .sales-info {
    width: 100%;
  }
}

@media (orientation: portrait) {
  .sales-panel {
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .sales-panel .minting {
    width: 100%;
    padding: 0 0.4em 0.4em 0.2em;
    align-items: start;
  }

  .sales-panel .minting button, .sales-panel .minting select {
    font-size: 1.4em;
  }

  .sales-panel .supply-info {
    width: calc(50% - 0.8em);
    padding: 0.4em;
    margin: 0.4em 0.4em 0.4em 0;
  }

  .sales-panel .supply-info h2 {
    margin: 0 0.4em 0 0;
  }

  .sales-panel .supply-info .info-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
  }

  .sales-panel .sales-info {
    width: 100%;
    padding: 0.5em 0 0.5em 0;
  }

  #roversContainer {
    max-height: 90vw;
  }
}

/*################# ME ROVERS (DURING PRE-SALES) #################*/

#MeRovers .disabled {
  display: none !important;
}

/*################# CABIN DOOR #################*/

.page-section #cabin-door {
  top: -10%;
}

.page-section #cabin-door-off {
  width: 100%;
  position: relative;
}

.page-section #cabin-door-on:hover {
  opacity: 1;
  transition: opacity 1s;
}

.page-section #cabin-door-on {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.page-section #cabin-door-lamp {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media (orientation: portrait) {
  .page-section #cabin-door {
    top: 0;
  }
}

/*################# BOLLETIN BOARD (WANTED) #################*/
#Wanted #bolletin-board-bg {
  width: 100%;
  position: relative;
}

#Wanted .poster {
  position: absolute;
  transition: opacity 1s;
}

#Wanted .dynamic-glow {
  opacity: 0;
  transition: opacity 0.5s;
}

#Wanted .dynamic-glow:hover {
  opacity: 1.0;
  transition: opacity 0.5s;
}

#Wanted #poster_08 img {
  left: 67%;
  top: 59.9%;
  width: 16.5%;
}

#Wanted #poster_09 img {
  left: 13.5%;
  top: 61.9%;
  width: 16.5%;
}

#Wanted #poster_02 img {
  left: 18%;
  top: 34%;
  width: 17.3%;
}

#Wanted #poster_04 img {
  left: 39.8%;
  top: 34.2%;
  width: 16.6%;
}

#Wanted #poster_10 img {
  left: 76.5%;
  top: 34.6%;
  width: 17%;
}

#Wanted #poster_05 img {
  left: 64.3%;
  top: 6%;
  width: 17.5%;
}

#Wanted #poster_07 img {
  left: 47.9%;
  top: 63.5%;
  width: 18.5%;
}

#Wanted #poster_03 img {
  left: 28.3%;
  top: 9.5%;
  width: 17.5%;
}

#Wanted #poster_06 img {
  left: 56.4%;
  top: 32.4%;
  width: 16.6%;
}

#Wanted #poster_01 img {
  left: 11.5%;
  top: 6.7%;
  width: 16.1%;
}

#captain-poster-screen {
  display: none;
  z-index: 10000;
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  height: 70%;
  font-family: 'Outfit', sans-serif;
}

#captain-poster-screen .poster-frame {
  height: 100%;
  position: relative;
}

.poster-frame .poster-background {
  border-radius: 1.8em;
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  box-shadow: 0 0 4em 1em black;
}

.poster-frame .poster-background img {
  height: 100%;
  border-radius: 1.8em;
}

.poster-frame .poster-button {
  width: 1.5em;
  height: 1.5em;
  font-size: 3em;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: -2em;
  left: calc(50% - 0.75em);
  border: 0.1em solid #fff170;
  box-shadow: 0 0 8px 1px yellow;
  transition: 0.5s;
}

.poster-frame .poster-button:hover {
  box-shadow: 0 0 8px 4px yellow;
  transition: 0.5s;
}

.poster-frame .poster-button a {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff170;
}

@media (orientation: portrait) {
  #captain-poster-screen {
    top: 15%;
    width: 80%;
    height: auto;
  }

  .poster-frame .poster-background img {
    height: auto;
    width: 100%;
  }

  .poster-frame .poster-button {
    width: 2em;
    height: 2em;
    bottom: -2.5em;
  }
}

/*################# CABIN FULLSCREEN POPUP #################*/

.fullscreen {
  /* border: 2px solid red; */
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color:rgba(0, 0, 0, 0.95);
  z-index: 10000;
  visibility: collapse;
  opacity: 0.0;
  transition: opacity 500ms, visibility 500ms;
}

.fullscreen.active, .fullscreen .look-at.active {
  visibility: visible;
  opacity: 1.0;
  transition: opacity 500ms, visibility 500ms;
}

.fullscreen .look-at {
  /* border: 1px solid blue; */
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  position: absolute;
  visibility: collapse;
  opacity: 0;
  transition: opacity 500ms, visibility 1s;
  display: flex;
  flex-flow: row;
}

.fullscreen .cabin {
  /* border: 1px solid red; */
  height: 100%;
  width: fit-content;
  left: 0;
  top: 0;
  margin: 0 auto;
  max-width: 1150px;
  position: relative;
}

.fullscreen .cabin video {
  /* border: 1px solid white; */
  width: auto;
  height: 100%;
  top: 0;
  left: 0;
  position: relative;
}

.fullscreen .cabin .hidden-element {
  position: absolute;
  opacity: 0;
  transition: opacity 500ms;
}

.fullscreen .cabin #papers-on {
  top: 67%;
  left: 34.2%;
  height: auto;
  width: 18%;
}

.fullscreen .cabin #book-on {
  top: 65.5%;
  left: 48.8%;
  height: auto;
  width: 15%;
}

.fullscreen .cabin img:hover {
  opacity: 1.0;
  transition: opacity 500ms;
}

.fullscreen .look-at .paper {
  /* border: 1px solid red; */
  width: 45%;
  height: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  display: flex;
}

.fullscreen .look-at .paper .paper-container {
  /* border: 1px solid white; */
  height: 100%;
  width: auto;
  position: relative;
}

.fullscreen .look-at .paper .paper-bg {
  /* border: 1px solid red; */
  background-color: rgb(0, 0, 0, 0.8);
  filter: blur(6px);
  border-radius: 16px;
  width: 100%;
  height: 100%;
  position: absolute;
}

.fullscreen .look-at .paper img {
  height: 100%;
  width: auto;
  position: relative;
  max-width: 100%;
}

.fullscreen .look-at .paper-text {
  /* border: 1px solid red; */
  position: absolute;
  top: 7%;
  left: 7%;
  width: 86%;
  height: 86%;
}

.fullscreen .paper-text .stanza {
  /* border: 1px solid blue; */
  position: relative;
  height: 25%;
  text-align: center;
  font-family: 'La Belle Aurore', cursive;
  font-size: 3.2vh;
  color: black;
  font-weight: bold;
  opacity: 0;
}

.fullscreen .paper-text .stanza.known {
  opacity: 1
}

.fullscreen .paper-text .stanza.memory {
  opacity: 0.4;
  filter: blur(1px);
}

/*
.fullscreen .look-at #paper-2 {
  left: 50%;
  top: -100%;
}*/

.fullscreen .paper-text .book-page {
  /* border: 1px solid blue; */
  position: relative;
  height: 100%;
  width: 90%;
  left: 5%;
  text-align: left;
  /* font-family: 'IM Fell DW Pica SC', serif; */
  font-family: 'Goudy Bookletter 1911', serif;
  font-size: 2.4vh;
  color: black;
  font-weight: bold;
}

#book-screen .paper {
  left: 25%;
}

.fullscreen .poem-button-container {
  /* border: 1px solid white; */
  height: fit-content;
  width: 10%;
  visibility: collapse;
  display: flex;
}

.fullscreen .poem-button-container.active {
  visibility: visible;
}

.fullscreen .poem-button-container .poem-button-frame {
  /* border: 1px solid red; */
  height: 8em;
  width: 8em;
  color: #fff170;
  display: flex;
  position: relative;
  left: calc(50% - 4em);
  justify-content: center;
  align-items: center;
}

.fullscreen .poem-button-container .poem-button-frame .poem-button {
  border: 0.1em solid #fff170;
  font-size: 3em;
  line-height: 0;
  padding: 0.1em;
  border-radius: 50%;
  box-shadow: 0 0 8px 1px yellow;
  transition: box-shadow 500ms;
}

.fullscreen .poem-button-container .poem-button-frame .poem-button:hover {
  box-shadow: 0 0 8px 3px yellow;
  transition: box-shadow 500ms;
}

.poem-button svg {
  color: #fff170;
}

@media (orientation: portrait) {

  .fullscreen .cabin {
    top: 50%;
    height: fit-content;
    transform: translateY(-50%);
  }

  .fullscreen .cabin video {
    height: auto;
    width: 100%;
  }

  .fullscreen .look-at {
    flex-flow: column;
    align-items: center;
    justify-content: center;
    line-height: 3.2em;
    font-size: 0.8em;
  }

  .fullscreen .look-at .paper {
    width: fit-content;
    height: 48%;
  }

  .fullscreen .poem-button-container {
    height: 4%;
    width: 100%;
    align-items: center;
  }

  #book-screen .paper {
    left: 0;
    width: 100%;
    height: fit-content;
  }

  #book-screen .paper-container {
    width: 100%;
  }

  #book-screen .paper-container img {
    width: 100%;
  }

  .fullscreen .paper-text .stanza {
    font-size: 2em;
  }  
}
/*################# THEDEEPSEA #################*/
#theDeepSea {
  margin-top: 100%;
  width: 100%;
}

/*################# SEABOTTOM #################*/
.seabottom {
  margin-top: 32vh;
}

.seabottom .frame {
  /* border: 1px solid red; */
  width: 100%;
  left: 0;
  bottom: -8px;
  position: relative;
}

.seabottom .legend {
  /* border: 1px solid blue; */
  color: rgb(167, 167, 167);
  font-family: 'Bona Nova', serif;
  position: relative;
  text-align: center;
  width: 70%;
  left: 15%;
  font-size: 1.2em;
}

.seabottom .legend .section-title {
  display: flex;
  justify-content: center;
}

.seabottom .section-title a {
  width: 1.3em;
  color: white;
  line-height: 0;
  margin: 0.45em 0 0 1em;
}

.seabottom .chest {
  /* border: 1px solid red; */
  width: 70%;
  height: auto;
  position: relative;
  left: 15%;
  bottom: 0;
  display: flex;
}

.seabottom .chest #seabottom-bg {
  /* border: 1px solid yellow; */
  height: auto;
  width: 100%;
}

.seabottom .chest #seabottom-chest {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.seabottom .chest #seabottom-chest.hidden {
  visibility: collapse;
}

@media (orientation: landscape) and (min-width: 2080px) {
  .seabottom .chest {
    left: calc(50% - 1040px);
    width: 2080px;
  } 
}

@media (orientation: portrait) {
  .seabottom .chest {
    width: 100%;
    left: 0;
  }

  .seabottom .frame {
    width: 100%;
    left: 0;
  }

  .seabottom .legend {
    font-size: 2em;
  }

  .seabottom .legend h2 {
    font-size: 2em;
  }
}

/*################# MARQUIS BANQUET #################*/
#MarquisBanquet.hidden {
  /* visibility: collapse; */
  display: none;
}

.chest-main-container {
  /* border: 1px solid white; */
  position: relative;
  width: fit-content;
  height: fit-content;
  left: 50%;
  transform: translateX(-50%);
}

.chest-main-container .chest-background {
  /* border: 1px solid blue; */
  position: relative;
}

.chest-main-container .glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: 500ms opacity;
}

.chest-main-container .glow.active {
  opacity: 1;
  transition: 500ms opacity;
}

.chest-main-container .key-frame {
  position: absolute;
  /* border: 1px solid red; */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40%;
}

.chest-main-container .key-frame .key-container {
  position: relative;
  width: 50%;
}

.chest-main-container .key-container .key-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  opacity: 0;
  transition: 500ms opacity;

  /*
  background: yellow;
  filter: blur(24px);
  */
}

.chest-main-container .key-container .key-glow:hover {
  opacity: 1;
  transition: 500ms opacity;
}

.chest-main-container .key-frame {
  visibility: collapse;
}

.chest-main-container .key-frame.enabled {
  visibility: visible;
}

.chest-main-container .key-frame img {
  width: 100%;
}

.chest-main-container .key-frame.active .key-glow {
  opacity: 1;
}

#the-key-1 {
  top: 0;
  left: 0;
}

#the-key-2 {
  left: 0;
  bottom: 0;
}

#the-key-3 {
  right: 0;
  top: 0;
}

#the-key-4 {
  right: 0;
  bottom: 0;
}

#MarquisBanquet .payments-container {
  /* border: 1px solid red; */
  position: relative;
  width: fit-content;
  height: fit-content;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
}

#MarquisBanquet .payments-container .payment-item {
  position: relative;
}

#MarquisBanquet .payments-container .payment-item img {
  height: 8em;
}

.payment-item .gold-coin-glow {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 500ms opacity;
}

.payment-item .gold-coin-glow:hover {
  opacity: 1;
  transition: 500ms opacity;
}

.payment-item .payment-amount-display {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Mouse Memoirs', sans-serif;
  font-size: 1.3em;
  color: #f8c97f;
  text-shadow: 0 0 10px #845000;
}

#MarquisBanquet .chest-amount-display {
  /* border: 1px solid white; */
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Mouse Memoirs', sans-serif;
}

#MarquisBanquet .chest-amount-display span {
  font-size: 2em;
  color: #f8c97f;
  filter: drop-shadow(0 0 16px #4276a4);
  opacity: 90%;
}


/* ABOUTUS */

#AboutUs.hidden {
  display: none;
}

#AboutUs .section-header {
  display: flex;
  justify-content: space-between;
}

.section-header .project-links {
  display: flex;
  padding-right: 6%;
}

.section-header .project-links .project-link {
  padding-inline: 0.5em;
}

.section-header .project-links .project-link svg {
  color: white;
  font-size: 1.8em;
}

#AboutUs .members-container {
  /* border: 1px solid white; */
  display: flex;
  justify-content: space-between;
  margin-right: 6%;
}

#AboutUs .members-container .member {
  /* border: 1px solid blue; */
  width: 20%;
}

#AboutUs .members-container .member img {
  width: 100%;
  border-radius: 8%;
  border: 2px solid #f8c97f;
}

#AboutUs .members-container .member .links {
  display: flex;
  justify-content: space-around;
}

.member .links .link {
  width: fit-content;
  font-size: 1.8em;
}

.member .links .link svg {
  margin: 0.2em;
  color: white;
}

#AboutUs .description {
  /* border: 1px solid red; */
  text-align: justify;
  padding-right: 6%;
  padding-bottom: 1em;
}

@media (orientation: portrait) {
  .section-header .project-links {
    justify-content: space-between;
    margin-bottom: 1em;
  }

  #AboutUs .section-header {
    flex-direction: column-reverse;
  }

  #AboutUs .description {
    padding-right: 0;
  }

  #AboutUs .members-container {
    margin-right: 0;
    flex-flow: column;
    align-items: center;
  }

  #AboutUs .members-container .member {
    width: 80%;
    padding-bottom: 1em;
  }

  .member .links .link {
    font-size: 2.5em;
  }
}

/* DEEPSEA ######################## */
#theDeepSea {
  margin-top: 10%;
  width: 100%;
  position: relative;
  height: 200vh;
}

.jellyfish {
  /* border: 1px solid white; */
  position: absolute;
  width: 20%;
  height: fit-content;
  pointer-events: none;
}

.jellyfish video {
  width: 100%;
}

.jellyfish.jellyfish-b {
  top: 10%;
  left: 20%;
}

.jellyfish.jellyfish-a {
  bottom: 10%;
  right: 20%;
}

@media (orientation: portrait) {
  .jellyfish {
    width: 60%;
  }

  .jellyfish.jellyfish-a {
    right: 10%;
  }

  .jellyfish.jellyfish-b {
    left: 10%;
  }
}