/* Megafield Bold */

@font-face {
  font-family: "Megafield";
  font-style: normal;
  font-weight: 400; 
  src: url("fonts/Megafield/Megafield-Regular.woff2") format("woff2"),
       url("fonts/Megafield/Megafield-Regular.woff") format("woff");
}

@font-face {
  font-family: "Megafield";
  font-style: normal;
  font-weight: 500; 
  src: url("fonts/Megafield/Megafield-Medium.woff2") format("woff2"),
       url("fonts/Megafield/Megafield-Medium.woff") format("woff");
}



@font-face {
  font-family: "Megafield";
  font-style: normal;
  font-weight: bold; 
  src: url("fonts/Megafield/Megafield-Bold.woff2") format("woff2"),
       url("fonts/Megafield/Megafield-Bold.woff") format("woff");
}

/* Megafield Bold Italic */
@font-face {
  font-family: "Megafield";
  font-style: italic;
  font-weight: bold;
  src: url("fonts/Megafield/Megafield-BoldItalic.woff2") format("woff2"),
       url("fonts/Megafield/Megafield-BoldItalic.woff") format("woff");
}

/* Megafield ExtraBold */
@font-face {
  font-family: "Megafield";
  font-style: normal;
  font-weight: 800; /* Oder das passende font-weight für ExtraBold */
  src: url("fonts/Megafield/Megafield-ExtraBold.woff2") format("woff2"),
       url("fonts/Megafield/Megafield-ExtraBold.woff") format("woff");
}

/* Megafield ExtraBold Italic */
@font-face {
  font-family: "Megafield";
  font-style: italic;
  font-weight: 800; /* Oder das passende font-weight für ExtraBold */
  src: url("fonts/Megafield/Megafield-ExtraBoldItalic.woff2") format("woff2"),
       url("fonts/Megafield/Megafield-ExtraBoldItalic.woff") format("woff");
}

/* Lato Regular */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Lato/Lato-Regular.woff2') format('woff2'),
       url('fonts/Lato/Lato-Regular.woff') format('woff');
}

/* Lato Italic */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/Lato/Lato-Italic.woff2') format('woff2'),
       url('fonts/Lato/Lato-Italic.woff') format('woff');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/Lato/Lato-Light.woff2') format('woff2'),
       url('fonts/Lato/Lato-Light.woff') format('woff');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/Lato/Lato-Bold.woff2') format('woff2'),
       url('fonts/Lato/Lato-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/Lato/Lato-Black.woff2') format('woff2'),
       url('fonts/Lato/Lato-Black.woff') format('woff');
}

:root {
  --zoom-factor: 1;
}

@media (min-width:1800px) {
  :root {
    --zoom-factor: 1.2;
  }
  body .home-header-box {
    height: 83.3vh;
  }
  body .home-header-content {
    height: calc(83.3vh - 140px)
  }
}

@media (min-width:2000px) {
  :root {
    --zoom-factor: 1.4;
  }
  body .home-header-box {
    height: 71.4vh;
  }
  body .home-header-content {
    height: calc(71.4vh - 140px)
  }
}

@media (max-width:1250px) {
  :root {
    --zoom-factor: 0.9;
  }
}

@media (max-width:1150px) {
  :root {
    --zoom-factor: 0.8;
  }
}

@media (max-width:1050px) {
  :root {
    --zoom-factor: 0.7;
  }
}

@media (max-width:900px) {
  :root {
    --zoom-factor: 0.85;
  }
}

@media (max-width:500px) {
  :root {
    --zoom-factor: 0.7;
  }
}

@media (max-width:400px) {
  :root {
    --zoom-factor: 0.7;
  }
  .wave-background-container, .wave-background {
    display: none;
  }
}

p {
  font-weight: 300;
}
/* Wiederholen Sie die obigen Codeblöcke für alle vorhandenen Schriftstärken und -stile */

/* Beispiel für Lato Bold */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/Lato/Lato-Bold.woff2') format('woff2'),
       url('fonts/Lato/Lato-Bold.woff') format('woff');
}

/* Beispiel für Lato Bold Italic */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/Lato/Lato-BoldItalic.woff2') format('woff2'),
       url('fonts/Lato/Lato-BoldItalic.woff') format('woff');
}

