html, input[type="search"] {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #FFF;
  color: #353535;
  font-family: 'Work Sans', sans-serif;
  border-bottom: 10px solid #353535;
}

header {
  background: #d53369;
  background: -webkit-linear-gradient(to left, #d53369 , #cbad6d);
  background: linear-gradient(to left, #d53369 , #cbad6d);
  padding: 0 60px 70px 60px;
}

.content {
  max-width: 1000px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 70px 60px;
}

@media (max-width: 850px) {
  .content, header {
    padding: 30px;
  }
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.top {
  align-items: flex-start;
}

.item {
  flex-grow: 1;
  flex-basis: 45%;
  max-width: 45%;
}

@media (max-width: 920px) {
  .searchRow .item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .searchRow .item:first-child {
    margin-bottom: 30px;
  }

  .arrow {
    display: none;
  }
}

.logo {
  max-width: 350px;
  width: 100%;
}

@media (max-width: 660px) {
  .logo {
    max-width: 200px;
  }
}

h1 > img:after {
  content: "The right gif, every time";
  font-size: 14px;
  font-weight: 300;
}

h1 {
  text-align: center;
}

h2 {
  font-weight: 300;
  text-align: center;
  margin: 0 0 60px 0;
  font-size: 30px;
}

#addToSlack {
  height: 60px;
  width: 208px;
  margin: 0 auto;
  display: block;
}

#addToSlack img {
  width: 100%;
  transition: all 0.2s ease;
}

#addToSlack img:hover {
  transform: scale(1.1);
}

input[type=search] {
  position: relative;
  border: none;
  border-bottom: 1px solid #AAAAAA;
  color: #A51E4B;
  font-size: 20px;
  display: block;
  padding: 20px 70px 20px 40px;
  width: 100%;
  -moz-appearance:none;
  -webkit-appearance:none;
}

form {
  position: relative;
  width: 80%;
  max-width: 500px;
  margin: 0 auto;
}

form::before {
  content: "/gif";
  color: #AAAAAA;
  position: absolute;
  top: 20px;
  font-size: 20px;
  z-index: 10;
}

input[type=search]:focus {
  border-bottom: 4px solid #A51E4B;
}

.submit {
  position: absolute;
  right: 20px;
  top: 18px;
  width: 30px;
  height: 30px;
}

textarea, input { outline: none; }

.center {
  text-align: center;
}

#result {
  margin: 0 auto 50px auto;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

#result > img {
  max-width: 100%;
  display: block;
  margin: 0 auto 20px auto;
}

#result > p {
  margin: 20px 0 0 0;
  text-align: center;
}

#result > a, #result span {
  margin: 0 10px;
  display: inline-block;
  font-size: 13px;
}

#done {
  font-size: 18px;
  text-align: center;
  margin-top: 100px;
}

code {
  background: white;
  color: #A51E4B;
  font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;
  padding: 2px;
  font-weight: bold;
  border-radius: 2px;
}

#intro {
  font-size: 20px;
  text-align: center;
  margin: 40px auto;
  max-width: 790px;
  line-height: 1.8em;
  color: white;
  font-weight: 300;
}

.footer {
  text-align: center;
  font-size: 13px;
  padding: 20px 60px;
}

.footer a {
  color: #353535;
}

.footer p {
  margin: 4px 0;
}

.inside h1 {
  margin-bottom: 40px;
}

p {
  line-height: 1.6em;
}

.inside h2 {
  font-weight: normal;
}

.inside .intro {
  font-weight: bold;
  margin: 40px 0;
}

a {
  color: #353535;
  transition: color 0.1s ease;
}

a:hover {
  color: #A51E4B;
  text-decoration: none;
}

.social {
  margin-top: 10px;
}

.socialIcon {
  width: 30px;
  height: 30px;
  transition: all 0.1s ease;
}

.socialIcon:hover {
  transform: scale(1.2, 1.2);
}

.success {
  margin-top: 20px;
}

blockquote {
  margin: 2.5em 0;
  line-height: 1.5em;
  text-align: center;
}

blockquote footer {
  text-align: right;
}

@media (max-width: 780px) {
  blockquote {
    width: 100%;
    max-width: 500px;
    float: none;
    margin: 4em auto;
  }
}

.arrow {
  position: absolute;
  width: 128px;
  right: -80px;
  top: 100px;
}

section {
  margin-bottom: 60px;
}

@media (max-width: 800px) {
  .item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .lovedBy {
    display: none;
  }

  blockquote {
    margin: 2em auto;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 35px;
  }

  section {
    margin-bottom: 70px;
  }
}

.slackUi {
  position: relative;
}

.slackUi .bg {
  width: 100%;
}

.chat {
  position: absolute;
  background: red;
  right: 4%;
  bottom: 6%;
  width: 67%;
}
.logos {
  text-align: center;
}

.logos img {
  width: 80%;
}

@media (max-width: 780px) {
  .logos {
    display: none;
  }
}

.logos .row {
  justify-content: center;
}

.loginButton {
  padding: 10px;
  color: white;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
  border: 2px solid white;
  border-radius: 4px;
  text-decoration: none;
}

.loginButton:hover {
  background: white;
}

.button {
  display: block;
  border-radius: 4px;
  background: #A51E4B;
  color: white;
  padding: 10px;
  text-decoration: none;
}

.button:hover {
  color: white;
  opacity: 0.7;
}

.features header {
  margin-bottom: 29%;
  padding-top: 0;
}

.features h1 {
  color: #FFF;
  font-weight: lighter;
  margin: 0;
  padding: 2em 0;
}

.features .slackUi {
  margin: 0 auto;
  max-width: 700px;
  margin-bottom: -29%;
}

.featureWrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  flex: 1 0 50%;
  text-align: center;
  padding: 30px;
}

.feature h3 {
  font-weight: 400;
  font-size: 1.35em;
}

@media (min-width: 1050px) {
  .features header {
    margin-bottom: 15%;
  }

  .features .slackUi {
    margin-bottom: -15%;
  }
}

@media (max-width: 600px) {
  .feature {
    flex: 1 0 100%;
  }
}

.comingSoon h3:after {
  content: "(coming soon)";
  display: block;
  font-size: 12px;
}

nav ul {
  margin: 0;
  padding: 30px 0;
}

nav ul li {
  float: right;
  margin: 0 20px;
  list-style: none;
  padding: 0;
}

nav ul li a {
  color: #FFF;
  text-decoration: none;
}

nav ul li a:hover {
  color: #FFF;
  text-decoration: underline;
}
