* {
  margin: 0;
  padding: 0;
}
body {
  background-color: rgb(17, 16, 16);
}
.container {
  margin: 12px 0;
  padding: 10px 0;
}
h2 {
  text-align: center;
  color: white;
}
.eyes {
  gap: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.white {
  background-color: white;
  width: 400px;
  height: 590px;
  border-radius: 180px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.black {
  background-color: rgb(58, 42, 42);
  display: flex;
  width: 100px;
  height: 100px;
  border-radius: 50%;

  animation: eye 2s infinite both alternate-reverse;
}
@keyframes eye {
  from {
    transform: translate(350px);
  }
  to {
    transform: translate(0);
  }
}

@media (max-width: 768px) {
  .eyes {
    gap: 10px;
  }
  h2 {
    padding: 20px 0;
  }
  .white {
    margin: auto 20px;
    width: 300px;
    height: 480px;
  }
  .black {
    width: 90px;
    height: 90px;
  }
  @keyframes eye {
    from {
      transform: translate(280px);
    }
  }
}

@media (max-width: 480px) {
  .container {
    margin: 130px 0;
  }
  h2 {
    padding: 30px 0 0;
  }
  .eyes {
    gap: 2px;
  }
  .white {
    width: 200px;
    height: 230px;
  }

  .black {
    width: 50px;
    height: 50px;
  }
  @keyframes eye {
    from {
      transform: translate(130px);
    }
  }
}