::selection {
  background-color: #1bae70;
  color: white;
}

.mobile-menu {
  display: none;
}

html {
  font-family: 'Lato';
  padding: 0px;
  margin: 0px;
  background: url(images/background_noise.webp);
  background-size: cover;
  background-attachment: fixed;
}

body {
  background-color: #101D16;
  background-color: #4e8f729e;
  color: white;
  padding: 0px;
  margin: 0px;
  font-size: 20px;
  zoom: var(--zoom-factor);
}

nav ul {
  list-style-type: none;
  display: flex;
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: block;
  display: flex;
  width: fit-content;
  gap: 30px;
}

li {
  margin-top: 5px;
  margin-bottom: 5px;
}

nav ul a, nav ul a:link, nav ul a:visited {
  color: #4e888f;
  font-weight: bold;
}

a, a:link, a:visited {
  color: white;
  text-decoration: none;
}

header {
  display: grid;
  grid-template-columns: 120px 1fr 160px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  font-size: 22px;
}

header a {
  transition-property: transform;
  transition-duration: 0.3s;
  display: block;
  transform: scale(1.0);
}

header a:hover {
  transform: scale(1.2);
}

body header a.button,
body.page-white header a.button  {
  background: #4e888f;
  color: white;
  width: 100%;
  display: block;
  text-align: center;
  box-sizing: border-box;
  font-weight: 500;
}

.page-white a, .page-white a:link, .page-white a:visited {
  color: #4e888f;
}

.page-white .footer-social {
  filter: invert(1);
}

header div:last-child {
  text-align: right;
}

main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 76px;
  padding-bottom: 50px;
}

.header-container {
  background-color: white;
  background-color: rgba(255,255,255,0.8);
}

header a.logo img {
  width: 120px;
  padding-top: 20px;
  padding-bottom: 20px;
}
body #wpmem_reg input[type=submit],
a.button, button.button,
body .forminator-ui#forminator-module-98.forminator-design--default .forminator-button-submit,
.forminator-ui#forminator-module-63.forminator-design--default .forminator-button-submit {
  background-color: white;
  padding: 8px;
  padding-left: 30px;
  padding-right: 30px;
  color: #4e888f;
  border-radius: 30px;
  font-size: inherit;
  font-weight: lighter;
  text-transform: uppercase;
  font-size: 21px;
  border: none;
  font-weight: 500;
  text-shadow: none;
}

.page-white #wpmem_reg input[type=submit],
.page-white a.button, .page-white  button.button,
body .newsletter-box .forminator-ui#forminator-module-98.forminator-design--default .forminator-button-submit,
.page-white .forminator-ui#forminator-module-63.forminator-design--default .forminator-button-submit {
  color: white;
  background: #4e888f;
  font-size: inherit;
  font-weight: bold;
}

h1 {
  
  font-family: 'Megafield';
  font-weight: 500;
  font-size: 50px;
  color: #ffffff;
  margin-bottom: 15px;
}

h1:first-child, h2:first-child  {
  margin-top: 0px;
}

h1:first-child {
  margin-top: -16px;
  margin-bottom: 50px;
}

.headline + h1 {
  margin-top: 10px;
}

h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

body .forminator-ui#forminator-module-98.forminator-design--default .forminator-input,
input[type=text] {
  padding: 4px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
  border: none;
  font-size: inherit;
  font-family: inherit;
}

label {
  display: block;
  margin-bottom: 5px;
}
/** 

**/

.event-previews, .article-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 100px;
}

.event-preview {
  border-radius: 30px;
}

.event-preview, .article-preview {
  width: 100%;
  position: relative;
  display: flex;
}
.event-image-container {
  overflow: hidden;
  border-radius: 30px;
  display: flex;
}

.detail-preview .event-image-container {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}
.event-preview .event-image {
  transition-property: transform;
  transition-duration: 0.8s;
  transform: scale(1);
}
.event-preview:hover .event-image {
  transform: scale(1.1);
  
}


.event-preview img.ribbon {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 158px;
  z-index: 3;
}
.header-container, .home-header-box {
  box-shadow: 0px 0px 40px #264751d7, 0px 0px 3px #213f469a;
}

