/*
@import url("http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin");
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans");

:root {
  font-size: 1.25rem;
  /*--font-primary: font-family: 'Open Sans', sans-serif; /*"Ubuntu", "Times New Roman", Times, Roman, serif;*/
  --font-secondary: sans-serif;
  --color-text: #fff;
  --color-bg: #161616;
  --page-padding: 1rem;
  --angle: -15deg;
  --trans-content: -30vh;
}

/* remove button to open sandbox temporarily*/
iframe {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  /*max-width: 70ch;*/
  /*padding: 3em 1em;*/
  margin: auto;
  line-height: 1.75;
  font-size: 1.25em;
  counter-reset: footnotes;
  scroll-behavior: smooth;
}

#app {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

a {
  text-shadow: 0 0 0 cyan, 0 0 0 red;
  color: #000000;
  transition: 0.2s ease-in-out;
  /* cursor: none !important; in JS gesteuert für Fallback*/
}
a:hover {
  text-shadow: 1.5px 0 0 red, -1.5px 0 0 cyan;
  color: #000000;
}

::selection {
  background-color: red;
}

.bright ::selection {
  background-color: cyan !important;
}

h2,
h3,
h4,
h5,
h6 {
  margin: 1em 0 .5em;
  line-height: normal;
}

h1 {
  font-size: 2.2em;
  line-height: normal;
}

/* p,
ul,
ol {
  margin-bottom: 2em;
}
 */

h2 {
  font-size: 2em;
}

/* Grainy filter */
body:before {
  content: "";
  background-color: #00000033;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");

  background-repeat: repeat;
  background-size: 500px;
  opacity: 0.6;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  filter: brightness(0.5);
}

body {
  margin: 0;
  padding: 0;
  /* cursor: default; wird in JS zu none wegen Fallback */
  /*font-family: "Ubuntu", sans-serif;*/
  /*font-family: var(--font-primary);*/
  font-family: "Open Sans", sans-serif;
  color: var(--color-text);
  background-color: black;
}


.project-progress-bar {
  width: 80%;
  height: 0.5rem;
  background: var(--color-text);
  border-radius: 0.25rem;
  outline: auto;
  display: flex;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.project-progress-bar-fill {
  background: var(--color-bg);
  height: 100%;
  width: 0%;
  transition: width 1s cubic-bezier(0.67, 0, 0.32, 0.97);
  margin-right: -58px;
}

.project-container {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-bottom: 5em;
}

.project-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 50%;
  justify-content: normal;
  min-width: 260px;
}

.project-icon {
  font-size: 5rem !important;
}

.project-title {
  text-align: center;
  margin: 0;
/*margin-top: .5rem; */
}


.project-progress-bar-text {
  display: inline-block;
  transform: translateX(0.5rem);
  transition: transform 0.5s ease-out;
  margin-top: 4px !important;
}

.project-description {
  text-align: center;
  min-height: 4em;
}

.function-list-container, .function-container {
  mix-blend-mode: difference;
  padding: 0;
}

.todo-item, .function-item, .toc-item {
  color: #ffffff;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  flex-direction: row;
  line-height: normal;
  margin-left: .4em;
  text-decoration: none !important;
  cursor: default;
}

.todo-item.done:before {
  content: "check_circle";
  font-family: "Material Symbols Outlined";
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.todo-item.pending {
  opacity: .6;
}

.todo-item.pending:before {
  content: "pending";
  font-family: "Material Symbols Outlined";
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* .lastdone:after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  border-width: thick;
  border-top: dashed;
  opacity: .2;
} */

.function-list-container .bg-slide, #toc .bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fffafa;
  border-radius: 0.25rem;
  box-shadow: inset -0.5px -0.5px 0 red, inset 0.5px 0.5px 0 cyan;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0, 1.11, 0.66, 0.95);
  z-index: -1;
}


.function-list-container .bg-slide:after, #toc .bg-slide:after {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
}

.function-list-container .slide-box, #toc .slide-box {
  position: relative;
  min-width: 50%;
  width: 100%;
  min-height: 3rem;
  overflow: hidden;
  text-align: left;
  display: flex;
  align-items: baseline;
  /* backdrop-filter: blur(9px); */
  border-bottom-width: inherit;
  border-top-style: solid;
  border-bottom-style: solid;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.applications-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5em;
}

