$h1FontSize: 32px;

/**************/
/* BASE RULES */
/**************/
html, body {
  // stretch to get minimum the full height
  height: 100%;
  min-height: 100%;
}

html {
  font-size: 100%;
}

body {
  background: $white;
  font: 18px/1.4 $helvetica;
  color: $darkGray;
}

a {
  color: $blue;
  text-decoration: underline;
  cursor: pointer;

  &:hover {
    color: lighten($blue, 10%);
  }
}

.container {
  margin: 0 auto;
  max-width: $main-container-max-width;
  padding: 0 10px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: $helveticaNeue;
  color: $darkerGray;

  line-height: 1.7;
  margin: $marginVertical 0;
  padding: 0;

  @include mobile-breakpoint {
    line-height: 1.4;
  }
}

@mixin hoveredTitle {
  color: $blue;
}

h1 {
  font-size: $h1FontSize;
  a {
    text-decoration: none;
    color: $darkGray;

    &:hover {
      @include hoveredTitle;
    }
  }
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
  color: $gray;
}

p {
  margin: $marginVertical 0;
}

ul, ol {
  margin: $marginVertical 0;
  padding-left: 30px;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ol ul, ul ol, ul ul, ol ol {
  margin: 0;
}

ul ul, ol ul {
  list-style-type: circle;
}

img {
  max-width: 100%;
}