.home-header-box {
  box-shadow: 0px 0px 40px #3e5666, 0px 0px 3px #41596a;
}

.page-template-home-php .header-container {
  box-shadow: none;
}
h1, h2 {
  text-shadow: 0px 0px 40px #264751c8, 0px 0px 3px #264751c8;
}
.event-preview img {
  width: 100%;
}
.article-preview img {
  width: 100%;
  border-radius: 30px;
}

.article-preview img {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}
.event-preview-block, .article-preview-block {
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 50px #264751cf, 0px 0px 3px #213f46c2;
  box-shadow: 0px 0px 50px #264751b8, 0px 0px 3px #213f468c;
  border-radius: 30px;
}

.article-previews .article-preview-block .preview-text {
  border-radius: 30px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.article-previews p.teaser {
  font-size: 30px;
  margin-top: 0px;
  margin-bottom: 8px;
}
.article-preview img {
  filter: brightness(0.9);
  
}
.event-preview-content, .article-preview-content {
  position: absolute;
  left: 50px;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.3), 0px 0px 3px rgba(0,0,0,0.3);
}

.event-preview-content h3, .article-preview-content h3 {
  font-size: 42px;
  margin-top: 10px;
  margin-bottom: 0px;
  
}
.event-preview-content .headerline, .article-preview-content .headerline {
  font-size: 21px;
  font-family: 'Megafield';
  font-weight: bold;
}

.article-detail h1 {
  font-size: 36px;
}

.event-detail-header, .article-detail-header {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}

.article-preview-block {
  display: grid;
  grid-template-columns: 500px 1fr;
}

.article-preview-content h3 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 35px;
}

.article-previews {
  grid-template-columns: 1fr;
}

.page-template-home .event-preview {
  box-shadow: 0px 0px 50px #264751cf, 0px 0px 3px #213f46c2;
}

.event-preview-block {
  box-shadow: 0px 0px 50px #264751cf, 0px 0px 3px #213f46c2;
}

.page-template-home .event-preview > img.ribbon {
  box-shadow: none;
}

.event-detail-header > img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0px 0px 50px #264751cf, 0px 0px 3px #213f46c2
}

.detail-preview .event-preview > img {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.detail-preview .preview-text {
  background-color: #ffffffd6;
  padding: 50px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  color: black;
  flex-grow: 1;
  text-shadow: none;
}

.preview-text p {
  margin: 0px;
  font-weight: 500;
}

.event-detail-header h1 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.full-width-element {
  width: 100vw; /* Nimmt die gesamte Breite des Viewports ein */
  position: relative; /* Erlaubt das Ausrichten relativ zum Viewport */
  left: 50%; /* Setzt den linken Rand auf die Mitte des Viewports */
  right: 50%; /* Setzt den rechten Rand auf die Mitte des Viewports */
  margin-left: -50vw; /* Verschiebt das Element um die Hälfte der Viewport-Breite nach links */
  margin-right: -50vw; /* Verschiebt das Element um die Hälfte der Viewport-Breite nach rechts */
  padding-left: calc( (100vw - 1200px) / 2);
  padding-right: calc( (100vw - 1200px) / 2);
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 50px;
}

.full-width-element {
  width: calc(100vw / var(--zoom-factor));
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: calc(-50vw / var(--zoom-factor));
  margin-right: calc(-50vw / var(--zoom-factor));
  padding-left: calc((100vw / var(--zoom-factor) - 1200px) / 2);
  padding-right: calc((100vw / var(--zoom-factor) - 1200px) / 2);
  box-sizing: border-box;
  padding-top: 50px;
  padding-bottom: 50px;
}

.full-width-element h1:first-child {
  margin-top: 0px;
}

.live-event-teaser {
  background-size: cover;
  position: relative;
  background-position: center center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  
}

.live-event-teaser h1 {
  color: white;
}

.live-events-bg-overlay {
  background: #4c686fb3;
  opacity: 0.5;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
}

.live-events-content {
  position: relative;
  z-index: 2;
}

.live-event-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; 
  border: 1px solid white;
  border-radius: 30px;
}

.live-event-boxes > div {
  padding: 30px;
  border-left: 1px solid white;
  text-align: center;
}


