@import url('https://fonts.googleapis.com/css2?family=Tiny5&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

h1 {
  color: rgb(182, 0, 0);
  font-family: "Tiny5", "Brush Script MT", "Lucida Handwriting", monospace;
  font-size: 2.5em;
  text-align: center;
}

h2 {
  color: crimson;
  font-size: 1.5em;
}

.container {
  width: 900px;
  margin: 0px auto 0px auto;
}

.grid-container {
  display: grid;
  grid-template-areas:
    'header header header header header header'
    'left middle middle middle middle right'
    'footer footer footer footer footer footer';
  grid-column-gap: 5px
}

.left,
.middle,
.right {
  padding: 5px;
}

.left {
  grid-area: left;
  width: 245px;
}

.middle {
  grid-area: middle;
  width: 635px;
}

.right {
  grid-area: right;
}

.center {
  align-content: center;
}

.weirdbox {
  align-content: center;
  background-image: url("images/box/darkboxrtesrnoalpha.png");
  box-sizing: border-box;
}

.weirdborderimgzerk {
  border: 25px solid transparent;
  padding: 0px;
  border-image: url("images/box/darkbordertesr.png") 30 round;
}

.image-wrapper {
  position: relative;
  width: 512px;
  height: 512px;
  transform-style: flat;
  display: inline-block;
  margin: 40px; 
}

.imgoverlap {
  position: absolute;
  image-rendering: pixelated;
  z-index: 1;
}

.rotation {
  animation: rotateClockwise 24s linear infinite;
}

.rotationb {
  animation: rotateCounterclockwise 24s linear infinite;
}

@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCounterclockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}