@font-face {
    font-family: 'Fira Sans';
    src: url(fonts/FiraSans-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Horizon';
    src: url(fonts/horizon.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Horizon_Outlined';
    src: url(fonts/horizon_outlined.otf) format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
  color-scheme: light dark;
}

body {
  min-height: 100dvh ; /* body is full height */
  min-height: 100vh; /* for old browsers */
  min-width: 100%;
  max-height: 100dvh;
  max-height: 100vh;
  margin: 0;
  font-family: 'Fira Sans', sans-serif;
  background-color: black;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  bottom: -500vmin ;
  /*bottom: -28vw;*/
  left: 50vmin;
  width: 27vmax;
  height: 1000vmin;
  background: linear-gradient(to bottom, #aec840, #4ab3e5, #e62c86, #f0a91d);
  background-size: 200% 200%; 
  animation: gradient 15s ease infinite;
  transform: rotate(-45deg);
  z-index: 0;
}

.sub-banner_left,
.sub-banner_bottom {
  position: fixed;
  width: 11vmax;
  height: 100vmin;
  background: linear-gradient(to bottom, #aec840, #4ab3e5, #e62c86, #f0a91d);
  background-size: 200% 200%; 
  animation: gradient_small 15s ease infinite;
  transform: rotate(-45deg);
  z-index: 0;
}

.sub-banner_left {
  bottom: 5%;
  left: -13vmax;
}

.sub-banner_bottom {
  bottom: -65vmin;
  left: calc(50vmin + 35vmax);
}

@keyframes gradient {
  0% {background-position: 50% 0%; scale: 75%}
  50% {background-position: 50% 100%; scale: 50%}
  100% {background-position: 50% 0%; scale: 75%}
}

@keyframes gradient_small {
  0% {background-position: 50% 100%; scale: 100%}
  50% {background-position: 50% 0%; scale: 125%}
  100% {background-position: 50% 100%; scale: 100%}
}

header {
  flex: 0 0 auto;
  z-index: 1;
}

.title_content {
  position: relative;
  z-index: 1;
  padding: 5em 1em 2em;
}

h1 {
  font-size: 4vw;
  margin: 0;
  font-family: 'Horizon', sans-serif;
  max-width: 90vw;
}
#prefix {
  text-align: left;
}

#year {
  text-align: right;
  font-family: 'Horizon_Outlined', sans-serif;
}

main{
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  overflow: auto;
}

p {
  font-size: 1em;
  margin: 0;
  text-align: center;
  width: 75vw;
  max-width: 500px;
  z-index: 1;
  position: relative;
}

.description {
  margin: 0;
  padding: 0.5em;
  border-radius: 8px;
  backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Für Safari */
  background-color: #000000aa;
}

.motivation {
  display: flex;
  width: 75vw;
  max-width: 500px;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}

.motto {
  width: fit-content;
  flex: 0 0 auto;
  margin: 0 1%;
  word-break: keep-all;
}

.buttons {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2em;
  position: relative;
  z-index: 2;
}

.buttons a {
  /* background-color: white; */
  color: white;
  padding: 0.75em 1.5em;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  z-index: 2;
  position: relative;
  backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Für Safari */
  background-color: rgba(255, 255, 255, 0.25);
}

aside {
  z-index: 100;
  flex: 0 0 auto;
  align-self: center;
  padding: 0.5em;
  margin-top: auto;
  margin-top: 1%;
  max-height: 5%;
  position: sticky;
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Für Safari */
  background-color: #000000aa;
}

.lang-switch {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 2;
}

.lang-switch button {
  margin-left: 0.5em;
  padding: 0.5em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: white;
  color: #111;
}

footer {
  flex: 0 0 auto;
  align-content: center;
  margin-top: 1%;
  padding: 5px; /* Innenabstand */
  text-align: center; /* Text zentrieren */
  position: sticky; /* Fixiert das Banner am unteren Rand */
  bottom: 0; /* Abstand vom unteren Rand */
  left: 0; /* Abstand vom linken Rand */
  width: 100%; /* Volle Breite */
  z-index: 100; /* Stellt sicher, dass es über anderen Elementen liegt */
  backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Für Safari */
  background-color: #000000aa;
}