*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  cursor: url("/assets/cursor.cur"), auto;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -moz-user-select: none;
  pointer-events: none;
}

button {
  background: none;
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url("/assets/images/board.png") no-repeat center;
  position: absolute;
  height: 222px;
  width: 134px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section button {
  margin: 2px 0;
}

main {
  height: 100vh;
  width: 100%;
  max-width: 100%;
  max-height: 100vh;
  overflow: hidden;
  background: url('/assets/images/pattern.png') top center repeat-x, url('/assets/images/patternb.png') bottom center repeat-x, url('/assets/images/background.png') bottom center no-repeat;
  background-size: 125px 40px, 125px 40px, cover;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 40px 0;
}

main button {
  z-index: 3;
  animation: anim 4s ease-in-out infinite;
  animation-delay: 1s;
  margin-top: -20vh;
}

main button:hover, section button:hover {
  filter: brightness(1.2);
  transition: .5s;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
}

@keyframes anim {
  0%, 25% {
    filter: brightness(100%);
  }

  60%, 80% {
      filter: brightness(120%);
  }

  100% {
      filter: brightness(100%);
  }
}

@media screen and (max-width: 600px) {
  main{
    flex-direction: column;
    justify-content:flex-start;
  }

  main button{
    margin: 10px 0;
    max-width: 90%;
  }

}

@media screen and (max-width: 1300px) {
  section{
    top: 82%;
  }
}

@media screen and (max-height: 720px) {
  main {
    justify-content: space-evenly;
  }

  main button {
    max-width: 60%;
  }

  section{
    display: none;
  }
}