@import url("reset.css");

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manufacturing-consent-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Manufacturing Consent';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/manufacturing-consent-v1-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a:hover {
    cursor: pointer;
    transition: 0.3s;
}

body {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 24px;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

header {
    background: url(../images/tattoowieren.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;

}

nav {
    display: flex;
    align-items: center;
    padding: 10px 10%;
    position: fixed;
    width: 100%;
    background: #242424;
    top: 0;
    justify-content: space-between;
    left: 0;
    z-index: 99;
}

nav .logo {
    width: 250px;
}

nav a:hover {
    opacity: 0.7;
}

nav ul {
    display: flex;
}

nav ul li a {
    color: #eee;
    text-decoration: none;
    padding: 0px 10px;
    text-transform: uppercase;
}

nav ul li a:hover,
.dse a:hover {
    color: #b14545
}

.telefon a {
    color: #eee;
    text-decoration: none;
    padding-left: 10px;
}

.telefon img {
    height: 20px;
}

.teaser {
    text-align: center;
}

.teaser img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    width: 70%;
}

#aktuelles h1, #kategorien h1{
    transform: rotate(0deg);
    padding-bottom: 20px;
}

#kategorien{
    background: #eee;
}

#kategorien h3{
    color: #404040
}

#kategorien .box{
    border-bottom: 1px solid;
    margin-top: 30px;
    padding-bottom: 50px;
}

#aktuelles{
    background: #eee;
    text-align: center;
}

#aktuelles .box{
    background: #fff;
    margin-top: 50px;
    text-align: left;
    padding: 30px;
}

#aktuelles .box h3{
    color: #b14545
}

#aktuelles .box .text{
    width: 70%;
}

#aktuelles .box .bild{
    width: 30%;
}

#aktuelles .box .bild img{
    width: 100%;
}


.teaser .schriftzug {
    max-width: 700px;
    width: 80%;
}

.teaser .red {
    text-transform: uppercase;
    font-size: 35px;
    line-height: 45px;
    color: #b14545;

}

header {
    padding: 200px 10%;
}

section {
    padding: 100px 10%;
}


.flex {
    display: flex;
    align-items: center;
    column-gap: 80px;
}

.col {
    width: 50%;
}

.col img {
    width: 100%;
}

#ueber-uns a{
    color: #b14545;
    text-decoration: none;
}

#ueber-uns a:hover{
    opacity: 0.7;
}

strong {
    font-weight: 700;
    font-style: italic;
}

.impressum{
    transform: rotate(0deg);
    padding-bottom: 20px;
}

h1,
.rotate {
    font-family: 'Manufacturing Consent';
    color: #b14545;
    font-size: 80px;
    line-height: 70px;
    transform: rotate(-90deg);
    white-space: nowrap;
}

h2 {
    font-family: 'Manufacturing Consent';
    color: #b14545;
    font-size: 80px;
    line-height: 80px;
    margin-bottom: 40px;
}

h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    padding-bottom: 15px;
}

.rote {
    display: flex;
    align-items: flex-end;
    column-gap: 0px;
}

#ueber-uns,
#galerie {
    padding: 100px 10% 100px 5%;
    background: #cccccc;
}

#galerie {
    min-height: 700px;
}

#galerie .button{
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 180px;
}

#leistungen {
    background: url(../images/background.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #cccccc
}

#leistungen .box {
    padding: 0px 50px;
    margin-top: 30px;
    padding-bottom: 40px;
}

#leistungen .box:first-child {
    border-right: 1px solid;
}

#leistungen .box:last-child {
    border-left: 1px solid;
}

#leistungen .box img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    color: #eee;
    background: #b14545;
    padding: 10px 20px;
    margin-top: 50px;
    text-decoration: none;
    font-weight: 700;
}

.button:hover {
    background: #171717;
    color: #b14545;
    padding: 10px 30px;
}

#ueber-uns .rotate {
    width: 20%;
}

.rotate {
    width: 10%;
}

.row {
    display: -ms-flexbox;
    /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap;
    /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
    width: 90%;
}

.row img {
    width: 100%;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%;
    /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

#galerie .flex {
    column-gap: 0px;
}

.modal {
    display: none;
    position: fixed;
    padding-top: 5vh;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.79);
}