.live-event-boxes > div:nth-child(1), .live-event-boxes > div:nth-child(2), .live-event-boxes > div:nth-child(3) {
  border-bottom: 1px solid white;
}

.live-event-boxes > div:nth-child(1), .live-event-boxes > div:nth-child(4) {
  border-left: none;
}

.newsletter-teaser {
  margin-top: 100px;
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.newsletter-teaser > img {
  width: 100%;
  border-radius: 30px;
  border-bottom-right-radius: 0px;
}

.newsletter-box {
  padding: 80px;
  margin-top: 80px;
  background-color: #c2ffff42;
  border-radius: 30px;
  border-top-left-radius: 0px;
}

#main-content {
  text-shadow: 0px 0px 15px #4d717e, 0px 0px 3px #265666
}

.page-template-page_white #main-content {
  text-shadow: none;
}

.newsletter-box h2 {
  margin-top: 0px;
  font-size: 60px;
  
}
.newsletter-box h2, .newsletter-box p, .newsletter-box label, .testimonials-box {
  text-shadow: 0px 0px 40px #588893, 0px 0px 3px #46737c;
}
.testimonial-picture {
  box-shadow: 0px 0px 40px #588893, 0px 0px 3px #46737c;
}

.testimonials-box, .newsletter-box, .newsletter-teaser > img  {
  box-shadow: 0px 0px 40px #4a77828c, 0px 0px 3px #4e7985b8;
}

.newsletter-box .form-field {
  margin-top: 30px;
}
.newsletter-box button.button {
  background: #4e888f;
  color: white;

}
.testimonials {
  text-align: center;
}

.testimonials-box {
  background: #c2ffff42;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 80px;
  gap: 80px;
  text-align: center;
}

.testimonials-box b {
  font-size: 28px;
  margin-bottom: 6px;
  display: block;
}

.testimonial-picture {
  width: 80px;
  height: 80px;
  border-radius: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.home-header-box {
  background:url(images/background-transparent.webp);
  height: 100vh;
  min-height: 660px;
  background-size: cover;
}

.home-header-box .header-container {
  background: transparent;
}

.home-header-box nav ul a, .home-header-box nav ul a:link, .home-header-box nav ul a:visited {
  color: white;
}
.home-header-box  header a.button {
  backdrop-filter: blur(4px);
  background: #ffffff4a;
  box-shadow: 0px 0px 30px #38555c, 0px 0px 3px #355157;
}

.home-header-content .headline {
  font-weight: bold;
  font-size: 30px;
}

.home-header-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: calc(100vh - 140px);
  min-height: 500px;
  margin-top: -30px;
  align-items: center;
}

.home-header-content h1 {
  font-family: inherit;
  font-size: 80px;
  font-weight: 900;
  color: white;
}

.home-header-content p {
  font-weight: 500;
  margin-bottom: 0px;
}


.home-header-content .left, .page-template-home .menu-main-menu {
  text-shadow: 0px 0px 30px #2d4950d6, 0px 0px 3px #2d49509e;
}
.home-header-content .right {
  text-align: right;
}

.home-header-content .right img {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  transition-property: transform;
  transition-duration: 0.3s;
  box-shadow: 0px 0px 30px #2d4950, 0px 0px 3px #2d4950cf;
}

.home-header-content .right img:first-child {
  transform: rotate(-8deg) scale(0.9) translate(-100px, -45px);
}

.home-header-content .right img:nth-child(2) {
  transform: rotate(6deg) scale(1.1) translate(-15px, -5px);
}

.home-header-content .right img:nth-child(3) {
  transform: rotate(6deg) scale(1.18) translate(-90px, 20px);
}

.home-header-content .right img:nth-child(4) {
  transform: rotate(-5deg) scale(1.05) translate(-30px, 50px);
}

.home-header-content .right img:hover {
  transform: rotate(-2deg) scale(1.2);
}

.home-header-content .right img:first-child:hover {
  transform: rotate(-3deg) scale(1.1) translate(-100px, -45px);
}

.home-header-content .right img:nth-child(2):hover {
  transform: rotate(2deg) scale(1.2) translate(-15px, -5px);
}

