:root {
  font-size: 300%;
  font-family: 'Graduate'; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
}

body {
  background-color: #c60c30;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#grundflexbox {
  display: flex;
  height: 100%;
  width: 100%;
  position: absolute;
}

#gridcontainer {
  display: grid;
  grid-template-columns: repeat(10, 10vw);
  grid-template-rows: repeat(6, 10vh);
  justify-items: center; 
  align-items: flex-end; 
  position: absolute;
  bottom: 0;
}

.textcontainer {
  display: flex;
  justify-content: center; 
  align-items: flex-end;
  position: relative;
  width: 10vw;
  height: 10vh;
  transition-duration: 4s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.textcontainer:hover {
  transform: translateY(-10vw);
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

p {
  color: black;
  font-size: 18vw;
  line-height: 1vw;
  font-variation-settings: "XOPQ" 442, "XTRA" 100, "YTRA" 850;
  text-shadow: 
  -0.7vw -0.7vw 0 white,
  0.7vw -0.7vw 0 white,
  -0.7vw 0.7vw 0 white,
  0.7vw 0.7vw 0 white;
  text-align: center;
  position: absolute;
  bottom: -11vw;
}

p:hover {
  font-variation-settings: "XOPQ" 100;
}