@import url("reset.css");
@import url("font.css");
:root {
    --text: #222222;
    --primary: #620c1b;
    --primary-transparent: rgba(98, 12, 27, 0.9);
    --secondary: #802837;
    --button: #222222;
    --contrast: #a14958;
    --grey: #ebebeb;
    /*=============================*/
    --border-radius: 10px;
    --heading-weight: 700;
    --heading-font-family: 'Cormorant Garamond', serif;
    --regular-font-family: 'Raleway', sans-serif;
    --regular-font-weight: 400;
}

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: var(--regular-font-weight) 22px/160% var(--regular-font-family), sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin-bottom: 5px;
}

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

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

nav {
    z-index: 999;
    position: fixed;
    top: 0;
    background-color: var(--primary);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.logoline{
    background-color: #fff;
    height: 150px;
    padding: 10px 5%;
    transition: 0.8s;
}

.logoline img {
    height: 100%;
}

nav .span {
    flex-direction: column;
    justify-content: space-between;
    display: none;
    height: 44px;
    width: 55px;
    padding: 10px;
    margin: auto;
}

nav .span div {
    width: 100%;
    border-bottom: 3px solid #fff;
}

.button {
    background-color: var(--button);
    color: #fff;
    padding: 8px 20px;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
}

.desktop-nav {
    width: 100%;
    padding: 10px 5%;
}

.desktop-nav a {
    padding: 0 10px;
    color: #fff;
    text-transform: uppercase;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--primary);
    background-color: var(--primary-transparent);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 150%;
	color: #fff;
	display: block;
}

.overlay .closebtn {
    position: absolute;
    font-size: 60px;
}

.overlay .closebtn, nav .span {
    top: 20px;
    right: 5%;
}

.overlay a.closebtn {
    font-weight: 300;
}

.dse{
    font-size: 80%;
    text-align: center;
    position: fixed;
    bottom: 5px;
    right: 5%;
    background-color: var(--contrast);
    border-radius: 5px;
    color: #fff;
    width: 290px;
    padding: 5px;
}

.dsa-cookie-notice{
    border-radius: 5px;
}

.dse a {
    color: #fff;
}

.dsa-cookie-notice-close {
	text-transform: none;
	color: #fff !important;
	background-color: var(--button);
	padding: 7px 20px;
	font-weight: 400!important;
	border-radius: 5px;
}

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

.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);
}

.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);
}

.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;
}

.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;
}

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

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

article {
    width: 100%;
}

.container {
    padding: 100px 10%;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.col-2 {
    width: 48%;
}

.col-3 {
    width: 32%;
}

.col-4 {
    width: 24%;
}

.text-col {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.img-col img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

header {
    width: 100%;
    aspect-ratio: 1920/600;
    background: url('../images/header.jpg')no-repeat center top/cover;
    margin-top: 190px;
}

.intro {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
}

h1 {
    font: var(--heading-weight) 600%/200% var(--heading-font-family);    
    margin-bottom: 20px;
}

h2 {
    font: var(--heading-weight) 250%/100% var(--heading-font-family);    
    margin-bottom: 20px;
    color: var(--primary)
}

h2 small {
    color: var(--text)
}

h3 {
    font: var(--heading-weight) 250%/100% var(--heading-font-family);  
    margin-bottom: 10px;
    color: var(--primary)
}

h4 {
    font: var(--heading-weight) 160%/100% var(--heading-font-family);  
    margin-bottom: 10px;
}

h5{
    font: var(--heading-weight) 120%/100% var(--heading-font-family);   
    margin-bottom: 10px;
}

small {
    font-size: 50%;
    font-family: var(--regular-font-family);
    font-weight: var(--regular-font-weight);
    text-transform: uppercase;
    display: inline-block;
    line-height: 120%;
}

.intro p {
    max-width: 1024px;
    margin: auto;
}

article:nth-of-type(odd){
    background-color: var(--grey);
}

article:nth-of-type(even){
    background-color: #fff;
}

.section-intro{
    text-align: center;
    max-width: 1024px;
    margin: auto;   
}

.pic-boxes{
    margin-top: 40px;
}

.pic-boxes .col-4 {
    background-color: var(--secondary);
    color: #fff;
    border-radius: var(--border-radius);
}

.pic-boxes h3 {
    text-align: center;
    flex-basis: 100%;
    margin-bottom: 20px;
}

.picture-box{
    aspect-ratio: 7/4;
}

.text-box{
    padding: 20px;
}

.picture-box img {
    width: 100%;
    border-radius: var(--border-radius);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.parallax {
    background: url('../images/parallax-1.jpg')no-repeat center/cover;
    background-attachment: fixed;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-2 {
    background: url('../images/parallax-2.jpg')no-repeat center/cover;
    background-attachment: fixed;
}

.parallax h2 {
    color: #fff;
}

p ~ h3 {
    margin-top: 10px;
}

article ul {
    margin-left: 15px;
    margin-bottom: 16px;
}

article ul li {
    list-style: disc;
    margin-bottom: 5px;
}

article ul li::marker{
    color: var(--primary)
}

b {
    font-weight: 700;
    color: var(--primary)
}

.kontaktformular {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kontaktformular h4 {
    flex-basis: 100%;
}

.kontaktformular iframe {
    width: 100%;
    max-width: 750px;
    height: 800px;
    margin: auto;
}

.highlight{
    font-style: italic;
    color: var(--primary);
    font-size: 115%;
    line-height: 160%;
    margin-bottom: 20px;
}

footer{
    background-color: var(--primary);
    color: #fff;
}

footer h3 {
    color: #fff;
}

footer b {
    color: #fff;
}

footer p a {
    color: #fff;
    text-decoration: underline;
}

.sidenav{
    position: fixed;
    right: 5px;
    top: 30%;
    z-index: 99998;
}

.sidenav a {
    display: block;
    height: 60px;
    width: 60px;
    background-color: var(--button);
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
}

.sidenav img {
    height: 100%;
}

.infosite h1{
    flex-basis: 100%;
}

.infosite .container {
    align-items: flex-start;
}

main.no-header{
    margin-top: 180px;
}

article p a, article ul li a {
    color: var(--primary);
    text-decoration: underline;
}

.kontaktformular h4{
    text-align: center;
    margin-top: 20px;
}

.kontaktformular h5{
    text-align: center;
    margin-top: 20px;
}

.fehlerseite ul li {
    list-style: none;
}

@media screen and (orientation: portrait){
    header {
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 1800px) {
    .col-4 {
        width: 49%;
        margin-bottom: 2%;
    }
}

@media screen and (max-width: 1024px) {
    nav .span {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .col-2 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .col-3 {
        width: 100%;
        margin-bottom: 20px;
    }    

    .container {
        padding: 50px 5%;
    }

    .text-col {
        padding: 20px 0 0 0;
    }

    header {
        margin-top: 150px;
    }

    .sidenav {
        top: auto;
        bottom: 50px;
    }

    .sidenav a {
        height: 45px;
        width: 45px;
        padding: 11px;
    }
}

@media screen and (max-width: 700px) {
.col-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    h1, h2 {
        font: var(--heading-weight) 190%/100% var(--heading-font-family);
        margin-bottom: 10px;
    }

    h3 {
        font-size: 150%;
    }

    h4 {
        font-size: 120%;
    }
}

/* 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;
    }
}