@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

body {
    margin: 0;
    font-family: Lexend;
}

/* From Uiverse.io by csemszepp */ 
.hintergrund {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;

  background-image: url("media/gewebe.png"); /* <-- Pfad zum Bild anpassen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* optional für Parallax-Effekt */
}

.hintergrund::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.664); /* dunkelt alles leicht ab */
  z-index: -1;
}

  

  .logo {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: auto;
    z-index: 2;
  }

  .top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    z-index: 10;
  }
  
  .logoPage img {
    height: 50px;
    width: auto;
  }
  

.selector h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
  
  
  .selector .auswahlButton {
    position: absolute;
    display: flex;
    gap: 10px;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  
  .auswahlButton button {
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    border: 1px solid #ffffff80;
    transition: 0.5s ease;
    user-select: none;
  }
  
  #btn:hover,
  #btn:focus {
    color: #ffffff;
    background: orange;
    border: 1px solid orange;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;
    box-shadow: 0 0 5px orange, 0 0 20px orange, 0 0 50px orange,
      0 0 100px orange;
  }
  
  

  .menu {
    padding: 0.5rem;
    margin: 0;
    background-color: #fff;
    display: flex;
    justify-content: center;
    gap: 10px;
    border-radius: 15px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.075);
    min-width: 400px;
  }
  
  
  .link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 50px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform-origin: center left;
    transition: width 0.2s ease-in;
    text-decoration: none;
    color: inherit;
  }
  
  .link::before {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.2s ease-in;
    transform-origin: center right;
    background-color: #eee;
  }
  
  .link:hover,
  .link:focus {
    outline: 0;
    width: 170px;
  }
  
  .link:hover::before,
  .link:focus::before,
  .link:hover .link-title,
  .link:focus .link-title {
    transform: translateX(0);
    opacity: 1;
  }
  
  

  .link-icon {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
    left: 18px;
    position: absolute;
  }
  

  .link-icon ion-icon {
    font-size: 28px;
    width: 28px;
    height: 28px;
  }
  

  .link-title {
    transform: translateX(100%);
    transition: transform 0.2s ease-in;
    transform-origin: center right;
    display: block;
    text-align: center;
    text-indent: 28px;
    width: 100%;
    opacity: 0;
  }

  
  .link.active {
    background-color: orange;
    color: white;
  }
  
  .link.active::before {
    transform: translateX(0);
    background-color: orange;
  }


  .config-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
  }
  
  .config-buttons button {
    margin: 0;
  }
  
  

button {
  font-family: inherit;
  font-size: 20px;
  background: orange;
  color: white;
  fill: rgb(155, 153, 153);
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  font-weight: 1000;
  max-width: 250px;
  margin: 20px;
}

button span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

button:hover {
  background: #ce5600;
}

button:hover .svg-wrapper {
  transform: scale(1.25);
  transition: 0.5s linear;
}

button:hover svg {
  transform: translateX(1.2em) scale(1.1);
  fill: #fff;
}

button:hover span {
  opacity: 0;
  transition: 0.5s linear;
}

button:active {
  transform: scale(0.95);
}
