h1 {
    font-size: 100px;
    padding-top: 0;
    line-height: 1;
    padding-bottom: 0;
    font-family: 'Grand Hotel', cursive;
    margin-top: 50px;
    margin-bottom: -70px;
    z-index: 10;
    position: relative;
}

.back small {
    position: absolute;
    bottom: 0;
    left: 10%;
    padding: 15px;
    text-align: center;
    width: 80%;
    right: 0;
}

footer {
    margin-top: 50px;
    margin-bottom: 50px;
}

p {
    font-size: 20px;
}

h3 {
    font-size: 1.75rem;
}

.header-img {
    width: 100%;
    border-bottom: 10px solid #333;
    margin-bottom: 40px;
}

.voucher {
    width: calc(33% - 17px);
    float: left;
    position: relative;
    perspective: 500px;
    position: relative;
    transform-style: preserve-3d;
    margin: 10px 10px 10px;
    cursor: pointer;
    height: auto;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
    z-index: 5;
}

.voucher:hover,
.voucher:hover .front,
.voucher:hover .back {
    z-index: 50;
}

.voucher .front,
.voucher .back {
    overflow: hidden;
}


.voucher.used .front:after,
.voucher.used .back:after {
    content: 'Eingelöst';
    position: absolute;
    bottom: 10px;
    right: -110px;
    color: #F44336;
    transform: rotate(-45deg);
    background: #fff;
    padding: 20px 100px;
    font-size: 20px;
    text-transform: uppercase;
}

@media all and (max-width: 1030px) {
    .voucher {
        width: calc(50% - 20px);
        float: left;
    }

    h1 {
        margin-bottom: -50px;
    }
}

@media all and (max-width: 775px) {
    .voucher {
        width: calc(100% - 20px);
        float: left;
    }


    h1 {
        margin-bottom: 0px;
    }
}

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

.party-img {
    max-width: 150px;
    width: 100%;
    margin:30px auto 0;
    display: block;
}

.voucher .front {
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    position: absolute;
    z-index: 1;
    width: 100%;
    transition: all 0.5s ease-out 0s;
    transform: rotateY(0deg);
    overflow: hidden;
}

.voucher .back {
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -ms-transition: 0.5s all;
    -o-transition: 0.5s all;
    transition: 0.5s all;
    border: 5px solid #333;
    padding: 15px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    position: relative;
    z-index: 0;
    background: #fff;
    height: 100%;
    width: 100%;
    transform: rotateX(-180deg);
    transition: all 0.5s ease-out 0s;
}


.timeline {
    position: relative;
    padding: 4px 0 0 0;
    margin-top: 22px;
    list-style: none;
    margin-bottom: 160px;
}

.timeline > li:nth-child(even) {
    position: relative;
    margin-bottom: 10px;
    height: 200px;
    right: -100px;
}

.timeline > li:nth-child(odd) {
    position: relative;
    margin-bottom: 10px;
    height: 200px;
    left: -100px;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
    min-height: 170px;
}

.timeline > li .timeline-panel {
    position: relative;
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
}

.timeline > li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline > li .timeline-image {
    z-index: 100;
    position: absolute;
    left: 50%;
    border: 5px solid #333;
    border-radius: 100%;
    background-color: #333;
    width: 200px;
    height: 200px;
    margin-left: -100px;
    overflow: hidden;
    background-size: contain;
}

.timeline > li .timeline-image img {
    height: 100%;
}

.timeline > li .timeline-image h4 {
    margin-top: 12px;
    font-size: 10px;
    line-height: 14px;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline > li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
    margin-top: 20px;
    margin-bottom: 4px;
    padding: 0;
    color: #b3b3b3;
    font-size: 40px;
}

.timeline .timeline-heading h4.subheading {
    margin: 0;
    padding: 0;
    text-transform: none;
    font-size: 27px;
    color: #333333;
}

.timeline .timeline-body > p,
.timeline .timeline-body > ul {
    margin-bottom: 0;
    color: #808080;
}

/*Style for even div.line*/
.timeline > li:nth-child(odd) .line:before {
    content: "";
    position: absolute;
    top: 83px;
    bottom: 0;
    left: 690px;
    width: 4px;
    height: 315px;
    background-color: #333;
    -ms-transform: rotate(-44deg); /* IE 9 */
    -webkit-transform: rotate(-44deg); /* Safari */
    transform: rotate(-44deg);
}

/*Style for odd div.line*/
.timeline > li:nth-child(even) .line:before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 0;
    left: 450px;
    width: 4px;
    height: 340px;
    background-color: #333;
    -ms-transform: rotate(44deg); /* IE 9 */
    -webkit-transform: rotate(44deg); /* Safari */
    transform: rotate(44deg);
}

/* Medium Devices, .visible-md-* */
@media (min-width: 992px) and (max-width: 1199px) {
    .timeline > li:nth-child(even) {
        margin-bottom: 0px;
        min-height: 0px;
        right: 0px;
    }

    .timeline > li:nth-child(odd) {
        margin-bottom: 0px;
        min-height: 0px;
        left: 0px;
    }

    .timeline > li:nth-child(even) .timeline-image {
        left: 0;
        margin-left: 0px;
    }

    .timeline > li:nth-child(odd) .timeline-image {
        left: 690px;
        margin-left: 0px;
    }

    .timeline > li:nth-child(even) .timeline-panel {
        width: 76%;
        padding: 0 0 20px 0px;
        text-align: left;
    }

    .timeline > li:nth-child(odd) .timeline-panel {
        width: 70%;
        padding: 0 0 20px 0px;
        text-align: right;
    }

    .timeline > li .line {
        display: none;
    }
}

/* Small Devices, Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .timeline > li:nth-child(even) {
        margin-bottom: 0px;
        min-height: 0px;
        right: 0px;
    }

    .timeline > li:nth-child(odd) {
        margin-bottom: 0px;
        min-height: 0px;
        left: 0px;
    }

    .timeline > li:nth-child(even) .timeline-image {
        left: 0;
        margin-left: 0px;
    }

    .timeline > li:nth-child(odd) .timeline-image {
        left: 520px;
        margin-left: 0px;
    }

    .timeline > li:nth-child(even) .timeline-panel {
        width: 65%;
        padding: 0 0 20px 0px;
        text-align: left;
    }

    .timeline > li:nth-child(odd) .timeline-panel {
        width: 70%;
        padding: 0 0 20px 0px;
        text-align: right;
    }

    .timeline > li .line {
        display: none;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width: 767px) {
    .timeline > li:nth-child(even) {
        margin-bottom: 0px;
        min-height: 0px;
        right: 0px;
        clear: both;
    }

    .timeline > li:nth-child(odd) {
        margin-bottom: 0px;
        min-height: 0px;
        left: 0px;
        clear: both;
    }

    .timeline > li .timeline-image {
        position: static;
        width: 300px;
        height: 300px;
        margin-bottom: 0px;
    }

    .timeline > li:nth-child(even) .timeline-image {
        left: 0;
        margin-left: 0;
    }

    .timeline > li:nth-child(odd) .timeline-image {
        float: right;
        left: 0px;
        margin-left: 0;
    }

    .timeline > li:nth-child(even) .timeline-panel {
        width: 100%;
        padding: 0 0 20px 14px;
    }

    .timeline > li:nth-child(odd) .timeline-panel {
        width: 100%;
        padding: 0 14px 20px 0px;
    }

    .timeline > li .line {
        display: none;
    }
}

