@import 'variables';
@import "mixins";

body {
  font-size: 100%;
}

p {
  max-width: 1770px;
  margin: 20px auto;
  font-family: $font-default;
  font-size: 12px;
  line-height: 20px;
  color: $black;
  padding: 0 20px;
  text-align: justify;
  @include xs {
    font-size: 14px;
    line-height: 22px;
  }
  @include md {
    font-size: 20px;
    line-height: 30px;
  }
}

h1 {
  max-width: 1770px;
  margin: 40px auto;
  font-family: $font-default;
  font-size: 22px;
  color: #222222;
  font-weight: bold;
  padding-left: 30px;
  padding-right: 20px;
  position: relative;
  text-align: center;
  display: table;

  &:after {
    content: '';
    height: 4px;
    width: 100%;
    position: absolute;
    margin: auto;
    bottom: -8px;
    left: 0;
    border-top: 1px solid #d2d2d3;
    border-bottom: 1px solid #f0f0f1;
  }

  &:before {
    content: '';
    height: 100%;
    width: 3px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 20px;
  }

  @include xs {
    font-size: 28px;
  }
  @include sm {
    font-size: 38px;
  }
  @include md {
    font-size: 57px;
  }
}

h2 {
  width: 100%;
  max-width: 1770px;
  margin: 20px auto;
  font-family: "Nunito", sans-serif;
  color: #222222;
  font-weight: bold;
  padding-left: 10px;
  text-align: left;
  padding-right: 0px;
  overflow: hidden;
  position: relative;
  display: table;

  &:before {
    content: '';
    height: 100%;
    width: 3px;
    background-color: #4e96c9;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0px;
  }

  &:after {
    content: '';
    width: 100%;
    position: absolute;
    margin: auto;
    border-top: 1px solid #d2d2d3;
    border-bottom: none;
    height: 1px;
    bottom: 0px;
    top: 0;
    left: inherit;
  }

  @include xxs {
    font-size: 28px;
  }
  @include md {
    font-size: 40px;
  }
}