.application {
  background-color: #f5f5f5;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: 10em;
  min-height: 10em;
  position: relative;
  /* padding: 10px; */
}

.application-icon {
  height: 100%;
  width: 30%;
  display: flex;
  align-items: center;
  background: white;
  color: black;
  mix-blend-mode: difference;
  justify-content: center;
  border-radius: inherit;
}

.application-icon:after {
  content: "";
  background: #000000;
  width: 30px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  transform: translateX(4.2em) skewX(-8deg);
  bottom: 0;
  z-index: -1;
}

.application-info {
  width: 70%;
  position: relative;
  padding: 0 1.5em;
  font-size: 1em;
  line-height: 1.2em;
}

.application-icon {
  font-size: 50px;
  margin-right: 10px;
}

.application span {
  font-size: 2em;
  display: block;
  margin-left: -.2em;
}

.application h3 {
  font-size: 1.2em;
  margin: 10px 0;
}

.application p {
  font-size: 1em;
  color: #666;
  text-align: left;
  margin-top: 0;
  margin-bottom: 1em;
}

.application.reverse {
  flex-direction: row-reverse;
}

.reverse.application span {
  margin-left: 0;
  margin-right: -.2em;
}


.reverse.application-icon:after {
  content: "";
  background: #000000;
  width: 30px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  transform: translateX(4.2em) skewX(-8deg);
  bottom: 0;
  z-index: -1;
}

.reverse .application-icon {
  margin: 0 0 0 10px;
}

.reverse .application-icon:after {
  left: auto;
  right: 0;
  transform: translateX(-4.2em) skewX(8deg);
}

@media (max-width: 768px) {
  .application {
    flex-direction: column;
    height: auto;
  }

  .application-icon,
  .application-info {
    width: 100%;
  }

  .application-info {
    padding: 0.5em 0;
  }

  .application-info p {
    margin-bottom: 0;
    padding: 10px;
  }

  .application-icon:after {
    display: none;
  }

  .application span, .reverse.application span, .application-icon, .reverse.application-icon {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .reverse.application {
    flex-direction: column;
    height: auto;
  }

  .reverse .application-icon,
  .reverse .application-info {
    width: 100%;
  }

  .reverse .application-info {
    padding: 0.5em 0;
  }


}




    /* Style for the table of contents */

    @media (max-width: 1300px) {
      #toc {
        max-height: 0px !important;
        overflow: hidden;
      }

      #toc.expanded {
        max-height: 1000px;
      }
    }
    
    #toc {
      position: fixed;
      top: 50px;
      left: 0;
      max-width: 270px;
      min-width: 250px;
      background-color: white;
      padding: 10px;
      border-radius: 5px;
      z-index: 1;
      mix-blend-mode: difference;
      padding: 0;
      transition: max-height 0.3s ease-in-out;
      max-height: 1000px;
      overflow: hidden;
      opacity: 1;
    }

    #toc ul {
      list-style-type: none;
      padding: 0;
    }

    #toc li {
      position: relative;
    }

/*     #toc li.active .toc-txt {
       color: cyan !important; 
    } */

    #toc .bg-slide {
      background-color: white;
    }
    
    #toc a.slide-box {
      text-shadow: none;
      text-decoration: none;
      color: white;
    }
    
    #toc .slide-container {
      margin-bottom: 0;
    }
    
    .toc-item {
      text-shadow: none !important;
      text-decoration: none !important;
      text-shadow: none !important;
      line-height: 1.2rem;
    }

    .toc-txt {
      color: white;
      mix-blend-mode: difference;
      transition: color .3s ease;
    }

    #toc li.active .bg-slide {
      transform: translateY(0px) !important;
    }


    span.toc-txt.level {
      font-size: 1rem;
    }

    span.toc-txt.level2 {
      font-size: 0.9rem;
      opacity: 0.75;
    }

    #toc .material-symbols-outlined {
      margin-left: -.05rem;
      margin-right: .2rem;
      color: white;
      mix-blend-mode: difference;
      transition: color .3s ease;
    }

