html {
  scroll-behavior: smooth;
}

body {
  font-family: "Libre Franklin", sans-serif;
  overflow-x: hidden;
  color: #333;
}

h1 {
  font-size: 2.25rem;
  margin: 0;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.75rem;
  margin: 0;
  margin-bottom: 2rem;
}

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

p, section ul, section ol {
  font-size: 1rem;
  line-height: 160%;
  -webkit-hyphens: auto;
          hyphens: auto;
  margin: 0;
  margin-bottom: 1.5rem;
}

section ul, section ol {
  margin-top: -0.75rem;
}

p.program-description ol {
  margin-top: 0;
}

a {
  line-height: 160%;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
a:hover:not(.btn) {
  text-decoration: underline;
}
a:visited:not(.btn) {
  color: inherit;
}

figure {
  position: relative;
  margin: 0;
}
figure figcaption {
  color: rgba(244, 244, 240, 0.8);
  font-size: 0.75rem;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  filter: drop-shadow(0px 3px 5px #000000);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100vw;
  min-height: calc(100vh - var(--header-height));
  padding: 7rem 0;
  color: white;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}
.hero.hero-start {
  background-image: linear-gradient(rgba(0, 91, 159, 0.9), rgba(0, 91, 159, 0.9)), url("../assets/images/heros/hero_home_nrw-nachhaltigkeitstagung_panorama_stadthalle_muelheim-an-der-ruhr.webp");
}
.hero.hero-program {
  background-image: linear-gradient(rgba(238, 64, 43, 0.9), rgba(238, 64, 43, 0.9)), url("../assets/images/heros/hero_tagesablauf_nrw-nachhaltigkeitstagung_menschen_saal.webp");
}
.hero.hero-speakers {
  background-image: linear-gradient(rgba(161, 28, 67, 0.9), rgba(161, 28, 67, 0.9)), url("../assets/images/heros/hero_referierende_nrw-nachhaltigkeitstagung_menschen_buehne.webp");
}
.hero.hero-art {
  background-image: linear-gradient(rgba(241, 106, 43, 0.9), rgba(241, 106, 43, 0.9)), url("../assets/images/heros/hero_kunst_nrw-nachhaltigkeitstagung_menschen_stand.webp");
}
.hero.hero-exhibition {
  background-image: linear-gradient(rgba(23, 72, 106, 0.9), rgba(23, 72, 106, 0.9)), url("../assets/images/heros/hero_ausstellung_nrw-nachhaltigkeitstagung_menschen.webp");
}
.hero.hero-role-models {
  background-image: linear-gradient(rgba(220, 23, 104, 0.9), rgba(220, 23, 104, 0.9)), url("../assets/images/heros/hero_vorbilder_nrw-nachhaltigkeitstagung_menschen_stand_achtung-fuer-tiere-eV.webp");
}
.hero.hero-place {
  background-image: linear-gradient(rgba(220, 23, 104, 0.9), rgba(220, 23, 104, 0.9)), url("../assets/images/heros/hero_ort-anreise_nrw-nachhaltigkeitstagung_menschen_stand_fortbewegung_nachhaltig.webp");
}
.hero.hero-legal-notice {
  background-image: linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)), url("../assets/images/heros/nachhaltigkeitstagung.nrw-2025_background_general_legal-notice_data.webp");
  min-height: calc(50vh - var(--header-height));
}
.hero .scroll {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  cursor: pointer;
  bottom: -3rem;
  right: 2rem;
}
.hero .scroll:hover {
  text-decoration: none;
}
.hero .scroll .scroll-icon {
  width: 2rem;
}

