/*
---------------------------------
    SECTIONS
---------------------------------
1. VARIABLES
2. BASIC
3. LAYOUT
4. PAGE HEADER
5. NAVIGATION
6. MAIN TEMPLATE
9. FOOTER
10. COLORS
12. MEDIA QUERIES
----------------------------------
*/


/*
------------------------------------
    1. VARIABLES
------------------------------------
*/

:root {
    --colorBrand1: #ffdd0f;
    /* --colorBrand1: rgba(255,221,15,1); */
    --colorBrand2: #99ccff;
    /* --colorBrand2: rgba(153,204,255,1); */
    --colorGrey: #999999;
    /* --colorGrey: rgba(153,153,153,1); */
    --colorLightBlue: rgba(224,239,255,1);
    --colorDarkBlue: rgba(153,204,255,1);
    --typeBaseSize: 1.75rem;
    --typeBaseWeight: 400;
    --typeBaseLineHeight: 1.4;
}

.color-palette {
    color: rgb(205, 204, 255);
    color: rgb(221, 196, 253);
    color: rgb(255, 182, 225);
    color: rgb(254, 173, 172);
    color: rgb(194, 255, 224);
    color: rgb(228, 254, 189);
    color: #ffcc99;
    color: #ccccff;
}


/*
------------------------------------
    2. BASIC
------------------------------------
*/

@font-face {
    font-family: 'Marker Felt';
    src: url('/a/f/marker-felt.eot'); /* IE9 Compat Modes */
    src: url('/a/f/marker-felt.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/a/f/marker-felt.woff2') format('woff2'), /* Super Modern Browsers */
        url('/a/f/marker-felt.woff') format('woff'), /* Pretty Modern Browsers */
        url('/a/f/marker-felt.ttf')  format('truetype'), /* Safari, Android, iOS */
        url('/a/f/marker-felt.svg#svgMarkerFelt') format('svg'); /* Legacy iOS */
}

body, html {
    height: 100%;
}

html {
    box-sizing: border-box;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

html * {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--colorBrand2);
}

a {
    text-decoration: none;
    color: var(--colorBrand2);
}

a:hover {
    /* color: #89b7e5; 
    color: #7aa3cc; */
    color: var(--colorLightBlue);
    transition: .2s;
}

h1 {
    font-family: 'Marker Felt', Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    color: var(--colorBrand1);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    font-size: var(--typeBaseSize);
    line-height: var(--typeBaseLineHeight);
    color: var(--colorBrand2);
}

ul, ol {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

blockquote {
    margin-left: 8rem;
    font-size: var(--typeBaseSize);
    max-width: 40rem;
}

.spacer {
    width:100%;
    /* height: variable from twig template; */
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}


/*
------------------------------------
    3. LAYOUT
------------------------------------
*/

.layout {
    width: 100%;
    /* max-width: 1170px; */
    max-width: 100rem;
    /* max-width: 1440px; */
    margin: 0 auto;
}

.content {
    width: 80%;
    /* width: 1170px; */
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

#main-content {
    margin: 0 auto;
    margin-top: 6rem;
}

#main-content ul, ol {
    margin: 0 0 2rem 0;
    padding: 0 0 0 3rem;
}

#main-content li { 
    padding-left: 4rem;
    font-size: var(--typeBaseSize);
    line-height: var(--typeBaseLineHeight);
}

#main-content li::before {
    color: var(--colorBrand2);
    content: "\2013"; /* En Dash - Halbgeviertstrich - Gedankenstrich */
    position: absolute;
    margin-left: -3rem;
}

/* Spezielle Liste mit Stern */
#main-content ul.liste-stern {
    margin: 0 0 2rem 0;
    padding: 0 0 0 0rem;
}

#main-content ul.liste-stern li { 
    font-size: var(--typeBaseSize);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: var(--typeBaseLineHeight);
    padding: 1rem 0 1rem 4rem;
}

#main-content ul.liste-stern li::before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 600;
    color: var(--colorBrand2);
    content: "\f005";
    position: absolute;
    margin-left: -4rem;
}

#main-content img {
    margin-top: 1.5rem;
}


/*
------------------------------------
    4. PAGE HEADER
------------------------------------
*/

