@import 'font-intro.css';

/* GENERAL */

* {
    box-sizing: border-box;
}

body {
    font-family: 'intro_bookregular';
    font-size: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

main {
    margin-bottom: 60px;
}

h1 {
    font-family: 'intro_bold_altregular';
    font-size: 40px;
    line-height: 1.3;
}

@media (max-width: 860px) {
    h1 {
        font-size: 4.7vw;
    }
}

h2 {
    font-family: 'intro_bold_altregular';
    font-size: 30px;
    line-height: normal;
    transition: all .5s;
}

h3 {
    font-family: 'intro_bold_altregular';
    font-size: 24px;
    line-height: normal;
}

p {
    line-height: 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    height: auto;
}

strong {
    font-family: 'intro_bold_altregular';
}


/* UTILITIES */

.container {
    padding-left: 50px;
    padding-right: 50px;
}


/* HEADER */

header {
    padding-top: 25px;
    padding-bottom: 25px;
    position: relative;
    z-index: 1;
}

header a {
    display: inline-block;
}

#logo {
    max-width: 160px;
    min-width: 120px;
    width: 25vw;
    height: auto;
}


/* PRODUCT PREVIEW */

#product-preview {
    position: relative;
    margin-bottom: 50px;
}

#title {
    position: absolute;
    z-index: 1;
    bottom: 10%;
    left: 50px;
    color: #fff;
}

#offer {
    position: absolute;
    right: 25%;
    top: -65px;
    max-width: 140px;
    max-height: 140px;
    min-width: 110px;
    min-height: 110px;
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'intro_bold_altregular';
    font-size: 18px;
    line-height: 24px;
    box-shadow: 4px 4px 6px 0px rgba(0, 0, 0, 0.5);
    background: #B50804;
    transform: rotate(9deg);
    color: white;
    transition: font-size .5s, right .5s;
}

#header-img-clone, #header-mobile-img-clone {
    position: absolute;
}

.header-desktop * {
    display: block;
}

.header-mobile * {
    display: none;
}

/*@media (max-width: 550px) {
    .header-desktop * {
        display: none;
    }
    .header-mobile * {
        display: block;
    }
}*/


/*
Product Information
*/

#product-information {
    margin-bottom: 75px;
}

.information {
    max-width: 375px;
    margin: 0 auto;
	height: 100%;
}

.information>h3 {
    margin-bottom: 20px;
}

.information>p:not(:last-child) {
    margin-bottom: 30px;
}

.information>.img-shell {
    position: relative;
    max-width: 265px;
    margin: auto auto 0;
}

#structure-img-clone {
    position: absolute;
}

#color-picker {
    margin: auto 0;
}

#color-picker>p {
    margin-bottom: 5px;
    font-family: 'intro_bold_altregular'
}

#color-picker span {
    font-family: 'intro_bookregular';
}

.color-row {
    position: relative;
    padding: 1px;
}

#color-picker .shell {
    position: relative;
    float: left;
    max-width: calc(100% / 6 - 10px);
    width: 100%;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    #color-picker .shell {
        max-width: calc(100% / 4 - 10px);
    } 
}

@media (max-width: 630px) {
    #color-picker .shell {
        max-width: calc(100% / 5 - 10px);
    } 
}

@media (max-width: 375px) {
    #color-picker .shell {
        max-width: calc(100% / 4 - 10px);
    } 
}

#color-picker .shell {
    margin: 0 10px 10px 0;
}

#color-picker .color-btn {
    width: 100%;
    padding-bottom: 100%;
    outline: 1px solid rgba(0, 0, 0, 0.10);
    cursor: pointer;
    transition: box-shadow .5s;
}

#color-picker .color-btn:hover {
    box-shadow: inset 0 0 0 6px #fff;
}

#color-picker .color-btn.color-white:hover {
    box-shadow: inset 0 0 0 6px #000;
}

#color-picker .color-btn.active {
    box-shadow: inset 0 0 0 6px #fff;
    background-image: url('../img/cross_white.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 65%;
}

#color-picker .color-btn.color-white.active {
    box-shadow: inset 0 0 0 6px #000;
    background-image: url('../img/cross_black.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 65%;
}

.color-red {
    background-color: #841f39;
}

.color-orange {
    background-color: #e94c05;
}

.color-yellow {
    background-color: #fecd17;
}

.color-green {
    background-color: #51a945;
}

.color-blue {
    background-color: #006994;
}

.color-taupe {
    background-color: #A59C94;
}

.color-white {
    background-color: #ffffff;
}

.color-gray {
    background-color: #cfd0d0;
}

