
@import url("reset.css");
:root {
    --grau: #434343;    
    --ocker: #d69635;    
    --braun: #a98964;    
    --weiss: #f5f5f5;    
    --gelb: #ffbf00;    
}
/* oregano-regular - latin */
@font-face {
    font-family: 'Oregano';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/oregano-v8-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/oregano-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/oregano-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/oregano-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/oregano-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/oregano-v8-latin-regular.svg#Oregano') format('svg'); /* Legacy iOS */
  }

  /* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v18-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
  }
  /* open-sans-italic - latin */
  @font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v18-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/open-sans-v18-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/open-sans-v18-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/open-sans-v18-latin-italic.woff') format('woff'), /* Modern Browsers */
         url('../fonts/open-sans-v18-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/open-sans-v18-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
  }

*{
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: 400 15px/1.5rem 'Open Sans', sans-serif;
    color: #707070;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--grau);
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;    
	transition: 0.3s;
}

a:hover {
    opacity: 0.5;
}

nav {
    z-index: 999;
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    text-align: right;
    padding: 10px 10%;
    align-items: center;
}

nav span {
    font-size: 50px;
    position: fixed;
    top: 10px;
    right: 10%;
    display: none;
}

.desktop-nav {
    width: 100%;
}

.desktop-nav a {
    padding: 0 0 0 20px;
    color: var(--grau);
    font-style: italic;
}

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    left: 0;
    top: 0;    
    background-color: var(--ocker);
    background-color: rgba(214,150,53,0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%;
    /* 25% from the top */
    width: 100%;
    /* 100% width */
    text-align: center;
    /* Centered text/links */
    margin-top: 30px;
    /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 32px;
	color: #fff;
	display: block;
}

/* When you mouse over the navigation links, change their color */
/*
.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}
*/

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* Styles for dialog window */
.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    margin: 40px auto;
    position: relative;
}


/**
 * Fade-zoom animation for first dialog
 */

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

/* Dark overlay, start state */
.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

/* animate in */
.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

/* animate out */
.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}



/**
 * Fade-move animation for second dialog
 */

/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
    opacity: 0;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;

    -webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    -o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
    transform: translateY(-20px) perspective(600px) rotateX(10deg);

}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: translateY(0) perspective(600px) rotateX(0);
    -moz-transform: translateY(0) perspective(600px) rotateX(0);
    -ms-transform: translateY(0) perspective(600px) rotateX(0);
    -o-transform: translateY(0) perspective(600px) rotateX(0);
    transform: translateY(0) perspective(600px) rotateX(0);
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
    opacity: 0;

    -webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    -o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
    transform: translateY(-10px) perspective(600px) rotateX(10deg);
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
    opacity: 0;

    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
    opacity: 0;
}


article, .ende {
    width: 100%;
    padding: 30px 0;
}

.content {
    margin: 0 3%;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 0 2%
}

header {
    background: url(../images/header.jpg)no-repeat center top/cover;
    width: 100%;
    height: 90vh;
    position: relative;
}

.slogan-wrap{
    position: absolute;
    bottom: 10%;
    width: 100%;
    padding: 0 5%;
}

.slogan {
    max-width: 500px;    
    margin: auto;
    background-color: rgba(255,255,255,0.8);
    padding: 40px 30px 30px 30px;
    text-align: center;
}

.slogan p {
    font-size: 18px;
    margin-bottom: 25px;
}

h1 {
font: 400 40px/2.0rem 'Oregano', sans-serif;
color: var(--grau);
margin-bottom: 20px;
}

i{
    font-style: italic;
}

.button{
    font: 400 14px/1.5rem 'Open Sans', sans-serif;
    color: #fff;
    background-color: var(--ocker);
    padding: 7px 40px;
    border-radius: 20px;
}

.headline {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
}

.headline p {
    font-size: 16px;
    font-style: italic;
}

h2 {
    font: 400 28px/2.0rem 'Oregano', sans-serif;
}

hr {
    color: var(--braun);
    width: 150px;
    margin: 15px auto;
}

.sprechblase {
    background-color: var(--weiss);
    position: relative;
    padding: 40px 30px;
    max-width: 650px;
    text-align: left;
    margin: auto;
}

.sprechblase img {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 30px;
    right: -17.5px;
}

.sprechblase h3 {
    font: 400 21px/1.5rem 'Oregano', sans-serif;
    margin-bottom: 10px;
}

.ueber-mich .content{
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
margin-bottom: 70px;
}

.col-l {
    width: 68%;
}

.col-r {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items:center;
}

.col-r img {
    max-width: 325px;
    height: auto;
}

.keramik {
    background: linear-gradient(to right, rgba(148,124,124,0.6), rgba(148,124,124,0.6)), url(../images/keramik.jpg)no-repeat center/cover;
    width: 180%;
    text-align: center;
    position: relative;
    left: -40%;
    overflow: hidden;
}

.keramik .content {
    margin: 80px 0;
}

.keramik h2 {
    color: #fff;
}

