/* Fonts lokal */ 
/* allura-regular - latin */
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/allura-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/allura-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/allura-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/allura-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/allura-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/allura-v18-latin-regular.svg#Allura') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans-v34-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v34-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v34-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/open-sans-v34-latin-800.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-800.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* Main */

.calendar {
  display: grid;
  min-width: 70%;
  margin: 2% auto;

  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto;
  grid-gap: 25px;

  grid-template-areas:
    "d1 d2 d3 d4 d5"
    "d6 d7 d8 d9 d10"
    "d11 d12 d24 d13 d14"
    "d15 d16 d24 d17 d18"
    "d19 d20 d21 d22 d23";
}

.day {
  background: #ffffffc4;
  padding: 40px;
  min-height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.day:hover {
  cursor: pointer;
}

body {
  background-image: url("img/background/weihnachtsbaum.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

/* Popup */

.falscher-tag,
.surprise-img {
  max-width: 100%;
  max-height: 100%;
}

.box-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.number-img {
  justify-content: center;
  max-height: 150px;
}

/* Kästchen */

.day-1 {
  grid-area: d1;
}
.day-2 {
  grid-area: d2;
}
.day-3 {
  grid-area: d3;
}
.day-4 {
  grid-area: d4;
}
.day-5 {
  grid-area: d5;
}
.day-6 {
  grid-area: d6;
}
.day-7 {
  grid-area: d7;
}
.day-8 {
  grid-area: d8;
}
.day-9 {
  grid-area: d9;
}
.day-10 {
  grid-area: d10;
}
.day-11 {
  grid-area: d11;
}
.day-12 {
  grid-area: d12;
}
.day-13 {
  grid-area: d13;
}
.day-14 {
  grid-area: d14;
}
.day-15 {
  grid-area: d15;
}
.day-16 {
  grid-area: d16;
}
.day-17 {
  grid-area: d17;
}
.day-18 {
  grid-area: d18;
}
.day-19 {
  grid-area: d19;
}
.day-20 {
  grid-area: d20;
}
.day-21 {
  grid-area: d21;
}
.day-22 {
  grid-area: d22;
}
.day-23 {
  grid-area: d23;
}
.day-24 {
  grid-area: d24;
}

#modal {
  display: none;
}

#modal.active {
  display: block;
}

.surprise {
  display: none;
}

/* von: https://codepen.io/designcouch/pen/gPYbrP */

* {
  box-sizing: border-box;
}

p.header-text {
  font-family: "Allura", cursive;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 30px;
  min-height: 100%;
}

h1 {
  font-size: 35px;
  margin: 0;
  padding: 50px 0;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}
h1 em {
  font-weight: 500;
}

#modal {
  position: fixed;
  z-index: 1;
  top: -100%;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgb(0 0 0 / 85%);
}
#modal .wrapper {
  height: 100%;
  width: 100%;
  display: table;
}
#modal .wrapper .content {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  height: 100%;
  width: 100%;
}
#modal .wrapper .content .close {
  position: absolute;
  height: 50px;
  width: 50px;
  top: -3rem;
  right: -3rem;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#modal .wrapper .content .close:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -1px;
  height: 0%;
  width: 4px;
  background: white;
}
#modal .wrapper .content .close:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  width: 0%;
  height: 4px;
  background: white;
}
#modal .wrapper .content .box {
  padding: 50px;
  width: 700px;
  height: 500px;
  max-width: 100%;
  background: white;
  border-radius: 5px;
  margin: 0 auto;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal .wrapper .content .box h2 {
  font-size: 25px;
  line-height: 35px;
  font-weight: 300;
  margin-bottom: 25px;
}
#modal .wrapper .content .box p {
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 25px;
}
#modal .wrapper .content .box p:last-of-type {
  margin-bottom: 0;
}
#modal .wrapper .content .box a.button {
  display: inline-block;
  padding: 15px;
  color: white;
  text-decoration: none;
  background-color: #d50c2f;
  border-radius: 5px;
  margin-top: 25px;
  box-shadow: inset 0 0 0 #d50c2f;
  -webkit-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}
#modal .wrapper .content .box a.button:hover {
  box-shadow: inset 500px 0 0 #d50c2f;
}
#modal.active {
  top: 0%;
  -webkit-animation: fadeIn 0.25s ease-in-out;
  animation: fadeIn 0.25s ease-in-out;
}
#modal.active.moveOut {
  -webkit-animation: fadeOut 0.25s ease-in-out;
  animation: fadeOut 0.25s ease-in-out;
}
#modal.active .wrapper .content .box {
  -webkit-animation: scaleUp 750ms 0.25s linear both;
  animation: scaleUp 750ms 0.25s linear both;
}
#modal.active .wrapper .content .close:before {
  height: 100%;
  -webkit-transition: 0.25s 0.5s ease-in-out;
  transition: 0.25s 0.5s ease-in-out;
}
#modal.active .wrapper .content .close:after {
  width: 100%;
  -webkit-transition: 0.25s 0.25s ease-in-out;
  transition: 0.25s 0.25s ease-in-out;
}
#modal.active .wrapper .content .close:hover {
  cursor: pointer;
}
#modal.active .wrapper .content .close:hover:before,
#modal.active .wrapper .content .close:hover:after {
  -webkit-transition: 0.25s 0s ease-in-out;
  transition: 0.25s 0s ease-in-out;
  background: white;
}

