.startGame{
  text-align: center;
  margin: 0;
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  flex-basis: 10%;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.startGameButton{
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 0.2em 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0.2em 0.2em;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 3em;
  width: 10em;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.startGameButton.disabledButton{
  background-color: #9c9c9c; /* Green */
  color: #4f4f4f;
  cursor: default;
}

.resetGameConfirmationBox{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  width: 25%;
  border: 3px solid darkred;
  padding: 10px;
  background-color: red;
  text-align: center;
}

.centering{
  margin:auto;
  width: fit-content;
  padding: 0px;
}

.overlay {
  position: absolute;; /* Sit on top of the page content */
  display: block; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.3s;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 5; /* Specify a stack order in case you're using a different order for other elements */
}

.MenusOverlay {
  position: absolute;; /* Sit on top of the page content */
  display: block; /* Hidden by default */
  width: 250px; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: -1;
}

.helpCommands{
  height: 55px;
  position: absolute;
  top: calc(100% - 85px);
  font-size: 12px;
  color: white;
  text-align: left;
}

.videoMasker {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  display: none;
  transition: 0.5s;
}

#dummy-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -3;
}

#background-video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

#background-video-alt {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

#background-video-alt2 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

#s-video, #s-video2, #s-video3{
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

#transparent-video-layer1 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

#transparentVideoContainer1{
  width: 100vw;
  height: 100vh;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

#transparent-video-layer2 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
  filter:opacity(60%);
  position:absolute;
  top:0;
  left:0
}

#transparentVideoContainer2{
  width: 100vw;
  height: 100vh;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

.transparentVidCropperSpirit#transparentVideoContainer2{
  width: 31vw;
  left: 69vw;
  overflow: hidden;
}

.transparentVideoMarginSpirit{
  margin-left: -69vw;
}

.transparentVidGhost#transparent-video-layer2{
  filter:opacity(75%);
}

#sInterface{
  transition: 0.5s;
}

#mainUIId{
  transition: 0.5s;
}

#poof-gif {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

.invisible{
  visibility: hidden;
  opacity: 0;
}

.column{
  display: flex;
  flex-direction: column;
  flex-basis: 10%;
  flex: 1;
  width: 100px;
}

.currentRecipeContainer {
    position: fixed;
    bottom: 1em;
    right: 1.5em;
}

.currentRecipeTextStyle {
    color: white;
}

.newRecipePopup {
  height: 100px;
  width: 500px;
  position: fixed;
  z-index: 2;
  top: 100%;
  left: calc(50% - 250px);
  background-color: #8a7b6a;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-basis: 100%;
  flex: 1;
}

.newAchievementPopup {
  height: 53px;
  width: 275px;
  position: fixed;
  z-index: 2;
  top: calc(0% - 53px);
  left: calc(100% - 275px);
  background-color: #8a7b6a;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-basis: 100%;
  flex: 1;
}

.sidenav {
  height: calc(100% - 50px);
  width: 0px;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #8a7b6a;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 50px;
}

.instructions {
  position: absolute;
  top: 0;
  margin-left: 1em;
  margin-top: 15px;
  font-size: 18px;
  white-space: nowrap;
  color: white;
}

.searchBar {
  border-color: #4f3802;
  margin: 0px;
  font-size: 12px;
  white-space: nowrap;
  width: 120px;
  height: 20px;
  padding: 0px;
  position: absolute;
  left: 1.2em;
}

input.searchBar:focus {
    outline-width: 0;
}

.searchButton {
  border-color: #4f3802;
  background: #4f3802;
  border: none;
  cursor: pointer;
  width: 35px;
  height: 24px;
  color: white;
  margin-left: -3px;
  white-space: nowrap;
  position: absolute;
  left: 10.5em;
}

.clearSearchButton {
  border-color: #4f3802;
  background: #4f3802;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 24px;
  color: white;
  margin-left: 15px;
  white-space: nowrap;
  position: absolute;
  left: 12.5em;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 36px;
  margin-left: 50px;
}

.sidenavItemDescription {
  height: 400px;
  width: 0px;
  position: fixed;
  z-index: 1;
  top: 15%;
  left: 250px;
  background-color: #c2b29f;
  overflow-x: hidden;
  transition: 0.5s;
}

.sidenavItemDescription .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.descriptionTop{
  padding: 0.5em;
  display: flex;
  flex-direction: row;
  align-items: center;
  vertical-align: middle;
}

.descriptionTitle{
  font-size: 24px;
  padding-left: 0.2em;
  margin-right: 0.2em;
}

