* {
  margin: 0;
  padding: 0;
}
body {
  background-color: blanchedalmond;
  font-size: 1.2rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
main {
  display: flex;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
main h1 {
  font-size: xx-large;
  font-weight: 900;
}
main p {
  color: blueviolet;
}
/* achtergrond animaties */
#bg-animation {
  position: fixed;
  width: 100vw;
  height: 100vh;
}
.bg-icon {
  position: absolute;
  background-size: contain;
  width: 111px;
  height: 111px;
  transition: 300ms transform ease-out;
  filter: grayscale(0.99) blur(6px);
  opacity: 0.44;
  /* transform: translate(-33px, -36px) rotate(0deg); */
  /* transform-origin: center; */
}
/* center divs enal */
.center {
  position: relative;
  border-radius: 11px;
  translate: calc(100vw / 5) calc(100vh / 2);
  rotate: 0.5deg;
  opacity: 0.69;
}
#center {
  margin-top: 0;
  margin-left: 0;
  width: 70px;
  height: 30px;
  background-color: rgba(224, 45, 45, 0.69);
  z-index: 4;
}
#center2 {
  margin-top: -50px;
  margin-left: 20px;
  width: 30px;
  height: 70px;
  background-color: rgba(45, 161, 224, 0.69);
  z-index: 3;
}
/* nav-menu  */
nav {
  position: fixed;
  display: flex;
  width: 100vw;
  justify-content: space-around;
  background-color: tomato;
  border-bottom: rgb(222, 47, 17) solid 3px;
}
.nav-button {
  display: flex;
  flex-direction: column;
  padding: 3px 55px;
  align-items: center;
  cursor: pointer;
}
.nav-button:hover {
  background-color: tomato;
  border-radius: 0 0 22px 22px;
  animation: 222ms ease-out 0s forwards slideit;
  margin-top: -33px;
  padding-top: 33px;
  border-bottom: rgb(222, 47, 17) solid 3px;
  /* box-shadow: 33px 33px -1px rgb(222, 47, 17); */
}
.nav-button:active {
  background-color: rgba(222, 48, 17);
}
.active {
  background-color: rgba(222, 48, 17);
}
.button-icon {
  margin-top: 0px;
  width: 33px;
  height: 33px;
  padding: 11px;
  background-size: contain;
}
.button-text {
  opacity: 0;
  color: rgb(245, 217, 211);
  font-size: small;
  margin-top: 2px;
  text-align: center;
}
.nav-button:hover .button-text {
  animation: 444ms ease-out 0s forwards cameleon;
}

/* animaties */
@keyframes slideit {
  from {
    translate: 0px 0px;
  }
  to {
    translate: 0px 33px;
  }
}
@keyframes cameleon {
  from {
  }
  to {
    color: black;
    opacity: 1;
  }
}
