@font-face {
  font-family: 'SiemensSansPro';
  src: url('../fonts/SiemensSansPro_SBd.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'SiemensSansPro';
  background-color: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Define CSS variables for easier JavaScript interaction and consistency */
:root {
    --visible-rows: 5; /* Number of rows visible in animatedTextBlock */
    --max-chars-per-row: 35ch; /* Max characters visible horizontally */
    --vertical-scroll-duration: 1s; /* Duration of vertical scroll transition */
    --text-color: #000;
    --background-color: #fff;
    --row-hight: 138.6px; /* Height of each row */
    --font-size: 63px;
    --left: 0; /* margin left */
}

#textBlock, #animatedTextBlock{
  left: var(--left);
  position: relative;
  overflow: hidden;
  font-size: var(--font-size);
  line-height: var(--row-hight); /* Ensures consistent line height across all lines */
}

#animatedTextBlock {
  width: calc(var(--max-chars-per-row)); /* Fixed width to show 35 characters */
  height: calc(var(--visible-rows) * var(--row-hight)); /* Height for 5 lines */
  box-sizing: border-box;
}

/* Container for all text lines, which will be vertically animated */
.text-lines-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

/* Styling for each individual line */
.text-line {
  height: var(--row-hight);
  line-height: var(--row-hight);
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 0;
  width: 100%;
}

.text-line span {
  display: inline-block;
}