@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-style: normal;
  src: local('Lato Bold'), local('Lato-700'), url('../font/Lato-Bold.ttf');
}

@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-style: normal;
  src: local('Lato Regular'), local('Lato-regular'), url('../font/Lato-Regular.ttf');
}

@font-face {
  font-family: 'Lato';
  font-weight: 300;
  font-style: normal;
  src: local('Lato Light'), local('Lato-300'), url('../font/Lato-Light.ttf');
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 22px;
}

h1 {
  margin-top: 0;
  color: #3b3b3b;
  font-size: 38px;
}

h2 {
  margin: 0;
  font-size: 28px;
  color: #3b3b3b;
}

p {
  font-size: 18px;
  font-weight: 300;
  color: #5a5a5a;
  margin-bottom: 0;
}

ul {
  list-style-type: none;
}

li {
  font-size: 18px;
  font-weight: 300;
  color: #5a5a5a;
  margin-bottom: 0;
}

a {
  text-decoration: none;
}

a:active, a:focus {
  outline: 0;
  border: none;
  -moz-outline-style: none
}

.subtitle {
  font-size: 14px;
  color: #888888;
}

.button {
  display: inline-block;
  font-size: 18px;
  padding: 8px 18px;
  background-color: white;
  border-radius: 100px;
  text-decoration: none !important;
  color: #4d73c5;
  margin-top: 18px;
}

.button:hover {
  opacity: 0.6;
  cursor: pointer;
}

#menu {
  padding-bottom: 0;
  display: flex;
  justify-content: space-between;
}

#blog-link {
  vertical-align: top;
}

#menu-items li {
  display: inline;
  color: white;
  margin-left: 20px;
  height: 22px;
  line-height: 22px;
  transition: 0.2s ease-in-out;
}

#menu-items li:nth-child(1) {
  margin-left: 0;
}

#menu-items li:hover {
  opacity: 0.4;
}

#menu-items li a {
  color: white;
}

#header {
  width: 100%;
  background-color: #4d73c5;
  color: white;
  max-height: 740px;
  overflow-y: hidden;
}

#header h1 {
  color: white;
}

#header p {
  color: white;
}

#header-content {
  width: 730px;
  margin: 0px auto 50px auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

#title {
  width: 100%;
  display: inline-block;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

#title > p {
  margin-top: 10px;
}

#title-header {
  font-size: 64px;
  margin-top: 40px;
  margin-bottom: 0;
}

.video-box {
  width: 560px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 15px;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.app-link:nth-child(1) {
  margin-right: 6px;
}

.panel-container {
  position: relative;
}

.panel {
  position: relative;
  width: 820px;
  box-sizing: border-box;
  margin: 10px auto;
  padding: 60px 160px;
  background-color: #f1f3fd;
}

.panel.phone-panel {
  background-color: #f5f2fd;
}

.panel.explain-panel .button {
  background-color: #4d73c5;
  color: white;
}

#blog-feature {
  margin-top: 50px;
  margin-bottom: 75px;
  padding: 50px 0;
}

#blog-feature a {
  text-decoration: none;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.blog-image {
  flex-shrink: 0;
  margin-right: 40px;
  border-radius: 4px;
}

.blog-featured {
  margin-top: 0;
}

.features.shadow {
  --webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}

.shadow {
  --webkit-filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.phone-left {
  display: block;
  position: relative;
  margin: auto;
  z-index: 10;
  transform: translateX(-200px);
}

.phone-right {
  display: block;
  position: relative;
  margin: auto;
  z-index: 10;
  transform: translateX(200px);
}

.copy-left {
  z-index: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding-right: 390px;
  padding-left: 70px;
}

.copy-right {
  z-index: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding-left: 390px;
  padding-right: 80px;
}

#features-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

#compare {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0 !important;
  background-color: transparent;
}

#compare > .features:first-child {
  margin-right: 10px;
}

#compare > .features:nth-of-type(2) {
  margin-left: 10px;
}

#compare .plan {
  font-weight: normal;
}

#compare .price {
  margin-top: 10px;
  font-size: 42px;
  font-weight: bold;
}

#compare .month {
  font-size: 14px;
  font-weight: normal;
}

#compare .app-links {
  text-align: center;
}

#compare .button {
  background-color: #4d73c5;
  color: white;
}

.features {
  width: 50%;
  background-color: white;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  padding: 30px 40px;
}

.features > ul {
  margin: 35px 0;
  padding: 15px 0;
  border-top: 1px #e1e1e1 solid;
  border-bottom: 1px #e1e1e1 solid;
}

.features > ul > li {
  margin: 5px 0;
  color: black;
}

.features .locked {
  color: #c1c3c6;
}

.features > .button {
  background-color: #4F75C3;
  color: white;
  text-align: center;
  padding: 15px 0;
}

#peek {
  margin-bottom: -50px;
  text-align: center;
  padding-bottom: 0;
  overflow-y: hidden;
  background-color: transparent;
}

#coachbot-peek {
  margin-top: 32px;
  margin-bottom: -42px;
  transition: 0.2s ease-in-out;
}

#coachbot-peek:hover {
  transform: translateY(-14px);
}

@media (max-width: 800px) {
  h1 {
    font-size: 32px;
  }

  p {
    font-size: 16px;
    font-weight: 300;
    color: #5a5a5a;
  }

  #menu {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #header {
    max-height: none;
  }

  #header-content {
    flex-direction: column;
    align-items: center;
    margin: auto;
    width: 100%;
    overflow: hidden;
  }

  #title-header {
    font-size: 48px;
    margin-bottom: 0;
  }

  #title {
    width: 100%;
    text-align: center;
    margin: 45px 0 40px 0;
    padding: 0 10%;
    box-sizing: border-box;
  }

  #title p {
    width: 100%;
  }

  .video-box {
    width: 100%;
  }

  #blog-feature a {
    flex-direction: column;
  }

  .blog-image {
    margin: 0;
    width: 150px;
    height: 150px;
  }

  .blog-content {
    margin-top: 20px;
    text-align: center;
  }

  .blog-content h2 {
    margin-top: 12px;
    font-size: 20px;
  }

  .blog-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-height: 18px;        /* fallback */
    max-height: 72px;       /* fallback */
  }

  #blog-feature.panel {
    width: 80%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    text-align: center;
    margin: 30px auto;
    margin-bottom: 100px;
  }

  .panel {
    width: 80%;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    text-align: center;
    margin: 30px auto;
  }

  .phone-left, .phone-right {
    transform: translateX(0) scale(0.75);
    margin-top: -80px;
  }

  .phone-panel {
    margin-top: -35px;
    margin-bottom: 100px;
  }

  .copy-left, .copy-right {
    position: relative;
    transform: translateY(0) translateX(0);
    padding: 0;
    top: auto;
    left: auto;
  }

  #coachbot-peek {
    margin-top: 32px;
    margin-bottom: -82px;
  }

  #compare {
    flex-wrap: wrap;
    margin-top: 0;
    padding-top: 20px !important;
  }

  #compare > .features:first-child {
    margin-right: 0px;
  }

  #compare > .features:nth-of-type(2) {
    margin-top: 25px;
    margin-left: 0px;
  }

  #compare .price {
    font-size: 32px;
  }

  .features {
    width: 100%;
  }

  #peek {
    padding-top: 0px !important;
  }
}
