html {
    height: 100%;
}


body {
    font-family: 'Open Sans', Tahoma, Geneva, sans-serif;
    font-size: 13px;
    color: #3d2f1b;
    background-color: #cfd2d7;
    background-image: url('design/background.jpg');
    background-attachment: fixed;
    background-position: left center;
    background-size: cover;
    text-align: center;
    margin: 0;
    padding: 15px 15px 40px;
    height: 100%;
}

@media (min-width: 769px) {
    body {
        font-size: 15px;
        background-position: center center;
    }

    .wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 765px;
    }
}

a {
    color: #fff;
    text-decoration: none;
    font-weight: bold
}

a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.head, h1 {
    font-size: 12pt;
}

.menu, h2 {
    color: #a3853b;
    font-family: "Quattrocento", "Palatino Linotype", serif;
    font-size: 20px;
    font-weight: normal;
    margin: 25px 0 20px;
    padding: 5px 10px;
    text-align: left;
}

.frage {
    background-color: rgba(255,255,255,0.65);
    border-radius: 10px;
    padding: 15px;
    max-width: 500px;
    margin: 1em auto;
}

.frage ol {
    list-style: none;
    counter-reset: frage-counter;
}

@media (min-width: 769px) {
    .frage ol {
        padding: 0 50px;
    }
}

.frage ol li {
    margin: 0 0 1.5em 0;
    counter-increment: frage-counter;
    position: relative;
}

.frage ol li::before {
    content: counter(frage-counter) ". ";
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    line-height: 1;
    width: 30px;
    height: 20px;
    top: 0;
    text-align: right;
}


#adventskalender {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.tuerchen {
    background: #f3f8fc8f;
    color: #b9b6a8;
    font-family: 'Josefin Slab', sans-serif;
    font-weight: normal;
    font-size: 30px;
    display: block;
    height: 80px;
    width: 80px;
    margin: 10px auto;
    line-height: 84px;
    text-decoration: none;
    box-shadow: none !important;
}

.inhalt {
    margin-top: 2rem;
}

.inhalt .panel-body {
    padding: 30px;
}

.inhalt img {
    max-width: 100%;
}

.panel.panel-parchment {
    border-color: #c3b789;
    box-shadow: 0 0 34px rgba(0, 0, 0, 0.17) inset;
}

.tuerchen:hover, .tuerchen:active, .tuerchen:focus {
    text-decoration: none;
    color: #164a9e;
    box-shadow: 0 0 34px rgba(0, 0, 0, 0.17) inset, 1px 1px 10px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #e7e8ec;
    font-family: 'Mountains of Christmas', cursive;
    font-size: 40px;
    text-shadow: 1px 1px 2px #392821, 0 0 10px #ffffff;
    margin: 30px auto 10px auto;
}


.inhalt h1 {
    font-size: 30px;
}

.panel-parchment h1 {
    text-shadow: none;
    margin: 30px auto;
    color: #164a9e;
}

.panel-parchment a {
    color: #164a9e;
}

.panel-parchment a:hover {
    color: rgba(22, 74, 158, 0.6);
}

@media (min-width: 769px) {
    h1 {
        font-size: 50px;
        margin-top: 80px;
    }

    .inhalt h1 {
        font-size: 45px;
    }
}
@media (min-width: 1200px) {
    .tuerchen {
        height: 100px;
        width: 100px;
        font-size: 35px;
        line-height: 105px;
    }
}

.tuerchen:hover, .tuerchen:active, .tuerchen:focus {
    -webkit-animation: shadow-drop-bottom 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: shadow-drop-bottom 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes shadow-drop-bottom {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        -webkit-box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
        box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
    }
}

@keyframes shadow-drop-bottom {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
    100% {
        -webkit-box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
        box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.35);
    }
}

.ps {
    margin: 50px auto 20px;
}

.back-link {
    padding-bottom: 30px;
}

ul, ol {
    text-align: left;
}

ol {
    counter-reset: item;
    padding-left: 20px;
}

ol li {
    display: block;
    margin-bottom: 5px;
    padding-left: 20px;
}

ol li:before {
    content: counter(item) ". ";
    counter-increment: item;
    font-size: 14pt;
    font-weight: bold;
    padding-right: 10px;
    margin-left: -37px;
}
