

:root {
    --base-color: #413232;
  /*--base-color-tp: #1d73afe0;*/
  --base-color-tp-2: #b64646b4;
  --base-color-tp: #244046;
  --text-color-nav: #ffffff;
  --text-color: #000000;
  --text-color2: #9f0505;
  --text-color3: #413232;
  --text-color4: #ffffff;
  --color-nav: #d35f5f00;
  --color-nav-gr: #ce8a8a00;
  --color-1: #1d73afe0;
  --color-1-gr: #c84c4cd0;
  --color-1-p: #1d72aff0;
  --color-1-p-gr: #c84c4ce0;
  --color-2: #4da873d0;
  --color-2-gr: #2bb6fbd0;
  --color-3: #baf9f7c1;
  --color-3-gr: #29808ed0;
  --color-4: #b2b2b2a0;
  --color-4-gr: #b2b2b200;
  --color-nav-nt: #c75454;
  --color-1-nt: #1d73aff0;
  --color-shadow: #000000b0;
  --color-backgroundtp: #de53533f;

  /* gr = gradient, nt = not transparent, tp = transparent */
}

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

html {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-color);
}

#bg-zoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/images_music/paper-print-music-melody-piano-sheet-music.jpg');
    background-size: cover;
    background-position: center center;
    z-index: -1;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
}

body {
    padding: 1em;
    background-color: var(--base-color);
    padding-top: 3.5em;
}


/* Initial hidden state 
.page-content {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 2s ease, transform 1.5s ease;
}

/* Visible state after load
.page-content.loaded {
  opacity: 1;
  transform: scale(1);
}*/


/* construction pop-up */
/* Dark background overlay 
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.727);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}


.popup {
  background-image: linear-gradient(to right, var(--color-1), var(--color-1-gr));
  padding: 2em;
  border-radius: 1em;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: fadeIn 0.4s ease;
  margin: 1em;
}

.popup button {
  margin-top: 1em;
  padding: 0.5em 1.5em;
  border: none;
  border-radius: 0.5em;
  background: #333;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

.popup button:hover {
  background: #555;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
 construction pop-up finished */

h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}


nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    background-image: linear-gradient(to right, /*hsla(0, 60%, 47%, 0.7),*/ var(--base-color-tp-2), rgba(0, 0, 0, 0.523), var(--base-color-tp));
    background-color: rgba(34, 34, 34, 0.646);
    color: white;
    margin-top: 0;
    display: flex;
    align-items: center;
    padding: 0.2em 1em;
    gap: 1rem;
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 5px;
    margin: 0;
    padding: 0;
    flex: 1;
}

nav li:first-child {
    margin-right: auto;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: clamp(1rem, 5vw + 0.5rem, 2.5rem);
}

nav li:not(:first-child) {
    font-size: clamp(10px, 1.5vw + .25rem, 18px);
    min-width: calc(30px + 4vw);
    text-align: center;
    /*border-left: #3c3c3c 1px solid;*/
}

nav a {
    text-decoration: none;
    padding: 0.3em;
    color: var(--text-color-nav);
    display: flex;         /* make link fill container */
    align-items: center;   /* vertically center text */
    justify-content: center;
    height: 100%;          /* fill li height */
    width: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

.main-nav {
    text-decoration: none;
    padding: 0.3em;
    color: var(--text-color-nav);
    display: flex;         /* make link fill container */
    align-items: center;   /* vertically center text */
    justify-content: center;
    height: 100%;          /* fill li height */
    width: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
}

/* Die Linie vorbereiten */
nav li:first-child a::after {
    content: '';
    position: absolute;
    bottom: 10px; /* Abstand unter dem Text */
    width: 0;
    height: 3px;
    background-color: var(--text-color-nav);
    transition: width 0.3s ease;
}

nav li:first-child a:hover::after {
    width: 90%;
}

/* Die Linie vorbereiten */
nav li:not(:first-child) .main-nav::after {
    content: '';
    position: absolute;
    bottom: 0; /* Abstand unter dem Text */
    width: 0;
    height: 2px;
    background-color: var(--text-color-nav);
    transition: width 0.3s ease;
}

nav li:not(:first-child) .active-nav::after {
    content: '';
    position: absolute;
    bottom: 0; /* Abstand unter dem Text */
    width: 90%;
    height: 2px;
    background-color: var(--text-color-nav);

}

nav li:not(:first-child) .main-nav:hover::after {
    width: 90%;
}

nav li:not(:first-child) .main-nav:hover {
    /*box-shadow: 2px 4px 8px 0px var(--color-shadow);*/
    transform: translateY(-3px);
    background-color: var(--color-nav);   
}

.dropbtn {
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    padding: 0.3em;
    margin-right: 0;
    color: var(--text-color-nav);
    background-color: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    text-align: center;
    font-size: clamp(10px, 1.5vw + .25rem, 18px);
}

/* Die Linie vorbereiten */
.dropbtn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* Abstand unter dem Text */
    width: 0;
    height: 2px;
    background-color: var(--text-color-nav);
    transition: width 0.3s ease;
}

