/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}





:root {
  font-size: 600%;
  background-color: black;
  line-height: 0;
  text-align: center;
  text-transform: uppercase;
}

body {
  margin: 0;
}

.box1 {
  display: grid;
  grid-template-columns: repeat(6, 250px);
  grid-template-rows: repeat(2, 250px);
  justify-items: center;
  grid-auto-flow:row;
  align-items: top;
  background-color: rgb(0, 0, 0);
  height: 100vh;
}

h1 {
  font-family: "RuderPlakatLLVar"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  color: rgb(255, 255, 255);
  font-size: 200%;
  line-height: 1;
  animation: my-growth 4s ease-in infinite alternate;
}

.myrotation {
  font-family: "RuderPlakatLLVar"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  animation: my-rotation 4s ease-in infinite alternate;
  line-height: 1;
}

@keyframes my-growth {
  from {
    font-variation-settings: "YTUC" 100, "YTLC" 100;
  }
  to {
    font-variation-settings: "YTUC" 900, "YTLC" 900;
  }
}

@keyframes my-rotation {
  from {
    font-variation-settings: "YTUC" 100, "YTLC" 100;
    transform: rotate(0deg);
    color: rgb(206, 189, 0);
  }

  70% {
    font-variation-settings: "YTUC" 100, "YTLC" 100;
    transform: rotate(-90deg);
    color: rgb(201, 0, 107);
    transform-origin: bottom;
    translate: 150px -90px;
  }
  to {
    font-variation-settings: "YTUC" 100, "YTLC" 100;
    transform: rotate(-90deg);
    color: rgb(232, 0, 0);
    transform-origin: bottom;
    translate: 150px -90px;
  }
}