.color-sand {
    background-color: #c6c4b2;
}

.color-anthrazit {
    background-color: #3d4f55;
}

.color-black {
    background-color: #000000;
}

.owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: -1;
}

.owl-prev img, .owl-next img {
    min-width: 20px;
    max-width: 30px;
}

.owl-prev {
    float: left;
    text-align: left;
    margin-left: -40px;
    transition: opacity .5s;
}

.owl-next {
    float: right;
    text-align: right;
    margin-right: -40px;
    transition: opacity .5s;
}

.owl-next img {
    transform: scale(-1);
}

.owl-prev.disabled, .owl-next.disabled {
    opacity: .25;
}

.owl-dots {
    position: absolute;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
}

.owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: black;
    opacity: .25;
    transition: opacity .5s;
}

.owl-dot:not(:last-child) {
    margin-right: 10px;
}

.owl-dot.active {
    opacity: 1;
}


/* CONTACT */

#contact {
    position: relative;
    text-align: center;
    margin-top: 75px;
}

#contact>h2, #contact>h3 {
    margin-bottom: 35px;
}

#contact>p {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 50px;
}


/* FORMULAR */

form {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

form>div {
    margin-bottom: 25px;
}

.input-row {
    display: flex;
    justify-content: space-between;
}

.input-row .input-item:not(:last-child) {
    margin-right: 20px;
}

fieldset {
    margin-bottom: 25px;
}

.input-item {
    max-width: 310px;
    width: 100%;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
    }
    fieldset, fieldset.input-item {
        max-width: 100%;
        margin-bottom: 25px;
    }
}

label {
    display: block;
    margin-bottom: 4px;
}

input, select {
    height: 45px;
    border-radius: 5px;
    border: 1px #aab4b6 solid;
    width: 100%;
    padding-left: 15px;
    font-size: 16px;
}

textarea {
    max-width: 640px;
    width: 100%;
    height: 140px;
    border-radius: 5px;
    font-size: 16px;
    padding: 10px 15px
}

form>div:nth(2n+1) {
    display: inline-block;
}

#btn-submit {
    cursor: pointer;
    max-width: 275px;
	width: 100%;
    padding: 15px 0;
    border-style: none;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 36px auto 0;
    display: block;
    font-family: 'intro_bold_altregular';
    letter-spacing: .5px;
    background: #B50804;
    color: white;
    transition: background-color .5s;
}

.error {
    border-color: #B50804;
}

.error-msg {
    text-align: left;
    color: #B50804;
    margin-bottom: 5px !important;
}

.required:after {
    content: '*';
    color: #B50804;
}

#danke {
    max-width: 640px;
}


/* FOOTER */

footer {
    transition: background-color .5s;
}

footer>*:not(hr) {
    display: inline-block;
    margin-right: 50px;
    padding: 10px 0;
}


/* IMPRESSUM */

main#impressum {
    padding: 50px 0;
}

#impressum h1 {
    margin-bottom: 25px;
}

#impressum h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

#impressum h3 {
    font-size: 22px;
}

#impressum a {
    color: #006994;
}

main#impressum div {
    margin-bottom: 22px;
}

main#impressum div>p {
    margin-bottom: 16px;
}


/* MEDIA QUERIES*/

@media (max-width: 750px) {
    #color-picker {
        margin: 0;
        margin-bottom: 5px
    }
    .owl-stage {
        display: block;
    }
    #contact {
        margin-top: 35px;
    }
    .input-row {
        flex-direction: column;
        margin: 0;
    }
    fieldset, fieldset.input-item {
        max-width: 100%;
        margin-bottom: 25px;
    }
}

@media (max-width: 630px) {
    .information p {
        margin-bottom: 20px;
    }
    #contact>h2, #contact>h3 {
        margin-bottom: 20px;
    }
    #product-preview {
        margin-bottom: 30px;
    }
}

@media (max-width: 550px) {
    #offer p {
        font-size: 15px;
    }
}

@media (max-width: 510px) {
    h1 {
        font-size: 24px;
    }
}

@media (max-width: 450px) {
    #offer {
        right: 5%;
    }
    #offer p {
        font-size: 14px;
    }
}

.embed-container {
  position: relative; 
  padding-bottom: 78.76%; /* ratio 16x9 */
  height: 0; 
  overflow: hidden; 
  width: 100%;
  height: auto;
}

.embed-container.titel {
  padding-bottom: 51%;
}

.embed-container iframe {

  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
}

.embed-container iframe #animation_container {
    width: 100% !important;
    height: auto !important;
}

.clear:after {
  content: "";
  display: table;
  clear: both;
}