/* Imports */
/* GEÄNDERT */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=EB+Garamond&display=swap');

/*Important values*/
/* default section margint top: 45px */
/* default small font size: 20*/

/*Mobile Font has to be atleast 12px*/

/* Colors */
:root{
    --main-font: 'EB Garamond', serif;
    --background-color: white;
    --main-font-color: black;
    --side-font-color: black;
    
    
    --quote-font: 'Times New Roman', Times, serif;
    --quote-by-color: black;
    --quotation-mark-color: lightgray;

    --border-color: lightgray;
    --border-hover-color: black;

    --footer-font: 'EB Garamond', serif;

    --hamburgerbar-width: 30px;
    --hamburgerbar-height: 1px; 
    --hamburgerbar-gap: 8px; 

    --hamburgerbar-margin: 10px;
 
    --hamburgerbar-color: gray;
    --hamburgerbar-animation-timing: 200ms ease-in-out;
    --hamburgerbar-X-height: calc(var(--hamburgerbar-height) * 3 + var(--hamburgerbar-gap) * 2)

    /* add font-sizes for mobile and desktop and also padding and margin */
}
a{
    transition: ease-in 250ms;
}
a:hover {
    color: var(--border-hover-color);
}

img {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
a{
    text-decoration: none;
    color: gray;
}
iframe{
    width: 100%;
    height: 730px;
    pointer-events: none;
    border: none;
}
main h1 {
    font-weight: normal;
}
/* Body */
body{
    font-family: var(--main-font);
    background: var(--background-color);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slider {
    position: relative;
    width: 100%;
    height: fit-content;
    overflow: hidden;
}
.slider::before, .slider::after{
    position: absolute;
    z-index: 1;
    top: 0;
    width: 200px;
    height: 100%;
    content: "";
}
.slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}
.slider::after {
    right: 0;
    background: linear-gradient(to right, transparent, white);
}
.logos {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slide 60s linear infinite;
    position: relative;
}
.logos img {
    filter: grayscale(1);
    width: 150px;
    margin: 0 25px;
}
@keyframes slide {
    from {
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

/*Desktop*/
@media only screen and (min-width: 1000px) { 
    /*Added by Artur*/
    body{
        display: flex;
        flex-direction: column;
        min-height: 98vh; 

        padding: 0 10% 0 10%;
    }
    /* Header */
    header{
        text-align: center;
    }

    header a{
        color: var(--main-font-color);
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }
    header a:hover{
        color:gray;
    }
    /* category image*/
    .logo-image{ 
        transform: scale(0.4);
        height: 100px;
    }
    .main-logo{
        font-size: 30px;
        text-transform: uppercase;
    }
    .sub-logo{
        font-size: 20px;
    }

    /* Navigation */
    .menu{
        z-index: 2;
        margin-top: 45px;

        position: sticky;
        position: -webkit-sticky;   /*Safari*/
        top: 0px;                   /*Important for position sticky*/
    }

    nav{
        font-size: 20px;
        display: flex;
        justify-content: space-around;

        background: var(--background-color);
        border-bottom: 1px solid var(--border-color);
    }
    nav .dropdown {
        position: relative;
        display: inline-block;

        flex: 1;
        text-align: center;
    }
    nav .dropdown a {
        padding: 10px 0px 10px 0px;
        font-family: var(--main-font);
        margin-top: 10px;
        text-decoration: none;
        font-size: 20px;
        color: var(--main-font-color);
        border-bottom: 1px solid transparent;
        display: block;
    }

    nav .dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        width: 273px;
        z-index: 1;
        top: 100%;
        left: 0;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0px 8px 16px 0px rgba(102, 102, 102, 0.2);
        border-top: 1px solid var(--border-color);
    }
    nav .dropdown-content a {
        color: var(--main-font-color);
        padding: 14px 30px;
        text-decoration: none;
        display: block;
        font-size: 18px;
        border-bottom: 1px solid transparent;
    }
    nav .dropdown-content a:hover {
        /* background-color: #f1f1f1; */
        border-bottom: 1px solid var(--border-color);
    }
    nav .dropdown:hover .dropdown-content {
        display: block;
    }
    .hamburger-menu{
        display: none;
    }
    /* Main */
    main{
        padding: 0 10% 0 10%;
        flex-grow: 1;
        margin-top: 45px;
    }
    main p{
        font-size: 20px;
        text-align: justify;
        hyphens: auto;
    }
    /* articles */
    .services {
        margin-top: 40px;
    }
    .articles {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .article-widget {
        margin: 60px 30px 20px 30px;
        /* border-bottom: 1px solid var(--border-hover-color); */
    }
    .article-title {
        color: black;
        text-align: center;
        font-weight: normal;
        font-size: 24px
    }
    .article-excerpt {
        color: var(--main-font-color);
        text-align: justify;
        hyphens: auto;
        font-size: 20px;
    }
    .gallery-widget {
        margin: 60px 20px 20px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .gallery-img {
        border-radius: 4px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    .gallery-img img{
        width: 25%;
    }

    /* Footer */
    footer{
        margin-top: 35px;

        display: flex;
        justify-content: space-around;

        font-size: 15px;
        border-top: 1px solid var(--border-color);
    }
    footer a{
        padding: 10px 0px 10px 0px;

        text-decoration: none;
        color: var(--side-font-color);
        transition: color 0.4s;
    }
    footer a:hover{
        color: gray;
    }
    /*De Nobis*/
    .denobis {
        font-size: 20px;
        text-align: justify;
        hyphens: auto;
    }

    /*-------------------- for Detail.twig --------------------*/
    /* by Severin*/
    .article {
        padding-bottom: 50px;
        padding: 0 10%;
        padding-bottom: 50px;
    }
    .info {
        margin-top: 25px;
        margin-bottom: 30px;
        font-style: italic;
    }
    .title {
        font-family: 'EB Garamond', serif;
        font-size: 40px;
    }
    .bild-wrap {
        padding: 30px 0 10px 0;
    }
    .subtitle {
        font-family: 'EB Garamond', serif;
        font-size: 25px;

    }
    .text {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        text-align: justify;
        hyphens: auto;
        column-count: 2;
        column-gap: 50px;
        font-size: 18px;
        line-height: 1.3;
        font-family: 'EB Garamond', serif;
        column-rule: 1px solid black;
    }
    .text p:first-child{
        margin-top: 0;
    }
    .text p {
        margin-bottom: 0px;
    }
    .the-button {
        display: block;
        margin-top: 5px;
        cursor: pointer;
    }
    .s-col-t{
        text-align: justify;
    }
    .bild{
        width: 100%
    }
    figure{
        transform: scale(0.5);
    }
}
/*--------------------------------------------------------------------------------*/
/* Tablet */
@media only screen and (min-width: 700px) and (max-width: 999px){
    /*Added by Artur*/
    body{
        display: flex;
        flex-direction: column;
        min-height: 98vh; 

        padding: 0 5% 0 5%;
    }
    /* Header */
    header{
        text-align: center;
    }

    header a{
        color: var(--main-font-color);
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }
    header a:hover{
        color:gray;
    }
    /* category image*/
    .logo-image{ 
        transform: scale(0.4);
        height: 100px;
    }
    .main-logo{
        font-size: 30px;
        text-transform: uppercase;
    }
    .sub-logo{
        font-size: 20px;
    }

    /* Navigation */
    .menu{
        z-index: 2;
        margin-top: 45px;

        position: sticky;
        position: -webkit-sticky;   /*Safari*/
        top: 0px;                   /*Important for position sticky*/
    }
    nav{
        font-size: 20px;
        display: flex;
        justify-content: space-around;

        background: var(--background-color);
        border-bottom: 1px solid var(--border-color);
    }
    nav .dropdown {
        position: relative;
        display: inline-block;

        flex: 1;
        text-align: center;
    }
    nav .dropdown a {
        padding: 10px 0px 10px 0px;
        font-family: var(--main-font);
        margin-top: 10px;
        text-decoration: none;
        font-size: 20px;
        color: var(--main-font-color);
        border-bottom: 1px solid transparent;
        display: block;
    }

    nav .dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        width: 273px;
        z-index: 1;
        top: 100%;
        left: 0;
        height: auto;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0px 8px 16px 0px rgba(102, 102, 102, 0.2);
        border-top: 1px solid var(--border-color);
    }
    nav .dropdown-content a {
        color: var(--main-font-color);
        padding: 14px 30px;
        text-decoration: none;
        display: block;
        font-size: 18px;
        border-bottom: 1px solid transparent;
    }
    nav .dropdown-content a:hover {
        /* background-color: #f1f1f1; */
        border-bottom: 1px solid var(--border-color);
    }
    nav .dropdown:hover .dropdown-content {
        display: block;
    }
    .hamburger-menu{
        display: none;
    }
    /* Main */
    main{
        flex-grow: 1;
        margin-top: 45px;
    }
    main p{
        font-size: 20px;
        text-align: justify;
        hyphens: auto;
    }
    .articles {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .article-widget {
        margin: 60px 25px 20px 25px;
        /* border-bottom: 1px solid var(--border-hover-color); */
    }
    .article-title {
        color: black;
        font-weight: normal;
        text-align: center;
    }
    .article-excerpt {
        color: var(--main-font-color);
        text-align: justify;
        hyphens: auto;
        font-size: 20px;
    }
    .gallery-widget {
        margin: 60px 20px 20px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .gallery-img {
        border-radius: 4px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    .gallery-img img{
        width: 25%;
    }
    /* Footer */
    footer{
        margin-top: 35px;

        display: flex;
        justify-content: space-around;

        font-size: 15px;
        border-top: 1px solid var(--border-color);
    }
    footer a{
        padding: 10px 0px 10px 0px;

        text-decoration: none;
        color: var(--side-font-color);
        transition: color 0.4s;
    }
    footer a:hover{
        color: gray;
    }
    /*De Nobis*/
    .denobis {
        font-size: 20px;
        text-align: justify;
    }

    /*-------------------- for Detail.twig --------------------*/
    /* by Severin*/
    .article {
        padding-bottom: 50px;
        padding: 0 10%;
        padding-bottom: 50px;
    }
    .info {
        margin-top: 25px;
        margin-bottom: 30px;
        font-style: italic;
    }
    .title {
        font-family: 'EB Garamond', serif;
        font-size: 40px;
    }
    .bild-wrap {
        padding: 30px 0 10px 0;
    }
    .subtitle {
        font-family: 'EB Garamond', serif;
        font-size: 25px;

    }
    .text {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        text-align: justify;
        hyphens: auto;
        column-count: 2;
        column-gap: 50px;
        font-size: 18px;
        line-height: 1.3;
        font-family: 'EB Garamond', serif;
        column-rule: 1px solid black;
    }
    .text p:first-child{
        margin-top: 0;
    }
    .text p {
        margin-bottom: 0px;
    }
    .the-button {
        display: block;
        margin-top: 5px;
        cursor: pointer;
    }
    .s-col-t{
        text-align: justify;
    }
    .bild{
        width: 100%
    }
    figure{
        transform: scale(0.5);
    }
}


/*--------------------------------------------------------------------------------*/

/* Mobile */
@media (max-width: 700px) {
    /*Added by Artur*/
    body{
        display: flex;
        flex-direction: column;
        min-height: 98vh; 
    }
    /* Header */
    header{
        text-align: center;
    }

    header a{
        color: var(--main-font-color);
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }
    header a:hover{
        color:gray;
    }
    .logo-image{    /* category image*/
        transform: scale(0.5);
        height: 100px;
    }
    .main-logo{
        font-size: 30px;
        text-transform: uppercase;
    }
    .sub-logo{
        font-size: 20px;
    }
    /* Navigation */
    nav{
        z-index: 1;
        margin-top: 20px;
        padding: 10px;

        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 70px;
     }
    nav a{
        text-decoration: none;
        color: var(--main-font-color);
        padding-bottom: 5px;

        border-bottom: 1px solid var(--border-color);

        transition: all 0.4s ease;
     }
     nav ul {
        margin-top: -0.7rem;
        padding-left: 30px;
     }
     nav ul li{
        list-style-type: none;
        padding: 3px;
     }
     nav ul li a{
        border: none;
     }
     .hamburger-menu {
        z-index: 1;
        position:sticky;
        top: 0px;
        width: 100%;
        background-color: white;
      }
      
      .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 62px;
      }
      
      .hamburger-menu .menu-items {
        display: flex;
      }
      
      .hamburger-menu .nav-container a {
        color: black;
        font-size: 1.2rem;
        /* padding: 0.7rem; */
      }
      
      .nav-container {
        display: block;
        position: relative;
        height: 60px;
      }
      
      .nav-container .checkbox {
        position: absolute;
        display: block;
        height: 32px;
        width: 32px;
        top: 10px;
        right: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
      }
      
      .nav-container .hamburger-lines {
        display: block;
        height: 23px;
        width: 32px;
        position: absolute;
        top: 17px;
        right: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      
      .nav-container .hamburger-lines .line {
        display: block;
        height: 1px;
        width: 100%;
        /* border-radius: 10px; */
        background: gray;
      }
      
      .nav-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
      }
      
      .nav-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
      }
      
      .nav-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
      }
      
      .hamburger-menu .menu-items {
        background-color: white;
        height: 100vh;
        width: 100%;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        
        transition: transform 0.5s ease-in-out;
      }
      
      .nav-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
      }
      
      .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
      }
      
      .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
      }
      
      .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
      }
      
      .nav-container input[type="checkbox"]:checked ~ .logo{
        display: none;
      }
    .menu{
        display: none;
    }
    
    /* Main */
    main{
        padding: 0 2% 0 2%;
        flex-grow: 1;
        margin-top:30px;
    }
    main p {
        font-size: 20px;
        text-align: justify;
        hyphens: auto;
    }
    .articles {
        display: grid;
        grid-template-columns: 1fr;
    }
    .article-widget {
        margin: 0px 25px 20px 25px;
        /* border-bottom: 1px solid var(--border-hover-color); */
    }
    .article-title {
        font-size: 20px;
        font-weight: 600;
        color: black;
    }
    .article-excerpt {
        font-size: 13px;
        color: var(--main-font-color);
        text-align: justify;
        hyphens: auto;
        font-size: 20px;
    }
    .gallery-widget {
        margin: 0px 25px 20px 25px;
        border-bottom: 1px solid var(--border-color);
    }
    .gallery-img {
        border-radius: 4px;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }
    .gallery-img img{
        width: 25%;
    }
    /* Footer */
    footer{
        margin-top: 30px;

        display: flex;
        justify-content: space-around;

        font-size: 13px;
        border-top: 1px solid var(--border-color);
    }
    footer a{
        padding: 5px 0px 5px 0px;

        text-decoration: none;
        color: var(--side-font-color);
        transition: color 0.4s;
    }
    footer a:hover{
        color: gray;
    }
    /*De Nobis*/
    .denobis {
        font-size: 16px;
        text-align: justify;
    }
    /*-------------------- for Detail --------------------*/
    /* By Severin*/
    .article {
        padding-bottom: 50px;
        padding: 0 15px;
        padding-bottom: 50px;
    }
    .info {
        margin-top: 25px;
        margin-bottom: 10px;
        font-style: italic;
    }
    .title {
        font-family: 'EB Garamond', serif;
        font-size: 28px;
    }
    .bild-wrap {
        padding: 10px 0;
    }
    .subtitle {
        font-family: 'EB Garamond', serif;
        font-size: 20px;
        margin-top: 5px;
    }
    .text {
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        text-align: justify;
        hyphens: auto;
        font-family: 'EB Garamond', serif;
        font-size: 20px;
        line-height: 1.4;
    }
    .print-btn {
        font-size: 10px;
    }
    .the-button {
        display: block;
        margin-top: 5px;
        cursor: pointer;
    }
    .s-col-t{
        text-align: justify;
    }
    .bild{
        width: 100%
    }
    figure{
        transform: scale(1);
    }
}