.dropbtn:hover::after {
    width: 90%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  text-align: center;
  font-size: clamp(10px, 1.5vw + .25rem, 16px);
  min-width: clamp(90px, 3vw + 80px, 120px);
  border-radius: none;
  box-shadow: 0px 8px 16px 0px var(--color-shadow); 
  z-index: 1;
  padding-top: 20px;
  /* background-color: var(--color-1-nt); */
}

.dropdown-content a {
    color: var(--text-color-nav);
    padding: 15px 10px;
    text-decoration: none;
    display: block;
    border-radius: none; 
    /*box-shadow: 3px 6px 8px var(--color-shadow);*/
    margin: 0;
    z-index: 2;
    background-color: var(--base-color);
}

.dropdown-content a:hover {
    background-color: #574444;
    box-shadow: 4px 8px 8px 0px var(--color-shadow);
    transform: translateY(-1px);
    z-index: 3;
}

/* Mobile hamburger + more-panel styles */
.more-toggle { display: none; }
.hamburger{
    background: transparent;
    border: none;
    padding: 0.2em;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
}
.hamburger .bar{ display:block; width:20px; height:2px; background:var(--text-color-nav); border-radius:1px; }
.more-panel{ display:none; position:absolute; top:100%; right:1rem; background: linear-gradient(to bottom, rgba(20,20,20,0.95), rgba(34,34,34,0.95)); padding:0.5em; border-radius:0.5em; box-shadow:0 8px 20px rgba(0,0,0,0.4); flex-direction:column; min-width:180px; z-index:1200; }
.more-panel.open{ display:flex; }
.more-panel .panel-link{ color:var(--text-color-nav); padding:0.6em 0.8em; text-decoration:none; display:block; }
.more-panel .panel-link:hover{ background:rgba(255,255,255,0.03); }
.panel-dropdown .dropdown-content{ position: static; box-shadow:none; background:transparent; padding:0; margin-top:0; }

.dropdown.open .dropdown-content{ display:block; }

@media (max-width: 820px){
    /* show only first three items + the hamburger */
    nav ul li.mobile-hide{ display: none; }
    .more-toggle{ display: flex; align-items: center; }
    nav ul { align-items: center; justify-content: flex-end; gap: 0.4rem; }
    nav li:first-child { margin-right: auto; }
    nav li:not(:first-child) { 
        min-width: 0;  
        font-size: clamp(15px, 2vw + .25rem, 22px);
        margin-left: .5em;
    }

    .hamburger{ padding: 0.4em; padding-left: 1.2em; }

    .dropbtn {
        font-size: clamp(15px, 2vw + .25rem, 22px);
        padding: 0.5em;
    }

    .dropdown-content {
        font-size: clamp(15px, 2vw + .25rem, 22px);
    }
}

@media (max-width: 550px){
    /* extra small adjustments */
    nav ul { gap: 0.3rem; }
    .hamburger .bar{ width:18px; height:2px; }
}


.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn { 
    /*box-shadow: 2px 4px 8px 0px var(--color-shadow);*/
    transform: translateY(-3px);
}

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

header, section {
    margin: 2em auto;
    width: min(75em, 100%);
    /*background-color: var(--color-1); */
    padding: min(1em, 15%);
    border-radius: 1em;
    box-shadow: 0px 8px 16px 0px var(--color-shadow);
}

header#intro {
    margin-top: 2vw;
    background-image: linear-gradient(to left, var(--color-1), var(--color-1-gr));
}

h1 {
    text-align: center;
    font-size: clamp(3rem, 6vw + .4rem, 4rem)
}

.flex-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

#header-fc {
    margin-top: 1em;
}

header img#picture1 {
    margin: 0;
    max-width: 100%;
    height: clamp(230px, 50vw, 360px);
    border-radius: 1em;
    object-fit: cover;
    object-position: top;
    align-items: center;
}

.text-container {
    flex: 0 1 34em;
    margin: 0em 1em 1em 1em;
    
}

.text-container p {
    margin: 0.75em 0 1em 0;
    font-size: 1.25rem;
    text-align: center;
    /*text-align: justify;
    hyphens: auto; */    
}

.flex-containermini {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    margin: clamp(0.2em, 2vw, 2em);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    background-color: none;
    border-style: double;
    border-color: var(--text-color);
    padding: 0em;
    border-radius: .5em;
    box-shadow: 0 4px 10px var(--color-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    width: auto;
}

.cta-button:hover {
    scale: 1.07;
    /* transition: scale 0.2s ease-in-out; */
    box-shadow: 0 6px 18px var(--color-shadow);
    transform: translateY(-3px);
}

.logo1 {
    align-items: center;
    margin: clamp(.25em, 1vw, 2em);
    width: clamp(20px, 18vw, 110px);
    border-radius: 0.5em;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw + .5rem, 3.5rem)
}

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

