html,
body {
  margin: 0;
  padding: 0;
  background-color: black;
}

.animate-in {
  -webkit-animation: fadeIn 0.5s ease-in;
  animation: fadeIn 0.5s ease-in;
}
.animate-out {
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
  opacity: 0;
}

a:link {
  color: #fff;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: red;
  background-color: transparent;
  text-decoration: none;
}

.absolute-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background: url("../img/escape_the_past.jpg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.tv-bg2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background: url("../img/tvoverlay.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.tv-bg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  position: fixed;
  -o-object-fit: contain;
  object-fit: contain;
}

.title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

#title {
  position: absolute;
  left: 0;
  top: 0;
  width: 70%;
  min-width: 26em;
}

#scrooge {
  position: fixed;
  right: -0px;
  bottom: -5px;
  width: 33%;
  min-width: 21em;
  object-fit: contain;
}

#characterright {
  position: fixed;
  right: -0px;
  bottom: -5px;
  width: 33%;
  min-width: 21em;
  max-height: 70%;
  object-fit: contain;
}

#characterleft {
  position: fixed;
  left: -0px;
  bottom: -5px;
  height: calc(100vh - 10%);
  object-fit: contain;
  z-index: 5;
}

.papertext {
  position: fixed;
  top: 50px;
  right: 8%;
  height: calc(100vh - 60px);
  max-width: calc(100vw - 43%);
  object-fit: contain;
  z-index: 9;
}

.dialogtext > h2 {
  font-size: 1.2vw;
  line-height: 1.2;
  letter-spacing: 2px;
  font-family: 'PT Serif', serif;
  color: #fff;
  margin-block-start: 0;

}

.dialogboxright {
    position: absolute;
    right: 5%;
    top: 5%;
    width: 65%;
    height: calc(100vh - 10%);
    z-index: 2;
  background-image: url("../img/textbg1.png");
  background-size: 100% 100%;
  overflow: hidden;
}

.dialogboxcentre {
  position: absolute;
  right: 15%;
  top: 5%;
  width: 70%;
  height: calc(100vh - 10%);
  z-index: 2;
background-image: url("../img/textbg1.png");
background-size: 100% 100%;
overflow: hidden;
}

.dialogboxborderright {
    box-sizing: border-box;
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
  overflow: hidden;
  border-style: inset;
  border-width: 4em;
padding: 1%;
}

#paper01 {
  position: fixed;
  right: 20px;
  height: calc(100vh - 16px);
  min-width: 21em;
  object-fit: contain;
}

.vid {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.dreammovie {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

.escape_start {
  position: absolute;
  left: 7%;
  bottom: 6%;
}

.escape_start > h2 {
  font-family: "Beth Ellen", cursive;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 2px;
}

.story {
  font-size: 1.4vw;
  line-height: 1.2;
  letter-spacing: 2px;
  font-family: "Smythe", cursive;
  color: #fff;
  position: absolute;
  text-align: center;
  z-index: 9;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.story2 {
  font-size: 1.4vw;
  text-shadow: 0px 1px 6px #000000;
  line-height: 1.2;
  letter-spacing: 2px;
  font-family: "Smythe", cursive;
  color: #fff;
  position: absolute;
  text-align: center;
  z-index: 9;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vstreet {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background: url("../img/scene01.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.endtv {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background: url("../img/reading2.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.welldone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 15;
  background: url("../img/finalscreen2.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.fog-container-first {
  z-index: 10;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url(../img/fog-3.png);
  background-position: 0px 0px;
  min-width: 500px;

  animation: marquee 10s linear infinite;
  -ms-animation: marquee 10s linear infinite;
  -moz-animation: marquee 10s linear infinite;
  -webkit-animation: marquee 10s linear infinite;
}
.fog-container-second {
  z-index: 4;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image: url(../img/fog-4.png);
  background-position: 0px 0px;
  min-width: 500px;

  animation: marquee 30s linear infinite;
  -ms-animation: marquee 30s linear infinite;
  -moz-animation: marquee 30s linear infinite;
  -webkit-animation: marquee 30s linear infinite;
}

@keyframes marquee {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -1000px 0;
  }
}

.intro_text {
  width: 100vw;
  height: 100vh;
  position: absolute;
}

.intro_text > h2 {
  font-family: "Smythe", cursive;
  color: #fff;
  font-size: 2vw;
  line-height: 1.2;
  letter-spacing: 2px;
  text-align: center;
}

div#cars {
  position: absolute;
  z-index: 10;

  top: 6%;
  margin: 0 auto;
}

div#cars h2 {
  font-family: "Smythe", cursive;
  color: #fff;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 2px;
}

.timeturn {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.timetravel img {
  position: absolute;
  top: -9999px;
  bottom: -9999px;
  left: -9999px;
  right: -9999px;
  margin: auto;
  width: 150vw;
  animation: rotation 8s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(359deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.m-fadeOut {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}
.m-fadeIn {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 300ms;
}

.dreamseeeeeq {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(51, 51, 51, 0.7);
  z-index: 6;
}



.location-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

.location-img {
    height: inherit;
    width: inherit;
}

.answerbox {
    margin-top: 10px;
}



 /* The Modal (background) */
 .modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 15; /* Sit on top */
  padding-top: 30px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 70%;
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}



/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

.controlpanel {
  position: absolute;
  left: 30%;
  top: 15.67%;
  width: 50%;
  height: 50%;
  z-index: 2;
}

.controlpaneltext {
  font-family: 'VT323', monospace;
  font-size: 2em;
  color: #2ab308;
padding: 2px;
margin-block-start: 0.1em;
margin-block-end: 0.1em;
}


.cpanswerbox
{
    background: transparent;
    border-radius: 4px;
        border-color: #34f703;
    font-family: 'VT323', monospace;
    font-size: 1.8em;
    color: #2ab308;
}