#calendar {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  margin-top: 150px;
}
#calendar #day-labels {
  width: 100%;
  border-bottom: 1px solid #c6c6c6;
  border-right: 1px solid #c6c6c6;
  overflow: auto;
}
#calendar #day-labels .label {
  width: 14.285714286%;
  float: left;
  text-align: right;
  padding: 10px;
  font-size: 18px;
  letter-spacing: 1px;
  color: #7a7a7a;
  background: rgba(255, 255, 255, 0.95);
}
#calendar .week {
  width: 100%;
  overflow: hidden;
}
#calendar .week .day {
  width: 14.285714286%;
  padding-bottom: 14.285714286%;
  border-right: 1px solid #c6c6c6;
  border-bottom: 1px solid #c6c6c6;
  height: 0px;
  float: left;
  position: relative;
  background: rgba(255, 255, 255, 0.95);
}
#calendar .week .day .date {
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  border-radius: 100%;
  height: 25px;
  width: 25px;
  text-align: center;
  line-height: 25px;
  font-size: 14px;
  color: #7a7a7a;
}
#calendar .week .day .date.today {
  color: white;
  background: #cd1b1b;
}
#calendar .week .day .surprise {
  display: none;
}
#calendar .week .day#christmas-day {
  text-align: center;
}
#calendar .week .day#christmas-day svg {
  height: 100%;
  fill: #348834;
}
#calendar .week .day#christmas-day:hover svg {
  fill: #cfdef4;
}
#calendar .week .day.past {
  background-image: url(http://www.designcouch.com/assets/images/christmaspresent11.svg);
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: center center;
}
#calendar .week .day.past#christmas-day {
  background-image: none;
}
#calendar .week .day:first-of-type,
#calendar .week .day:last-of-type {
  background-color: rgba(235, 235, 235, 0.95);
}
#calendar .week .day:first-of-type.noDate:hover,
#calendar .week .day:last-of-type.noDate:hover {
  background-color: rgba(235, 235, 235, 0.95);
  cursor: default;
}
#calendar .week .day:hover {
  background-color: #d50c2f;
  cursor: pointer;
}
#calendar .week .day:hover.noDate {
  background: rgba(255, 255, 255, 0.95);
  cursor: default;
}
#calendar .week .day:hover .date {
  color: #cfdef4;
}
#calendar .week .day:hover .date.today {
  background: #cfdef4;
  color: #d50c2f;
}

#bottom {
  position: fixed !important;
  height: 0;
  width: 100%;
  bottom: 0;
  left: 0;
}

