body {
  background-image: url(../img/onder_water_foto.jpg);
  font-family: 'Original Surfer';
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
}

h1 {
  color: white;
  font-size: 40px;
  text-align: center;
  margin-top: 80px;
}

.boxes {
  color: white;
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 187, 255, 0.789);
  width: 300px;
  height: 350px;
  justify-content: center;
  font-size: 25px;
  border-radius: 10px;
  border: solid black 4px;
}

#boxalignment {
  display: flex;
  justify-content: space-evenly;
}

#logodiver {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

#logobij {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

#gamecraft-img {
  height: 250px;
  width: 250px;
  position: absolute;
  bottom: 10px;
  z-index: -1;
  animation: diver 50s infinite;
}

@media screen and (max-width: 1025px) {
  body{
    background-size: 150%;
  }
  
  h1{
    margin-top: 50px;
  }
  .boxes{
    width: 250px;
    height: 300px;
    font-size: 20px;
  }
}
@media screen and (max-width: 769px) {
  body{
    background-size: 150%;
  }
  
  h1{
    margin-top: 25px;
  }
  .boxes{
    width: 250px;
    height: 300px;
    font-size: 20px;
  }
}
@media screen and (max-width: 426px) {
  body{
    background-size: 280%;
    overflow-y: hidden;
    overflow-x: hidden;
  }
  #gamecraft-img{
    height: 200px;
    width: 200px;
  }
  h1{
    margin-top: 10px;
    font-size: 30px;
  }
  .boxes{
    width: 175px;
    height: 240px;
    font-size: 16px;
  }
  #boxalignment{
    flex-direction: column;
    align-items: center;
  }
  #logobij{
    width: 100px;
    height: 100px;
  }
  .boxes{
    margin-top: 15px;
  }
  #logodiver{
    width: 100px;
    height: 100px;
  }
  @keyframes diver {
    0% {
      transform: translateX(0px);
  
    }
  
    10% {
      transform: translateX(50px);
    }
  
    20% {
      transform: translateX(100px);
    }
  
    30% {
      transform: translateX(150px);
    }
  
    40% {
      transform: translateX(200px);
    }
  
    50% {
      transform: translateX(250px);
    }
  
    60% {
      transform: translateX(300px);
    }
  
    70% {
      transform: translateX(350px);
    }
  
    80% {
      transform: translateX(300px);
    }
  
    90% {
      transform: translateX(150px);
    }
  
    100% {
      transform: translateX(0px);
    }
  }
}
@keyframes diver {
  0% {
    transform: translateX(0px);

  }

  10% {
    transform: translateX(250px);
  }

  20% {
    transform: translateX(500px);
  }

  30% {
    transform: translateX(750px);
  }

  40% {
    transform: translateX(1000px);
  }

  50% {
    transform: translateX(1300px);
  }

  60% {
    transform: translateX(1000px);
  }

  70% {
    transform: translateX(750px);
  }

  80% {
    transform: translateX(500px);
  }

  90% {
    transform: translateX(250px);
  }

  100% {
    transform: translateX(0px);
  }
}