@font-face {
  font-family: Science;
  src: url('../font/Science.ttf');
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
}


body, html {
  height: 100%;
  font-family: monospace;
  background: #171717;
  color: #EDEDED;
  overflow: hidden;
}

/* Container */
.container {
  position: relative;
  z-index: 10;
  height: 100vh;
  width: 25%;                /* ← passt zur 75%-Breite des Hintergrundbilds */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* ← statt center, damit Text links bleibt */
  text-align: left;          /* ← falls du zentrierten Text nicht mehr willst */
}

h1 {
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  font-family: Science;
  text-align: center;
}

p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.7;
  backdrop-filter: blur(100px);
}

.btn {
  position: relative;
  color: #EDEDED;
  background: none;
  border: none;
  border-left: 5px solid #EDEDED;
  padding: 1rem 3rem;
  margin: 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  font-family: monospace;
  display: flex;
  align-items: center;
  backdrop-filter: blur(100px);
  opacity: 0.6;
}

/* Hover-Effekt */
.btn:hover {
  border-left: 5px solid #EDEDED;
  opacity: 1;
  transform: scale(1.01);
}

/* Wrapper */
.btn-wrapper {
  display: grid;
  gap: 2rem;
  justify-content: center;
}

.btn-icon {
  display: flex;
  align-items: center;
}

.btn-icon img {
  width: 25px;
  height: 25px;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.3));
}

.btn-text {
  margin-left: 20px;
}

.footer {
  color: #EDEDED;
  position: absolute;
  bottom: 25px;
}

.background-wrapper {
  position: fixed;
   top: 2.5%;
  right: 1%;
  width: 74%;
  height: 95%;
  overflow: hidden;
  z-index: 2;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.background-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/noise.png");
  background-repeat: repeat;
  opacity: 0.4; 
  pointer-events: none;
  z-index: 2;
}

.background-current {
  opacity: 1;
  z-index: 1;
}

.background-next {
  z-index: 2;
}

  #particles-js {
    width: 100%;
  }
  
  .image-author {
  position: absolute;
  right: 5%;
  bottom: 5%;
  z-index: 5;
  border-left: 2px solid #EDEDED;
  padding: 5px 10px;
  font-size: 0.9rem;
  color: #EDEDED;
  font-family: monospace;
  max-width: 70%;
  transition: opacity 0.3s ease;
  opacity: 1;
  backdrop-filter: blur(100px);
}

.background.fade-out,
.image-author.fade-out {
  opacity: 0;
}
  
  
@media (max-width: 1200px) {
  .background, .background-wrapper::after {
    display: none;
  }
  
  #particles-js {
    width: 100%;
  }

  .container {
    width: 90%;        /* oder max-width: 400px; je nach Wunsch */
    max-width: 400px;
    margin: 0 auto;    /* horizontale Zentrierung */
    padding: 40px 20px;
    align-items: center;
    text-align: center;
  }

  .btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .image-author {
    display: none;
  }
}

.teams-react-emoji {
  position: fixed;
  bottom: 20px;
  transform: translateX(-50%);
  font-size: 4rem;
  pointer-events: none;
  user-select: none;
  z-index: 9999;
  animation: teamsReact 2s ease-out forwards;
  opacity: 1;
  will-change: transform, opacity;
}

@keyframes teamsReact {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-100px);
    opacity: 0;
  }
}
