:root {
    /*for IE11 compatibility we dont use variables (they are commented)*/
    --submit-height: 70px;
    --submit-mobile-height: 40px;
    --form-container-desktop-height: 240px;
    --form-container-mobile-height: 190px;
    --error-additional-margin: 30px;
    --error-mobile-additional-margin: 30px;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: "PorscheFont";
    src: url(../fonts/PorscheNextTT-Regular.ttf);
}

html {
    background: url('../img/porsche_background.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "PorscheFont", sans-serif;
}

.form-container {
    padding: 30px;
    padding-bottom: 10px;
    background: rgba(204, 204, 204, .6);
    width: 75%;
    margin: 0 auto;
    position: relative;
    /*top: calc(50% - var(--form-container-desktop-height) / 2);*/
    top: calc(50% - 240px / 2);
    text-align: center;
}

.form-container.error {
    /*top: calc(50% - var(--form-container-desktop-height)/2 - var(--error-additional-margin));*/
    top: calc(50% - 240px / 2 - 30px);
}

.form-title,
.form-title2 {
    font-size: 30px;
}

.form-title.error {
    color: red;
}

.submit-wrapper {
    margin-top: 10px;
}

.submit-wrapper input[type="text"],
.submit-button {
    /*height: var(--submit-height);*/
    height: 70px;
    border: none;
    font-family: "PorscheFont", sans-serif;
}

.submit-wrapper input[type="text"] {
    /*minus sumbit-button width */
    /*width: calc(100% - var(--submit-height));*/
    width: calc(100% - 70px);
    max-width: 400px;
    padding: 10px;
    text-align: center;
    font-size: 120%;
    vertical-align: bottom;
}

.submit-button {
    width: 70px;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    background: #808080;
    color: white;
}

.submit-button:hover {
    background: #999;
}

.submit-button:active {
    background: #aaa;
}

.submit-button:active,
.submit-button:focus {
    outline: 0;
}

.form-impressum {
    margin-top: 20px;
}

.form-impressum a {
    text-decoration: none;
    color: black;
    font-size: 20px;
}

.form-impressum a:hover {
    text-decoration: underline;
}

.form-message {
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .form-container {
        width: 80%;
    }

    .form-container.step-1 .form-title,
    .form-container.step-1 .form-title2 {
        font-size: 28px;
    }

    .form-impressum a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .form-container {
        width: 90%;
        /*top: calc(50% - var(--form-container-mobile-height)/2);*/
        top: calc(50% - 190px / 2);
    }

    .form-container.error {
        /*top: calc(50% - var(--form-container-mobile-height)/2 - var(--error-mobile-additional-margin));*/
        top: calc(50% - 190px / 2 - 30px);
    }

    .form-title,
    .form-title2 {
        font-size: 22px;
    }

    .form-container.step-1 .form-title,
    .form-container.step-1 .form-title2 {
        font-size: 18px;
    }

    .submit-wrapper input[type="text"],
    .submit-button {
        /*height: var(--submit-mobile-height);*/
        height: 40px;
    }

    .submit-button {
        width: 50px;
        font-size: 16px;
    }

    .form-impressum a {
        font-size: 12px;
    }
}

@media (max-width: 460px) {
    .form-container {
        width: 100%;
    }

    .form-title,
    .form-title2 {
        font-size: 18px;
    }

    .submit-button {
        width: 40px;
        font-size: 12px;
    }

    .form-message {
        margin-top: 10px;
        font-size: 13px;
    }
}

#cookie-info {
    position: fixed;
    bottom: 0;
    padding: 6px 20px;
    background: rgba(0, 0, 0, .4);
    width: 100%;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

#cookie-info .close {
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 2px;
    font-size: 20px;
    cursor: pointer;
}