/* 
     span.toc-txt.level2:before, span.toc-txt.level3:before {
      font-family: 'Material Symbols Outlined';
      content: "more_vert";
      vertical-align: top;
      margin-left: -.5rem;
     } 
 */


/*     a.toc-item:hover slide-box {
      color: black;
    } */


    .progress-bar {
      position: absolute;
      left: 0;
      top: 0;
      width: 5px;
      height: 0%;
      margin-left: 0;
      background-color: cyan;
      opacity: .8;
      border-radius: 0 0 5px 0px;
      transition: height 0.8s cubic-bezier(0.2, 0.3, 0.16, 0.99);
    }

    section h2 {
      font-size: 1.5em;
    }






/* Sticky Header */
.sticky-header-container {
  position: absolute;
  top: 0;
  max-width: 100vw;
  width: 100%;
  overflow-x: clip;
}

.sticky-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  background: rgba(0, 0, 0, 0.05);
  color: white;
  position: sticky;
  width: 100%;
  top: -1px;
  z-index: 500;
  transition: background 0.3s;
  backdrop-filter: blur(1000000px) contrast(2) grayscale(1) invert(1);
  mix-blend-mode: difference;
  height: 64px;
}

header.sticky-header::before {
  content: "";
  background-color: black;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-size: 500px;
  opacity: 0.6;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  filter: brightness(0.5);
}

/* Firefox-specific fallback */
@-moz-document url-prefix() {
  .sticky-header {
    background: rgba(0, 0, 0, 0.813); /* Fallback background color */
    mix-blend-mode: normal; /* Use a different blend mode */
    backdrop-filter: blur(1000); /* Remove blur in Firefox */
    filter: brightness(1.2) contrast(1.2); /* Use filter for a similar effect */
  }

  header.sticky-header::before {
    filter: brightness(0.7); /* Adjust the brightness for the fallback */
  }
}

/* Navbar Logo */
.navbar-logo {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-items: center;
  height: 100%;

  color: white;
  text-decoration: none !important;
  transition: 0.2s;
  mix-blend-mode: difference;
  text-shadow: 0px 0px 0 red, 0px 0px 0 cyan;
  user-select: none !important;
}

.navbar-logo-img {
  position: relative;
  height: 80%;
  mix-blend-mode: difference; /* Logo changes color based on background */
  filter: invert(1);
}

.navbar-logo-txt {
  position: relative;
  mix-blend-mode: difference;
  padding: 0 0.3em;
  font-size: 1.2em;
}

/* Firefox-specific fallback */
@-moz-document url-prefix() {
  .navbar-logo-img {
    filter: invert(1) brightness(1.2) contrast(1.2); /* Inverted for dark/light contrast */
  }

  .navbar-logo-txt {
    /* Fallback to manual color change based on background */
    color: white; /* Assume a dark background by default */
  }

  /* If you need to handle different sections where the background is light */
  body.light-bg .navbar-logo-txt {
    color: black; /* Text color for light background sections */
  }

  body.light-bg .navbar-logo-img {
    filter: none; /* Don't invert on light backgrounds */
  }
}

sticky-header .navbar-logo {
  font-size: 20px;
  font-weight: bold;
}

.nav-wrapper {
  max-width: 100vw;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
  text-align: center;
  top: 2em;
}

.nav-wrapper nav {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: sticky;
  top: 2em;
  user-select: none !important;
}

ul.nav-links.show::before {
  content: "";
  background-color: rgb(0, 0, 0);
  opacity: 0.7;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  mix-blend-mode: normal;
}

/* Navigation Styles */
nav#navbar {
  display: contents;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  transition: 0.2s;
  mix-blend-mode: difference;
  text-shadow: 0px 0px 0 red, 0px 0px 0 cyan;
}

nav ul li a:hover {
  filter: invert(1); /* Only for links in navbar, not in opened menu */
}

/* Mobile Menu Icon */
.menu-icon {
  display: none;
  flex-direction: column;
  /*cursor: pointer;*/
  height: 32px;
  width: 40px;
  z-index: 500;
}

