html {
  background-color: #F0E9DF;
}

@media (min-width: 400px) {
  h1 {
    margin-top: 0px;
    margin-left: 6%;
    margin-right: 0px;}

  .rotatingText-adjective {
    float: right;
    margin-left: 40%;
    margin-bottom: 0;
    margin-top: 4%;
    margin-right: 8%;}
}

br {
  height: 200%;
  width: auto;
}

header {
  font-family: 'Anton';
  color: #DB9EC8;
  position: absolute;
  font-size: 6vw;
  float: left;
}

body, header {
  display: inline;
}

header:hover {
  color: #365939;
}

.rotatingText-adjective {
  font-family: 'DM Serif Text';
  font-size: 2vw;
  font-style: normal;
  font-weight: 400;
  color: #365939;
  opacity: 0;
  position: absolute;
  text-align: justify;
  top: 0;
}

.rotatingText-adjective:nth-of-type(1) {
  animation-name: rotate;
  animation-duration: 5s;
  animation-delay: 0.5s;

}

.rotatingText-adjective:nth-of-type(2) {
  animation-name: rotate;
  animation-duration: 10s;
  animation-delay: 5.75s;
}

.rotatingText-adjective:nth-of-type(3) {
  animation-name: rotate;
  animation-duration: 5s;
  animation-delay: 15.5s;
}

.rotatingText-adjective:nth-of-type(4) {
  animation-name: rotate;
  animation-duration: 5s;
  animation-delay: 20.5s;
}

.rotatingText-adjective:nth-of-type(5) {
  animation-name: rotate-last;
  animation-duration: 5s;
  animation-delay: 25s;
  animation-fill-mode: forwards;
}

@keyframes rotate {
  0% {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }

  20%, 80% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -25px, 0);
  }
}

@keyframes rotate-last {
  0% {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }

  50%, 100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

body {
  animation-iteration-count: infinite;
}

a {
  color: #DB9EC8;
  margin-top: 300%;
  margin-left: 15%;
  display: inline;
  color: #DB9EC8;
  font-family: 'DM Serif text', serif;
  font-size: 3vw;
  font-weight: 400;
  text-decoration:  none;
}

a:hover {
  text-decoration: underline;
}


footer {
  margin-top: 60%;
  justify-content: space-between;
}
