@font-face {
  font-family: 'CaraqueVF_Trial_WghtMelt';
  src: url('fonts/CaraqueVF_Trial_WghtMelt.woff2') format('woff2');
}


html, body {
  margin: 0;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}



.layout {
  display: grid;
  grid-template-columns: repeat(8, auto);
  grid-template-rows: 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px 70px;
}

h1,
.center {
  grid-column: 1/-1;
  grid-row: 1/-1;
}

h1 {
  font-family: 'CaraqueVF_Trial_WghtMelt';
  font-size: 6rem;
  color: red;

  text-align: center;
  line-height: 0rem
  ;
  animation: vars 4s infinite linear;
  z-index: 0; /* vorne */
}

@keyframes vars {
  0% {
    font-variation-settings: 'wght' 800, 'MELT' 100;
  }
  100% {
    font-variation-settings: 'wght' 800, 'MELT' 100;
    transform: skew(-360deg);

  }

.center {
}

section {
  z-index: -1; /* hinten */
  width: 150px;
  height: 150px;
  /* display: flex;  betrifft nur zeugs im quadrat, also wurst */
  transform: rotate(45deg) translateY(0rem) translateX(1.5rem) scale(1); /* hier kannst du fein-justieren */
  border-radius: 25px;
}