body,
html {
  overflow-x: hidden;
}

body {
  font-family: 'Overpass', sans-serif;
  padding: 0;
  margin: 0;
  background: #f6f7f9;
}

a {
  text-decoration: none;
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  border-radius: 4px;
}

.body {
  background: linear-gradient( 180deg, #0f2027 0%, #203a43 47.51%, #2c5364 97.79%);
  padding: 20px 20px;
  overflow: hidden;
}

.body.gallery .hero {
  display: none;
}

.container,
.content {
  margin: 0 auto;
  max-width: 1200px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  flex-wrap: wrap;
  padding: 0;
}

.logo {
  color: #fff;
  display: flex;
  flex-grow: 1;
  align-items: center;
}

.logo .by a {
  color: #3f51b5;
  margin-left: 20px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 2px;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

.logo h1 {
  margin: 0;
  margin-right: 20px;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
}

.logo h1 span:first-child {
  background: linear-gradient(180deg, #1fa2ff 0%, #12d8fa 50%, #a6ffcb 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.logo h1 span:last-child {
  background: linear-gradient(180deg, #ff8008 0%, #ffc837 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.menu {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.menu a {
  color: #fff;
  font-size: 18px;
}

.menu a:first-child {
  margin-right: 50px;
}

.donate {
  text-decoration: underline;
}

.hero {
  display: flex;
  margin-top: 60px;
  margin-bottom: 40px;
}

.tagline {
  color: #fff;
  font-size: 50px;
  flex: 1;
  align-items: center;
  display: flex;
  font-family: Overpass, sans-serif;
}

.demo {
  height: 350px;
  background: #fff;
  flex-grow: 1;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  overflow: hidden;
}

.sample-post {
  display: flex;
  width: 100%;
}

.placeholder-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.line {
  background: #e2e2e2;
  height: 25px;
}

.line-1 {
  width: 75%;
}

.line-2 {
  width: 100%;
}

.line-3 {
  width: 25%;
}

.placeholder-image {
  background: linear-gradient(180deg, #ff512f 0%, #dd2476 100%);
  max-width: 250px;
  flex: 1;
  margin-right: 15px;
}

.sample-post.second {
  margin-top: 31px;
}

.sample-post.second .placeholder-image {
  background: linear-gradient(180deg, #da22ff 0%, #9733ee 100%);
  margin-left: 20px;
  margin-right: 0;
}

.sample-post.second .placeholder-text {
  align-items: flex-end;
}

.content {
  margin-top: 60px;
  margin-bottom: 60px;
}

.subscribe {
  background: #fff;
  padding: 20px 20px 25px 20px;
  margin-bottom: 60px;
  text-align: center;
}

.subscribe h2 {
  margin: 0;
  margin-bottom: 20px;
}

.subscribe input {
  height: 37px;
  width: 300px;
  padding-left: 15px;
  font-size: 14px;
}

.subscribe button {
  cursor: pointer;
  font-size: 14px;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin-left: 20px;
  background: #00d2ff;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #3a7bd5, #00d2ff);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #3a7bd5, #00d2ff);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.instruction {
  display: flex;
  padding: 20px;
  background: #fff;
  border-radius: 3px;
  margin-bottom: 60px;
}

.instruction .text {
  flex: 1;
}

.instruction .image-container {
  flex: 2;
  display: flex;
  justify-content: flex-end;
}

.instruction.second .image-container,
.instruction.fourth .image-container {
  justify-content: flex-start;
}

.instruction.second .image {
  background: linear-gradient(180deg, #4776e6 0%, #8e54e9 100%);
}

.instruction.third .image {
  background: linear-gradient(180deg, #eecda3 0%, #ef629f 100%);
}

.image-container .image {
  background: linear-gradient(180deg, #a8ff78 0%, #78ffd6 100%);
  width: 60%;
  min-height: 364px;
}

.instruction pre {
  padding: 9.5px;
  margin: 0 0 21px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f3f5f7;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.instruction.fourth pre {
  flex: 0.59;
  align-items: center;
  display: flex;
}

.instruction a {
  color: #0984e3;
}

.instruction h2 {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 10px;
}

.instruction p {
  margin: 0;
  font-size: 21px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #333;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  /* align-items: center; */
  justify-content: space-around;
  margin: 0 auto;
  margin-top: 60px;
}

.gradient-preview {
  flex: 1 0 31%;
  margin: 10px;
  height: 250px;
  background: rgba(0, 0, 0, 0.6);
  position: relative;
  margin-bottom: 60px;
}

.gradient-info {
  color: #313131;
  display: flex;
  justify-content: space-between;
  position: absolute;
  align-items: center;
  right: 0;
  left: 0;
  bottom: -44px;
}

footer {
  background: #232526;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #414345, #232526);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #414345, #232526);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #fff;
  text-align: center;
  padding: 30px;
  font-size: 20px;
}

footer a {
  color: #fff;
  text-decoration: underline;
}

/* Animations */

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes tada {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  10%,
  20% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  }
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  }
  40%,
  60%,
  80% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  }
  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.tada {
  -webkit-animation-name: tada;
  animation-name: tada;
}

.product-hunt {
  background: #da552e;
  margin: -20px;
  margin-bottom: 20px;
  padding: 20px;
  text-align: center;
}

.product-hunt a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

@media all and (max-width: 768px) {
  .content {
    margin-top: 20px;
    padding: 0px 15px;
  }
  .logo {
    flex-grow: 2;
    justify-content: center;
    text-decoration: underline;
  }
  .logo h1 {
    font-size: 24px;
  }
  .by {
    display: none;
  }
  nav {
    flex-direction: column;
  }
  .menu {
    margin-top: 15px;
    justify-content: center;
  }
  .hero {
    flex-wrap: wrap;
  }
  .tagline {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
  }
  .tagline br {
    display: none;
  }
  .demo {
    height: 200px;
    width: 100%;
  }
  .line {
    height: 15px;
  }
  .instruction {
    margin-bottom: 20px;
    flex-direction: column;
    padding: 15px;
  }
  .instruction.second,
  .instruction.fourth {
    flex-direction: column-reverse;
  }
  .image-container .image {
    width: 100%;
    min-height: 200px;
  }
  .instruction.fourth pre {
    flex: 1;
  }
}