.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
  background: var(--color-text);
  border-radius: 3px;
  content: "";
  position: absolute;
  width: 40px;
  height: 6px;
  margin-top: 13px;
  transition: 0.3s ease-in-out;
  background: white;
}

.menu-icon span::before {
  margin-top: -12px;
}

.menu-icon span::after {
  margin-top: 12px;
}

.menu-icon.active span {
  background: transparent;
}

.menu-icon.active span::before {
  margin-top: 0;
  transform: rotate(45deg);
}

.menu-icon.active span::after {
  margin-top: 0;
  transform: rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  margin-bottom: 8em;
}

.hero-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  -webkit-box-align: center;
  margin-inline-start: unset;
  justify-content: center;
  flex-direction: row;
  margin-inline-start: unset;
  position: relative;
  width: -webkit-fill-available;
  height: auto;
  min-height: 400px;
  /*min-width: 400px;*/
}

svg.logosvg {
  width: 100%;
  position: relative;
  overflow: visible;
  left: 0;
  filter: none;
  scale: 1;
  transition: scale 1s cubic-bezier(0.18, 0.44, 0.05, 0.89);
}

.logosvg path {
  stroke: var(--color-text);
  opacity: 0.8;
  stroke-width: 5;
  position: absolute;
  /* width: 100%; */
  /* height: 100vh; */
  /*filter: blur(2px);*/
  stroke-dasharray: 188 12;
  transition: transform 1s cubic-bezier(0.44, 0.12, 0.29, 0.97),
    opacity 0.5s cubic-bezier(0.44, 0.12, 0.29, 0.97),
    stroke 1s cubic-bezier(0.44, 0.12, 0.29, 0.97),
    stroke-dasharray 1s cubic-bezier(0.44, 0.12, 0.29, 0.97),
    filter 0.6s cubic-bezier(0.44, 0.12, 0.29, 0.97),
    stroke-width 1s cubic-bezier(0.44, 0.12, 0.29, 0.97);
  /* transform: scale(0.01); */
  transform-origin: 70% 50%;
}

.logosvg path {
  fill: none;
  /* stroke-dasharray: 5 195; */
  stroke-dashoffset: 200;
  animation: strokeonload 4s, stroke 40s infinite linear;
  /* animation-timing-function: ease-in-out; */
  animation-play-state: running;
}

@keyframes stroke {
  /*
50% {
  stroke-dashoffset: 0;
}
*/
  100% {
    stroke-dashoffset: -200;
    /*opacity: 0;*/
  }
}

@keyframes strokeonload {
  0% {
    stroke-dasharray: 0 200;
    opacity: 0.8;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    stroke-dasharray: 188 12;
    opacity: 0.8;
  }
}

section {
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  position: relative;
  z-index: 0;
  mix-blend-mode: exclusion;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 70ch;
  max-width: 100%;
  padding: 0 1rem;
  margin-bottom: 2em;
}

.section.bright {
  /* min-height: 100vh; */
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* strike through */
strike-img {
  text-decoration: none;
  position: relative;
  display: contents;
}
strike-img::before {
  top: 50%;
  background: red;
  opacity: 0.5;
  transform: translateY(10%);
  content: "";
  display: flex;
  width: 100%;
  position: absolute;
  height: 1em;
  border-radius: 0.4em;
  left: -5%;
  white-space: nowrap;
  /* display: block; */
  transform: translateY(12em) rotate(-30deg);
  position: relative;
}

/* Base cursor style */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.7, 0.14, 0.25, 0.84),
    width 1.5s ease, height 1.5s ease;
  box-shadow: inset 0.25px 0.25px 0 red, 0.25px 0.25px 0 cyan;
  padding: 0.3rem;
  border-radius: 50%;
  z-index: 9999;
}

