html {
  font-size: 20px;
  font-family: sans-serif;
}
body {
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: white;
}

[class*="col-"] {
  padding: 0;
  margin: 0;
}

.img-fluid {
  width: 100%;
  height: 100%;
}

.right-tab {
  position: absolute;
  width: 45%;
  height: 100%;
  padding: 45px;
  padding-right: 0;
  background: #6b1d23;
  background: linear-gradient(90deg, #9e242f 0%, #95262f 50%, #85252d 100%);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  right: 0;
  -webkit-box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
  overflow-y: hidden;
  overflow-x: hidden;
}

.center-tab {
  position: absolute;
  width: 60%;
  height: 60%;
  padding: 45px;
  background: #6b1d23;
  background: linear-gradient(90deg, #9e242f 0%, #95262f 50%, #85252d 100%);
  border-radius: 30px;
  right: 0;
  -webkit-box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 18px 5px rgba(0, 0, 0, 0.75);
  overflow-y: hidden;
  overflow-x: hidden;
  text-align: center;

  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.content-holder {
  padding-right: 10px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.center-tab p,
.center-tab ul,
.right-tab p,
.right-tab ul {
  font-size: 1rem;
  color: white;
}
.center-tab li,
.right-tab li {
  margin-top: 30px;
}

.intro-screen-2 {
  background-color: #75e0dd;
}

.game-over {
  background: rgb(23 100 93);
  background: radial-gradient(
    circle,
    rgb(23 100 93) 0%,
    rgb(23 100 100) 0%,
    rgb(22 80 75) 48%,
    rgb(14 16 16) 100%
  );
}

.game-screen-1 {
  background: rgb(100, 23, 34);
  background: radial-gradient(
    circle,
    rgba(100, 23, 34, 1) 0%,
    rgba(100, 23, 34, 1) 0%,
    rgba(80, 22, 31, 1) 48%,
    rgba(16, 14, 14, 1) 100%
  );
}

.game-screen-2 {
  background: rgb(100, 23, 34);
  background: radial-gradient(
    circle,
    rgba(100, 23, 34, 1) 0%,
    rgba(100, 23, 34, 1) 0%,
    rgba(80, 22, 31, 1) 48%,
    rgba(16, 14, 14, 1) 100%
  );
}

.text-right {
  position: relative;
  text-align: right !important;
  padding-right: 40px !important;
  cursor: pointer;
  font-weight: bold;
}

.text-right .icon {
  position: absolute;
  font-size: 60px;
  padding-right: 15px;
  padding-left: 15px;
  right: 0;
  bottom: 0;
  bottom: -17px;
}

.newspaper-holder {
  display: flex;
  align-items: center;
  height: 100vh;
}

.newspaper {
  position: relative;
  width: 70%;
  /* max-height: 750px; */
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.newspaper .newspaper-content-holder {
  position: absolute;
  width: 75%;
  height: 70%;
  top: 40%;
  left: 17%;
  padding: 0;
  transform: rotate(-3.8deg);
}
.newspaper .content-holder {
  height: 66%;
}

.newspaper h1 {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Droid Serif", serif;
  text-align: center;
  color: #1e1b1e;
}

.newspaper p {
  font-family: "Droid Serif", serif;
  color: #1e1b1e;
}

#newspaper-text-holder-mobile h1 {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Droid Serif", serif;
  text-align: center;
  color: #1e1b1e;
  margin-bottom: 30px !important;
}

#newspaper-text-holder-mobile p {
  font-family: "Droid Serif", serif;
  color: #1e1b1e;
  text-align: justify;
  padding-right: 15px;
}

.display-holder {
  display: flex;
  align-items: center;
  height: 100vh;
}

.display {
  position: absolute;
  width: 60%;
  max-height: 95vh;
  left: 15%;
  bottom: -100px;
  margin: auto;
  display: flex;
}

.display .display-content-holder {
  position: absolute;
  width: 66.5%;
  height: 60.7%;
  top: 6%;
  left: 22%;
  padding: 0;
}
.display .content-holder {
  height: 100%;
}

.display h1 {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Droid Serif", serif;
  text-align: center;
  color: #1e1b1e;
}

.display p {
  font-family: "Droid Serif", serif;
  color: #1e1b1e;
}

#display-text-holder-mobile h1 {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Droid Serif", serif;
  text-align: center;
  color: #1e1b1e;
  margin-bottom: 30px !important;
}

#display-text-holder-mobile p {
  font-family: "Droid Serif", serif;
  color: #1e1b1e;
  text-align: justify;
  padding-right: 15px;
}

.send-button {
  position: absolute;
  width: 15vw;
  right: -10px !important;
  bottom: 5px !important;
  margin-top: auto;
  margin-bottom: auto;
  cursor: pointer;
}

.send-button.disabled {
  cursor: default;
  opacity: 0.2;
}

#insert-box {
  border: 1px dashed #292929;
  margin-top: 15px;
  width: 100%;
  height: 40%;
}

.hand-motion {
  position: absolute;
  top: 40%;
  right: -61%;
  display: none;
}

.hand-motion {
  width: 30vw;
}

#insert-box input {
  width: 100%;
  height: 100%;
  border: 0px;
  background: #00000000;
  font-family: "Droid Serif", serif;
  font-size: 2rem;
  text-align: center;
  -moz-appearance: textfield;
}

#insert-box input::-webkit-outer-spin-button,
#insert-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#insert-box input::placeholder {
  font-family: "Droid Serif", serif;
  font-size: 1.5rem;
  white-space: pre-line;
  position: relative;
  top: -2rem;
  text-align: left;
}

