@font-face {
font-family: 'Gloria Hallelujah';
src: url(GloriaHallelujah-Regular.ttf);
}

@media (max-width: 768px) {
      /* Styles for screens smaller than 768px */


.hero{
  animation-duration: 5s;
}

      img{
        max-width: 400px;
      }

    }

    @media screen and (min-width: 768px) {
      /* Styles for screens larger than 1200px */

      img{
        max-width: 350px;
      }


    }

body{
      background-color: #fffaed;
      font-family: 'Gloria Hallelujah';
}

:root {
  --webbprojekt: black;
  overflow: hidden;
}
.header{
  border: #fffaed;
  position: relative;
}

.hero{
width: 100%;
max-width: 1200px;
margin: 0 auto;
border: #fffaed;
position: absolute;
white-space: nowrap;
animation: fadeIn linear infinite;
animation-duration: 15s;
}
.Photos{
  height: 150px;
  position: relative;
}
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{
  min-height: 10px;
  max-height: 1000px;
  width: auto;
  animation: fadeIn2 ease 3.5s;
}

.links1 {
    text-align: center;
    vertical-align: middle;
}




a{
  color: var(--webbprojekt);
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

body{
  overflow: hidden;
}

.typewriter h1{
  font-family: 'Gloria Hallelujah';
  position: inherit;
  padding-right: 600px;
  margin-top: -30px;
}

.logo {
    text-align: center;
    position: relative;
}



@keyframes fadeIn {
  0% {
      transform: translate(0, 0);
  }
  100% {
      transform: translate(-100%, 0);
  }
}
@keyframes fadeIn2 {
  0% {opacity:0;}
  100% {opacity:1;}
}


::-webkit-scrollbar{width:2px;height:2px;}
::-webkit-scrollbar-button{width:2px;height:2px;}

div{
  box-sizing:border-box;
}

.horizontal-scroll-wrapper{
  position:absolute;
  display:block;
  top:0;
  left:0;
  width:80px;
  max-height:500px;
  margin:0;
  background:#abc;
  overflow-y:auto;
  overflow-x:hidden;
  transform:rotate(-90deg) translateY(-80px);
  transform-origin:right top;
}
.horizontal-scroll-wrapper > div{
  display:block;
  padding:5px;
  background:#cab;
  transform:rotate(90deg);
  transform-origin: right top;
}

.squares{
  padding:60px 0 0 0;
}

.squares > div{
  width:60px;
  height:60px;
  margin:10px;
}

.rectangles{
  top:100px;
  padding:100px 0 0 0;
}
.rectangles > div{
  width:140px;
  height:60px;
  margin:50px 10px;
  padding:5px;
  background:#cab;
  transform:rotate(90deg) translateY(80px);
  transform-origin: right top;
}

.typewriter h1 {
  padding-left: 500px;
  position: relative;
  pointer-events: none;
  cursor: crosshair;
  z-index: 9;
  font-size: 15px;
  top: -95px;
  width: 900px;
  color: #ff1a1a;
  font-family: 'Gloria Hallelujah', cursive;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid orange; /* The typwriter cursor */
  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;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50%
}