.link {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.link span {
  display: inline-block;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  font-size: 36px;
  text-transform: uppercase;
  position: relative;
  cursor: none;
  transition: transform 0.1s linear;
}

.cursor.hovered {
  transform: translate(-50%, -50%) scale(5); /* Expands cursor */
  box-shadow: inset 0.1px 0.1px 0 red, 0.1px 0.1px 0 cyan;
}

.cursor.active {
  transform: translate(-50%, -50%) scale(5); /* Adjust scale as needed */
  width: 100vw; /* Expanded width */
  height: 100vw; /* Expanded height */
}

@media screen and (max-width: 1024px) {
  .nav-wrapper nav {
    flex-direction: column;
  }
} /* End of Media Query max-width: 1024px */

math {
  padding: 3em 0 1.5em 0;
  font-size: clamp(0.4rem + 1.7vw, -0.875rem + 6.333vw, 1.5rem);
  margin: 0 auto;
}

.citation {
  font-variant: small-caps;
}

legend {
  /*margin: 0 auto;*/
}

.inputwrapper {
  display: grid;
  align-items: start;
  padding-bottom: 1em;

  & > * {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.1rem;
    color: var(--color-text);
  }

  & input,
  textarea {
    position: relative;
    border: 1.5px solid var(--color-text);
    border-radius: 0.25rem;
    outline: none;
    background-color: transparent;
    color: var(--color-text);
    padding: 1rem;
    z-index: 0;
    transition: box-shadow 0.3s ease-in-out;
    box-shadow: inset 1px 1px 0 red, 1px 1px 0 cyan;
    opacity: 0.8;
    font-family: var(--font-primary);

    &:focus {
      border-color: var(--color-text);
      box-shadow: inset 0 0 0 red, 0 0 0 cyan;
      opacity: 1;
    }

    &:focus ~ span,
    &:not(:placeholder-shown) ~ span {
      transform: translateY(-1rem) scale(0.75);
      padding: 0 0.25rem;
      color: var(--color-text);
    }
  }

  & span {
    transform: translateY(0.8rem);
    width: max-content;
    background-color: transparent;
    backdrop-filter: invert(2);
    margin-left: 1rem;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
  }
}

textarea {
  width: 80vw;
  max-width: 80vw;
  min-width: 80vw;
  min-height: 8em;
  max-height: 80em;
}

div#contact-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
}




/* New div for the white triangular skew on the dark section */
.skewA {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  clip-path: url(#seperator-mask-a);
  z-index: 0;
  mix-blend-mode: exclusion;
  pointer-events: none; /*makes overlapping links clickable*/
}

skewA::before {
  position: relative;
  content: "";
  padding: 80px;
  pointer-events: none; /*makes overlapping links clickable*/
}

.skewB {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  clip-path: url(#seperator-mask-b);
  z-index: 0;
  mix-blend-mode: exclusion;
  pointer-events: none; /*makes overlapping links clickable*/
}

skewB::before {
  position: relative;
  content: "";
  padding: 80px;
  pointer-events: none; /*makes overlapping links clickable*/
}

/* Media Queries */
@media (max-width: 1500px) {
  .sticky-header {
    justify-content: space-between;
  }

  #navbar {
    background: white;
    top: 0;
    right: 0;
    position: absolute;
  }

  nav ul {
    display: flex;
    position: absolute;
    overflow: hidden;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    background: black;
    flex-direction: column;
    align-items: center;
    transition: max-height 0.25s ease-in-out, opacity 0.2s ease-in-out;
    opacity: 0;
  }

  nav ul.show {
    opacity: 1;
    max-height: 300px; /* Adjust based on the number of items in the dropdown */
  }

  nav ul li {
    margin: 15px 0;
  }

  nav ul li a:hover {
    filter: none !important;
  }

  .menu-icon {
    display: flex;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  #navbar .slide-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0px;
  }

  #navbar .slide-box {
    position: relative;
    min-width: 50%;
    width: 100%;
    height: 6rem;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    backdrop-filter: blur(9px);
    /* cursor: pointer; */
    border-bottom-width: inherit;
    border-top-style: solid;
    border-bottom-style: solid;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  #navbar .bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0, 1.11, 0.66, 0.95);
    z-index: -1;
    mix-blend-mode: difference;
  }
}

/*Contact Form*/

.contact-form-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  padding: 2rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: #fff;
  border: 2px solid #fafafa;
  font-size: 0.95rem;
  color: black;
  line-height: 1;
  border-radius: 25px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s !important;
  margin: 0;
  mix-blend-mode: difference;
}

