* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}

.op {
  width: 33px;
  height: auto;
}
.logo {
  cursor: pointer;
  /*transform: scale(7);*/
}

@media (hover: hover) {
  .logo--play:hover .carpet {
    animation: none;
  }
}

.logo .stop {
  opacity: 0;
}

/*.logo:hover {*/
/*  animation: shiver infinite 0.3s;*/
/*}*/

.logo.logo--play:hover {
  animation: none;
}

.logo.logo--play .rocknroll {
  opacity: 0;
}
.logo.logo--play .stop,
.logo.logo--play .change {
  opacity: 1;
}

.change {
  cursor: pointer;
  font-size: 14px;
  font-family: sans-serif;
  opacity: 0;
  text-align: right;
  font-weight: 500;
}

.change:hover {
  text-decoration: underline;
}

.change--play {
  opacity: 1;
}

@media (max-width: 480px) {
  .logo {
    width: 350px;
  }
}

@media (max-width: 400px) {
  .logo {
    width: 300px;
  }
}

.top {
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: difference;
  color: #fff;
  font-family: sans-serif;
  font-size: 16px;
  text-align: center;
  padding: 2px;
  width: 100%;
}
.logodiv {
  position: absolute;
  left: 0;
  top: 0;
}

.logosection {
  /*background-color: #fff;*/
  height: 100vh;
  width: 100vw;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  align-items: center;
  justify-content: flex-end;
  padding-top: 30vh;
  padding-bottom: 7vh;
  position: relative;
}



@media (max-height: 550px) {
  .logosection {
    min-height: 550px;
    height: auto;
    padding-top: 170px;
    padding-bottom: 40px;
  }
}


.projects {
  text-align: center;
  font-family: sans-serif;
  font-size: 36px;
  margin-bottom: 0.3em;
  mix-blend-mode: difference;
  mix-blend-mode: difference;
  color: #fff;
}

.scroll-trap {
  position: relative;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  align-items: center;

  /*background-color: #fff;*/
}

.projects:hover {
  /*text-decoration: underline;*/
}

.projects.no-events {
  pointer-events: none;
}
.projects.no-events:hover {
  text-decoration: none;
}
.trap.visible {
  visibility: visible;
}
.trap.disapp {
  opacity: 0;
}

.down {
  height: 30px;
  margin-left: -9px;
  mix-blend-mode: difference;
}

.down path {
  fill: #fff;
}

li {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
ul {
  margin: 0;
  padding: 0;
}

footer {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: row;
  -moz-flex-direction: row;
  -ms-flex-direction: row;
  -o-flex-direction: row;
  flex-direction: row;
  justify-content: center;
  position: relative;
  mix-blend-mode: difference;
}

/*footer::before {
  content: "music inspired frontend";
  font-size: 14px;
  font-family: sans-serif;
  right: 40px;
  top: -20px;
  position: absolute;
}*/

/*@media (max-width: 768px) {
  footer::before {
    right: 20px;
  }
}

@media (max-width: 550px) {
  footer::before {
    right: 50%;
    margin-right: -70px;
  }
}*/

footer ul {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  height: fit-content;
  mix-blend-mode: difference;
}

footer a {
  /*transition: all 0.25s;*/
  display: block;
}

footer li:not(:last-of-type) a {
  margin-right: 20px;
}

footer a:hover {
  /*transform: translateY(-4px);*/
}

footer li {
  display: block;
}

.project-list a {
  color: #000;
  font-family: sans-serif;
  text-decoration: none;
  font-size: 20px;
  /*width: fit-content;*/
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 10px 20px;
  mix-blend-mode: difference;
  color: #fff;
}

.project-list {
  display: flex;
flex-direction: column;
align-items: center;
}

.project-list li {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  margin-left: auto;
}

.main {
  overflow: hidden;
  width: 100%;
  padding-top: 10vh;
  height: 75vh;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  justify-content: space-between;
}


@media (max-height: 550px) {
  .main {
    min-height: 400px;
    height: auto;
    padding-top: 60px;
  }
}

@keyframes move {
  to {
    stroke-dashoffset: 0;
  }
}

.project-list li svg {
  position: absolute;
  left: 10px;
  bottom: 1px;
}

.seethesound .worm {
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
}
.seethesound a:hover + svg .worm {
  animation: move 0.3s forwards;
}

.project-list .parrot svg {
  bottom: 3px;
  left: 18px;
}
.parrot .worm {
  stroke-dasharray: 131.2;
  stroke-dashoffset: 131.2;
}
.parrot a:hover + svg .worm {
  animation: move 0.2s forwards;
}

.project-list .fieldscapes svg {
  bottom: 5px;
}
.fieldscapes .worm {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}
.fieldscapes a:hover + svg .worm {
  animation: move 0.25s forwards;
}

.project-list .wordline svg {
  bottom: -1px;
  left: 23px;
}

/* .parrot a::after {
    position: absolute;
    right: -90px;
    content: "warning: this is gonna blow your mind. think twice";
    font-size: 10px;
    bottom: 0px;
    max-width: 90px;
    text-align: left;
    display: none;
} */

.parrot a:hover::after {
    display: block;
}

.project-list li svg {
  mix-blend-mode: difference;
}
.wordline .worm {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
}
.wordline a:hover + svg .worm {
  animation: move 0.5s forwards;
}

.project-list .demos svg {
  top: 1.7em;
  /*z-index: -1;*/
}
.demos .worm {
  stroke-dasharray: 1222;
  stroke-dashoffset: 1222;
}
.demos a:hover + svg .worm {
  animation: move 1.5s forwards ease-in;
}

@keyframes bg {
  0% {
    fill: #000;
  }
  10% {
    fill: #fd7b23;
  }
  20% {
    fill: #000;
  }
  30% {
    fill: #43e23b;
  }
  40% {
    fill: #000;
  }
  50% {
    fill: #ff0000;
  }
  60% {
    fill: #fd7b23;
  }
  70% {
    fill: #000;
  }
  80% {
    fill: #43e23b;
  }
  90% {
    fill: #fd7b23;
  }
  100% {
    fill: #ff0000;
  }
}

.iimg {
  transform-origin: center;
  animation: wow 10s infinite linear alternate-reverse,
  rot 10s linear infinite;
}

@keyframes wow {
  from {
    width: 800px;
    height: 600px;
  }
  to {
    width: 700px;
    height: 500px;
  }
}

.star {
}


@keyframes rot {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg)
  }
}

.visual {
  height: 100%;
}

.visual .octy{
  cursor: pointer;
}
.ctrls.ended + .octy{
  cursor: default;
  pointer-events: none;
}

.trigger {
  opacity: 1;
}

.ctrls:hover .trigger {
  opacity: 0;
}

.play {
  opacity: 0;
}

.ctrls:hover .play {
  opacity: 1;
}

.ctrls {
  cursor: pointer;
}

.ctrls.ended{
  cursor: default;
  pointer-events: none;
}

.icon:hover {
  opacity: .8;
}