.punkte {
    max-width: 1400px;
    padding: 0 5%;
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.punkt {
    width: 30%;
}

.punkt-text {
    font-size: 13px;
    background-color: rgba(255,255,255,0.8);
    padding: 20px;
    margin-top: 15px;
}

.punkt h3, .arbeitsschritt h3 {
    font: 400 18px/1.5rem 'Oregano', sans-serif;
}

.three-cols{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.first-col, .second-col, .third-col {
    width: 30%;
}

.second-col {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.arbeitsschritt{
    position: relative;
    margin-bottom: 30px;
}

.arbeitsschritt p {
    font-size: 13px;
}

.arbeitsschritt img{
    position: absolute;
    left: -50px;
    top: -5px;
}

.arbeitsschritt-1 .content {
	max-width: 80%;
	margin: auto;
}

.button-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
}

.slider{
    position: relative;
    width: 180%;
    left: -40%;
    right: -20%;
    margin: 50px 0;
}

.responsive-slide img {
    width: 100%;
}

.bemalen .content{
display: flex;
justify-content: space-between;
align-content: center;
flex-wrap: wrap;
text-align: center;
margin-bottom: 70px;
}

.bemalen .content .col {
    width: 48%;
}

.bemalen .content .col img{
width: 257px;
height: 353px;
}

.bemalen p {
    margin-bottom: 35px;
}

.bemalen .headline p {
    margin-bottom: 0;
}

.bemalen .headline {
	margin: 35px auto;
}

.bemalen .content .col:nth-of-type(2) {
display: flex;
justify-content: center;
align-items: center;
position: relative;
}

.kurs {
    position: absolute;
    bottom: -30px;
    width: 70%;
    margin: auto;
    right: 0;
    left: 0;
    background-color: var(--gelb);
    color: #fff;
    font: 400 20px/2.0rem 'Oregano', sans-serif;
    padding: 30px;
}

.kurs p {
    margin-bottom: 0;
}

.kurs a {
    color: #fff;
    text-decoration: underline;
}

.weitere-arbeiten .punkte {
	justify-content: center;
}

.weitere-arbeiten .punkt {
	width: auto;
	max-width: 700px;
	margin: 0 5%;
}

.keramik.weitere-arbeiten h2 {
    color: var(--grau);
    margin: 30px auto 0 auto;
    width: 100%;
}

.weitere-arbeiten{
	background: linear-gradient(to right, rgba(148,124,124,0.6), rgba(148,124,124,0.6)), url(../images/weitere-arbeiten.jpg)no-repeat center -150px/cover;
}

.ende {
    max-width: 600px;
    margin: 70px auto;
    text-align: center;
}

.icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.icon-box {
    width: 22%;
    text-align: center;
}

.icon-box p{
    font-size: 13px;
}

.icon-box h3 {
    font: 400 20px/1.5rem 'Oregano', sans-serif;
    color: var(--grau);
}

.secure-links{
    background-color: var(--ocker);
    position: fixed;
    bottom: 0;
    right: 5%;
    padding: 10px 20px;
    border-radius: 20px 20px 0 0;
    font-size: 12px;
    color: #fff;
}

.secure-links a {
    color: #fff;
}

.impressum a {
    font-weight: 700;
    color: var(--ocker);
}

.impressum .columns {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.impressum .col{
    width: 49%;
}

.three-cols.responsive{
    display: none;
}

@media screen and (max-width: 1200px){
    .punkte {
        width: 60%
    }
}

@media screen and (max-width: 1024px) {
.first-col, .second-col, .third-col{
    width: 100%;
    margin-bottom: 20px;
}

.second-col{
    margin-bottom: 40px;
    padding-right: 30px;
}

.sprechblase img  {
    display: none;
}

.col-l, .col-r {
    width: 100%;
}

.col-l {
    margin-bottom: 30px;
}

.sprechblase img {
    bottom: -17.5px;
    right: calc(50% - 17.5px)
}

    nav span {
        display: block;
    }

    .desktop-nav {
        display: none;
    }
.three-cols.desktop {
    display: none;
}

.three-cols.responsive{
    display: block;
}

}

@media screen and (max-width: 800px){
.impressum .col {
    width: 100%;
}

    main {
        padding: 0 5%;
    }

    .icons {
        justify-content: center;
    }
    
    .icon-box {
        width: 40%;
    }

    .bemalen .content .col {
        width: 100%;
    }

    .bemalen .content .col:nth-of-type(2) {
        margin-top: 30px;
    }

    .kurs {
        bottom: -80px;
    }

    .arbeitsschritt-1 .button {
        margin-right: 30px;
    }

    .punkt {
        width: 100%;
        margin-bottom: 30px;
    }

    .keramik h2 {
        width: 50%;
        margin: auto;
    }
    .arbeitsschritt-1 .content {
        max-width: 70%;
        margin: 0 5% 0 19%;
    }
}

@media screen and (max-width: 700px){
    .weitere-arbeiten {
background-position: center center;
    }
}

@media screen and (max-width: 600px){
    .slider{
        position: relative;
        width: 100%;
        left: 0%;
        right: 0%
    }

    
    .icon-box {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}