:root {
  font-size: 200%;
  font-family: "Jabin"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  
}

.container {
  display: grid;
  position: absolute;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100vw;
  z-index: -1;
  margin-top: -300px;

} 


.container2 {
  display: grid;
  position: relative;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  width: 100vw;
  z-index: 2;
  margin-top: -2920px;
  font-size: 1900%;
  color: blue;
  animation: cola 2s alternate infinite;
  animation-delay: var(--delay);
  overflow: hidden;
  z-index: 1;
  opacity: 0.8;

} 


img {

opacity: 0.5;  

}

h1 {
  
position: relative;
align-self: center;
margin-left: 20vw;
margin-top: 30vh;


font-size: 450%;

animation: cheese 2s alternate infinite;
animation-delay: var(--delay);
overflow: hidden;
z-index: 1;


}


h1:hover {

animation: cheese 1s alternate infinite;
animation-delay: var(--delay);
overflow: hidden;

}


body {
  background-color: #f5ebdc;
}








@keyframes cheese {
  0% {
    font-variation-settings:   "wght" 40, "wdth" 0, "XXXX" 1;
    color: blue;
  }

  100% {
    font-variation-settings:   "wght" 120, "wdth" 0, "XXXX" 100;
    color:#d62300;
  }


}



@keyframes salad {
  0% {
    font-variation-settings:  "wght" 400, "SWSH" 0;
    color: rgb(255, 255, 255);
  }

  100% {
    font-variation-settings:  "wght" 800, "SWSH" 1000;
    color:#ffffff;
  }


}

@keyframes cola {
  0% {
    font-variation-settings:   "wght" 40, "wdth" 0, "XXXX" 1;
    color: blue;
    top: 0px;
    animation-timing-function: cubic-bezier(0.7, 0.22, 0.725, 0.61);
  }

  100% {
    font-variation-settings:   "wght" 120, "wdth" 0, "XXXX" 100;
    color:#d62300;
    top: 800px;
    animation-timing-function: cubic-bezier(0.7, 0.22, 0.725, 0.61);
  }


}




@keyframes fanta {
  from {
      top: 0px;
      animation-timing-function: cubic-bezier(0.7, 0.22, 0.725, 0.61);
  }
  13.33% {
      top: 31.79px;
      animation-timing-function: cubic-bezier(0.16, 0.1875, 0.24, 0.094);
  }
  23.66% {
      top: 88.3px;
      animation-timing-function: cubic-bezier(0.234, 0.15, 0.88, 0.85);
  }
  65% {
      top: 441.5px;
      animation-timing-function: linear;
  }
  to {
      top: 800px;
  }
}
