/* 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: 500%;
  background-color: black;
  text-transform: uppercase;
}

h1 {
  font-family: "GT-Flexa-VF"; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  color: rgb(255, 255, 255);
  animation: my-growth 8s ease-in-out infinite;
  line-height: 0;
  z-index: 0;
  text-align: left;
}

/* Container Text */
#container {
  display: flex;
  flex-direction: column; /* Elemente untereinander anordnen */
  gap: 10px; /* Abstand zwischen den Zeilen */
  animation: rise 8s ease-in-out infinite; 
  position: relative;
  top: 150px
}


/* Styling für den rotierenden Text */
.rotating-text {
  display: inline-block;
  z-index: 1;
  animation: rotate 8s ease-in-out infinite;
  position: relative;
  left: -4px 
}

@keyframes my-growth {
  from {
    color: rgb(255, 255, 255, 0.8);
  transform: scaleY(1);
}
  30%{
    color: rgb(255, 255, 255, 0.7);
    transform: scaleY(1);
  }
  60% {
    color: rgb(255, 255, 255, 0.5);
    transform: scaleY(0.7);
  }
  to {
    color: rgb(255, 255, 255, 0.2);
    transform: scaleY(0.7);
  }
}




/* Animation für die Rotation */
@keyframes rotate {
  from {
    translate: 0px 0px;
    transform: rotate(0deg);
    color: rgb(255, 255, 255, 0.8);
    font-variation-settings:"wdth" 130, "wght" 400;
  }
  60% {
    translate: 0px 0px;
    transform: rotate(0deg);
    color: rgb(255, 255, 255, 0.6);
    font-variation-settings:"wdth" 130, "wght" 400;
  }
  60.5% {
    translate: 0px 0px;
    transform: scaleY(1);
    color: rgb(255, 85, 0, 1);
    font-variation-settings:"wdth" 130, "wght" 400;

  }
  100% {
    translate: 0px 1800px;
    transform: scaleY(-1);
    color: rgb(255, 85, 0, 1);
    font-variation-settings:"wdth" 130, "wght" 400;
  }
}


