html {
  background: black url(img/bg.jpg) repeat;
  animation: bga 5s infinite linear;
  color: #489cff;
  padding: 0;
  font-family: lupo;
  font-size: 1.5em;
  text-shadow: 2px 2px 8px #000000;
  line-height: 1em;
  hyphens: auto;
}
body {
  padding: 0;
  /* margin: 2em; */
}
h1 {
  margin: 0;
}
main {
  display: flex;
  align-items: center;
  flex-flow: column;
  gap: 0;
  pointer-events: none; 
}
header {
  padding: 2em;
  padding-top: 1.5em;
  padding-bottom: 0;
  border: 10px inset;
  background: url(img/bg2.jpg) no-repeat center center;
  background-size: cover;
}
nav>ul {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  gap: 1em;
  list-style-type: none;
  pointer-events: auto;
}
@keyframes bga {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 128px 64px;
  }
}
@font-face {
  font-family: lupo;
  src: url(lupo.woff2);
}
article {
  max-width: 50%;
  width: 50%;
  display: flex;
  flex-flow: column;
  justify-items: start;
  padding: 2em;
  /* padding-top: 0; */
  border: 4px double;
  background: black url(img/bg.jpg) repeat;
  animation: bga 5s infinite linear reverse;
  gap: 0.5em;
  pointer-events: auto;
}
#sticker1 {
  position: fixed;
  right: 15%;
  top: 2em;
  z-index: -1;
  transform: rotate(20deg);
}
#sticker2 {
  position: fixed;
  left: 0%;
  top: 0%;
  /* animation: vw infinite  2s linear; */
  z-index: 50;
}
img,a {
  transition: 0.5s;
  transform: rotate(0deg) scale(1);
}
img:hover,a:hover {
  transition: 1s;
  transform: rotate(5deg) scale(1.2);
}
.inline-img-fix {
  display: inline-block;
  transform: translate(0, 0.25em);
}
.sticker {
  display: inline-block;
}
h1,h2,h3,h4 {
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}
a {
  color: #b8bcff;
  text-decoration: none;
  font-style: italic;
}
.active {
  border-bottom: ridge 3px;
}
@media screen and (max-width: 700px) {
  main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    position: relative;
  }
  article {
    width: 90% !important;
    max-width: 90% !important;
    margin: 0;
    padding: 0.5em !important;
    flex-grow: 1;
    flex: 1;
  }
  #container {
    display: flex;
    flex-flow: column;
  }
  aside {
    width: 45% !important;
    display: inline-block;
  }
  #asides {
    position: relative !important;
    top: 0 !important;
  }
}
aside {
  border: 2px dashed;
  padding: 0.5em;
  width: 15%;
  font-size: 0.8em;
  background: #2222227f;
  max-height: max-content;
  pointer-events: auto; 
}
#asides {
  pointer-events: none; 
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  width: 95%;
  position: absolute;
  top: 10em;
  left: 0;
  padding: 2.5%;
  align-items: flex-start;
}
#impres {
  position: fixed;
  bottom: 0.5em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7em;
}
#controllz {
  display: flex;
  font-size: 0.7em;
  flex-flow: column;
  position: fixed;
  top: 0.5em;
  left: 0.5em;
  background: #0000007f;
  opacity: 0.2;
  z-index: 1000;
}

#controllz:hover {
  opacity: 1;
}

#lang {
  display: flex;
  font-size: 0.7em;
  flex-flow: row;
  position: fixed;
  top: 0.5em;
  right: 1em;
  z-index: 1000;
}
