<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Zentrierter Text mit Animation</title>
  <style>

  html, body {
      margin: 0;
      height: 100%;
      overflow: hidden;
    }

    @font-face {
      font-family: 'CaraqueVF_Trial_WghtMelt';
      src: url('fonts/CaraqueVF_Trial_WghtMelt.woff2') format('woff2');
    }

    body {
      display: flex;
      justify-content: center; 
      align-items: center;
      height: 100vh;
      overflow: hidden; 
      margin: 0;
    }

    div {
      font-family: 'CaraqueVF_Trial_WghtMelt';
      font-size: 100rem;
      color: red;
      font-weight: bold;
      transform: scaleY(2); 
      animation: scaleAnimation 2s infinite alternate; 
      white-space: nowrap; 
    }

    @keyframes scaleAnimation {
      0% {
        transform: scaleX(10) scaleY(1); 
      }
      100% {
        transform: scaleX(0.0001) scaleY(1); 
    }
  </style>
</head>
<body>
  <div>TEXT</div>
</body>
</html>