.home-header-content .right img:nth-child(3):hover {
  transform: rotate(1deg) scale(1.28) translate(-90px, 20px);
}

.home-header-content .right img:nth-child(4):hover {
  transform: rotate(-2deg) scale(1.15) translate(-30px, 50px);
}


.title-with-button {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
}

.title-with-button h1 {
  margin-bottom: 0px;
  flex-grow: 1;
}

p.teaser, .teaser p {
  font-size: 40px;
}



:where(.wp-block-columns.is-layout-flex) {
  gap: 80px;
}

body .forminator-ui#forminator-module-63.forminator-design--default .forminator-label {
  font-size: inherit;
}

body .forminator-ui#forminator-module-63.forminator-design--default .forminator-input {
  font-size: inherit;
}

body .forminator-ui#forminator-module-63.forminator-design--default .forminator-textarea {
  font-size: inherit;
}

.copyright {
  text-align: center;
  margin-bottom: 50px;
}

.footer-social {
  display: grid;
  grid-template-columns: 50px 50px 50px;
  gap: 25px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  padding-bottom: 100px;
}

.footer-social > img {
  height: 100%;
  max-width: 50px;
}
.stars {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.stars > img {
  width: 25px;
}

body.page-white {
  background-color: white;
  color: #333;
}

body.page-white .header-container {
  background-color: whitesmoke;
  box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}
.page-white h1, .page-white h2 {
  color: black;
  text-shadow: none;
}

body.page-white .forminator-ui#forminator-module-63.forminator-design--default .forminator-label {
  color: #333;
}


@media (min-width:1800px) {

}

@media (max-width:1250px) {

}

.green-header {
  background: url(images/nll2.webp);
  margin-top: -80px;
  background-size: cover;
  color: white;
  position: relative;
  z-index: 0;
  text-shadow: 0px 0px 20px #316a70, 0px 0px 3px #31686f;
}

h1 + p.teaser {
  margin-top: 15px;
}

.green-header h1 {
  color: white;
}
.wave-background-container {
  position: relative;
  z-index: 1;
  padding: 0px;
}
.wave-background {
  
  
  
  width: 100%;
  position: absolute;
  z-index: 2;
  left: 0px;
  right: 0px;
  top: -200px;
}
.margin-for-image {
  padding-bottom: 20%;
}

.margin-for-top-image {
  padding-top: 20%;
}

body .forminator-ui#forminator-module-98.forminator-design--default .forminator-label {
  font-size: inherit;
  color: inherit;
}

body .forminator-ui#forminator-module-98.forminator-design--default .forminator-error-message {
  font-size: 80%;
}

.title-with-button a.button {
  position: relative;
  top: -16px;
}

body.mobile-menu-open .header-container {
  position: fixed;
  background: url(images/home_background.webp) no-repeat;
  background: url(images/home-bg-3.webp) no-repeat;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 100%;
  z-index: 10;
  background-size: cover;
}

body.mobile-menu-open main, 
body.mobile-menu-open footer,
body.mobile-menu-open .home-header-content {
  display: none;
}
body.mobile-menu-open .home-header-box {
  /*background: rgb(8 80 91);*/
}

body.mobile-menu-open .home-header-box {
  background: rgb(8 80 91);
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 100%;
}

body.mobile-menu-open .menu-main {
  display: block;
  grid-row: 2;
  grid-column: 1 / span 3;
  color: white;
}

body.mobile-menu-open nav ul a, body.mobile-menu-open nav ul a:link, body.mobile-menu-open nav ul a:visited {
  color: white;
}

body.mobile-menu-open .mobile-menu-button {
  background-image: url(images/mobile_menu_close.svg);
}

body.mobile-menu-open header a.button {
 /* background-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(3px);*/
  /*color: #4e888f;*/
}

body.mobile-menu-open header {
  grid-template-columns: 120px 1fr 80px;
}

body.mobile-menu-open nav ul {
  flex-direction: column;
  font-size: 45px;
}

header a.logo img {
  filter: brightness(1.0);
  transition-property: filter;
  transition-duration: 1s;
}

.page-template-home-php header a.logo img {
  filter: brightness(1.5);
}

