html {
    font-size: 3em;
}

body {
    background: #000000;
    color: white;
    text-align: center;
    margin: 0em;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
}

.hide-on-mobile{
    display: none;
}
h1{
    font-size: 130%;
}

a {
    background:
        linear-gradient(to bottom, #fff 0%,
        #fff 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 2px 2px;
    color: #fff;
    text-decoration: none;
    transition: background-size .2s;
}

a:hover {
    color: #000;
    background-size: 3px 50px;
}

.center {
    display: block;
    margin: auto;
}

main {
    width: 90%;
    margin: auto;
}

.erklärung {
    text-align: left;
    font-weight: 300;
      animation-delay: 4.5s;
}
.typewriter h1{
  animation-duration: 1500ms;
  animation-delay: 200ms;

}
.typewriter h1.second{
animation-delay: 2.5s;
}

p.untertitel {
    font-size: 8vw;
    margin: 1vw;
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

video {
    width: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    width: calc(99% - 1em);
    text-align: right;
}

footer p {
    padding-right: 20px;
}


/* 
 * Credits for the @media queries 
 * http://devfacts.com/media-queries-breakpoints-2020/ 
 */


/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {}


/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    body {
        margin: 10% 1em 1em 1em;

    }

    video {
        width: 640px;
    }

    p.untertitel {
        font-size: 3vw;
        margin: 1vw;
    }

    main {
        width: 60%;
        margin: auto;
    }

    html {
        font-size: 1em;
    }
    .hide-on-mobile{
    display: inline;
}
h1{
    font-size: 2em;
}
.typewriter{
    display: inline-block;
}
.typewriter h1 {
    display:inline-block; 
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: .15em solid white; /* 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 2.5s steps(40, end),
    blink-caret .75s step-end 5 forwards;
}

.typewriter h1.second{
    width: 0;
animation-delay:3s;
animation-fill-mode: forwards;
}

@keyframes opacity:  {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: white; }
}


.erklärung {
    text-align: left;
    font-weight: 300;
  animation-duration: 800ms;
  animation-delay: 6.5s;
}

}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}

