@font-face {
  font-family: avengers;
  src: url(fonts/Avengers.ttf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  overflow: hidden;
}
.container {
  width: 100%;
  height: 100vh;
  background-color: black;
  position: relative;
}

.heroes {
  width: 100%;
  height: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  position: absolute;
  overflow: hidden;
}

.heading {
  font-size: 90px;
  font-family: avengers;
  font-weight: bold;
  letter-spacing: 5px;
  background-color: white;
  opacity: 0.8;
  padding: 10px 20px;
  padding-bottom: 1px;
  color: black;
  position: relative;

  mix-blend-mode: screen;
  border-radius: 15px;
  animation: upper 0.6s ease;
  animation-delay: 0.2s;
  z-index: 1;
}

@keyframes upper {
  0% {
    transform: translateY(200px);
  }
  100% {
    transform: translateY(0);
  }
}
.picture {
  background-image: url(images/avengers2.jpg);
  background-size: cover;
  width: 100%;
  height: 100vh;
  animation: upper2 0.8s cubic-bezier(0.74, 0.19, 0.2, 0.3);
  animation-delay: 0.6s;
  transform: translateY(100%);
  animation-fill-mode: forwards;
}

@keyframes upper2 {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(0);
  }
}

.superman {
  position: absolute;
  animation: flying 2.2s cubic-bezier(.77,.27,.35,.5) 1;
  animation-delay: 1.2s;
  bottom: 125px;
  transform: translateX(-100%);
}

@keyframes flying {
  from {
    transform: translateX(-130%);
  }

  to {
    transform: translateX(1400px);
  }
}