header {
    /* height: 112px; */
    /* padding: 12px 16px; */
    background-color: #fff;
    /* box-shadow: 0 2px 6px rgba(0,0,0,.2); */
    /* box-shadow: 0px 8px 10px -5px rgba(0, 0, 0, 0.15); */
}


.header-layout {
    /* width: 100%; */
    max-width: 100rem;
    margin: 0 auto;
    padding: 18px 16px 12px;


    /* position: sticky;
    top: 0;
    z-index: 1;
    width: 100%; */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 80%;
  max-width: 1140px;

  margin: 0 auto;


  position: sticky;
  top: 0;
  z-index: 1;
}

.logo img {
  /* height: 60px; */
  /* width: 320px; */
  width: 280px;
  margin-left: 1rem;
}



/* HERO SLIDER FLICKITY */

.main-carousel {

}

.carousel-cell {
  width: 100%;
  height: 18vw;
  /* flex-box, center image in cell */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}


.carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Fade CSS */

/* .flickity-slider {
    transform: none !important;
}

.carousel-cell {
    left: 0 !important;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

.carousel-cell.is-selected {
    opacity: 1;
    z-index: 0
} */

  
/* STELLEN QUICKLINK */

.quicklinks {
    position: absolute;
    top: -12px;
    right: 0px;
}

.quicklinks-mobile {
    display: none;
}

a.stellen {
    padding: 6px 12px;
    color: #fff;
    background: var(--colorBrand2);
    text-transform: uppercase;
}

a:hover.stellen {
    color: var(--colorLightBlue);
}






/*
------------------------------------
    5. NAVIGATION
------------------------------------
*/

nav {
    /* display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 0.5rem; */
  
    margin: 1.5rem 0;
  
    max-height: none;
    z-index: 99;
    transition: max-height .5s ease-out;
}
  
nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#mobile-nav {
    display: none;
}

.primary-nav a {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--colorBrand2);
}

nav ul li a {
    position: relative;
    /* color: #000; */
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #7aa3cc;
    color: var(--colorLightBlue);
    /* color: var(--colorDarkBlue); */
}
  
.nav-item-active {
    /* border-bottom: 3px solid var(--colorBrand2); */
    /* color: var(--colorLightBlue)!important; */
    color: var(--colorBrand1)!important;
}



/* MOBILE MENU ICON */

.side-menu {
    display: none;  /* Hide checkbox */
} 

.hamb {
    cursor: pointer;
    /* padding: 40px 20px; */
    text-align: center;
}

.hamb {
    display: none;
}

.hamb-line {
    background: var(--colorBrand2);
    display: block;
    /* height: 3px; */
    height: 2px;
    position: relative;
    width: 32px;
    transition: all .2s ease-out;
}

.hamb-line:nth-of-type(1) {
    top: -6px;
}

.hamb-line:nth-of-type(3) {
    top: 6px;
}

.hamb:hover .hamb-line:nth-of-type(2) {
    background: var(--colorBrand1);
    /* transform: translate(-2px); */
}

.hamb:hover .hamb-line:nth-of-type(1),
.hamb:hover .hamb-line:nth-of-type(3) {
    /* transform: translate(-2px); */
}

/* alternative hamburger hover animation */
.hamb:hover .hamb-line:nth-of-type(1) {
    top: -8px;
}

.hamb:hover .hamb-line:nth-of-type(3) {
    top: 8px;
}



/*
------------------------------------
    6. MAIN TEMPLATE
------------------------------------
*/

#main-content h1 {
    font-family: 'Marker Felt', Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    letter-spacing: 0.1rem;
    font-kerning: normal;
    /*text-transform: uppercase;*/
    color: var(--colorBrand1);
}

#main-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--colorBrand2);
    margin-top: 4rem;
}

#main-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--colorBrand2);
    margin-top: 4rem;
}

#main-content p {
    font-size: var(--typeBaseSize);
    line-height: var(--typeBaseLineHeight);
    color: var(--colorBrand2);
}

#main-content .big-text {
    font-size: 3rem;
}

.datei-inhalt {
    margin-bottom: 1rem;
}

.datei-symbol {
    display: inline;
    font-size: var(--typeBaseSize);
}

.datei-name {
    display: inline;
    font-size: var(--typeBaseSize);
    margin: 0.5rem 0;
}

.eintrag-bild img {
    /* defined in template */
}

.zwei-bilder {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    justify-content: space-between;
    margin-top: 6rem;
    padding-bottom: 3rem;
}

