* {
  box-sizing: border-box;
}

body,
html {
  font-size: 16px;
  margin: 0;
  padding: 0;

  font-family: "Roboto", sans-serif;
  background-color: #f5f6fa;
  color: #212121;
}

img {
  image-rendering: -moz-crisp-edges; /* Firefox */
  image-rendering: -o-crisp-edges; /* Opera */
  image-rendering: -webkit-optimize-contrast; /* Webkit (non-standard naming) */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;

  height: 100vh;
  width: 100vw;
}

main {
  height: 100vh;
  max-width: 520px;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-flow: column;

  background: transparent;

  padding: 30px;
}

.heading {
  margin-bottom: 24px;
}

.heading h1 {
  font-size: 3.5em;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heading h1 img {
  height: 70px;
  margin-left: -50px;
  margin-bottom: -14px;
}

.heading .ad {
  text-align: right;
  width: 100%;
  height: 16px;
  font-size: 0.8em;
  display: inline-block;
  text-transform: uppercase;
  transform: translateY(-5px);
}

.heading .ad img {
  height: 100%;
  vertical-align: middle;
  background-color: #fefefe;
}

main h2 {
  margin: 0 0 16px 0;
  font-weight: 400;
}

.button {
  display: flex;
  align-items: center;
  flex-flow: column;
  color: #212121;
  background-color: #fcfcfc;
  border: 1px solid #dbdbdb;
  border-radius: 3px;
  text-decoration: none;
  padding: 10px 16px;
  display: inline-block;
  margin-top: 20px;

  transition: 100ms all ease-in-out;
  transition: 200ms margin ease-in-out;
}

.button:hover {
  background-color: #f7f7f7;
  margin-left: 10px;
}

.button img {
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
}

.button span {
  vertical-align: middle;
}

.background-gradient {
  position: fixed;
  top: 0;
  right: 0;
  width: 35%;
  height: 100vh;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
  background: linear-gradient(45deg, #008cff, #00ccff, #00ff557e, #00ffc2);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

a[rel~="external"]:after {
  content: " \1F855";
}

@media (max-width: 700px) {
  body {
    font-size: 12px;
  }

  .heading h1 {
    font-size: 2.8em;
    flex-flow: column;
  }

  .heading h1 img {
    margin: 0 0 20px 0;
    height: 80px;
  }

  main h2 {
    font-size: 1.4em;
  }

  main {
    max-width: 350px;
  }

  .background-gradient {
    width: 50%;
  }
}

@media (max-width: 500px) {
  .background-gradient {
    width: 60%;
  }
}
