@font-face {
  font-family: "Whitney";
  src: url("../fonts/Whitney.woff") format('woff');
  font-weight: normal;
}
@font-face {
  font-family: "Whitney";
  src: url("../fonts/Whitney Italic.woff") format('woff');
  font-style: italic;
  font-weight: normal;
}
@font-face {
  font-family: "Whitney";
  src: url("../fonts/Whitney Bold.woff") format('woff');
  font-weight: bold;
}
@font-face {
  font-family: "Whitney Light";
  src: url("../fonts/Whitney.otf");
  font-weight: normal;
}
@font-face {
  font-family: "Whitney Light";
  src: url("../fonts/Whitney Italic.otf");
  font-style: italic;
  font-weight: normal;
}
@font-face {
  font-family: "Whitney Light";
  src: url("../fonts/Whitney Bold.otf");
  font-weight: bold;
}
html,
body {
  font-family: "Whitney", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #555;
  font-size: 18px;
  background: #fdfdfd;
}
html,
body {
  height: 100%;
  margin: 0;
  width: 100%;
}
body {
  overflow-y: hidden; /* Hide vertical scrollbar */
  overflow-x: hidden; /* Hide horizontal scrollbar */
}

.main-container {
  display: flex;
  flex-direction: column; /* Richtung auf vertikal ändern */
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren */
  height: 100vh;
}
.title {
  font-size: 5em;
  text-align: center;  
}
.subtitle {
  font-size: 1.5em;
}
.footer {
  font-size: 1em;
  position: absolute;
    bottom: 0;
    margin-bottom: 3em;
    width: 100%;
    text-align: center;
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px) 
and (orientation : landscape) {
  .title {
    font-size: 5em;
  }
  .subtitle {
    font-size: 1.5em;
  }
  .footer {
    font-size: 1em;
    position: absolute;
      bottom: 0;
      margin-bottom: 1em;
      width: 100%;
      text-align: center;
  }
}

@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px) 
and (orientation : portrait) {  
  .title {
    font-size: 8em;
  }
  .subtitle {
    font-size: 2.7em;
  }
  .footer {
    font-size: 2.2em;
    position: absolute;
      bottom: 0;
      margin-bottom: 1em;
      width: 100%;
      text-align: center;
  }
}