@font-face {
  font-family: "Cooper-Black";
  src: url("/fonts/Cooper-Black.ttf");
}

@media screen and (max-width: 480px) {
  .show-on-desktop {
    display: none;
  }
}

.show-on-desktop h2 {
  color: red;
  font-family: 'Courier New', Courier, monospace;
  font-size: 500%;
  text-align: center;
  align-self: center;
  width: 100%;
  top: 50%;
  position: absolute;
  margin: 0;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (min-width: 481px) {
  .hide-on-desktop {
    display: none;
  }
}

html {
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
}

body {
  margin: 0;
  padding: 0;
  background-color: rgb(120, 187, 203);
  touch-action: pan-y;
  overscroll-behavior: none;
  overflow: hidden;
}

h1 {
  position: absolute;
  color: White;
  font-family: American Typewriter;
  font-size: 400%;
  -webkit-text-stroke-color: Black;
  -webkit-text-stroke-width: 2px;
  top: 20%;
}

h2 {
  position: fixed;
  color: Black;
  font-family: Cooper-Black;
  font-size: 250%;
  font-weight: lighter;
  margin: 0;
}

p {
  position: absolute;
  color: white;
  font-family: American Typewriter;
  font-size: 150%;
  -webkit-text-stroke-color: Black;
  -webkit-text-stroke-width: 1px;
  top: 65%;
  opacity: 50%;
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  from { opacity: 1.0; }
  50% { opacity: 0.5; }
  to { opacity: 1.0; }
}


.curtain {
  margin: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  height: -webkit-fill-available;
}

.curtain__wrapper {
  width: 100%;
  height: 100%;
}

.curtain__wrapper input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
}

.curtain__wrapper input[type=checkbox]:checked~div.curtain__panel--left {
  transform: translateX(0);
}

.curtain__wrapper input[type=checkbox]:checked~div.curtain__panel--right {
  transform: translateX(0);
}

.curtain__panel {
  position: fixed;
  display: flex;
  align-items: center;
  float: left;
  position: relative;
  width: 50%;
  height: 100vh;
  transition: all 2s ease-out;
  z-index: 2;
  opacity: 100%;
  height: -webkit-fill-available;

}

.sash {
  position: fixed;
  display: flex;
  align-items: center;
  bottom:0%;
  height:10%;
  width: 100%;
  background-color: rgb(106,13,53);
  outline: 2px solid black;
  z-index: 2;
}

.img_left_Panel {
  position: fixed;
  top: 0;
  align-items: top;
  width: 100%;
  height:100%;
  z-index: -1000;

}

.img_right_Panel {
  position: fixed;
  top: 0;
  align-items: top;
  width: 100%;
  height: 100%;
  z-index: -1000;
}


.curtain__panel--left {
  justify-content: flex-end;
  transform: translateX(-101%);
}

.curtain__panel--right {
  justify-content: flex-start;
  transform: translateX(101%);
}

.curtain__content {
  align-items: center;
  background: rgb(120, 187, 203);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: top;
  position: absolute;
  text-align: center;
  z-index: 1;
  width: 100%;
}

/* Container for all GIFs */
.img_container {
  position: fixed;
  width: inherit;
  top: 10%;
  height: 100%;
}

/* Center Border */
.centre_border {
  position: absolute;
  border-style: solid;
  border-color: blue;
  border-width: 1px;
}

/* Right Border */
.right_border {
  position: absolute;
  border-style: solid;
  border-color: yellow;
  border-width: 1px;
}

/* Left Border */
.left_border {
  position: absolute;
  border-style: solid;
  border-color: green;
  border-width: 1px;
}

/* Centre Jesus */
.Jesus {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -25%);
  width: 200px;
}

/* Toaster Top Right */
.ToasterTR {
  position: absolute;
  top: 0%;
  left: 80%;
  width: 70px;
}

/* Worm Top Right */
.WormTR {
  position: absolute;
  top: 10%;
  left: 70%;
  width: 80px;
}

/* Mouth Middle Right */
.MouthMR {
  position: absolute;
  top: 25%;
  left: 80%;
  width: 80px;
}

/* Bell Middle Right */
.BellMR {
  position: absolute;
  top: 40%;
  left: 70%;
  width: 50px;

}

/* Clock Bottom Right */
.ClockBR {
  position: absolute;
  top: 50%;
  left: 85%;
  width: 50px;
}

/* Toaster Bottom Right */
.ToasterBR {
  position: absolute;
  top: 60%;
  left: 70%;
  width: 90px;
}

/* START OF LEFT HAND SIDE IMAGES */

/* Clock Top Left */
.ClockTL {
  position: absolute;
  top: 0%;
  left: 5%;
  width: 40px;
}

/* Toaster Top Left */
.ToasterTL {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 80px;
}

/* Worm Top Left */
.WormTL {
  position: absolute;
  top: 20%;
  left: -0.2%;
  width: 80px;
}

/* Mouth Middle Left */
.MouthML {
  position: absolute;
  top: 30%;
  left: 10%;
  width: 80px;
}

/* Toaster Middle Left */
.ToasterML {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90px;
}

/* Clock Bottom Left */
.ClockBL {
  position: absolute;
  top: 60%;
  left: 25%;
  width: 50px;
}

/* Bell Bottom Left */
.BellBL {
  position: absolute;
  top: 65%;
  left: 10%;
  width: 60px;
}

/* Worm Bottom Left */
.WormBL {
  position: absolute;
  top: 75%;
  left: -0.2%;
  width: 80px;
}

/* Worm Bottom Left Center */
.WormBLC {
  position: absolute;
  top: 75%;
  left: 25%;
  width: 80px;
}

/* Counter Bottom Center */
.Counter {
  position: absolute;
  top: 82.5%;
  left: 50%;
  transform: translateX(-50%);
}

/* Audio Checkbox */
#audioToggle {
  -webkit-appearance: none;
  /*hides the default checkbox*/
  height: 40px;
  width: 40px;
  position: fixed;
  transition: 0.10s;
  background-color: #FE0006;
  text-align: center;
  font-weight: 600;
  color: white;
  border-radius: 3px;
  outline: none;
  font-size: 200%;
  left: 95%;
  top: 91%;
  opacity: 100%;
  margin: 0%;
  transform: translate(-100%, -100%);
}

#audioToggle:checked {
  background-color: #717371;
}

#audioToggle:before {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "🔊";
}

#audioToggle:checked:before {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "🔇";
}