section {
    padding: 1em min(0.5em, 15%);
    /*background-color: var(--color-2); */
    text-align: center;
    color: var(--text-color2);

    img {
    max-width: 100%;
    border-radius: 1em;
    object-fit: cover;
    object-position: top;
    margin: 0 0 0 auto;
    }

    h2 {margin: 0 0 0.5em 0;}
}

section#Songwriting {
    background-image: linear-gradient(to left, var(--color-2), var(--color-2-gr));
}

.text-container2 {
    /*flex: 0 1 65em;*/
    margin: 2em 3vw 0 3vw;
}

.text-container2 p {
    margin: 0.75em 3vw 0 3vw;
    font-size: 1.25rem;
    text-align: center;
    hyphens: auto;
}

.flex-soundcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
    align-items: center;
}

.child1-soundcloud,
.child2-soundcloud {
  flex: 1 1 45%;
  box-sizing: border-box;
  margin: 1em;
}

.child1-soundcloud iframe {   
        border: none;
        border-radius: 1em;
        width: 100%;
        height: 160px;
        display: block;
        margin: 2vw 0 2vw 0;
    }

.child2-soundcloud {
    height: clamp(250px, 60vw, 600px);
}

.child2-soundcloud img {
  height: 100%;
  width: 100%;
  border-radius: 1em;
  object-fit: cover;
  object-position: 70% 50%;
}


.grid-container1 {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 1vw;
    margin-right: 1vw;
    display: grid;
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-2 img-1";
    column-gap: 3vw; 
    row-gap: 1vw;
}

.grid-container1 img {
    height: clamp(250px, 50vw, 600px);
    width: 100%;
    border-radius: 1em;
    margin: auto; 
    object-position: 50% 10%;
}

.cta-button2 {
    margin: auto;
    width: 100%;
    height: 100%;
    padding: 1vw;
    padding-top: clamp(.2em, 3vw, 2em);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color2);
    background-color: var(--color-backgroundtp);
    border-style: double;
    border-color: var(--text-color2);
    border-radius: 1em;
    box-shadow: 0 4px 10px var(--color-shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;

    img {
        width: auto;
        height: auto;
        scale: 90%;
        place-content: center;
    }
}

.cta-button2 h3 {
    font-size: clamp(0.1rem, 1vw + .4rem, 2rem);
    font-weight: 100;
    
}

.cta-button2 h4 {
    font-size: clamp(0.1rem, 1.3vw + .4rem, 2rem);
    text-decoration: underline; 
}

.cta-button2 h5 {
    font-size: clamp(0.1rem, 1.5vw + .5rem, 2rem);
}

.cta-button2:hover {
    scale: 1.05; 
    /* transition: scale 0.2s ease-in-out; */
    box-shadow: 0 6px 18px var(--color-shadow);
    transform: translateY(-3px);
} 

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

section#classical-music {
    background-image: linear-gradient(to right, var(--color-3), var(--color-3-gr));
}

.text-container3 {
    /*flex: 0 1 65em;*/
    margin: 2em 3vw 1em 3vw;
}
.text-container3 p {
    margin: 0.75em 3vw 1em 3vw;
    font-size: 1.25rem;
    text-align: center;
    hyphens: auto;
}

iframe#YouTube {
    border-radius: 1em;
    margin: auto 1.5em;
    width: 560px;
    aspect-ratio: 560 / 315;
}

.grid-container2 {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 1vw;
    margin-right: 1vw;
    display: grid;
    width: 85%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-2 img-1";
    column-gap: 4vw; 
    row-gap: 1vw;
}

.grid-container2 img {
    height: clamp(250px, 50vw, 550px);
    width: 100%;
    border-radius: 1em;
    margin: auto; 
    object-position: 30% 50%;
}


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

section#fotos {
    /* background-color: var(--color-4); */
    background-image: linear-gradient(to bottom, var(--color-4), var(--color-4-gr));
}

footer {
    padding-bottom: 1em;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

footer a {
    margin: 0 1em;
    text-decoration: none;
    color: var(--text-color4);
}

footer a:hover {
    text-decoration: underline;
}




@media (max-width: 550px) {

    body {
        padding: 0.5em;
        background-color: var(--base-color);
        padding-top: 3.5em;
    }

    header#intro {
        margin-top: 2vw;
        background-image: linear-gradient(to left, var(--color-1-p), var(--color-1-p-gr));
    }

    section {
        margin: 2em auto;
        width: min(75em, 100%);
        /*background-color: var(--color-1); */
        padding: min(0em, 10%);
        border-radius: 1em;
        box-shadow: 0px 8px 16px 0px var(--color-shadow);
    }

    iframe#YouTube {
        border-radius: 1em;
        margin: auto 1em;
        aspect-ratio: 560 / 315;
    }

    .grid-container1 {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0.7vw;
    margin-right: 0.7vw;
    display: grid;
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-2 img-1";
    column-gap: 3vw; 
    row-gap: 1vw;
}

.grid-container2 {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0.7vw;
    margin-right: 0.7vw;
    display: grid;
    width: 90%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: 
    "img-2 img-1";
    column-gap: 4vw; 
    row-gap: 1vw;
}
}