@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Robotto-BlackItalic.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Bold.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-BoldItalic.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Italic.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Light.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-LightItalic.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Medium.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-MediumItalic.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Regular.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Thin.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-ThinItalic.ttf") format("ttf"),
    url("../fonts/roboto/Robotto-Black.ttf") format("ttf");
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: white;
  font-family: "Robotto", sans-serif;
}

body {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: black;
  position: relative;
}

/* SVG */
#svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
  position: fixed;
  z-index: 0;
  top: 0;
  filter: blur(1px);
}

#singleLine {
  transform-origin: 180px 80px;
  /* animation: rotate 10s linear infinite;  */
  stroke-width: 5px;
}

.singleLine {
  transform-origin: 180px 80px;
  rotate: -32deg;
}

#holeCover {
  animation: transform 10s linear infinite;
}

/* Content */

main {
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

#first{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: xxx-large;
  padding: 10px;
  justify-content: space-around;
  align-items: center;
}

.fadeInSection {

  opacity: 0;
  width: 80%;

} 

#second{
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  padding: 10px;
  text-align: center;
  width: 100%;
  font-size: xx-large;
}

.portfolioList{
  display: flex;
  justify-content: space-around;
}

.portfolioImgs{
  width: 20vw;
  height: 20vw;
  display: block;
  border-radius: 20px;
  border: 1px solid white;
  background-size: cover;
  background-position: center;
}

#ball{
  background-image: url("/imgs/ball.png");
}

#movingBoxes{
  background-image: url("/imgs/movingBoxes.png");
}

#followingEyes{
  background-image: url("/imgs/augen.png");
}

#person1{
  background-image: url("/imgs/person1.png");
}

#cab{
  background-image: url("/imgs/cab.jpg");
}

#tca{
  background-image: url("/imgs/TCA3.png");
}

.img{
  width: 100%;
  background-color: black;
}

.mein-element {
  opacity: 0;
}

.visible {
  animation: scrollIn 1s linear forwards ;
}

@keyframes scrollIn{
  from{
    opacity: 0;
    transform:  translate(-100px, 0px);
  }
  to{
    opacity: 1;
    transform:  translate(0px, 0px);
  }
}

@keyframes typing {
   from {
      opacity: 0;
      transform:  translate(0px, -100px);
   }
   to {
    opacity: 1;   
    transform:  translate(0px, 0px);
  }
}



/* Animations */

@keyframes rotate {
  from {
    transform: translate(0%, 0%);
  }
  25% {
    transform: translate(-20%, 13%);
  }
  50% {
    transform: translate(0%, 0%);
  }
  75% {
    transform: translate(20%, -13%);
  }
  to {
    transform: translate(0%, 0%);
  }
}

@keyframes transform {
  from {
    transform: translate(0%, 0%);
  }
  50% {
    transform: translate(-5%, -10%);
  }
  to {
    transform: translate(0%, 0%);
  }
}
