@charset "utf-8";
      @import url(https://fonts.googleapis.com/css?family=Oleo+Script);

h1 {
  margin:0;
  font-size:75px;
  line-height: 75px;
  text-align: center;
  font-weight: 400;
}
h2{color:#333;
  font-family: 'Oleo Script', cursive;
  font-size:32px;
  line-height: 10px;
  text-align: center;
  font-weight: 400;
}

ul {
  margin:0 auto 30px auto;
  padding:0;
  list-style-type:none;
  max-width:900px;
  width: 100%;
  text-align: center;
  user-select: none;
}

li {
  font-weight: 400;
  background-color: #8fd1e6;
  box-sizing: border-box;
  border-radius: 6px;
  display: inline-block;
  color:#111;
  cursor:pointer;
  font-size: 26px;
  padding:15px;
  margin:25px 12px;
  width: 130px;
  height:130px;
  line-height: 100px;
  text-align:center;
  position: relative;
  vertical-align:top;
  user-select: none;
  perspective: 800px;
  transition: all 0.4s ease-in-out;
}

/* bilder in das fenster einbauen  */
ul li:first-child {
   background: url("/mam/assets/img/1.jpg") center top;
  background-size:cover;
}

ul li:nth-child(1) {
   background: url("/mam/assets/img/1.jpg") center top;
  background-size:cover;
}

ul li:nth-child(2) {
   background: url("/mam/assets/img/2.jpg") center top;
  background-size:cover;
}

ul li:nth-child(3) {
   background: url("/mam/assets/img/3.jpg") center top;
  background-size:cover;
}

ul li:nth-child(4) {
   background: url("/mam/assets/img/4.jpg") center top;
  background-size:cover;
}

ul li:nth-child(5) {
   background: url("/mam/assets/img/5.jpg") center top;
  background-size:cover;
}

ul li:nth-child(6) {
   background: url("/mam/assets/img/6.jpg") center top;
  background-size:cover;
}

ul li:nth-child(7) {
   background: url("/mam/assets/img/7.jpg") center top;
  background-size:cover;
}

ul li:nth-child(8) {
   background: url("/mam/assets/img/8.jpg") center top;
  background-size:cover;
}

ul li:nth-child(9) {
   background: url("/mam/assets/img/9.jpg") center top;
  background-size:cover;
}

ul li:nth-child(10) {
   background: url("/mam/assets/img/10.jpg") center top;
  background-size:cover;
}

ul li:nth-child(11) {
   background: url("/mam/assets/img/11.jpg") center top;
  background-size:cover;
}

ul li:nth-child(12) {
   background: url("/mam/assets/img/12.jpg") center top;
  background-size:cover;
}

ul li:nth-child(13) {
   background: url("/mam/assets/img/13.jpg") center top;
  background-size:cover;
}

ul li:nth-child(14) {
   background: url("/mam/assets/img/14.jpg") center top;
  background-size:cover;
}

ul li:nth-child(15) {
   background: url("/mam/assets/img/15.jpg") center top;
  background-size:cover;
}

ul li:nth-child(16) {
   background: url("/mam/assets/img/16.jpg") center top;
  background-size:cover;
}

ul li:nth-child(17) {
   background: url("/mam/assets/img/17.jpg") center top;
  background-size:cover;
}

ul li:nth-child(18) {
   background: url("/mam/assets/img/18.jpg") center top;
  background-size:cover;
}

ul li:nth-child(19) {
   background: url("/mam/assets/img/19.jpg") center top;
  background-size:cover;
}

ul li:nth-child(20) {
   background: url("/mam/assets/img/20.jpg") center top;
  background-size:cover;
}
ul li:nth-child(21) {
   background: url("/mam/assets/img/21.jpg") center top;
  background-size:cover;
}
ul li:nth-child(22) {
   background: url("/mam/assets/img/22.jpg") center top;
  background-size:cover;
}
ul li:nth-child(23) {
   background: url("/mam/assets/img/23.jpg") center top;
  background-size:cover;
}

ul li:last-child {
  background: url("/mam/assets/img/24.jpg") center top;
  background-size:cover;
  width:180px;
  height:180px;
  color:#fff;}

ul li a{
  font-size: 16px;
  text-decoration:none;
  color:#fff;
}


ul li:last-child .door {
  font-size: 100px;
  width: 180px;
  height: 180px;
  line-height: 160px;
}

ul li:last-child .revealed {
  line-height: 143px;
  color:white;
}

.door {
  user-select: none;
  color:#fff;
  font-size: 70px;
  position: absolute;
  top:0;
  left:0;
  background-color: #c4a265;
  box-sizing: border-box;
  border-top: 2px #eee dashed;
  border-right: 2px #eee dashed;
  border-bottom: 2px #eee dashed;
  border-left: 1px #eee solid;
  border-radius: 6px;
  padding:15px;
  width: 130px;
  height:130px;
  transform-origin: 0 40%; 
  transition: all 0.4s ease-in-out;
  transform-style: preserve-3d;
}

.current .door {
  background-color: #c22a40;
}

.current .door.open{
  color: #c22a40;
}

.revealed {
  user-select: none;
  font-size: 18px;
  word-wrap:none;
  color:#fff;

}
.revealed a {
color:black;
text-decoration:none;
background: burlywood;
border-radius: 2px;
padding: .5em;
}

#message {
  box-sizing: border-box;
  color: #222;
  display: none;
  font-size: 24px;
  padding: 20px;
  background: #eddecb;
  max-width: 500px;
  width: 100%;
  border-radius: 15px;
  margin: 0 auto;
}

.open {
  box-shadow: 14px 0px 15px -1px rgba(0,0,0,0.2);
  color: #91c1cc;
  transform: rotate3d(0, 1, 0, -98deg);
 -ms-transform:rotate3d(0, 1, 0, -98deg);
     -webkit-transform:rotate3d(0, 1, 0, -98deg);
     -moz-transform:rotate3d(0, 1, 0, -98deg);
}

.jiggle {
  animation: jiggle 0.2s infinite;
  transform: rotate(-1deg);

}

@keyframes jiggle {
  0% {
        transform: rotate(-1deg);

  }
  50% {
      transform: rotate(1deg);

  }
}

@media screen and (max-width: 640px){
  
.door {
  font-size: 60px;
  padding:15px;
  width: 100px;
  height:100px; 
}
li {;
  font-size: 22px;
  padding:15px;
  margin:25px 12px;
  width: 100px;
  height:100px;
  line-height: 80px;
}
ul li:last-child .door {
  font-size: 80px;
  width: 140px;
  height: 140px;
  line-height: 120px;
}
ul li:last-child {
  width:140px;
  height:140px;
}
@media screen and (min-width: 480px) {
  li {
    margin:25px 20px;
  }
  
}

}


@media screen and (min-width: 768px) {
  body {
    background-size:100%;
  }
  
  p {
    right: 6%;
    top: 20%;
    bottom: auto; 
    margin-left: auto;
    left: auto;
  }
}

.modalDialog {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
    text-shadow: none ;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}
#flake{text-shadow: 0px 0 , 0 0px , 0px 0 , 0 0px ;}

.modalDialog:target {
  opacity:1;
  pointer-events: auto;
}

.modalDialog > div {
  max-width: 640px;
  position: relative;
  margin: 10% auto;
  padding: 5px 20px 13px 20px;
  border-radius: 10px;
  background: #fff;
  color:#000;
  background: -moz-linear-gradient(#fff, #999);
  background: -webkit-linear-gradient(#fff, #999);
  background: -o-linear-gradient(#fff, #999);
}
.modalDialog th{
   font-size:12px;
    background: #333;
    color:#fff;
}
.modalDialog tr{
   font-size:12px;
  background: #fff;
  color:#000;
}
.modalDialog img{
   float:right;
}
.close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -5px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #00d9ff; }
/* The ribbons */

.corner-ribbon{
  width: 200px;
  background: #c22a3f;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

/* Custom styles */

.corner-ribbon.sticky{
  position: fixed;
}

.corner-ribbon.shadow{
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}

/* Different positions */

.corner-ribbon.top-left{
  top: 25px;
  left: -50px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);}
.corner-ribbon.top-left a:link {color: #FFF;
  text-decoration: none;}
  
.corner-ribbon.top-left a:visited{ 
  text-decoration: none;
  color: #FFF;}

.corner-ribbon.top-left a:hover{
  text-decoration: none;
  color: #FFF;}
.corner-ribbon.top-left a:active{ text-decoration: none;
  color: #FFF;}

  .corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}
.corner-ribbon.top-right a:link {color: #FFF;
  text-decoration: none;}
.corner-ribbon.top-right a:visited{ 
  text-decoration: none;
  color: #FFF;}

.corner-ribbon.top-right a:hover{
  text-decoration: none;
  color: #FFF;}
.corner-ribbon.top-right a:active{ text-decoration: none;
  color: #FFF;}

#modal, #modal2 {
  left:50%;
  margin:-10% 0 0 -40%;
  opacity: 0;
  position:absolute;
  top:-50%;
  visibility: hidden;
  width:80%;
  box-shadow:0 3px 7px rgba(0,0,0,.25);
  box-sizing:border-box;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
  /* Make the modal appear when targeted */
  #modal:target, #modal2:target {
    opacity: 1;
    top:25%;
    visibility: visible;
  }
#modal .header,#modal .footer, #modal2 .header,#modal2 .footer{
  border-bottom: 1px solid #e7e7e7;
  border-radius: 5px 5px 0 0;
}
  #modal .footer,#modal2 .footer {
    border:none;
    border-top: 1px solid #e7e7e7;
    border-radius: 0 0 5px 5px;
  }
#modal h2, #modal2 h2{
  margin:0;
}
#modal .btn, #modal2 .btn {
  float:right;
}
#modal .copy,#modal .header, #modal .footer,#modal2 .copy,#modal2 .header, #modal2 .footer {
  padding:15px;
}
.modal-content{
  background: #f7f7f7;
  position: relative;
  z-index: 20;
  border-radius:5px;
  color:#333;
  /* text-shadow: 0 0 , 0 0,  0 0 , 0 0;*/
   font-style:normal;
   font-weight:normal;
   font-size:16px;

}
#modal .copy, #modal2 .copy {
  background: #fff;
}

#modal .overlay, #modal2 .overlay{
  background-color: #000;
  background: rgba(0,0,0,.5);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}.btn {
  background-color: #f6f6f6;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(246, 246, 246)), to(rgb(225, 225, 225)));
  background-image: -webkit-linear-gradient(top, rgb(246, 246, 246), rgb(225, 225, 225));
  background-image: -moz-linear-gradient(top, rgb(246, 246, 246), rgb(225, 225, 225));
  background-image: -o-linear-gradient(top, rgb(246, 246, 246), rgb(225, 225, 225));
  background-image: -ms-linear-gradient(top, rgb(246, 246, 246), rgb(225, 225, 225));
  background-image: linear-gradient(top, rgb(246, 246, 246), rgb(225, 225, 225));
  filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f6f6f6', EndColorStr='#e1e1e1');
  border: 1px solid #ccc;
  color:#555;
  display:inline-block;
  padding:5px 15px;
  text-decoration:none;
  text-shadow:0 2px rgba(255,255,255,.9);
  border-radius:20px;
  -moz-border-radius:20px;
  -webkit-border-radius:20px;
  box-shadow:0 1px rgba(0,0,0,.35);
  -moz-box-shadow:0 1px rgba(0,0,0,.35);
  -webkit-box-shadow:0 1px rgba(0,0,0,.35);
}
  .btn:active {
    background-color: #f6f6f6;
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgb(246, 246, 246)), to(rgb(225, 225, 225)));
    background-image: -webkit-linear-gradient(bottom, rgb(246, 246, 246), rgb(225, 225, 225));
    background-image: -moz-linear-gradient(bottom, rgb(246, 246, 246), rgb(225, 225, 225));
    background-image: -o-linear-gradient(bottom, rgb(246, 246, 246), rgb(225, 225, 225));
    background-image: -ms-linear-gradient(bottom, rgb(246, 246, 246), rgb(225, 225, 225));
    background-image: linear-gradient(bottom, rgb(246, 246, 246), rgb(225, 225, 225));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#f6f6f6', EndColorStr='#e1e1e1');
  }
.stitched {
   width:50%;
   padding: 10px;
   margin: 0 auto;
   background: #c22a3f ;
   color: #fff;
   font-size: 21px;
   font-weight: bold;
   line-height: 1.3em;
   border: 2px dashed #fff;
   border-radius: 10px;
   box-shadow: 0 0 0 4px #c22a3f , 2px 1px 6px 4px rgba(10, 10, 0, 0.5);
   text-shadow: -1px -1px #333;
   font-weight: normal;
}