@font-face {
font-family: 'Gloria Hallelujah';
src: url(GloriaHallelujah-Regular.ttf);
}

body{
      background-color: #fffaed;
      font-family: 'Gloria Hallelujah';
        overflow: hidden;
}

:root {
  --webbprojekt: black;
  overflow: hidden;
}

.header{
  border: #fffaed;
  position: relative;
}

.hero{
  position: static;
  max-width: 100%;
  scroll-behavior: smooth;
  display: flex;
  margin: 0 auto;
  border: #fffaed;
  white-space: nowrap;
  animation: scroll linear infinite;
  animation-iteration-count: 100;
  animation-duration: 30s;
}


li{
  list-style: none;
  position: relative;
  display: inline-flex;
  margin-left: 5%;
  margin-top: 0;
  left: -10%;
  animation: fadeIn2 ease 3.5s;
}

a{
    color: var(--webbprojekt);
    text-decoration: none;
    font-size: 22.5px;
    position: relative;
}

.biglogo{
  position: relative;
  width: auto;
  height: 50%;
  display: inline-block;
  animation: fadeIn2 ease 2s;
}

ul{
  padding-inline-start: 10%;
}

img{
  flex: 0 auto;
    width: 350px;
    height: auto;
    margin: 0.25%;
  animation: fadeIn2 ease 3.5s;
}

.links1 {
    text-align: center;
    vertical-align: middle;
}

a{
  color: var(--webbprojekt);
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

.logo {
    text-align: center;
    position: relative;
}

@keyframes fadeIn2 {
  0% {opacity:0;}
  100% {opacity:1;}
}

div{
  box-sizing:border-box;
}

.typewriter h1 {
  position: relative;
  pointer-events: none;
  cursor: crosshair;
  z-index: 9;
  font-size: 12px;
  color: #ff1a1a;
  font-family: 'Gloria Hallelujah', cursive;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em; /* Adjust as needed */
  animation:
    typing 6s steps(30, end),
    blink-caret .5s step-end infinite;
    animation-duration: 6s;
}

@keyframes typing {
  from { width: 0 }
  to { width: 50% }
  0% {opacity:0;}
  25% {opacity:1;}
}


@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hero img {
  width: 24.5%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {

  .hero {
  
}


    .hero {

      }


.typewriter h1{
  animation-duration: 4s;
      font-size: 8px;
      animation-timing-function: steps(18),step-end;
}


    }
