body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000; 
}

.wrapper {
  position: relative;
  text-align: center;
  z-index: 1;
  width: 800px;
  height: 800px;
}

.background-image {
  margin-top: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  background-image: url('bild.png');
  background-size: 100% 100%;
  background-position: center;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  animation: float 5s ease-in-out infinite;
  z-index: 0;
}

.background-image2 {
  margin-top: 290px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 15%;
  background-image: url('titel.png');
  background-size: 100% 100%;
  background-position: center;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  z-index: -1;
}


.header {
  margin-top: 100px;
  font-size: 3.5rem;
}

/* https://media3.giphy.com/media/v1.Y2lkPTc5MGI3NjExbXQ3YjA5NjBhenQ3a3V4eWJ3bmVodnJ1Nmk1ZG93NXBkYWVxYjVtbyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3og0IIPa8qdJdOzLFK/giphy.gif */

.animated-text{
  background-image:url("https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGJvOWhnM2NoeHhsYW5jeDY2MHRzNTM4aWEyOXp6ejE0N2Vnb2ludiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3oz8xF2tbONaIIy92M/giphy.gif");
  background-size: cover;
  -webkit-background-clip: text;
  color: transparent;
  animation: txt 2s ease-in-out infinite;
}

.animated-text1 {
  margin-top: 55%;
  font-size: 2.5rem;
  background-image:url("https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExdHd4dWdseWZrbzVjMWdxNG92bHpkZXZlcW5qYTNmZTA1cWkxbW1teiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/5kFbMBOEdWjg1nItoG/giphy.gif");
  background-size: cover;
  -webkit-background-clip: text;
  color: transparent;
  animation: txt 5s ease-in-out infinite;
}


.one {
  font-family: 'Arial', sans-serif;
  font-size: 6rem;
  color: #ffd500;
  z-index: 2;
  position: relative;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(10px);
  }
}


@keyframes txt {
  0%, 100% {
    font-variation-settings: 'wght' 600, 'opsz' 46; 
  }
  50% {
    font-variation-settings: 'wght' 400, 'opsz' 96; 
  }
}
