/* FONT */
@font-face {
    font-family: 'Sligoil';
    src: url('../font/Sligoil-Micro.ttf') format('truetype');
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    background: rgb(255, 255, 255);
    font-family: 'Sligoil', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    color: #7d67b8;
}


/* HEADER */
header {
    width: 100%;
    padding: 1px 20px;
    font-size: 9px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: white;   /* richtig weiß */
    border-bottom: 1px solid rgba(255,255,255,0.6);

    /* Blur nur am Rand */
    box-shadow:
        0 20px 10px rgba(255,255,255,0.95),
        0 10px 10px rgba(255,255,255,0.7);

    position: fixed;
    top: 0;
    z-index: 100;
}



/* Header links */
.header-left {
    display: flex;
  
    align-items: center;
    gap: 20px;
}

.header-left span {
    font-size: 10px;
}


/* Header Mitte */
.header-center {
    justify-self: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.intro-page .header-center {
    opacity: 0;
}

.header-center.visible {
    opacity: 1;
}

.header-center img {
    height: 70px;
    width: auto;
}


/* Header rechts */
.header-right {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
}

.header-right img {
    height: 28px;
    width: auto;
}


/* MAIN */
main {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 50px;
}

main img {
    width: 100%;
    height: auto;
    display: block;

    box-shadow:
        inset 0 0 120px white,
        0 0 80px rgba(255,255,255,0.8);
}


/* FOOTER */
footer {
    width: 100%;
    padding: 22px 45px;

    position: fixed;
    bottom: 0;
    z-index: 100;

    background: white;   /* richtig weiß */
    border-top: 1px solid rgba(255,255,255,0.6);

    /* Blur nur am Rand */
    box-shadow:
        0 -10px 10px rgba(255,255,255,0.95),
        0 -20px 10px rgba(255,255,255,0.7);
}


/* NAV */
nav {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 18px;
}

nav span {
    font-size: 10px;
}

.extra-nav,
.separator.hidden {
    display: none;
}

#footer-nav.nav-open .extra-nav,
#footer-nav.nav-open .separator.hidden {
    display: inline-block;
}

#more-toggle {
    cursor: pointer;
}


/* LINKS */
a {
    text-decoration: none;
    color: #7d67b8;
    transition: 0.25s ease;
    display: inline-block;
}

a:hover {
    font-style: italic;
    transform: skewX(-12deg) rotate(-5deg);
}


/* TEXT */
span {
    color: #7d67b8;
}

.header-right span {
    font-size: 9px;
}

.aboutflyleaf {
  text-align: left;
  color: #7d67b8;
  font-size: 20px;

  background-color: rgb(255, 255, 255);
  padding: 30px;
  
}

.image1 {
  border-radius: 20px;
  padding: 10px;
  opacity: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  margin-top: 0;
  display: block;
}

.image2 {
  border-radius: 20px;
  padding: 5px;

}


/* INTRO */
.intro {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99;
    background: white;
}

