* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

h2 {
    text-align: center;
    margin: 0;
    font-family: Merriweather, sans-serif;
    font-size: 66px;
    letter-spacing: 1.8px;
    color: white;
}

h3 {
    font-family: Roboto, sans-serif;
    font-size: 35px;
    color: #dc0046;
}

a {
    color: #dc0046;
    text-decoration: none;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.25s ease-in-out 0s;
}

a:hover {
    opacity: 0.5;
}

/* Contact Form */

form {
    color: #fff;
    font-family: Roboto, sans-serif;
    font-size: 28px;
}

form .row {
    padding: 10px 0;
}

form input,
form textarea {
    width: 100%;
    color: #2c0b1b;
    border-radius: 3px;
    border: 1px solid #dc0046;
    height: 35px;
    padding: 10px;
}

form textarea {
    height: 150px;
}

#formMessage {
    transition: all 0.25s ease-in-out 0s;
    padding: 10px;
    border-radius: 20px;
}

#formMessage:empty {
    display: none;
}

#formMessage.error {
    color: #dc0046;
    background-color: #fff;
}

#formMessage.success {
    color: #fff;
    background-color: #dc0046;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form button {
    background-color: #dc0046;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease-in-out 0s;
}

form button:hover {
    background-color: #fff;
    color: #dc0046;
}

/* header styles */

.headerContainer {
    height: calc(100vh - 90px);
    min-height: 46vw;
    width: 100%;
    background-color: #663333;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/*
.headerContainer > *:not(#snow):not(.logo) {

}

.headerContainer > *:not(#snow):not(.logo):hover {
    filter: brightness(1.2);
}
*/

#title h1 {
    position: absolute;
    bottom: 20vw;
    right: 10%;
    font-family: Merriweather;
    font-size: 60px;
    color: #fff;
    font-weight: normal;
}

#title h1 span {
    display: inline-block;
    border-bottom: solid 0.5em #dc0046;
    height: 1.2em;
    line-height: 1.2;
    margin-bottom: 0.25em;
    padding: 0 20px;
}

#title h1 span:last-child {
    font-size: 90px;
}

.a1 {
    position: absolute;
    left: 24%;
    bottom: 30vw;
    width: 15%;
    height: auto;
}

.a2 {
    position: absolute;
    left: 13%;
    width: 15%;
    height: auto;
    bottom: 15vw;
}

.a3 {
    position: absolute;
    width: 15%;
    height: auto;
    right: 44%;
    bottom: 22vw;
}

.a4 {
    position: absolute;
    width: 15%;
    right: 12%;
    top: 14%;
}

.a5 {
    position: absolute;
    width: 15%;
    height: auto;
    right: 13%;
    bottom: 10vw;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1337;
}

.berlin-group {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
}

.berlin-bg {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    bottom: 0;
}

.berlin {
    position: absolute;
    bottom: 0;
    left: 18%;
    width: 40%;
    height: auto;
}

.mountain {
    position: absolute;
    width: 75%;
    right: 0;
    bottom: 0;
    height: auto;
}

.rocket {
    position: absolute;
    right: 10%;
    top: 30%;
    width: 7%;
    height: auto;
    animation: wiggle 1.5s linear 0s infinite;
}

@keyframes wiggle {
    0% {
        transform: rotate(-5deg);;
    }
    50% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}

.zurich-group {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: auto;
}

a.zurich-group {
    z-index: 1000;
}

.zurich-bg {
    position: absolute;
    right: 0;
    width: 100%;
    height: auto;
    bottom: 0;
}

.zurich {
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 40%;
    height: auto;
    z-index: 1000;
}

/* navigation styles */
.navContainer {
    width: 100%;
    height: 90px;
    background-color: #2c0b1b;
    text-align: center;
}

