@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;
}



.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: 15px;
  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 20s steps(30, end),
    blink-caret 5s step-end infinite;
    animation-duration: 8s;
}

@keyframes typing {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    width: 25%;
    opacity: 1;
  }
  75% {
    width: 50%;
    opacity: 1;
  }
  100% {
    width: 100%;
    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: 767px) {
  .hero {
    display: block;
    white-space: normal;
    overflow-x: scroll;
    overflow-y: hidden;
    position: relative;
    z-index: -1;
    animation-duration: 60s;
  }

  .hero img {
    position: relative;
    width: 100vw;
    object-fit: cover;
    animation: scroll linear infinite;
    animation-iteration-count: 100;
  }

  .hero::-webkit-scrollbar {
  display: none;
}

  @keyframes scroll {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-100%);
    }
  }
  .typewriter h1{
    animation-duration: 4s;
        font-size: 8px;
        animation-timing-function: steps(18),step-end;
  }
}




    }