.zwei-bilder .bild-item {
    max-width: 430px;
}

.zwei-bilder .bild-item-titel {
    font-size: 2rem;
    font-weight: bold;
    color: #99ccff;
    text-transform: uppercase;
}

.zwei-bilder .bild-item img {
    width: 100%;
}

.zwei-bilder .bild-item-text {
    font-size: var(--typeBaseSize);
    line-height: var(--typeBaseLineHeight);
    margin-top: 1rem;
}



/* GOOGLE MAPS */

.maps-wrapper {
    height: 600px;
    width: 100%;
}


/* AUDIO PLAYER on homepage */

.music-container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px 20px rgba(166, 218, 249, 0.6);
    display: flex;
    padding: 20px 30px;
    position: relative;
    margin: 4rem 0;
    z-index: 1;
    /* width: 50%; */
    width: 500px;
}
  
.music-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
  
.action-btn {
    background-color: #fff;
    border: 0;
    /* color: #dfdbdf; */
    color: var(--colorBrand2);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    margin: 0 20px 0 10px;
}

.action-btn.action-btn-big {
    /* color: #cdc2d0; */
    color: var(--colorBrand2);
    font-size: 30px;
}
  
.action-btn:focus {
    outline: 0;
}

.info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
  
.progress-container {
    background: var(--colorBrand2);
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
    height: 4px;
    width: 100%;
}
  
.progress {
    background-color: #0b38a1;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}
  
.currTime {
    margin-left: 1rem;
    color: var(--colorBrand2);
}


/* MUSIC PLAYER on kreatives page */

.actn-btn {
    background-color: transparent;
    border: 0;
    color: var(--colorBrand2);
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.actn-btn:hover {
    color: var(--colorLightBlue);
}
  
.actn-btn:focus {
    outline: 0;
}



/*
------------------------------------
    9. FOOTER
------------------------------------
*/

footer {
    margin-top: 3rem;
    margin-bottom: 26px;
    /* text-align: center; */
    /* background-color: #d6d6d6; */
}

footer a {
    text-decoration: none;
    transition: 0.2s;
}
  
footer .copyright {
    font-size: 0.8rem;
    color: var(--colorBrand2);
    /* text-align: center; */
    padding: 16px 10px 12px 0 !important;
}
  
footer .craft {
    font-style: italic;
    margin: 0 0.1rem;
}
  
footer .copyright a {
    /* color: #000; */
    color: var(--colorBrand2);
}
  
footer .copyright a.craft{
    color: var(--colorGrey)
}
  
footer .copyright a:hover.craft,
footer .copyright a:focus.craft{
    color: #E5422B;
}
  
footer .copyright a.cyon {
    color: var(--colorGrey)
}
  
footer .copyright a:hover.cyon,
footer .copyright a:focus.cyon {
    color: #ff6600;
}


/* Heart */
.heart {
    width: 0.75rem;
    height: 0.75rem;
    margin-bottom: -1px;
}

.heart:hover {
    color: var(--colorBrand1);
    animation: 1.2s ease-in-out 0s infinite normal none running heartbeat;
    transform-origin: center;
}

@keyframes heartbeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
  14% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5)
  }
  28% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
  42% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5)
  }
  70% {
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}




/*
------------------------------------
    12. MEDIA QUERIES
------------------------------------
*/