.navInnerContainer {
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.navItem {
    display: block;
    flex: none;
    color: white;
    padding: 36px 0;
    transition: 1s;
}

.navItem a {
    height: inherit;
    padding: 0 25px;
    display: inline-block;
    line-height: inherit;
    margin: 0;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-size: 30px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: white;

}

.navItem:hover {
    color: #dc0046
}

/* content styles */
.contentContainer {
    width: 100%;
    background-color: #2c0b1b;
}

.contentItem {
    padding: 15px;
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.content {
    max-width: 960px;
}

.borderContainer {
    width: fit-content;
    margin: 0 auto;
    padding: 0 30px;
    height: 80px;
    border-bottom: 40px solid #dc0046;
}

.contentItemFlex {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    padding-top: 50px;
    padding-bottom: 200px;
}

.columnItem {
    width: 260px;
    margin: 0 150px;
}

.icon {
    width: 100%;
    height: 260px;
    border: 2px solid #979797;
    color: white;
    padding-top: 45px;
    text-align: center;
    font-size: 150px;
}

.text {
    color: white;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    font-size: 20px;
    font-stretch: condensed;
    text-align: center;
}

.slider {
    width: 100%;
}

.slider-dots {
    display: flex;
    width: 100%;
    max-width: 960px;
    position: relative;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 90px;
    list-style: none;
    margin-bottom: 50px;
}

.slider-dots li {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border: 8px solid #5a5a5a;
    border-radius: 100%;
    padding: 0;
    z-index: 1;
    cursor: pointer;
    transition: all 0.25s ease-in-out 0s;
    margin: -20px;
}

.slider-dots li.indicator {
    position: absolute;
    background-color: #dc0046;
    width: 60px;
    height: 60px;
    margin: -30px;
}

.slider-dots li.indicator:hover {
    transform: scale(0.66);
}

.slider-dots li:hover {
    transform: scale(1.2);
}

.slider-dots::before {
    content: '';
    position: absolute;
    background-color: #5a5a5a;
    height: 15px;
    width: 100%;
    display: block;
    left: 0;
    top: calc(50% - 7.5px);
    z-index: 0;
}

.backgrounds {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.background {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.25s ease-in-out 0s;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.background.active {
    opacity: 1;
}

.background:nth-of-type(1) {
    background-image: url(../images/lehrlinge.png);
}

.background:nth-of-type(2) {
    background-image: url(../images/slider-berlin.png);
}

.background:nth-of-type(3) {
    background-image: url(../images/slider-wscshop.png);
}

.slider {
    z-index: 1;
    overflow-x: hidden;
    padding-top: 30px;
}

.slides {
    width: 300%;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    transition: transform 0.25s ease-in-out 0s;
}

.slide {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.slide > * {
    max-width: 960px;
    width: 100%;
    margin: 0;
}

.textBig {
    font-family: Roboto, sans-serif;
    font-size: 28px;
    color: white;
}

.lehrlingeInner {
    max-width: 960px;
    margin: 0 auto;
}

#timeline {
    justify-content: flex-end;
    padding-bottom: 150px;
    padding-top: 150px;
}

#timeline::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 100px 100vw;
    border-color: transparent transparent #2c0b1b transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
}

#timeline::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 100vw 100px 0;
    border-color: transparent #2c0b1b transparent transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.textFat {
    font-family: merriweather, sans-serif;
    font-size: 66px;
    letter-spacing: 1.8px;
    max-width: 960px;
    margin: 200px auto;
    text-align: center;
    color: white;
}

.thx {
    background-image: url(../images/hintergrund-bild.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.thxInner {
    max-width: 450px;
    text-align: left;
}

.thxInner > .borderContainer {
    margin: 0;
}

.thx::before {
    content: '';
    width: 100%;
    height: 30px;
    background: -moz-linear-gradient(top, rgba(44, 11, 27, 1) 11%, rgba(44, 11, 27, 0) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(11%, rgba(44, 11, 27, 1)), color-stop(100%, rgba(44, 11, 27, 0)));
    background: -webkit-linear-gradient(top, rgba(44, 11, 27, 1) 11%, rgba(44, 11, 27, 0) 100%);
    background: -o-linear-gradient(top, rgba(44, 11, 27, 1) 11%, rgba(44, 11, 27, 0) 100%);
    background: -ms-linear-gradient(top, rgba(44, 11, 27, 1) 11%, rgba(44, 11, 27, 0) 100%);
    background: linear-gradient(to bottom, rgba(44, 11, 27, 1) 11%, rgba(44, 11, 27, 0) 100%);
    display: block;
    position: absolute;
    top: 0;
}

/* footer styles */
.footer {
    width: 100%;
    height: 90px;
    padding: 10px;
    background-color: #2c0b1b;
}

.footerInner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

/* mobile styles */

@media screen and (max-width: 690px) {
    .navContainer {
        display: none;
    }
}

@media screen and (max-width: 1430px) {
    .columnItem {
        margin: 0 50px;
    }
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 45px;
    }

    .borderContainer {
        height: 60px;
        border-bottom-width: 30px;
    }

    .arrow {
        display: none;
    }

    .headerContainer > *:not(.logo):not(.mountain):not(#snow):not(#title) {
        display: none;
    }

    .mountain {
        width: 170%;
        left: 0;
    }

    #title h1 {
        text-align: center;
        left: 0;
        right: 0;
        top: 30%;
        font-size: 8vw;
    }

    #title h1 span:last-child {
        font-size: 11vw;
    }

    .slider-dots {
        padding: 0 40px;
    }

    .textFat {
        font-size: 45px;
    }
}

/* snow styles */

.snowflake {
    position: absolute;
    display: block;
    position: absolute;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-image: -webkit-radial-gradient(
            center,
            circle farthest-corner,
            rgba(255, 255, 255, 1) 40%,
            rgba(255, 255, 255, 0) 100%
    );
    background-image: -moz-radial-gradient(
            center,
            circle farthest-corner,
            rgba(255, 255, 255, 1) 40%,
            rgba(255, 255, 255, 0) 100%
    );
    background-image: -ms-radial-gradient(
            center,
            circle farthest-corner,
            rgba(255, 255, 255, 1) 40%,
            rgba(255, 255, 255, 0) 100%
    );
    background-image: radial-gradient(
            center,
            circle farthest-corner,
            rgba(255, 255, 255, 1) 40%,
            rgba(255, 255, 255, 0) 100%
    );
}

#snow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}