/* Reset
-------------------------------------------------------------- */

html {
  box-sizing: border-box;
}

*,
*:after,
*:before {
  box-sizing: inherit;
}


img,
table,
td,
blockquote,
code,
pre,
textarea,
input,
video,
svg {
  max-width: 100%;
}

img {
  height: auto;
  border-style: none;
  vertical-align: middle;
}


button,
input,
select,
textarea {
  font: inherit;
}

/* Helpers
-------------------------------------------------------------- */

.color-primary {
  color: #AA121F;
}

.bold {
  font-weight: 500;
}

/* Hide only visually, but have it available for screen readers (from HTML5 Boilerplate) */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

/* Base
-------------------------------------------------------------- */

body {
  margin: 0;
  background-color: #ffffff;
  color: #3d3d3d;
  font-size: 1.4rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  max-width: 1200px;
}

/* Buttons
-------------------------------------------------------------- */

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  margin: 0;
  padding: 1em 2.5em;
  border: none;
  border-radius: 3px;
  background-color: #AA121F;
  box-shadow: none;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: .1s background;
}

.btn:hover,
.btn:active {
  background-color: #CC051F;
}

/* Logo
-------------------------------------------------------------- */

.logo__img {
  max-width: 200px;
}

/* Showcase
-------------------------------------------------------------- */

.showcase {
  display: flex;
  align-items: center;
  margin-right: 80px;
}

.showcase__text {
  width: 50%;
  font-size: 30px;
  line-height: 1.4em;
}

.showcase__mockup {
  margin-left: 50px;
}

.showcase__mockupImg {
  /* max-width: 50%; */
  max-height: 70vh;
}

.showcase__btn,
.showcase__btn:link,
.showcase__btn:visited {
  display: none;
}

/* Features
-------------------------------------------------------------- */

.features {
  flex-shrink: 0;
  width: 30%;
}

.features__title {
  margin-top: 0;
  font-size: 30px;
}

.features__list {
  margin-bottom: 50px;
}

.features__item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
}

.features__item:last-child {
  margin-bottom: 0;
}

.features__icon {
  flex-shrink: 0;
  margin-right: 20px;
  width: 50px;
  height: 50px;
}

/* Responsive
-------------------------------------------------------------- */

@media (max-width: 920px) {
  .container {
    justify-content: center;
    padding: 1rem 2rem;
  }

  .showcase {
    margin-right: 50px;
  }

  .showcase__text {
    flex-grow: 1;
    font-size: 20px;
  }

  .features__title {
    font-size: 24px;
  }

  .showcase__mockup {
    margin-left: 20px;
  }
}

@media (max-width: 700px) {
  .container {
    display: block;
  }

  .logo__img {
    max-width: 110px;
  }

  .showcase {
    margin-right: 0;
  }

  .showcase__text {
    font-size: 16px;
  }

  .showcase__btn,
  .showcase__btn:link,
  .showcase__btn:visited {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
  }

  .showcase__mockup {
    width: 20%;
  }

  .features {
    margin-top: 50px;
    width: 100%;
  }

  .features__list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 0;
    /* margin-bottom: -20px; */
    margin-left: -20px;
  }

  .features__item:nth-child(n) {
    margin-bottom: 20px;
    margin-left: 20px;
    width: calc(50% - 20px);
  }

  .features__btn,
  .features__btn:link,
  .features__btn:visited {
    display: none;
  }
}


@media (max-width: 420px) {
  .features__item:nth-child(n) {
    width: calc(100% - 20px);
  }
}
