/* Fields Display */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fields Display';
  font-style: normal;
  font-weight: 400;
  src: url('/music-fonts/FieldsDisplay-Bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* source-serif-4-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  src: url('/music-fonts/source-serif-4-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* source-serif-4-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  src: url('/music-fonts/source-serif-4-v14-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans', Verdana, Tahoma, sans-serif;
  font-style: normal;
  font-weight: 400;
  src: url('/music-fonts/noto-sans-v41-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* noto-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Noto Sans', Verdana, Tahoma, sans-serif;
  font-style: normal;
  font-weight: 600;
  src: url('/music-fonts/noto-sans-v41-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    background-color: #fdfcf8;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    background-color: #fdfcf8;
    color: #100F37;
    font-family: 'Noto Sans', 'Inter', sans-serif;
    font-size: 22px;
    padding: 0 50px;
    max-width: 900px;
    margin: 150px auto 0 auto;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 30px;
    margin-bottom: 1rem
}

h4 {
    font-size: 25px;
    margin-bottom: 0.9rem
}

h1,h2,h3,h4,h5,h6 {
    color: #100F37;
    font-style: normal;
    font-family: 'Fields Display', sans-serif;
    font-weight: 400;
}

/* Nav */

.navbar {
    width: calc(100vw);
    display: flex;
    font-style: normal;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    background: #ecd993;
    color: #100F37;
    position: fixed;
    top: 0;
    left: 0;
}
.hamburger {
    font-size: 40px;
    cursor: pointer;
    order: -1;
    padding-left: 50px;
}
.menu-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.menu {
    font-size: 25px;
    display: none;
    flex-direction: column;
    background: #ecd993;
    position: absolute;
    top: 70px;
    width: 100%;
    left: 0;
    padding-bottom: 50px;
    max-height: calc(100vh + 80px);
    overflow-y: scroll;
}
.menu a {
    padding: 15px 0 0 50px;
    color: #100F37;
    text-decoration: none;
    text-align: left;
    display: block;
}
.menu a:hover, .menu a.active {
    color: #8b0000;
    background: none;
}
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: static;
    box-shadow: none;
    padding-left: 30px;
}
.dropdown-menu a {
    padding: 10px 0 0 15px;
    color: #fdfcf8;
    display: block;
}
.dropdown-menu a:hover {
    color: #A3D1FF;
    background: none;
}

@media (min-width: 768px) {

    p {
    margin-left: 30px;
    }

    .navbar {
        justify-content: center;
    }
   
    .menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        padding-bottom: 0;
        max-width: 900px;  /* Constrain the menu width */
        width: 100%;  /* Ensure the menu takes full width of the navbar */
        overflow-y: visible;
        margin-left: 24px;
    }
    .menu a {
        font-size: 20px;
        padding: 20px 30px 20px 0;
        border: none;
    }

    .dropdown-menu a {
        padding: 10px;
    }

    .dropdown-menu {
        background: #100F37;;
        position: absolute;
        width: auto;
        min-width: 300px;
        display: none;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 20px;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }
    .hamburger {
        display: none;
    }
}

/* END Nav */

section {
    margin: 60px auto;
    scroll-margin-top: 110px;
}

.background {
    border-radius: 15px;
    padding: 50px;
    background-color: #ecd993;
    color:#100F37;
}

.background h3 {
    color:#100F37;
    font-size: 25px;
    margin-bottom: 0.9rem
}

img {
    width: 100%;
    min-width: 300px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

a {
    color: #8b0000;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: #100F37;
}

button {
    background-color: #ecd993;
    cursor: pointer;
    color: #8b0000;
    border: 1px solid #ecd993;
    border-radius: 10px;
    font-size: 22px;
    margin: 30px 0;
    padding: 15px 30px;
    width: 100%;
}

button:hover {
    color: #100F37;
}

#background button {
    background-color: #100F37;
    color: #fdfcf8;
}

#background button:hover {
   color: #8b0000;
   background-color: #ecd993;
   border: 1px solid #100F37;

}

span {
    color: #8b0000;
}

.massage-zuerich {
    padding: 30px 0;
}

.underline {
    text-decoration: underline;
}

#spenden {
    display: flex; 
    gap: 50px;
    vertical-align: middle;
    align-items: center;
}

.embed {
    background-color: #fdfcf8 !important;
}

footer {
    width: 100%;  /* Full width of the viewport */
    font-style: normal;
    background-color: #ecd993;  /* Navigation background */
    padding: 10px 0;  /* Vertical padding for nav */
    position: absolute;
    margin-top: 30px;
    left: 0;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;  /* Center the content */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;  /* Horizontal padding */
}

@media only screen and (max-width: 780px) {
    
    #spenden {
        flex-direction: column-reverse; 
    }

    .background {
        padding: 20px;
    }
    
}

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

    body {
        padding: 0 20px;
    }

    h1 {
        font-size: 40px;
    }

    h2,h3,h4 {
        font-size: 30px;
    }

    p {
        font-size: 22px;
    }

    .hamburger {
        padding-left: 20px;
    }
}