/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #181617;
  color: #7A767F;
  font-family: 'Zalando Sans';
  font-size: 1.3rem;
  font-weight: 400;
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  box-sizing: border-box;
}

a {
 all: none;
 cursor: pointer;
}

.content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.content p {
  text-align: center;
}

.content a {
 text-decoration: underline; 
}

.repeating-text-container {
    position: fixed;
    height: 100vh;
    width: 100vh;
    z-index: 0;
}

.repeating-text {
    height: 100vh;
    width: 7vw;
    position: fixed;
    top: 10px;
    right: 50px;
    background: url(/repetition_repeating_word.png) repeat-y;
    background-size: 100% auto;
    animation: scrollRepeatingTextVertically 60s linear infinite;
    /*display: grid;
    grid-auto-rows: 32px;
    font-weight: bold;
    font-size: 32px;
    overflow: hidden;*/
}

@media (max-width: 768px) {
    .repeating-text-container {
        position: relative;
        height: 20vh;
        width: 100vw;
    }

    .repeating-text {
        height: 2vh;
        width: 100vw;
        position: sticky;
        top: 50px;
        right: 0px;
        background: url(/repetition_repeating_word.png) repeat-x;
        background-size: auto 100%;
        animation: scrollRepeatingTextHorizontally 15s linear infinite;
    }
}

@keyframes scrollRepeatingTextVertically {
    from {
        background-position: 0 100%;
    }

    to {
        background-position: 0 0;
    }
}

    .right-repeating-text > div {
        white-space: nowrap;
    }

@keyframes scrollRepeatingTextHorizontally {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: 0 0;
    }
}

.right-repeating-text > div {
    white-space: nowrap;
}