@charset "UTF-8";
html {
  background: url(bg_night.jpg) no-repeat center/cover #220000;
  background-attachment: fixed;
  height: 100%;
}

body {
  background: rgba(17, 0, 0, 0.7);
  color: white;
  font-family: "Mountains of Christmas", cursive;
  margin: 0;
  min-height: 100%;
}

.link {
  border-bottom: 1px solid darkgray;
  text-decoration: none;
  color: silver;
  margin-top: 3rem;
  position: relative;
}
.link:hover {
  border-color: #8c8c8c;
}

.backlink {
  border-bottom: 1px solid darkgray;
  text-decoration: none;
  color: silver;
  margin-top: 3rem;
  margin-left: 1.5rem;
  position: relative;
}
.backlink:hover {
  border-color: #8c8c8c;
}
.backlink:hover:before {
  left: -1.75rem;
}
.backlink:before {
  content: "←";
  position: absolute;
  left: -1.5rem;
  top: 0rem;
  transition: 0.2s ease all;
}

.logo {
  color: inherit;
  text-decoration: none;
}

h1 {
  margin: 0;
  padding: 1em 0;
  text-align: center;
}
h1 span {
  font-size: 0.5em;
  padding-right: 2em;
  opacity: 0.7;
  display: block;
}

.container {
  padding: 0 1em;
  position: relative;
  margin: 0 auto;
  width: 500px;
  max-width: calc(100% - 2em);
}

.calendar:after {
  content: "";
  display: table;
  clear: both;
}
.calendar [class^=door-] {
  color: white;
  text-decoration: none;
  background: rgba(17, 0, 0, 0.7) url(bg_room.jpg) no-repeat center/cover;
  border-radius: 4px;
  box-sizing: border-box;
  float: left;
  filter: grayscale(100%);
  transition: 1s ease-in-out filter;
  font-size: 2em;
  height: 5rem;
  margin: 0 0.5rem 1rem;
  padding: 0.5rem 0.5rem;
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5), 0 2px 5px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.5), 0 2px 20px rgba(0, 0, 0, 0.5), 0 2px 30px rgba(0, 0, 0, 0.5);
  width: calc(25% - 1rem);
}
.calendar [class^=door-]:before {
  content: "Türchen";
  display: block;
  font-size: 1rem;
}
@media (max-width: 600px) {
  .calendar [class^=door-] {
    width: calc(33.333% - 1rem);
  }
}
.calendar [class^=door-].loaded {
  filter: grayscale(0%);
}
.calendar [class^=door-]:hover {
  animation: shake 500ms ease 1;
}
.calendar [class^=door-].special {
  filter: grayscale(100%) hue-rotate(195deg);
}
.calendar [class^=door-].special.loaded {
  filter: grayscale(0%) hue-rotate(195deg);
}
.calendar [class^=door-].current {
  padding: 2rem 0.5rem;
  font-size: 4rem;
  height: 10rem;
  width: calc(100% - 1rem);
  /* Inactives */
}
.calendar [class^=door-].current:before {
  font-size: 1.5rem;
  margin-bottom: -1rem;
}
.calendar [class^=door-].current ~ [class^=door-] {
  opacity: 0.5;
  filter: grayscale(100%) !important;
  pointer-events: none;
}
.calendar [class^=door-].current ~ [class^=door-]:hover {
  animation: none !important;
}

@keyframes shake {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }
  20% {
    transform: translate(-2px, 0px) rotate(3deg);
  }
  40% {
    transform: translate(0px, 0px) rotate(3deg);
  }
  60% {
    transform: translate(-2px, 0px) rotate(0deg);
  }
  80% {
    transform: translate(0px, 0px) rotate(3deg);
  }
  100% {
    transform: translate(0px, 0px) rotate(-3deg);
  }
}

/*# sourceMappingURL=style.css.map */
