html {
  border: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  border: 0;
  margin: 0;
  font-size: 12px;
  overflow: hidden;
  text-align: center;
  padding: 0;
  font-family: arial, sans-serif;
}

#curtain {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 7vh;
  z-index: 1;
  transition: height 0.5s ease;
}

#coffee-start {
  width: 100vw;
  height: 100vh;
  background: url("./icons/coffee-start.jpeg") top/cover;
}

.header {
  position: relative;
  text-align: center;
  background: transparent;
}

.header-bg {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #311e17;
  z-index: 1;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height: 6.2vh;
    min-height: 6.2vh;
  }
}

#level {
  display: none;
}

.loader {
  top: 0;
  left: 0;
  height: 100%;
  position: fixed;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.loader p {
  left: 0;
  top: 45%;
  margin: 0;
  width: 100%;
  color: #fff;
  font-size: 14px;
  position: fixed;
  text-align: center;
  font-weight: normal;
  font-family: monospace;
}

@media (max-width: 500px) {
  .loader p {
    font-size: 14px;
  }
}

html[context="popup"] body {
  overflow: hidden;
}

html[context="popup"] .content table {
  border-spacing: 1px;
}

html[context="popup"] .content canvas {
  max-height: 400px;
}

html[context="webapp"] .toolbar {
  display: none;
}

html[context="webapp"] .loader {
  width: 100%;
}