.modal img{
    max-width: 100%;
    object-fit: contain;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: transparent;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

.column img:hover {
    cursor: pointer;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.dropdown{
    display: none
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#aktuelles .row{
    width: 100%;
    margin-top: 40px;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.mySlides img {
    height: 90vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


#parallax {
    background: url(../images/tattoo-parallax.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;
    background-size: cover;
    padding: 150px 10%;
}

#parallax h2 {
    color: #cccccc;
    font-family: 'Open Sans';
    font-weight: 700;
    font-size: 50px;
    line-height: 58px;
    margin-bottom: 20px;
}

#kontakt {
    background-attachment: fixed;
    background: url(../images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

#kontakt strong {
    color: #b14545
}


#kontakt img {
    width: 15px;
    margin-right: 10px;
}

#kontakt iframe {
    width: 100%;
    height: 720px;
}

#kontakt a {
    color: #fff;
}

#kontakt a:hover {
    color: #b14545
}

.dse {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 10px 10%;
    background: #242424
}

.dse a {
    color: #eee;
    text-decoration: none;
    padding-left: 10px;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 1320px) {
    #ueber-uns p {
        padding-left: 40px;
    }

    nav ul li a {
        font-size: 14px;
    }

    nav .logo {
        width: 220px;
    }
}

@media screen and (max-width: 1200px) {
    nav {
        padding: 10px 5%;
    }
}

@media screen and (max-width: 1050px) {

    #leistungen .box {
        padding: 0px 20px;
    }

    nav ul {
        display: none;
    }

    .flex,
    .rote {
        display: block;
    }

    #ueber-uns .rotate {
        width: 100%;
    }
    

    h1,
    .rotate {
        transform: rotate(0deg);
    }

    #ueber-uns,
    #galerie {
        padding: 100px 10%;
    }

    #ueber-uns p {
        padding-left: 0px;
        margin-bottom: 50px;
    }

    .col img {
        width: 100%;
        max-width: 400px;
    }

    h1,
    h2 {
        padding-bottom: 20px;
        font-size: 60px!important;
        line-height: 70px!important;
    }

    .col {
        width: 100%;
    }

    .row {
        width: 100%;
    }
    
    #leistungen .box{
        width: 100%;
    }

    #leistungen .box:first-child {
        border-right: none;
        padding-bottom: 40px;
    }
    h3 {
    font-size: 24px;
    line-height: 32px;
}

    #leistungen .box:last-child {
        border-left: none;
        padding-top: 40px;
    }
    #parallax h2 {
    font-size: 40px!important;
    line-height: 48px!important;
}
    #parallax {
    padding: 100px 10%;
}
    .teaser img {
        margin-bottom: 30px;
    max-width: 350px;
    width: 70%;
}
    .teaser .schriftzug {
    max-width: 500px;
}
    .teaser .red {
    font-size: 30px;
    line-height: 40opx;
}
    .dropbtn {
		background-color: #242424;
		color: white;
		padding: 0px;
		font-size: 36px;
		border: none;
		cursor: pointer;
	}
    
    nav{
        padding: 10px 10% 10px 5%;
    }

	.dropdown {
		position: fixed;
		top: 2px;
		right: 2%;
		display: inline-block;
		z-index: 99;
		margin-left: auto;
		margin-right: auto;
	}

	.dropdown-content { 
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		text-align: center;
		padding-top: 15vh;
		background-color: rgba(47, 47, 47, 0.9);
		min-width: 160px;
		overflow: auto;
		box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
		z-index: 1;
	}

	.dropdown-content a {
		color: #fff;
		padding: 12px 16px;
		text-decoration: none;
		display: block;
	}

	.dropdown a:hover {
		background-color: rgba(177, 69, 69, 0.54);
	}

	.show {
		display: block;
	}
    
    #aktuelles .box .bild, #aktuelles .box .text{
        width: 100%;
    }
    
    #aktuelles .box .bild img{
        max-width: 350px;
        margin-bottom: 40px;
    }
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
    
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
        nav .logo {
        width: 150px;
    }
    .telefon a {
        font-size: 13px;
        padding-left: 5px;
}
    .telefon img {
    height: 15px;
}
}

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