.descriptionImg{
  align-items: flex-end;
  border: none;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 50px;
  width: 50px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.recipeImg{
  min-width:15px;
  align-items: flex-end;
  border: none;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  height: 50px;
  width: 50px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.recipeText{
  padding: 0.1em;
  font-size: 15px;
  font-weight: bold;
  color: white;
  word-break: normal;
}

.recipeTextResult{
  font-size: 14px;
  font-weight: bold;
  color: white;
  word-break: normal;
}

.recipeTextBlock{
  display: block;
  width: 30%
}

.achievementContainer{
  display: flex;
  flex-direction: row;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  width: 220px;
}

.achievementTextContainer{
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
  width: 70%;
  padding-left: 0.2em;
}

.achievementTitle{
  font-size: 20px;
  font-weight: bold;
  color: white;
  word-break: normal;
}

.achievementArrowIcon{
  font-size: 35px;
  font-weight: bold;
  color: white;
  word-break: normal;
}

.recipeArrowIcon{
  margin-left: 0.2em;
  font-size: 35px;
  font-weight: bold;
  color: white;
  word-break: normal;
}

.achievementDescription{
  font-size: 12px;
  font-weight: bold;
  color: white;
  word-break: normal;
}

.achievementImg{
  min-width:15px;
  align-items: flex-end;
  border: none;
  border-radius: 2px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 50px;
  width: 50px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.descriptionText{
  padding: 0.7em;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 1em;
}

.selectedItemsContainer{
  display: flex;
  margin-top: -1em;
  margin-left: 4em;
  align-items: center;
}

.recipesContainer{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.recipesContainerWithCombo{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.recipesContainerWithCombo:hover {
  border:1px solid Green;
  box-shadow: 0 0 10px #719ECE;
}

.recipesContainerInner{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 133px;
}

.itemRow {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 200px;
  margin-left: 1em;
  margin-right: 0em;
}

.itemColumn {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.dummyButton {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 0.2em 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0.2em 0.2em;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 5em;
  width: 5em;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.button.clearButton{
  position: absolute;
  top: 1.5em;
  left: 16.15em;
  height: 3em;
  width: 5em;
}

.button.swapAnimButton{
  position: absolute;
  top: 1.5em;
  left: 22.1em;
  height: 3em;
  width: 5em;
}

.button.goToSButtonStyle{
  position: absolute;
  top: 1.5em;
  left: 28.05em;
  height: 3em;
  width: 5em;
}

.mixButtonStyle{
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 0.2em 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0.2em 0.2em;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 3em;
  width: 5em;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 0.2em 0.2em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0.2em 0.2em;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 5em;
  width: 5em;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.button:hover {
  border:1px solid Green;
  box-shadow: 0 0 10px #719ECE;
}

.buttonActive {
  border:1px solid Green;
  box-shadow: 0 0 10px #719ECE;
}

.sNavButtonsContainer{
  position: absolute;
  top: 1.5em;
  left: 0;
  margin-left: 1em;
  display: flex;
  align-items: center;
}







.THAMinigame{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding-top: calc(56.25%*0.8);
  transition: 0.3s;
}

.ModelImage{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  transition: 0.3s;
}

.BottomSelectionRow{
  height: 10%;
  position: absolute;
  top: calc(100% - 10%);
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.SelectionButton {
  background-color: white;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 1%;
  width: 5%;
}

.TopResultRow{
  height: 20%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.SelectionResult {
  background-color: white;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-left: 5%;
  margin-right: 5%;
  width: 8%;
}

.FemAbsorptionMinigameBackButton{
  position: absolute;
  left: 0%;
  top: 0%;
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 100%;
  width: 10%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.FemAbsorptionMinigameContinueButton{
  position: absolute;
  left: 90%;
  top: 0%;
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 100%;
  width: 10%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.SerraText{
  background-color: #bfd8ff; /* Lightblue */
  position: absolute;
  left: 0%;
  top: 0%;
  width: 10%;
  padding: 0.5%;
  font-size: 12px;
  text-align: left;
}

.SerraStats{
  position: absolute;
  left: 0%;
  top: 0%;
  width: 10%;
  padding: 0.5%;
  font-size: 12px;
  font-size: 12px;
  text-align: right;
}

.HarlotText{
  background-color: #bfd8ff; /* Lightblue */
  position: absolute;
  left: 89%;
  top: 0%;
  width: 10%;
  padding: 0.5%;
  font-size: 12px;
  text-align: left;
}

.HarlotStats{
  position: absolute;
  left: 89%;
  top: 0%;
  width: 10%;
  padding: 0.5%;
  font-size: 12px;
  text-align: right;
}

.fadeTransition{
  transition: 0.3s
}





/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  width: 9%;
  height: 100%;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin: 1%;
  cursor: pointer;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip (applied to flip box container) */
.flip-card-inner.flip-card-anim{
  transform: rotateY(180deg);
  cursor: default;
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  color: black;
}

/* Style the back side */
.flip-card-back {
  color: white;
  transform: rotateY(180deg);
}

.flipCardImage{
  width:100%;
  height:100%;
  border-radius: 10%;
  border: 0.15em solid #8a7b6a;
  background-color: #8a7b6a;
}

.CloneMinigameTable{
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cloneTopRow{
  margin-top: 1%;
  margin-bottom: 1%;
  height: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cloneMiddleRow{
  margin-top: 1%;
  margin-bottom: 1%;
  height: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cloneBottomRow{
  margin-top: 1%;
  margin-bottom: 1%;
  height: 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.matchCount{
  position: absolute;
  top: 30%;
  left: 7%;
  height: 40%;
  width: 15%;
  border-radius: 10%;
  border: 0.15em solid #5e4736;
  background-color: #5e4736;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.ComeToFront{
  z-index: 5;
}

.CloneNextCGStyle{
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition-duration: 0.4s;
  cursor: pointer;
  height: 100%;
  width: 10%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 2%;
}