/*

css breakpoints - tailwind css
##############################
Breakpoint prefix Minimum width CSS
sm  640px @media (min-width: 640px) { ... }
md  768px @media (min-width: 768px) { ... }
lg  1024px  @media (min-width: 1024px) { ... }
xl  1280px  @media (min-width: 1280px) { ... }
2xl 1536px  @media (min-width: 1536px) { ... }

*/


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

    .header-layout {
        padding: 10px 16px 6px;
    }

    .header-content {
        width: 100%;
    }

    .logo img {
        width: 140px;
        margin-left: 0;
    }

    label.hamb {
        padding: 16px 8px 16px 8px;
    }
    
    .hamb {
        display: block;
    }

    /* nav {
        display: none;
    } */

    nav {
        display: block;
        position: fixed;
        top: 66px;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 0;
    
        font-size: 1.5rem;
        margin: 0;
        
        background-color: rgba(255,255,255,.98);
        overflow: hidden;
    
        transition: max-height .5s ease-out;
    }
    
    nav ul {
        display: block;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul li {
        padding: 0.4rem 0 0.4rem 3.2rem;
    }

    #mobile-nav {
        display: block;
    }
    
    .mobile-nav {
        /* padding-left: 2rem; */
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
    }

    .mobile-nav a {
        font-size: 1.4rem;
    }

    
    
    /* TOGGLE MOBILE MENU ICON */
    .side-menu:checked ~ nav {
        max-height: 100%;
    }
    
    .side-menu:checked ~ .hamb .hamb-line:nth-of-type(1) {
        transform: rotate(-45deg);
        /* top: 3px; */
        top: 2px;
        background: var(--colorBrand2);
    }
    
    .side-menu:checked ~ .hamb .hamb-line:nth-of-type(2) {
        background: transparent;
        transform: scaleX(0);
        transform-origin: center;
    }
    
    .side-menu:checked ~ .hamb .hamb-line:nth-of-type(3) {
        transform: rotate(45deg);
        /* top: -3px; */
        top: -2px;
        /* background: var(--colorBrand1); */
    }

    .quicklinks {
        display: none;
    }

    ul.quicklinks-mobile {
        margin-top: 1rem;
        display: block;
    }

    ul.quicklinks-mobile a {
        color:rgb(254, 173, 172);
    }

    
    /* Header Image Slider */
    .carousel-cell {
        height: 25vw;
    }
    
    .hero-image {
        height: 30vw;
    }

    #main-content h1 {
        font-size: 2.5rem;
    }

    #main-content h2 {
        font-size: 2rem;
    }

    #main-content h3 {
        font-size: 1.5rem;
    }

    #main-content p {
        font-size: calc(var(--typeBaseSize)*0.8);
    }

    #main-content .big-text {
        font-size: 2.5rem;
    }

    #main-content ul.liste-stern li {
        font-size: 2rem;
    }

    .music-container {
        width: 360px;
    }

    .maps-wrapper {
        height: 400px;
    }

}

@media only screen and (max-width: 1024px) {}

@media only screen and (max-width: 768px) {}


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

    .logo-wrapper {
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .logo-wrapper img {
        margin-left: 1.5rem;
        /*max-width: 150px;*/
        max-width: 50vw;
    }

    /* Header Image Slider */
        .carousel-cell {
        height: 35vw;
    }

    /* section {
        margin-left: 1.5rem;
        margin-top: 1rem;
        margin-right: 1.5rem;
        font-size: 0.9rem;
    } */

    .content {
        width: 100%;
    }

    #main-content {
        margin-top: 1rem;
    }

    #main-content h1 {
        font-size: 1.6rem;
        margin-top: 1.5rem;
    }

    #main-content h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    #main-content h3 {
        font-size: 1.2rem;
        margin-top: 2rem;
    }

    #main-content p {
        font-size: calc(var(--typeBaseSize)*0.6);
    }

    #main-content ul, ol {
        padding: 0 0 0 2rem;
    }

    #main-content li {
        padding-left: 1.5rem;
        font-size: calc(var(--typeBaseSize)*0.6);
    }

    #main-content li::before {
        margin-left: -2rem;
    }

    #main-content ul.liste-stern li {
        font-size: 1.2rem;
        /* padding-left: 2.5rem; */
        padding: 0.5rem 0 0.5rem 2.5rem;
    }

    #main-content ul.liste-stern li::before {
        margin-left: -2.5rem;
    }

    #main-content .big-text {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .datei-inhalt {
        margin-bottom: 0.5rem;
    }

    .datei-symbol {
        font-size: calc(var(--typeBaseSize)*0.6);
    }

    .datei-name {
        font-size: calc(var(--typeBaseSize)*0.6);
    }

    .eintrag-bild img {
        width: 100% !important;
    }

    .zwei-bilder {
        margin-top: 4rem;
        padding-bottom: 2rem;
    }

    .zwei-bilder .bild-item-titel {
        font-size: calc(var(--typeBaseSize)*0.8);
    }

    .zwei-bilder .bild-item-text {
        font-size: calc(var(--typeBaseSize)*0.6);
    }

    .music-container {
        width: 260px;
        margin: 2rem 0;
    }

    footer {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    footer .copyright {
        font-size: 0.6rem;
    }
   
}


@media only screen and (max-width: 480px) {}