.paper-title {
  font-family: "Droid Serif", serif;
  font-size: 65px;
  color: #1e1b1e;
  text-align: center;
  text-decoration: underline;
}

#custo-holder,
#marginal-holder,
#price-holder {
  font-family: "Droid Serif", serif;
  font-size: 1.3rem;
  color: #292929;
}

#game-screen-2 h1 {
  color: white;
  padding-top: 15px;
  padding-right: 5%;
  padding-left: 5%;
  font-size: 1.3rem;
  text-align: center;
}

#chart-display,
#chart-gameover {
  width: 90% !important;
  max-height: 460px !important;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
}
#chart-gameover {
  display: none;
}

.fluid-text {
  position: absolute;
  bottom: 2%;
  right: 2%;
  color: white;
}

@media only screen and (max-width: 1068px) {
  #custo-holder,
  #marginal-holder,
  #price-holder {
    font-size: 1rem;
  }
  #insert-box input::placeholder {
    font-size: 1rem;
  }
}

.fakeground {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

.fakeground {
  display: none;
}

.intro-screen-1 #fakeground_1_mobile,
.feedback-restart #fakeground_1_mobile {
  display: none;
}
.intro-screen-1 #fakeground_1,
.feedback-restart #fakeground_1 {
  display: block;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  top: 0;
}

.feedback-restart #fakeground_1,
.feedback-restart #fakeground_1_mobile {
  opacity: 0.45;
}

.intro-screen-2 #fakeground_2_mobile {
  display: none;
}
.intro-screen-2 #fakeground_2 {
  display: block;
  width: 50vw;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
}

@media only screen and (max-width: 767px) {
  .intro-screen-1 #fakeground_1,
  .feedback-restart #fakeground_1 {
    display: none;
  }
  .intro-screen-1 #fakeground_1_mobile,
  .feedback-restart #fakeground_1_mobile {
    top: -15vw;
    display: block;
  }

  .intro-screen-2 #fakeground_2 {
    display: none;
  }
  .intro-screen-2 #fakeground_2_mobile {
    top: -15vw;
    display: block;
  }

  .intro-screen-2 {
    background-color: #75e0dd;
  }

  .game-screen-1 {
    background: #eff1f2;
  }

  .center-tab {
    position: absolute;
    width: 100%;
    height: 60%;
    padding: 15px;
    padding-left: 25px;
    padding-right: 0;
    background: #6b1d23;
    background: linear-gradient(90deg, #9e242f 0%, #95262f 50%, #85252d 100%);
    border: 0px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    bottom: 0;
    top: unset;
    left: unset;
    right: unset;
    margin: unset;
    box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
    overflow-y: hidden;
    overflow-x: hidden;
  }

  .right-tab {
    position: absolute;
    width: 100%;
    height: 60%;
    padding: 15px;
    padding-left: 25px;
    padding-right: 0;
    background: #6b1d23;
    background: linear-gradient(90deg, #9e242f 0%, #95262f 50%, #85252d 100%);
    border: 0px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    bottom: 0;
    box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -1px 6px 46px 22px rgba(0, 0, 0, 0.75);
    overflow-y: hidden;
    overflow-x: hidden;
  }

  .content-holder {
    margin-top: 15px;
    margin-right: 15px;
    overflow-x: hidden;
  }
  .text-right .icon {
    bottom: -7px;
  }

  
  .mobile-upper{
    top: 0 !important;
    bottom: unset !important;
  }

  .content-holder#newspaper-text-holder-mobile {
    height: 65vh;
    margin: 0;
    padding: 0;
    overflow-y: auto !important;
  }

  #game-screen-2 h1 {
    color: white;
    padding-top: 5px;
    padding-right: 2%;
    padding-left: 2%;
    font-size: 1rem;
    text-align: center;
  }

  .display {
    position: absolute;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
    min-height: 450px;
    max-height: 85vh;
    left: 0;
    right: 0;
    bottom: 0% !important;
    margin: auto;
    display: flex;
  }

  .display .display-content-holder {
    width: 84%;
    height: 76%;
    top: 15%;
    left: 8%;
    padding: 0;
    margin: 0;
  }

  #display-text-holder {
    margin: 0;
    padding: 0;
  }

  #custo-holder {
    margin: 0 !important;
    font-size: 1rem;
  }

  #insert-box {
    width: 100%;
  }

  .send-button {
    min-width: 100px;
    width: 18vw;
    right: -5px !important;
    bottom: 5px !important;
  }

  .hand-motion {
    right: -25%;
  }
}

@media only screen and (max-width: 420px) {
  .fluid-text #custo-holder {
    margin: 0 !important;
    font-size: 1rem;
  }
  #marginal-holder {
    margin: 0 !important;
    font-size: 1rem;
  }
}

@media only screen and (max-height: 420px) {
  .fluid-text {
    color: #00000000;
  }
  .fluid-text img {
    background: #000000a0;
    border-radius: 10px;
  }
  #next-page-chart {
    color: black;
  }
}
/* FOR ALL MEDIAS */

/* width */
.content-holder::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.content-holder::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.content-holder::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
}

/* Handle on hover */
.content-holder::-webkit-scrollbar-thumb:hover {
  background: white;
}

.newspaper .content-holder::-webkit-scrollbar-thumb:hover {
  background: #1e1b1e;
}
.newspaper .content-holder::-webkit-scrollbar-thumb {
  background: #1e1b1e;
}
#newspaper-text-holder-mobile::-webkit-scrollbar-thumb {
  background: #1e1b1e;
}

#newspaper-text-holder-mobile::-webkit-scrollbar-thumb:hover {
  background: #1e1b1e;
}

#loader-screen {
  display: flex;
  height: 100vh;
  align-items: center;
}

.screen {
  display: none;
}
