html,
body {
  margin: 0px;
  padding: 0px;
  cursor: none !important;
  -webkit-font-smoothing: none;
  text-rendering: optimizeLegibility;
  image-rendering: pixelated;
}

.custom-cursor {
  position: fixed;
  z-index: 50;
  pointer-events: none;
  filter: drop-shadow(0px 2px 5px hotpink);
}

html {
  height: 100%;
  background-color: #fff;
  overflow-x: scroll;
  overflow-y: hidden;
  background-image: linear-gradient(rgb(0, 191, 255), #fff);
  font-size: 12px;
}

.header {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 5;
  width: 1500px;
  text-align: center;
}

.header #music-button {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 50px;
}

.main-wrapper {
  position: absolute;
  z-index: 1;
  top: 150px;
  left: 0px;
  height: 100%;
  max-height: 850px;
  width: 1500px;
  overflow: visible;
}

.cal-frame {
  position: absolute;
  top: 0px;
  left: 250px;
  border: solid 5px gold;
  width: calc(100% - 300px);
  height: 800px;
}

.cal-container {
  position: fixed;
  z-index: 2;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border: solid 5px dodgerblue;
  width: 100%;
  height: 100%;
  background-image: url(../img/bg-ground.png);
  background-size: cover;
  overflow: scroll;
}

.cal-container .tree {
  position: absolute;
  bottom: 150px;
  left: calc(50% - 75px);
  height: 600px;
}

.cal-container .present {
  position: absolute;
  bottom: 50px;
  height: 300px;
  left: calc(34% - 150px);
}

.cal-container .door {
  position: absolute;
  display: block;
  width: 100px;
  height: 100px;
  border: solid 1px #fff;
  background-color: transparent;
  filter: drop-shadow(1px 1px #000);
}
.cal-container .door p {
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  color: #fff;
}
.cal-container .door img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  opacity: 0;
  z-index: 2;
}

.cal-container .door.opened img {
  opacity: 1;
}

.cal-container .door.openable {
  background-color: blue;
}

.cal-container .door.openable:hover {
  background-color: hotpink;
}

.cal-container .door#n1 {
  left: 400px;
  top: 100px;
}

.cal-container .door#n2 {
  left: 300px;
  top: 400px;
}

.cal-container .door#n3 {
  left: 525px;
  top: 500px;
}

.cal-container .door#n4 {
  left: 780px;
  top: 200px;
}

.cal-container .door#n5 {
  left: 900px;
  top: 100px;
}

.cal-container .door#n9 {
  left: 700px;
  top: 50px;
}

.cal-container .door#n7 {
  right: 100px;
  top: 220px;
}

.cal-container .door#n8 {
  right: 220px;
  top: 450px;
}

.cal-container .door#n6 {
  right: 200px;
  top: 600px;
}

.cal-container .door#n9 {
  right: 200px;
  top: 650px;
}

.cal-container .door#n10 {
  left: 200px;
  bottom: 100px;
}

.cal-container .door#n11 {
  left: 400px;
  bottom: 150px;
}

.cal-container .door#n12 {
  left: 520px;
  bottom: 60px;
}

.cal-container .door#n13 {
  left: 280px;
  bottom: 620px;
}

.cal-container .door#n14 {
  left: 280px;
  bottom: 420px;
}

.cal-container .door#n15 {
  left: 720px;
  top: 520px;
}

.cal-container .door#n16 {
  left: 1000px;
  top: 420px;
}

.cal-container .door#n17 {
  left: 520px;
  top: 20px;
  z-index: 5;
}

.cal-container .door#n18 {
  left: 640px;
  top: 70px;
}

.cal-container .door#n19 {
  left: 760px;
  top: 50px;
}

.cal-container .door#n20 {
  left: 347px;
  top: 675px;
}

.cal-container .door#n21 {
  right: 226px;
  top: 320px;
}

.cal-container .door#n24 {
  left: 550px;
  top: 330px;
  width: 200px;
}

.cal-container .door#n22 {
  left: 540px;
  top: 200px;
}

.cal-container .door#n23 {
  left: 400px;
  top: 260px;
}

.cal-container .opened-door-feature {
  position: absolute;
  top: 25px;
  left: 0px;
  right: 0px;
  text-align: center;
  color: #fff;
}

.cal-container .opened-door-feature .opened-door {
  border: solid 15px blue;
}

.cursor-star {
  position: fixed;
  z-index: 49;
  display: block;
  width: 15px;
  height: 15px;
  pointer-events: none;
  background-image: url(../img/star2.gif);
  background-size: cover;
}

.enter-message {
  position: fixed;
  z-index: 48;
  display: block;
  background-color: #000;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  color: #fff;
  text-align: center;
}

.centred {
  position: relative;
  display: block;
  width: 500px;
  padding: 15px;
  margin: 100px auto;
  background-color: #fff;
  border: solid 10px gold;
  text-align: center;
}

.centred p {
  margin: 50px auto;
  width: 200px;
}

/* Snowflakes container sits behind everything */

.snow-container {
  position: fixed;
  top: -25px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.snowflake {
  position: fixed;
  display: block;
  width: 25px;
  height: 25px;
  background-image: url(../img/snowflake.gif);
  background-size: cover;
  animation-name: fall, sway;
}

.skyscraper {
  z-index: 0;
  position: absolute;
  top: 0px;
  width: 250px;
  height: 850px;
}

.skyscraper img {
  max-width: 100%;
  margin: 0px;
}

.runner {
  z-index: 0;
  position: absolute;
  bottom: 0px;
  left: 250px;
  width: 1210px;
  height: 50px;
}

td .runner {
  left: 0px;
}

.runner img {
  display: inline-block;
  height: 100%;
}

img {
  position: relative;
}

a p:after {
  position: absolute;
  z-index: 2;
  content: "";
  display: block;
  background: url("../img/uo/GIPFK7HZ2NLK3DJGIUB6Q5V7OLMMJ2RE.gif");
  background-size: 25px;
  width: 25px;
  height: 25px;
  pointer-events: none;
  top: 0px;
  right: 0px;
}

table {
  border-spacing: 0px;
}

table td[colspan="2"] {
  width: 50%;
}
table td[colspan="4"] {
  width: 100%;
}
table:not(.wrapper-table) td {
  width: 25%;
}

/* Vertical fall */
@keyframes fall {
  0% {
    transform: translate3d(0, -10vh, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 110vh, 0);
    opacity: 0;
  }
}

/* Gentle horizontal drift */
@keyframes sway {
  0% {
    transform: translateX(-20px);
  }
  50% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(-20px);
  }
}

.elf-banner {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-image: url(../img/star2.gif);
  background-size: 25px;
}

.elf-banner.bottom {
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 25px;
}

.elf-banner.top {
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 25px;
}

.elf-banner.left {
  bottom: 0px;
  left: 0px;
  width: 25px;
  height: 100%;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  overflow-y: visible;
}

.marquee-container .marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 10s linear infinite;
}

.santa {
  pointer-events: none;
  animation: santa 1s linear infinite;
}

iframe {
  border: 0;
  margin: 0px;
  padding: 0px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes santa {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-1%);
  }
  100% {
    transform: translateX(0);
  }
}