.copyright-caption {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  padding-left: 1rem;
  font-size: 0.5rem;
  opacity: 0.25;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.btn-wrapper .btn {
  align-self: flex-start;
}

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  border: none;
  background-color: #E2001A;
  font-size: 1rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.1s ease-in-out;
  text-align: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
button:hover, .btn:hover {
  transform: scale(1.05);
  transition: all 0.1s ease-in-out;
}
button.btn-small, .btn.btn-small {
  padding: 0.5rem 1rem;
}
button.btn-ghost, .btn.btn-ghost {
  background-color: transparent;
  border: 1px solid white;
}

.content {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section.content {
  display: flex;
  flex-direction: column;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
section.content:first-of-type {
  padding-top: 7rem;
}
section.content:last-of-type {
  padding-bottom: 7rem;
}
section.content .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
section.content .content-wrapper * {
  align-self: flex-start;
}
section.content .content-wrapper li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
section.content .content-wrapper li:last-of-type {
  /* margin-bottom: 2rem */
}

header {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo a {
  text-decoration: none;
}
.logo a:hover {
  text-decoration: none;
}
.logo img {
  height: 2rem;
  margin-right: 1rem;
}

nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem 2rem;
  display: none;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
nav ul li {
  display: flex;
  justify-content: center;
  align-items: center;
}
nav ul li:hover {
  text-decoration: none;
}
nav ul li:has(.btn) {
  margin-top: 3rem;
}

header.open nav {
  display: block;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
nav a:hover {
  text-decoration: none !important;
}

.has-submenu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.has-submenu .submenu {
  position: static;
  display: none;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  background-color: white;
  z-index: 1000;
}

.has-submenu.open .submenu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0 1rem 0;
  background: #F4F4F0;
  border-radius: 0.5rem;
  text-decoration: none;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #E2001A;
  transition: 0.1s ease, opacity 0.1s ease;
  transform-origin: center;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger span:nth-child(3) {
  bottom: 0;
}

header.open .burger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

header.open .burger span:nth-child(2) {
  opacity: 0;
}

header.open .burger span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

section img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.countdown {
  position: relative;
  background-image: linear-gradient(rgba(64, 127, 68, 0.9), rgba(64, 127, 68, 0.9)), url("../assets/images/nrw-nachhaltigkeitstagung_countdown.webp");
  background-size: cover;
  background-position: top center;
  padding: 7rem 0;
  color: white;
}
.countdown h2 {
  color: white;
}

#program {
  border: 1px solid #F4F4F0;
  border-radius: 0.5rem;
}
#program .program-entry {
  padding: 2rem 1.5rem;
}
#program .program-entry p {
  margin: 0;
}
#program .program-entry:nth-child(2n) {
  background: #F4F4F0;
}
#program .program-entry p.program-time {
  font-weight: 700;
  color: #E2001A;
}

#entries .entry-card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 5rem;
}
#entries .entry-card:last-of-type {
  margin-bottom: 0;
}
#entries .entry-card .entry-image {
  max-width: 10vw;
  min-width: 80px;
}
#entries .entry-card .entry-info {
  display: flex;
  flex-direction: column;
}
#entries .entry-card .entry-info a {
  align-self: flex-start;
}

footer {
  display: flex;
  background: #F4F4F0;
  margin: 0;
  padding: 3rem 0;
}
footer .content {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 2rem;
}
footer .content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}
footer .content ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}
footer .content a {
  text-decoration: none;
  text-align: left;
  color: inherit;
}
footer .content a:hover {
  text-decoration: underline;
}
footer .content p {
  margin: 0;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.entry-dialog {
  border: none;
  border-radius: 0.5rem;
  padding: 0;
  max-width: 800px;
  width: 90%;
  animation: fadeInDialog 0.3s ease-out;
}
.entry-dialog .dialog-content-wrapper {
  padding: 2rem;
  background: #fff;
  position: relative;
}
.entry-dialog .dialog-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 2.5rem;
  font-weight: 400;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #E2001A;
}
.entry-dialog .entry-image {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}
.entry-dialog .entry-role {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.entry-dialog .entry-description {
  margin: 0;
}

@keyframes fadeInDialog {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768.2px) {
  h1 {
    font-size: 6rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  nav {
    position: static;
    display: block;
    padding: 0;
  }
  .content-wrapper figure {
    width: 50%;
  }
  .content-wrapper div {
    width: 50%;
  }
  nav ul {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 0;
  }
  nav ul li:hover {
    text-decoration: none;
  }
  nav ul a:not(.btn) {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all ease-in-out 0.1s;
    text-decoration: none;
  }
  nav ul a:not(.btn):hover {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: #F4F4F0;
    transition: all ease-in-out 0.1s;
  }
  nav ul li:has(.btn) {
    margin-left: 2rem;
    margin-top: 0rem;
  }
  .burger {
    display: none;
  }
  .has-submenu .submenu {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: white;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 2rem 1.5rem;
    gap: 1rem;
    border-radius: 0.5rem;
  }
  .has-submenu:hover .submenu {
    display: flex;
  }
  .has-submenu.open .submenu {
    background: white;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin: 0;
  }
  .hero p {
    width: 75%;
  }
  .btn-wrapper {
    flex-direction: row;
  }
  section.content {
    flex-direction: column;
  }
  section.content .content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
  }
  section.content .content-wrapper * {
    align-self: flex-start;
  }
  section.content .content-wrapper figure {
    max-width: 50%;
  }
  footer .content {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  footer .content ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .entry-dialog-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }
  .entry-dialog-content .entry-image {
    margin: 0;
  }
}
/* Animations */
.animate__animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-duration: var(--animate-duration);
  animation-delay: var(--animate-delay);
}/*# sourceMappingURL=style.css.map */