.intro-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.intro-logo {
    width: 500px;
    height: auto;
    z-index: 2;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.intro-logo:hover {
    font-style: italic;
    transform: skewX(-12deg) rotate(-12deg);
    cursor: pointer;
}

.intro.intro-exit .intro-logo {
    opacity: 0;
}

.intro.intro-exit {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* IMAGE FADE IN */
.image1.image-fade-in {
    animation: fadeIn 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 17px;
}


.where {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 30px;
}

.where-text {
    display: flex;
    flex-direction: column;
    gap: 62px;
    max-width: 100%;
    min-width: 280px;
}

.location-block h3 {
    margin-bottom: 10px;
}

.location-block p {
    line-height: 1.1;
    white-space: pre-line;
    margin: 0;
}

.where-map {
    flex-shrink: 0;
    margin-left: auto;
}

.map {
    width: 700px;
    height: auto;
    display: block;


 
}

@media (max-width: 900px) {
    .where {
        flex-direction: column;
    }

    .where-text {
        max-width: 100%;
    }

    .map {
        width: 100%;
       
    }

   
}

.previous-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin: 30px auto 0;
    max-width: 1100px;
   
}

.previous-link {
    display: block;
    text-decoration: none;
    width: 100%;
}

.previous-link:hover {
    transform: none;
    font-style: normal;
}

.previous-item {
    flex: 1 1 380px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.previous-item h1 {
    font-style: normal;
    text-align: left;
    margin-bottom: 10px;
}

.previous {
    width: 100%;
    border-radius: 30px;
    outline: #7d67b8 solid 1px;
    display: block;
    margin: 0;
    transition: transform 0.25s ease;
    position: relative;
}

.previous-link:hover .previous {
    transform: skewX(-12deg) rotate(-5deg);
}


.container {
  width: 100%;
  background-color: #faf8ff;
  max-width: 1600px;
  margin: 10px auto;
  border: 2px solid #b197d6;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 480px 2fr;
  overflow: hidden;
  margin-left: 50px;
}

/* LEFT */

.filters {
  padding: 60px 40px;
  position: relative;
  min-height: 700px;
}

.title {
  font-size: 40px;
  line-height: 0.9;
  margin-bottom: 50px;
}

.rotate-left {
  transform: rotate(-12deg);
}

.rotate-right {
  transform: rotate(12deg);
}

.bottom {
  margin-top: 100px;
}

/* TOGGLES */

.toggle-group {
  display: flex;
  background-color: #ffffff;
  gap: 10px;
  border: 2px solid #b197d6;
  border-radius: 50px;
  padding: 15px;
  width: fit-content;
  margin-bottom: 80px;
}

.toggle-group.vertical {
  flex-direction: column;
  border-radius: 30px;
}

.filter-btn {
  border: 2px solid #b197d6;
  background: transparent;
  color: #7d5ab5;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.3s;
}

.filter-btn:hover {
  background: #d9c5f0;
}

.filter-btn.active {
  background: #f1ea00;
  color: #5f4690;
}

/* RIGHT */

.artist-list {
  border-left: 2px solid #b197d6;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
}

.artist {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #d6c6ec;
  transition: 0.3s;
}

.artist {
  transition: 0.3s;
}

.artist:hover {
  transform: translateX(10px);
}

.tags {
  display: flex;
  gap: 10px;
}

.tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: micro;
}

.day-tag {
  background: #ffff0e;
  color: #7d67b8;
}

.location-tag {
  background: #d2f6fd;
  color: #7d67b8;
}



/* MOBILE */

@media (max-width: 850px) {

  .container {
    grid-template-columns: 1fr;
  }

  .artist-list {
    border-left: none;
    border-top: 2px solid #b197d6;
  }

  .title {
    font-size: 40px;
  }
}

/* PROGRAM PAGE */

.program-page {
  width: 100%;
  padding: 60px 0 120px;
}

.program-wrapper {
  width: 96%;
  max-width: 1600px;
  margin: auto;

  display: grid;
  grid-template-columns: 260px 2fr;

  border: 2px solid #b197d6;
  border-radius: 30px;

  overflow: hidden;

  background: #ffffff;

  backdrop-filter: blur(8px);
}


/* LEFT */

.program-filters {
  padding: 60px 40px;
}

.program-title {
  font-size: 40px;
  color: #7d5ab5;
  margin-bottom: 60px;
}

.program-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.program-filter-btn {

  border: 2px solid #b197d6;

  background: transparent;

  color: #7d5ab5;

  padding: 12px 20px;

  border-radius: 30px;

  cursor: pointer;

  font-size: 17px;

  transition: 0.3s;

  min-width: 120px;
}

.program-filter-btn:hover {
  background: #d9c5f0;
}

.program-filter-btn.active {
  background: #f1ea00;
  color: #5f4690;
}


/* RIGHT */

.program-list {

  border-left: 2px solid #b197d6;

  padding: 60px;

  display: flex;
  flex-direction: column;

  gap: 10px;
}


/* PROGRAM ITEM */

.program-item {

  display: flex;

  gap: 40px;

  align-items: flex-start;

  padding: 20px 0;

  border-bottom: 1px solid #d6c6ec;

  transition: 0.3s;
}

.program-item:hover {
  transform: translateX(10px);
}


/* TIME */

.program-time {

  min-width: 90px;

  font-size: 30px;

  color: #7d5ab5;

  font-weight: bold;
}


/* CONTENT */

.program-name {

  font-size: 30px;

  color: #7d5ab5;

  margin-bottom: 10px;
}

.program-description {

  font-size: 17px;

  color: #7d5ab5;

  margin: 10px 0 10px 0;

  line-height: 1.5;
}

/* TAGS */

.program-tags {

  display: flex;

  gap: 10px;
}

.program-tag {

  padding: 6px 14px;

  border-radius: 20px;

  font-size: 10px;

  font-weight: micro;
}

.program-tag.day {

  background: #f1ea00;

  color: #5f4690;
}

.program-tag.location {

  background: #b9e7ff;

  color: #5f4690;
}


/* MOBILE */

@media (max-width: 900px) {

  .program-wrapper {

    grid-template-columns: 1fr;
  }

  .program-list {

    border-left: none;

    border-top: 2px solid #b197d6;
  }

  .program-item {

    flex-direction: column;

    gap: 10px;
  }

  .program-name {

    font-size: 17px;
  }
}
/* ==========================================
   MOBILE BURGER MENU
   ========================================== */

.mobile-menu-button,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 850px) {

    /* HEADER */

    .header-left,
    .header-right {
        display: none;
    }

    header {
        display: flex;
        justify-content: center;
        padding: 10px;
    }

    .header-center {
        opacity: 1 !important;
    }

    .header-center img {
        height: 45px;
    }

    /* FOOTER */

    footer {
        display: none;
    }

    /* BURGER BUTTON */

    .mobile-menu-button {

        display: flex;

        position: fixed;

        bottom: 20px;

        left: 50%;

        transform: translateX(-50%);

        width: 60px;
        height: 60px;

        border-radius: 50%;

        background: white;

        border: 1px solid #7d67b8;

        justify-content: center;
        align-items: center;

        font-size: 28px;

        color: #7d67b8;

        z-index: 9999;

        cursor: pointer;

        box-shadow: 0 0 20px rgba(255,255,255,.9);
    }

    /* DRAWER */

/* DRAWER */

.mobile-menu-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    bottom: -50vh;
    width: 100%;
    height: 36vh;
    background: white;
    z-index: 99999;
    transition: bottom 0.3s ease;
    padding: 16px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 15px rgba(255,255,255,.9);
}

.mobile-menu-overlay.open {
    bottom: 0;
}

    /* CLOSE */

    .mobile-close {

        align-self: flex-end;

        border: none;

        background: none;

        color: #7d67b8;

        font-size: 25px;

        cursor: pointer;

        font-family: inherit;
    }

    /* LINKS */

    .mobile-nav-links {

        display: flex;

        flex-direction: column;

        gap: 20px;

        margin-top: -29px;

        align-items: center;
    }

    .mobile-nav-links a {

        font-size: 20px;

        color: #7d67b8;
    }
}