* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: #ef0000;
    height: 100%;
    padding: 0;
    margin: 0;
    background: #ef0000;
    font-size: 18px;
    background-image: url("/images/hintergrund.jpg");
}


a:link, a:visited, a:active {
    color: #ef0000;
    text-decoration: none;
}

a:hover {
    color: #ef0000;
    text-decoration: underline;
}

h1 {
    font-family: mm-headline, Arial, sans-serif;
    font-size: 44px;
    line-height: 40px;
    margin: 0;
}

h2 {
    font-family: mm-headline, Arial, sans-serif;
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: unset;
}
/*
@font-face {
    font-family: "mm-headline";
    src: url("/fonts/MMHeadlineProWebTT-Regular.eot?#iefix") format("embedded-opentype"),
    url("/fonts/MMHeadlineProWebTT-Regular.woff2") format("woff2"),
    url("/fonts/MMHeadlineProWebTT-Regular.woff") format("woff"),
    url("/fonts/MMHeadlineProWebTT-Regular.ttf") format("truetype"),
    url("/fonts/MMHeadlineProWebTT-Regular.svg#svg") format("svg");
}
*/

.hidden {
    display: none !important;
}

#wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#background {
    position: absolute;
    width: 900px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    background-image: url("/images/hintergrund-baum_900x600.jpg");
    background-repeat: no-repeat;
}

#frame {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#frame #top {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    background: white;
    z-index: 100;
}

#frame #top .left {
    position: absolute;
    left: 0px;
    width: 30px;
    height: 30px;
    background-image: url("/images/rundung-lo.png");
    background-repeat: no-repeat;
    z-index: 100;
}

#frame #top .right {
    position: absolute;
    right: 0px;
    width: 30px;
    height: 30px;
    background-image: url("/images/rundung-ro.png");
    background-repeat: no-repeat;
    z-index: 100;
}

#frame #middle {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#frame #middle .left {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 15px;
    height: 100%;
    background: white;
    z-index: 100;
}

#frame #middle .right {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 15px;
    height: 100%;
    background: white;
    z-index: 100;
}

#frame #bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: white;
    z-index: 100;
}

#frame #bottom .left {
    position: absolute;
    left: 0px;
    width: 30px;
    height: 30px;
    background-image: url("/images/rundung-lu.png");
    background-repeat: no-repeat;
    z-index: 100;
}

#frame #bottom .right {
    position: absolute;
    right: 0px;
    width: 30px;
    height: 30px;
    background-image: url("/images/rundung-ru.png");
    background-repeat: no-repeat;
    z-index: 100;
}

.noframe #frame {
    display: none;
}

.noframe #nameLeaf {
    display: none;
}

.noframe #logoLeaf {
    display: none;
}

.noframe #background {
    background-color: white;
    background-image: none;
}

.noframe #slimfooter {
    display: none;
}

.slimframe #frame #top {
    height: 15px;
}

.slimframe #frame #top .left {
    top: 0px;
}

.slimframe #frame #top .right {
    top: 0px;
}

.slimframe #frame #bottom {
    height: 25px;
}

.slimframe #frame #bottom .left {
    bottom: 10px;
}

.slimframe #frame #bottom .right {
    bottom: 10px;
}

.slimframe #content #header {
    display: none;
}

.slimframe #content #footer {
    display: none;
}

.wideframe #frame #top {
    height: 65px;
}

.wideframe #frame #top .left {
    top: 50px;
}

.wideframe #frame #top .right {
    top: 50px;
}

.wideframe #frame #bottom {
    height: 40px;
}

.wideframe #frame #bottom .left {
    bottom: 25px;
}

.wideframe #frame #bottom .right {
    bottom: 25px;
}

.wideframe #nameLeaf {
    display: none;
}

.wideframe #logoLeaf {
    display: none;
}

.wideframe #textbox {
    display: none;
}

.wideframe #slimfooter {
    display: none;
}

#nameLeaf {
    width: 320px;
    height: 80px;
    left: 0px;
    position: absolute;
    top: 40px;
    background-color: white;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    transform-origin: center 0px;
    transform: rotate(-5deg);
}

#nameLeaf span {
    font-size: 30px;
    color: rgb(223, 0, 0);
    margin: 5px 0 0 20px;
    line-height: 30px;
    display: inline-block;
    font-family: mm-headline, Arial, sans-serif;
}

#logoLeaf {
    width: 220px;
    height: 56px;
    right: 0px;
    position: absolute;
    bottom: 40px;
    background-color: white;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

#card {
    position: absolute;
    width: 900px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

#content {
    position: absolute;
    width: 900px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#sharebox {
    position: absolute;
    width: 200px;
    height: 40px;
    left: 20px;
    bottom: 20px;
    display: none;
}

#header {
    position: absolute;
    width: 100%;
    height: 65px;
    z-index: 1000;
}

#header img {
    margin: 8px 0 0 34px;
}

#footer {
    position: absolute;
    width: 100%;
    height: 40px;
    bottom: 0;
    text-align: center;
    z-index: 1000;
    background-color: white;
}

#footer a {
    line-height: 40px;
    margin: 0 5px 0 5px;
    font-size: 15px;
}

#slimfooter {
    position: absolute;
    width: 100%;
    height: 25px;
    bottom: 0;
    text-align: center;
    z-index: 1000;
    background-color: white;
    line-height: 25px;
    font-size: 12px;
}

#slimfooter a {

}

#sharebox a {
    width: 15%;
    margin: 5px;
    color: #fff;
    display: inline-block;
}

#sharebox a svg {
    width: 100%;
    height: auto;
}

.lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    body {
        background: none;
        overflow: hidden;
    }

    h1 {
        font-size: 36px;
        line-height: 36px;
    }

    #background {
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        transform: translate(0px, 0px);
        background-position: center;
        background-size: cover;
    }

    #card {
        top: -50px;
        height: 100%;
        transform: translate(-50%, 0px);
    }

    .noframe #header {
        position: relative;
        height: 65px;
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.19);
    }

    .noframe #footer {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.19);
    }

    #slimfooter {
        line-height: 12px;
        font-size: 10px;
    }

    #content {
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        transform: translate(0px, 0px);
    }
}

@media (max-width: 400px) {
    #header img {
        margin: 8px 0 0 22px;
    }

    #logoLeaf {
        width: 170px;
        height: 43px;
    }

    #logoLeaf img {
        width: 167px;
    }

}