@-webkit-keyframes fadeIn {
  0% {
    top: 0%;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    top: 0%;
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes scaleUp {
  0% {
    -webkit-transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  3.2% {
    -webkit-transform: matrix3d(
      0.345,
      0.098,
      0,
      0,
      0.065,
      0.345,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.345,
      0.098,
      0,
      0,
      0.065,
      0.345,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  4.5% {
    -webkit-transform: matrix3d(
      0.485,
      0.163,
      0,
      0,
      0.107,
      0.485,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.485,
      0.163,
      0,
      0,
      0.107,
      0.485,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  6.41% {
    -webkit-transform: matrix3d(
      0.673,
      0.242,
      0,
      0,
      0.158,
      0.673,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.673,
      0.242,
      0,
      0,
      0.158,
      0.673,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  9.01% {
    -webkit-transform: matrix3d(
      0.88,
      0.288,
      0,
      0,
      0.188,
      0.88,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.88,
      0.288,
      0,
      0,
      0.188,
      0.88,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  12.71% {
    -webkit-transform: matrix3d(
      1.064,
      0.241,
      0,
      0,
      0.159,
      1.064,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.064,
      0.241,
      0,
      0,
      0.159,
      1.064,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  13.51% {
    -webkit-transform: matrix3d(
      1.087,
      0.221,
      0,
      0,
      0.146,
      1.087,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.087,
      0.221,
      0,
      0,
      0.146,
      1.087,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  17.92% {
    -webkit-transform: matrix3d(
      1.139,
      0.105,
      0,
      0,
      0.07,
      1.139,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.139,
      0.105,
      0,
      0,
      0.07,
      1.139,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  18.92% {
    -webkit-transform: matrix3d(
      1.137,
      0.082,
      0,
      0,
      0.055,
      1.137,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.137,
      0.082,
      0,
      0,
      0.055,
      1.137,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  25.23% {
    -webkit-transform: matrix3d(
      1.075,
      -0.001,
      0,
      0,
      -0.001,
      1.075,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.075,
      -0.001,
      0,
      0,
      -0.001,
      1.075,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  29.03% {
    -webkit-transform: matrix3d(
      1.032,
      -0.015,
      0,
      0,
      -0.01,
      1.032,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.032,
      -0.015,
      0,
      0,
      -0.01,
      1.032,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  31.43% {
    -webkit-transform: matrix3d(
      1.012,
      -0.017,
      0,
      0,
      -0.011,
      1.012,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.012,
      -0.017,
      0,
      0,
      -0.011,
      1.012,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  34.63% {
    -webkit-transform: matrix3d(
      0.994,
      -0.014,
      0,
      0,
      -0.01,
      0.994,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.994,
      -0.014,
      0,
      0,
      -0.01,
      0.994,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  40.14% {
    -webkit-transform: matrix3d(
      0.985,
      -0.007,
      0,
      0,
      -0.005,
      0.985,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.985,
      -0.007,
      0,
      0,
      -0.005,
      0.985,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  56.46% {
    -webkit-transform: matrix3d(
      1,
      0.001,
      0,
      0,
      0.001,
      1,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(1, 0.001, 0, 0, 0.001, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  62.36% {
    -webkit-transform: matrix3d(
      1.002,
      0.001,
      0,
      0,
      0,
      1.002,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.002,
      0.001,
      0,
      0,
      0,
      1.002,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  81.48% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  84.68% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}
@keyframes scaleUp {
  0% {
    -webkit-transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  3.2% {
    -webkit-transform: matrix3d(
      0.345,
      0.098,
      0,
      0,
      0.065,
      0.345,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.345,
      0.098,
      0,
      0,
      0.065,
      0.345,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  4.5% {
    -webkit-transform: matrix3d(
      0.485,
      0.163,
      0,
      0,
      0.107,
      0.485,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.485,
      0.163,
      0,
      0,
      0.107,
      0.485,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  6.41% {
    -webkit-transform: matrix3d(
      0.673,
      0.242,
      0,
      0,
      0.158,
      0.673,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.673,
      0.242,
      0,
      0,
      0.158,
      0.673,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  9.01% {
    -webkit-transform: matrix3d(
      0.88,
      0.288,
      0,
      0,
      0.188,
      0.88,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.88,
      0.288,
      0,
      0,
      0.188,
      0.88,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  12.71% {
    -webkit-transform: matrix3d(
      1.064,
      0.241,
      0,
      0,
      0.159,
      1.064,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.064,
      0.241,
      0,
      0,
      0.159,
      1.064,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  13.51% {
    -webkit-transform: matrix3d(
      1.087,
      0.221,
      0,
      0,
      0.146,
      1.087,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.087,
      0.221,
      0,
      0,
      0.146,
      1.087,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  17.92% {
    -webkit-transform: matrix3d(
      1.139,
      0.105,
      0,
      0,
      0.07,
      1.139,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.139,
      0.105,
      0,
      0,
      0.07,
      1.139,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  18.92% {
    -webkit-transform: matrix3d(
      1.137,
      0.082,
      0,
      0,
      0.055,
      1.137,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.137,
      0.082,
      0,
      0,
      0.055,
      1.137,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  25.23% {
    -webkit-transform: matrix3d(
      1.075,
      -0.001,
      0,
      0,
      -0.001,
      1.075,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.075,
      -0.001,
      0,
      0,
      -0.001,
      1.075,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  29.03% {
    -webkit-transform: matrix3d(
      1.032,
      -0.015,
      0,
      0,
      -0.01,
      1.032,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.032,
      -0.015,
      0,
      0,
      -0.01,
      1.032,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  31.43% {
    -webkit-transform: matrix3d(
      1.012,
      -0.017,
      0,
      0,
      -0.011,
      1.012,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.012,
      -0.017,
      0,
      0,
      -0.011,
      1.012,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  34.63% {
    -webkit-transform: matrix3d(
      0.994,
      -0.014,
      0,
      0,
      -0.01,
      0.994,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.994,
      -0.014,
      0,
      0,
      -0.01,
      0.994,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  40.14% {
    -webkit-transform: matrix3d(
      0.985,
      -0.007,
      0,
      0,
      -0.005,
      0.985,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      0.985,
      -0.007,
      0,
      0,
      -0.005,
      0.985,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  56.46% {
    -webkit-transform: matrix3d(
      1,
      0.001,
      0,
      0,
      0.001,
      1,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(1, 0.001, 0, 0, 0.001, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  62.36% {
    -webkit-transform: matrix3d(
      1.002,
      0.001,
      0,
      0,
      0,
      1.002,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
    transform: matrix3d(
      1.002,
      0.001,
      0,
      0,
      0,
      1.002,
      0,
      0,
      0,
      0,
      1,
      0,
      0,
      0,
      0,
      1
    );
  }
  81.48% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  84.68% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    -webkit-transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

/* Zusätzliche Styles für das Video-Popup */
#videoPopup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999; /* Höhere Z-Index, um über dem Hauptpopup zu liegen */
  background-color: #fff;
  padding: 50px;
padding-top: 30px;
  border: none;
border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#videoPopup video {
  max-width: 100%;
  min-width: 750px;
  height: 550px;
}

@media (max-width: 768px) {
  #videoPopup {
    padding: 15px;
	width: 100%;
}

#videoPopup video {
  max-width: 100%;
  width: 100%;
  height: auto;
  min-width: 100px;
}
}