@font-face {font-display: swap; font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: url('fnt/open-sans-v40-latin-300.woff2') format('woff2');}
@font-face {font-display: swap; font-family: 'Open Sans'; font-style: normal; font-weight: 500; src: url('fnt/open-sans-v40-latin-500.woff2') format('woff2');}

@font-face {font-display: swap; font-family: 'Raleway'; font-style: normal; font-weight: 200; src: url('fnt/raleway-v34-latin-200.woff2') format('woff2');}
@font-face {font-display: swap; font-family: 'Raleway'; font-style: normal; font-weight: 100; src: url('fnt/raleway-v34-latin-100.woff2') format('woff2');}


* {box-sizing: border-box;}
a {text-decoration: none;}

html {font-size: 10px;}
html, body {margin:0;padding:0; overscroll-behavior: none; }
body {background: #fff; color: #666666; font-family: 'Open Sans', sans-serif; font-size: 1.8rem; line-height: 1.5em; font-weight: 300; }

h1 {font-family: 'Raleway', sans-serif; font-size: 4.8rem; line-height: 1.75em; font-weight: 100; color: #fff; text-transform: uppercase; letter-spacing: 1rem; max-width: 1100px;}
h2, h3, h4, h5, h6 {font-size: 3.0rem; color: #353535; text-align: center; font-weight: 300; line-height: 1.5em;}
h3 {font-size: 1.8rem; text-transform: uppercase; letter-spacing: 0.25rem; line-height: 2.0rem; font-weight: 500;}
h3 span {display: block;}
h3 span.headBar {display: block;height: 2px; width: 26px;margin: 15px auto;background-color: #000; }
h2.alignLeft {text-align: left;}

@media only screen and (max-width: 960px) {
    h1 {font-size: 3.8rem;}
}
@media only screen and (max-width: 460px) {
    h1 {font-size: 2.0rem;}
}

strong {font-weight: 500;}
a {color: rgb(128, 158, 184);}
a.logo {display: block; max-width: 500px; margin: 0 auto;}
a.logo img {width: 100%;}

a.btnTop {position: absolute; top: 4rem; right: 4rem; z-index: 9999;}
a.btn {color: #fff;background: #9a639a;display: inline-block;padding: 10px 30px;border: 1px solid #9a639a;border-radius: 50px;font-weight: normal;font-familiy: Raleway, sans-serif;text-transform: uppercase;letter-spacing: 2px;}

img {max-width: 100%; height: auto; vertical-align: middle;display: inline-block;}

.center {text-align: center;}
.full {}
.max {width: 100%; max-width: 1184px; margin: auto; padding: 0 4rem;}
.photos .max {padding: 0 1rem;}

.flex {display:flex; gap: 4rem; padding: 4rem 0; justify-content: space-between; flex-wrap: nowrap;}
.flexRow {flex-direction: column;}
.flex.noGap {gap:1rem; padding:0}
.flex.doWrap {flex-wrap: wrap;}
.flex.flexAlignCenter {align-items: center;}
.flex.spaceEvenly {justify-content: space-evenly}

.music, .band, .event, .referenzen, .photos, .kontakt, .footer {padding: 12rem 0; }
.footer {background: #000; color:#fff;}

.col50 {width: 50%; max-width: 600px; margin: 0 auto;}
.col40 {width: 40%; }
.col60 {width: 60%; }

@media only screen and (max-width: 1023px) {
    .music .max .flex {flex-wrap: wrap;}
    .band .max .flex {flex-wrap: wrap;}
    .col50 {width: 100%; }
    .col40 {width: 100%; }
    .col60 {width: 100%; }
}


.hero p, .event p {font-size: 2.2rem; line-height: 4.0rem; font-weight: 100; -webkit-font-smoothing: antialiased;}
.event .max {max-width: 580px;}
.kontakt .max {max-width: 780px;}

.parallax {background-color:#000046; color: #fff; text-align: center; min-height: 500px; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;}
@supports (-webkit-overflow-scrolling: touch) {     .parallax {       background-attachment: scroll;  } }
.parallax h3, .parallax p {color: #fff; }
.parallax h3 span.headBar {background-color: #fff; } 
.hero.parallax, .hero.legal.parallax  {min-height: 100vh; 
background-image: url("img/soul-jazz-band-soulmelounge.jpg"); background-image: image-set(
                  url("img/soul-jazz-band-soulmelounge.avif") type("image/avif"),
                  url("img/soul-jazz-band-soulmelounge.jpg") type("image/jpeg")
              );}
.hero.legal.parallax    {min-height: 30vh;}
.event.parallax         {min-height: 100vh; 
background-image: url("img/firmenevent-band-buchen.jpg"); background-image: image-set(
                  url("img/firmenevent-band-buchen.avif") type("image/avif"),
                  url("img/firmenevent-band-buchen.jpg") type("image/jpeg")
              );}
.referenzen.parallax    {min-height: 100vh; 
background-image: url("img/soul-band-soulmelounge.jpg"); background-image: image-set(
                  url("img/soul-band-soulmelounge.avif") type("image/avif"),
                  url("img/soul-band-soulmelounge.jpg") type("image/jpeg")
              );}
.referenzen.parallax .flex {gap: 8rem;}

@media only screen and (max-width: 480px) {
.referenzen .max .flex {gap: 0rem;}
.referenzen .max .flex img {width: 50%;}
}
.spare {display:none;}

@media only screen and (max-width: 960px) {
.spare {display:inherit;}
}

ul {margin: 0;padding: 0;list-style: none;overflow: hidden;}
ul.store-list {margin: 4rem 0;}
ul.store-list li a.button {width: 100%; text-align: center; font-size: 1.4rem; font-weight: 500; display: inline-block; padding: 7px 12px; background: #f7f7f7;}

@media only screen and (max-width: 580px) {
    ul.store-list li {width: 100%;}
}

table {font-size: 1.4rem; font-weight: 500;}
td {padding: 5px; vertical-align: center;}





/* Main CSS */
.grid-wrapper > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid-wrapper > div > picture > img, .grid-wrapper > div > img, .grid-wrapper > div > picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.grid-wrapper {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}


.grid-wrapper .wide {
    grid-column: span 2;
}
.grid-wrapper .tall {
    grid-row: span 2;
}
.grid-wrapper .big {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 480px) {
    .grid-wrapper {
        grid-template-columns: 1fr; /* One column for small screens */
        grid-auto-rows: 100vw; /* Rows are as wide as the viewport is, maintaining a square */
    }
    .grid-wrapper .wide,
    .grid-wrapper .tall,
    .grid-wrapper .big {
        grid-column: auto; /* Resetting any column or row span */
        grid-row: auto;
    }
    .grid-wrapper > div {
        height: 100vw; /* Height matches the width of the viewport for square aspect ratio */
    }
}


#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightboxImg {
    max-width: 80%;
    max-height: 80%;
}

#closeBtn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 30px;
    color: white;
}
