@font-face {
    font-family: 'DIN';
    src: url(../res/BAHNSCHRIFT.TTF);
}

@font-face {
    font-family: 'DIN light';
    src: url(../res/BAHNSCHRIFT1.TTF);
}

body {
    color: white;
    background-color: #151515;
    margin: 0px;
    padding: 0px;
    font-family: 'DIN light', sans-serif;
    font-weight: normal;
	overflow-x: hidden;
}

header {
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header #maintext img {
    height: 300px;
}

stepdown {
    padding: 0px;
    margin: 0px;
}

stepdown .c1 {
    background-color: #bc57a7;
    height: 90px;
}

stepdown .c2 {
    background-color: #8f2dc2;
    height: 90px;
}

stepdown .c3 {
    background-color: #6e1aae;
    height: 90px;
}

stepdown .c4 {
    background-color: #431c86;
    height: 90px;
}

stepdown .c5 {
    background-color: #221354;
    height: 90px;
}

main {
    background-color: #ccd1d7;
    color: #151515;
    padding: 0px;
    margin: 0px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

main div h1 {
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
    padding: 0px;
    margin: 0px;
    font-family: 'DIN', sans-serif;
    font-weight: bold;
    font-size: 500%;
    animation: typing 2s steps(22), blink .5s step-end infinite alternate;
}

main div {
    width: 50%;
}

footer {
    position:relative;
}

footer .b {
    background-color: #151515;
}

footer .w {
    background-color: #ccd1d7;
}

.s7 { height: 500px; }
.s6 { height: 200px; }
.s5 { height: 100px; }
.s4 { height: 75px; }
.s3 { height: 50px; }
.s2 { height: 25px; }
.s1 { height: 10px; }

.floater {
   left:50%;
   top:50%;
   -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
   transform: translate(-50%, -50%);
   position:absolute;
    background-image: url(../res/ball.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
    width: 500px;
    filter: drop-shadow(70px 70px 9px rgba(0, 0, 0, 0.9));
}


@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}

.wrapper {
  /*This part is important for centering*/
  display: grid;
  place-items: center;
}

.typing {
  width: 18ch;
  animation: typing 2s steps(22), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: 'DIN';
    font-weight: bold;
  font-size: 5em;
}

@media only screen and (max-width: 1000px) {
    .typing {
        width: 17ch;
        font-size: 3.5em;
    }
    
    main div p {
        font-size: 150%;
        font-weight: normal;
    }
}
