/* 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: 28px; /* Abstand zwischen den Zeilen */
  animation: rise 8s ease-in-out infinite; 
  position: relative;
  top: 150px
}


/* Styling für den rotierenden Text */
.rotating-text {
  z-index: 10;
  animation: rotate 8s ease-in-out infinite;
  position: relative;
  top:150px;
  /* left: 500px  */
}


@keyframes my-growth {
  from {
    translate: 0px 800px;
    color: rgb(255, 255, 255, 0.8);
    font-variation-settings:"wdth" 25, "wght" 120;
    letter-spacing: -15px;
}
  30%{
    translate: 0px 0px;
    color: rgb(255, 255, 255, 0.7);
    font-variation-settings:"wdth" 100, "wght" 120;
    letter-spacing: -30px;

  }
  60% {
    color: rgb(255, 255, 255, 0.5);
    font-variation-settings:"wdth" 150, "wght" 120;
    letter-spacing: -45px;
  }
  to {
    translate: 0px 0px;
    color: rgb(255, 255, 255, 0.2);
    font-variation-settings:"wdth" 200, "wght" 120;
    letter-spacing: -60px;

  }
}

/* Animation für die Rotation */
@keyframes rotate {
  from {
    translate: 80px 800px;
    transform: rotate(0deg);
    color: rgb(255, 255, 255, 0.8);
    font-variation-settings:"wdth" 30, "wght" 120;
    letter-spacing: -10px;
  }
  30% {
    translate: 120px 0px;
    transform: rotate(0deg);
    color: rgb(255, 255, 255, 0.6);
    font-variation-settings:"wdth" 125, "wght" 120;
    letter-spacing: -15px;
  }
  60% {
    translate: 200px 0px;
    transform: scaleY(1);
    color: rgb(246, 255, 0);
    font-variation-settings:"wdth" 200, "wght" 120;
    letter-spacing: -40px;
  }
  100% {
    translate: 300px 1000px;
    transform: scaleY(-1);
    color: rgb(246, 255, 1);
    font-variation-settings:"wdth" 200, "wght" 120;
    letter-spacing: -40px;
  }
}


