@import url('https://fonts.googleapis.com/css?family=Titan+One');

body {
  margin: 0;
  background: url('../images/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Verdana;
  overflow-x: hidden;
}

.calendar {
  background: #c73336;
  border-radius: 20px;
  padding: 10px;
}

@media (max-width: 1200px) {
    body {
      background-size: 1920px 2000px;
    }

    .calendar-container-inner {
      width: 665px;
      margin-top: 175px !important;
      margin-left: calc(100% - 800px) !important;
    }

    .calendar-header {
      margin-top: -28px !important;
    }

    .santa-right {
      margin-top: -130px !important;
      margin-right: -30px;
    }

    .calendar-container-inner > h1 {
      margin-bottom: 25px !important;
    }
}

@media (max-width: 991px) {
    .calendar-container-inner {
      width: 665px;
      margin-left: 5% !important;
    }

    .popup-bg p {
      font-size: 40px !important;
    }

    .popup-bg .inputmail {
      padding: 30px 30px;
    }

    .popup-bg .inputbtn {
      font-size: 25px;
    }

    .inputmail::-webkit-input-placeholder {
      font-size: 20px;
      line-height: 35px;
    }

    .inputmail {
      font-size: 20px !important
    }

    #answer-container {
      margin-bottom: 50px;
    }

    form {
      margin-top: 100px !important;
    }

    .luke-svar {
      margin: 100px 0 !important;
    }

    .hoverable {
      background: #b03033;
      padding: 20px 30px !important;
      border-radius: 200px;
      font-size: 40px !important;
    }

    .krans {
      width: 150px !important;
      position: absolute;
      margin: -45px -30px !important;
      display: none;
    }

    #alreadyOpened {
      margin-bottom: 50px !important;
    }


}


.popup-bg .inputbtn {
  padding: 5px 5px;
  display: block;
  margin: 0 auto;
}

.door {
  background: #dd5156;
  width: 130px;
  height: 130px;
  display: inline-block;
  margin: 10px;
  border-radius: 7px;
}

.calendar-container {
  height: 100%;
}

.calendar h1 {
  font-family: 'Titan One';
  color: #fff;
  margin: 20px;
  font-size: 40px;
  text-shadow: 1px 1px #000;
  z-index: 5;
}

.calendar-container-inner {
  margin-top: calc(100% / 15);
}

.calendar-container-inner > h1 {
  font-family: 'Titan One';
  color: #fff;
  font-size: 70px;
  margin-bottom: 60px;
  text-shadow: 1px 1px #000;
}

canvas {
	display: block;
  position: absolute;
  z-index: 10001;
  pointer-events: none;
}

.calendar-header {
  width: calc(100% + 25px);
  z-index: 5000;
  position: absolute;
  margin-left: -25px;
  margin-top: -50px;
}

@media (max-width: 12450px) {



}

.yellow {
  background: #f4d065 !important;
}

.blue {
  background: #91bec2 !important;
}

.door > img {
  position: absolute;
  width: 180px;
  margin: -27px -20px;
  z-index: 0;
}



.present {
  position: relative;
  display: inline-block;
  width: 130px;
  height: 130px;
  margin: 10px;
  border-radius: 7px !important;
  perspective: 850px;
  z-index: 666;
}
.present__pane, .present__content {
  width: inherit;
  height: inherit;
}
.present__pane {
  position: relative;
  background: #dd5156;
  transform-style: preserve-3d;
  transform-origin: 0;
  perspective: 850px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
  border-radius: 7px;
}
.present__date {
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 40px;
  font-family: 'Titan One';
  color: #fff;
  font-size: 40px;
  text-shadow: 1px 1px #000;
}
.present:hover {
  z-index: 999;
}
.open:hover .present__pane {
  transform: rotateY(-97deg);
  perspective-origin: 0;
  transition: all 0.2s ease-in;
}
.present:hover .present__date {
  backface-visibility: hidden;
}
.present:hover .present__bauble {
  display: inline-block;
  transform-origin: 50% 0;
  animation: shake 0.7s;
}
.present__content {
  position: absolute;
  top: 0;
  left: 0;
  background: SlateBlue;
  border-radius: 7px;
  z-index: -1;
}

.present__content:hover {
  cursor: pointer;
}

.present__bauble {
  position: relative;
  width: 2.66667em;
  height: 2.66667em;
  background: Violet;
  margin: 25% auto 0 auto;
  font-size: 2.66667em;
  line-height: 2.66667em;
  border-radius: 50%;
}
.present__bauble::after {
  content: '';
  position: absolute;
  top: -5%;
  left: 50%;
  width: 30%;
  height: 10%;
  margin-left: -15%;
  background: inherit;
}
.present__bauble::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  width: 12%;
  height: 20%;
  margin-left: -12%;
  border: 0.35rem solid Violet;
  border-radius: 50%;
  z-index: 0;
}

.present__content > img {
  width: 60px;
  margin: 35px 33px;
}

.santa-right {
  position: absolute;
  right: 0;
  z-index: 10;
  margin-top: -153px;
  transform: rotate(8deg);
}

.calendar-popup {
  left: 0;
  top: 0;
  width: 100%;
  position: absolute;
  margin: 0;
  padding: 0;
  z-index: 10000;
  color: #fff;
  display: none;
}

.opacity {
  width: 100%;
  height: 100vh;
  background: #000;
  opacity: 0.9;
  position: absolute;
  position: fixed;
}

.popup-bg {
  background: #c73336;
  min-height: 300px;
  z-index: 10001;
  margin-top: 250px;
  border-radius: 7px;
  text-align: center;
}

@media (min-width: 1150px) {

  .popup-bg {
    width: 650px;
    left: calc(50% - 325px);
    margin-left: 0;
  }

}

.popup-header {
  background: url('../images/popup-header.png');
  width: calc(100% + 80px);
  margin: -170px -40px;
  height: 210px;
  background-size: 100% 100%;
  z-index: 10004;
}

.popup-bg h1 {
  margin-top: 190px;
  font-family: 'Titan One';
  color: #fff;
  font-size: 60px;
  z-index: 5;
}

.popup-bg p {
  color: #fff ;
  margin-top: 30px;
  font-size: 18px;
  font-family: Verdana !important;
}

.selection-container {
  width: 100%;
  margin: 50px 0;
}

.selection {
  display: inline-block;
  width: 20%;
  text-align: center;
  font-size: 30px;
  font-family: 'Titan One';
  color: #fff;
}

.selected {
  color: #fff;
}

.hoverable {
  background: #b03033;
  padding: 5px 10px;
  border-radius: 50px;
}

.hoverable:hover {
  cursor: pointer;
}

.krans {
  width: 85px;
  position: absolute;
  margin: -20px -21px;
  display: none;
}

.close {
  width: 20px;
  height: 20px;
  background: url('../images/close-icon.png');
  position: absolute;
  z-index: 500000;
  opacity: 0.9;
  right: 0;
  margin: 0px 20px;
}

.close:hover {
  opacity: 1;
}

.luke-svar {
  margin-top: 30px;
}

.luke-svar > p {
  margin: 5px 0;
}

form {
  width: 400px;
  margin: 0 auto;
  margin-bottom: 25px;
}

.form-group {
  width: 72%;
  display: inline-block;
}

.btn {
  width: 25%;
  display: inline-block;
  margin-top: -3px;
}

#popup2 {
  display: none;
}

.red {
  color: red;
}

.footerText {
  margin: 20px;
  color: #fff;
}