body.mobile-menu-open header a.logo img  {
  filter: brightness(1.5);
}

@media (max-width:900px) {
  .mobile-menu {
    display: block;
  }
  .home-header-box .mobile-menu-button{
    background-image: url(images/menu_white.svg);
  }
  .mobile-menu-button {
    background: url(images/menu.svg);
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }
  header {
    grid-template-columns: 120px 1fr 80px;
  }
  .menu-main {
    display: none;
  }
  body header a.button, body.page-white header a.button,
  .header-container header a.button {
    width: fit-content;
    margin-left: auto;
  }
  header div:last-child {
    display: flex;
    justify-content: right;
  }
  .header-container {
    padding-left: 7%;
    padding-right: 7%;
  }

  .home-header-content {
    margin-top: 80px;
    padding-left: 80px;
    padding-right: 80px;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  main {
    max-width: 86%;
  }

  .home-header-box {
    height: auto;
  }

  h1 {
    font-size: 42px;
  }

  a.button {
    white-space: nowrap;
  }

  .live-event-boxes {
    grid-template-columns: 1fr 1fr;
  }

  .event-preview-content h3, .article-preview-content h3 {
    font-size: 32px;
  }

  .event-preview-content .headerline, .article-preview-content .headerline {
    font-size: 18px;
  }

  .live-event-boxes {
    max-width: 86%;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
  }

  .live-event-boxes > div:nth-child(1), .live-event-boxes > div:nth-child(2), .live-event-boxes > div:nth-child(3), 
  .live-event-boxes > div:nth-child(4), .live-event-boxes > div:nth-child(5), .live-event-boxes > div:nth-child(6) {
    border: none;
    border-bottom: 1px solid white;
  }
  .live-event-boxes > div:nth-child(6) {
    border-bottom: none;
  }

  .home-header-content {
    height: auto;
  }
  .home-header-content .right {
    text-align: center;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    justify-items: center;
    align-content: center;
  }

  .home-header-content .right img:first-child {
    transform: rotate(-8deg) scale(0.9) translate(-40px, -45px);
  }
  
  .home-header-content .right img:nth-child(2) {
    transform: rotate(6deg) scale(1.1) translate(-15px, -5px);
  }
  
  .home-header-content .right img:nth-child(3) {
    transform: rotate(6deg) scale(1.18) translate(-30px, 20px);
  }
  
  .home-header-content .right img:nth-child(4) {
    transform: rotate(-5deg) scale(1.05) translate(10px, 25px);
  }

  .article-preview-block {
    grid-template-columns: 1fr;
  }

  .article-preview img {
    border-radius: 30px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .article-previews .article-preview-block .preview-text {
    border-radius: 30px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;   
  }

  .full-width-element {
    padding-left: 7%;
    padding-right: 7%;
  }
  .wave-background {
    top:-175px;
  }
}

.footer-links {
  padding-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

body #wpmem_login input[type=password], 
body #wpmem_login input[type=text], 
body #wpmem_reg input[type=date], 
body #wpmem_reg input[type=email], 
body #wpmem_reg input[type=number], 
body #wpmem_reg input[type=password], 
body #wpmem_reg input[type=text], 
body #wpmem_reg input[type=url], 
body #wpmem_reg textarea {
  border-color: #777771;
  background-color: #EDEDED;
  color: #000000;
  font-size: inherit;
  font-family: inherit;
}




@media (max-width:850px) {
  .wave-background {
    top: -153px;
  }

}

@media (max-width:750px) {
  .event-detail-header {
    grid-template-columns: 1fr;
  }
  .testimonials-box {
    grid-template-columns: 1fr;
  }

  .newsletter-teaser {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    margin-top: 0px;
    margin-left: 80px;
  }
  .newsletter-teaser > img {
    width: 60%;
  }

  .event-previews, .article-previews {
    grid-template-columns: 1fr;
  }

  .event-preview-content h3, .article-preview-content h3 {
    font-size: 42px;
  }

  .event-preview-content .headerline, .article-preview-content .headerline {
    font-size: 21px;
  }

  .title-with-button {
    flex-direction: column;
    gap: 20px;
  }
  .title-with-button a.button {
    top: 0px;
  }
  .wave-background {
    top:-160px;
  }
}

@media (max-width:600px) {
  .wave-background {
    top:-130px;
  }
  .full-width-element {
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    margin-right: 0px;
    position: relative;
    width: auto;
    left: 0px;
    right: 0px;
    margin-left: -7%;
    margin-right: -7%;
    padding-left: 7%;
    padding-right: 7%;
    max-width: 114%;
  }
  main {
    max-width: 100%;
    padding-left: 7%;
    padding-right: 7%;
    box-sizing: border-box;
  }
}

@media (max-width:500px) {
  .wave-background {
    top:-110px;
  }
  body {
      font-size: 23px;
  }
  .newsletter-box {
    margin-left: 30px;
  }
}

@media (max-width:400px) {
  body {
    font-size: 25px;
}
  .wave-background {
    top:-100px;
  }
}

html {
  background-image: url(images/newbg-6.webp); 
}

body {
  background-color: rgb(8 80 91 / 76%);
}

.testimonials-box, .newsletter-box, .newsletter-teaser > img, .home-header-box, .page-template-home .event-preview {
  box-shadow: 0px 0px 60px #09454c, 0px 0px 3px #0c4047;
}

h1, h2 {
  text-shadow: 0px 0px 40px #074249, 0px 0px 3px #062b31;
}

.live-events-bg-overlay {
  background: #0d4e57a4;
}
.home-header-box {
    background-image: url(images/home-bg-3.webp);
}

.dropdown-form-element, .itemlist-container {
  text-shadow: none;
  color: black;
}

.event-invited-by {
  margin-bottom: 50px;
}

.event-invited-by {
  display: grid;
  align-items: center; /* Zentriert die Inhalte vertikal */
  justify-content: start; /* Ausrichtung der Inhalte am Anfang */
  grid-template-columns: 250px 1fr;
  gap: 50px; /* Abstand zwischen Bild und Text */
}

.event-invited-by-image {

  width: 100%;
  height: auto; /* Höhe automatisch anpassen */
}

.event-invited-by-image img {
  width: 100%; /* Bild nimmt den verfügbaren Platz ein */
  height: auto; /* Höhe automatisch anpassen */
}

.event-invited-by-text h3 {
  margin-top: 0px;
}

.event-infos {
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 50px;
}

@media (max-width: 600px) {
  .event-infos {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .event-infos .field-name {
    font-size: 30px;
    font-weight: bold;
  }
}

.blue-box {
  gap: 0px;
}

.blue-1, .blue-2, .blue-3 {
  padding: 20px;
}

.blue-1 {
  background: #1bae716e;
}

.blue-2 {
  background: #1b98ae6e;
}

.blue-3 {
  background: #1b78ae6e;
}

.forminator-ui#forminator-module-224.forminator-design--default .forminator-label {
  font-size: inherit !important;
  color: white !important;
}

.forminator-ui#forminator-module-224.forminator-design--default .forminator-button-submit {
  font-size: inherit !important;
  border-radius: 30px;
  padding-left: 30px;
  padding-right: 30px;
}

body .newsletter-box .forminator-ui#forminator-module-98.forminator-design--default .forminator-button-submit,
body .tnp-field input[type="submit"]  {
  color: #4e888f;
  background: white;
  transition-property: transform;
  transition-duration: 0.5s;
  border-radius: 50px;
  padding-left: 30px;
  padding-right: 30px;
  margin-top: 15px;
}

body .newsletter-box .forminator-ui#forminator-module-98.forminator-design--default .forminator-button-submit:hover,
body .tnp-field input[type="submit"]:hover {
  background: #efefef;
}

body .newsletter-box .forminator-ui#forminator-module-98.forminator-design--default .forminator-button-submit:active,
body .tnp-field input[type="submit"]:active {
  position: relative;
  transform: scale(0.95);
}

body .tnp-field label {
  font-size: inherit;
}

.tnp-subscription input[type=text], .tnp-subscription input[type=email] {
  border-radius: 12px;
}

#wpmem_reg img {
  max-width: 300px;
  max-height: 300px;
}

.event-template-default .error-message {
  color: #de6f6f;
  font-weight: bold;
  text-shadow: none;
  font-size: 120%;
}