@charset "UTF-8";
/* html {
  width: 100vw;
  height: 100vh;
  background-image: url("../img/c.png");
  background-position: bottom;
  background-size: 2000px;
  background-repeat: repeat-x;
  animation: moving-background 50s infinite linear;
} */
body {
  overflow: hidden;
  min-height: 100vh;
  /* background-color: rgb(32, 32, 32); */
}

.flex-center, #box, body {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* specific */
#available {
  display: none;
  position: absolute;
  top: 20px;
}

#box {
  position: relative;
  transition: padding 0.5s;
}
#box::before, #box::after {
  content: "";
  position: absolute;
  left: -20px;
  z-index: -1;
}
#box::before {
  top: 0;
  bottom: -20px;
  width: 20px;
  clip-path: polygon(100% 0, 0% 100%, 100% calc(100% - 20px));
  background: #dbe0eb;
  transition: bottom 0.5s;
}
#box::after {
  top: 100%;
  right: 0;
  height: 20px;
  background: #8b8e94;
  clip-path: polygon(20px 0, 0% 100%, 100% 0);
}
#box.opened {
  padding: 0 0 50px 50px;
}
#box.opened::before {
  bottom: 0;
}
#box.opened #welcome-container {
  opacity: 1;
  width: 380px;
  margin-right: 100px;
}

@media screen and (max-height: 850px) {
  #box {
    transform: scale(0.8);
  }
}
#more-info {
  position: absolute;
  bottom: 57px;
  left: -122px;
  letter-spacing: 10px;
  transform: rotate(272deg);
  transition: opacity 1s;
  cursor: pointer;
}

#welcome-container {
  opacity: 0;
  width: 0;
  margin-right: 0;
  transition: opacity 0.5s 0.7s, width 0.5s 0.4s, margin-right 0.5s 0.4s;
}

#welcome {
  width: 380px;
}
#welcome img {
  display: block;
  margin: 15px auto; /* 20px auto 10px; */
  width: 50px;
}
#welcome span {
  color: #21a0ff;
}

#popup {
  box-shadow: 1px 1px 3px 2px #aeaeae;
  z-index: 1;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: opacity 500ms;
  z-index: 99;
}
#overlay > div {
  margin: 50px auto;
  background: white;
  padding: 20px;
  box-shadow: 1px 1px 3px 2px #505050;
  opacity: 0;
  transform: scale(0.8) translateY(-80px);
  transition: opacity 250ms, transform 250ms;
}
#overlay > div button {
  font-size: 1rem;
  padding: 10px;
  margin-top: 50px;
  width: 100%;
  background: #e5ebf7;
  border: none;
  cursor: pointer;
}
#overlay > div span {
  color: #21a0ff;
}

#installed,
#updated {
  width: 550px;
  display: none;
}
#installed strong,
#updated strong {
  display: block;
  font-size: 1.5rem;
  color: rgb(70, 214, 70);
  margin-bottom: 20px;
}
#installed blockquote,
#updated blockquote {
  position: relative;
  margin: 0;
}
#installed blockquote p,
#updated blockquote p {
  padding: 15px;
  background: #eee;
  border-radius: 5px;
}
#installed blockquote p::before,
#updated blockquote p::before {
  content: "“";
}
#installed blockquote p::after,
#updated blockquote p::after {
  content: "”";
}
#installed blockquote::after,
#updated blockquote::after {
  content: "— Chrome Web Store Description";
  position: absolute;
  right: 0;
  bottom: -20px;
  font-size: 12px;
}

#author {
  width: 800px;
}
#author a {
  display: inline;
  color: rgb(0, 123, 255);
  text-align: left;
}
#author details {
  border: 1px solid #aaa;
  padding: 0.5em 0.5em 0;
}
#author details:first-of-type {
  margin-top: 20px;
}
#author details:last-of-type {
  margin-bottom: 20px;
}
#author details[open] {
  padding: 0.5em;
}
#author details[open] summary {
  border-bottom: 1px solid #aaa;
  margin-bottom: 0.5em;
}
#author summary {
  font-weight: bold;
  margin: -0.5em -0.5em 0;
  padding: 0.5em;
  cursor: pointer;
}
#author summary strong {
  float: right;
}

#hint {
  position: absolute;
  bottom: 20px;
  columns: gray;
}

#secret {
  position: absolute;
  top: calc(100% + 100px);
  font-size: 50px;
  cursor: pointer;
}

/* @keyframes moving-background {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 2000px;
  }
} */
