@keyframes rain {
  0% {
    opacity: 0;
  }

  1% {
    margin-top: -50px;
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    margin-top: 30vh;
    opacity: 0;
  }
}

body {
  font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  background: #120121;
  /* linear-gradient(135deg, #312A6C, #852D91) */
  color: white;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 5em;
}

.dialog {
  font-family: Helvetica, Arial, sans-serif;
  color: black;
}

.dialog .dialog__overlay {
  z-index: 10;
  z-index: 15;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.dialog .dialog__dialog {
  z-index: 20;
  background: white;
  border-radius: 0.8em;
  text-align: center;
  padding: 2em;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
}

.dialog .dialog__dialog .dialog__dialog__title {
  font-weight: bold;
  text-align: center;
  font-size: 1.5em;
}

.dialog .dialog__dialog .dialog__dialog__body {
  margin: 1em auto;
  font-size: 1.2em;
  line-height: 1.5;
}

.canvas {
  top: -5vh;
  left: 0;
  right: 0;
  height: 25vh;
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  overflow: hidden;
  z-index: 1;
}

.canvas .canvas__emoji {
  position: absolute;
  animation: rain 7s ease infinite;
  transform: translateZ(0);
}

.pressCoverage {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  margin-top: 1em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.pressCoverage a {
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  text-indent: -3000px;

  &:not(last-child) {
    margin-right: 3em;
  }

  &.thenextweb {
    background-image: url(/assets/press/thenextweb-43c2e08613d3ed6866c470eee14a91786f7a4c81ada534aebea00f39f7d92081.svg);
    width: 8.5em;
    height: 2em;
  }

  &.betalist {
    background-image: url(/assets/press/betalist-beb7a7ca850d7c886253f52357eedf08ea5919b0d40891b9cdfd51aa917a1efa.svg);
    height: 3em;
    width: 3em;
  }

  &.thedailydot {
    background-image: url(/assets/press/thedailydot-4ec050944252758caf83d26edeed8439385ab51a8f7b8dd421d369a8f8489d71.png);
    height: 5em;
    width: 10em;
  }

  &.producthunt {
    background-image: url(/assets/press/producthunt-0af0696b0800367bafac3889999a93f8fb23e94ca1cf05b0e3d12b65855f1bd4.svg);
    height: 5em;
    width: 10em;
  }

  &.lifehacker {
    background-image: url(/assets/press/lifehacker-d08e503a2d98222963e1ffc7fdd00d010eee6b6f96c1b55b44b3e24448a67d08.svg);
    height: 3em;
    width: 8em;
  }

  &.webtekno {
    background-image: url(/assets/press/webtekno-813f64acff91d814546ab468fb33d868b016a2203152bfa50d5cf96b6e429ee8.png);
    height: 3em;
    width: 8em;
  }

  &.bright {
    background-image: url(/assets/press/bright-7e8ffb485d1442df2d33409952408a76b3ea0ae8c2302d5dca4082bd88c3d9fa.svg);
    height: 3em;
    width: 8em;
  }

  &.hackernews {
    background-image: url(/assets/press/hackernews-4341b60a1dcf9c42b5d5e353a43a9e863ce6e878147796bef3adb125c55f60c9.png);
    height: 3em;
    width: 6em;
  }

  &.reddit {
    background-image: url(/assets/press/reddit-5b56eeba55b44c9a98dd63d0b3eafae0ca2307dffcc2d93ed565358c11d97438.svg);
    height: 3em;
    width: 5em;
  }
}

.logo {
  text-indent: -3000px;
  overflow: hidden;
  display: block;
  width: 118, 5;
  height: 82px;
  background-image: url(/assets/logo-38036df08b625bfacdde728e8effd4b260432e7f4771ecdb009dff5c86449c09.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto;
}

.wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1em;
  z-index: 2;
}

.header {
  text-align: center;
  margin-bottom: 2em;
  font-family: Helvetica, Arial, sans-serif;
  z-index: 4;
  margin: 5em auto 0 auto;
  max-width: 80vw;
}

.header .header__buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.header .header__buttons .header__buttons_button {
  &:not(first-child) {
    margin-left: 0.25em;
  }
}

.header .header__search {
  margin-top: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .header__search input {
  display: block;
  padding: 0.4em 0.5em;
  font-size: 1em;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 0.2em;
  border: none;
}

.header .header__search .header__search__clear {
  padding: 1em;
  font-size: 0.5em;
  cursor: pointer;
}

h2 {
  text-align: center;
}

h3 {
  font-weight: normal;
  width: 100%;
}

h4 {
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  width: 100%;
}

.domainList {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.domain {
  display: block;
  border: 1px #eee solid;
  background-color: #fff;
  text-decoration: none;
  color: #000;
  margin: 0 0.5em 0.5em 0;
  border-radius: 0.2em;
  transition: 0.1s ease all;
  box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.05);
  font-size: 1.5em;
  overflow: hidden;

  &:hover {
    box-shadow: 0 0.7em 1em rgba(0, 0, 0, 0.1);
    z-index: 2;
    transform: scale(1.05);
  }
}

.domain .domain__url {
  display: flex;
  padding: 0.3em 0.5em;
  justify-content: center;
  align-items: center;
}

.domain .domain__url .domain__url__emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}

.domain .domain__url .domain__url__tld {
  font-size: 0.6em;
}

.domain .domain__price {
  display: block;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-size: 0.6em;
  text-align: center;
  color: #5AAA03;
  background-color: #ECFCDA;
}

.domain.domain--small {
  font-size: 1em;
}

.domain.domain--small .domain__url {
  padding: 0.3em 0.5em;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  color: black;
  padding: 1em;
}

.footer .footer__link {
  text-decoration: none;
  color: #00dffc;
}

.footer .footer__link strong {
  color: white;
  font-weight: normal;
}

.footer .footer__link:hover {
  color: white;
}

#clicks {
  position: fixed;
  top: 1em;
  right: 1em;
}

@media only screen and (max-width: 600px) {
  #clicks {
    display: none;
  }
}

.click {
  background-color: rgba(255, 255, 255, 0.95);
  color: black;
  padding: 1em;
  border-radius: 0.6em;
  font-size: 0.9em;
  margin-bottom: 0.5em;
}

.credits {
  max-width: 40em;
  line-height: 1.5;
  margin: 2em auto;
}

.credits a:link,
.credits a:visited {
  color: white;
}

.notice-banner {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 0.5em;
  font-size: 0.85em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