.btn:hover {
  background-color: transparent;
  color: #fff;
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: black;
}

.text {
  color: #333;
  margin: 1.5rem 0 2rem 0;
}




section.section.bright.sources {
  min-height: inherit;
}

.csl-entry {
  max-width: 100vw;
  width: 100%;
  padding-right: 4em;
  line-height: 1.5em;
}

#sources-wrapper {
  display: grid;
  justify-content: center;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 1s;
  max-width: 100vw;
  width: 100%;
}

#sources-content {
  min-height: 0;
  transition: visibility 1s;
  overflow: hidden;
}

#sources-wrapper.opened {
  grid-template-rows: 1fr !important;
}

.opened {
  grid-template-rows: 1fr !important;
}


/* Footer*/

footer {
  background-color: #161616;
  color: #fff;
  padding-top: 2em;
  text-align: center;
  padding-bottom: 1px;
}

footer a {
  color: #fff !important;
  text-decoration: none;
  margin: 0 1em;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}


.social_icon {
  vertical-align: sub;
  fill: white;
}



@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }

  .contact-form-container {
    padding: 1rem;
  }
  div#contact-wrapper {
    align-items: center;
  }

  .contact-info:before {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }

  .cursor {
    transform: scale(0.001);
  }



  /*
  .blob-cont {
    display: none;
  }
  */

  .blob-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: -10;
    height: 500px;
    width: 500px;
    position: absolute;
    /* right: 5em; */
    top: 0;
    max-width: 100vw;
  }

  .blob {
    border-radius: 100px;
    filter: blur(60px);
  }

  .cyan {
    background-color: cyan;
    position: absolute;
    top: 200px;
    left: 100px;
    height: 250px;
    width: 250px;
  }

  .black {
    background-color: black;
    position: absolute;
    top: 80px;
    right: -20px;
    height: 500px;
    width: 500px;
  }

  .red {
    background-color: red;
    position: absolute;
    right: 0;
    top: 300px;
    height: 250px;
    width: 250px;
  }
}

@media (min-width: 481px) {
  /* Blobs */
  .blob-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: -10;
    height: 500px;
    width: 500px;
    position: absolute;
    /* right: 5em; */
    top: 0;
    max-width: 100vw;
  }

  .blob {
    border-radius: 100px;
    filter: blur(60px);
  }

  .cyan {
    background-color: cyan;
    position: absolute;
    top: 200px;
    left: 100px;
    height: 250px;
    width: 250px;
    animation: cyan 18s infinite ease;
  }

  .black {
    background-color: black;
    position: absolute;
    top: 80px;
    right: -20px;
    height: 500px;
    width: 500px;
    animation: black 18s infinite ease;
  }

  .red {
    background-color: red;
    position: absolute;
    right: 0;
    top: 300px;
    height: 250px;
    width: 250px;
    animation: red 18s infinite ease;
  }

  @keyframes cyan {
    0% {
      top: 200px;
      left: 100px;
      transform: scale(1);
    }
    30% {
      top: 300px;
      left: 150px;
      transform: scale(1.2);
    }
    60% {
      top: 100px;
      left: 200px;
      transform: scale(1.3);
    }
    100% {
      top: 200px;
      left: 100px;
      transform: scale(1);
    }
  }

  @keyframes black {
    0% {
      top: 80px;
      right: -20px;
      transform: scale(1.2);
    }
    30% {
      top: 300px;
      right: -20px;
      transform: scale(1);
    }
    60% {
      top: 200px;
      right: 100px;
      transform: scale(1);
    }
    100% {
      top: 80px;
      right: -20px;
      transform: scale(1.2);
    }
  }

  @keyframes red {
    0% {
      top: 250px;
      right: 0px;
      transform: scale(1);
    }
    30% {
      top: 150px;
      right: 150px;
      transform: scale(1.4);
    }
    60% {
      top: 250px;
      right: 100px;
      transform: scale(1);
    }
    100% {
      top: 250px;
      right: 0px;
      transform: scale(1);
    }
  }
}
