///
/// Phantom by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Type */

body,
input,
select,
textarea {
  color: #000;
  font-family: _font(family);
  font-size: 16pt;
  font-weight: _add-font(weight-normal);
  line-height: 1.75;

  @include breakpoint(xlarge) {
    font-size: 14pt;
  }

  @include breakpoint(large) {
    font-size: 12pt;
  }
}

a {
  text-decoration: none;
  color: _color(purple-color);
  transition: 0.3s;

  &:hover {
    color: _color(green-color);
  }
}

strong,
b {
  color: _palette(fg-bold);
  font-weight: _font(weight-bold);
  font-size: 20px;
}

em,
i {
  font-style: italic;
}

p {
  margin: 0 0 _size(element-margin) 0;
}

h1 {
  font-size: 2.75em;
  color: #292984;
  font-family: _add-font(second-family);
  font-weight: _add-font(weight-medium);
  line-height: 1.3;
  margin: 0 auto (_size(element-margin) * 0.5) auto;
  // letter-spacing: _font(letter-spacing-alt);
  text-align: center;
  max-width: 920px;

  a {
    color: inherit;
  }

  @include breakpoint(small) {
    font-size: 2em;
    margin: 0 0 (_size(element-margin) * 0.5) 0;
  }

  @include breakpoint(xxsmall) {
    font-size: 1.75em;
  }
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: _font(weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  line-height: 1.5;
  margin: 0 0 1em 0;

  a {
    color: inherit;
  }
}

h2 {
  font-size: 1.1em;
}

h3 {
  font-size: 1.7em;
  margin-bottom: 1.4em;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 0.8em;
}

h6 {
  font-size: 0.8em;
}

@include breakpoint(medium) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    br {
      display: none;
    }
  }
}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

blockquote {
  border-left: solid (_size(border-width) * 4) _palette(border);
  font-style: italic;
  margin: 0 0 _size(element-margin) 0;
  padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4)
    _size(element-margin);
}

code {
  background: _palette(border-bg);
  border-radius: _size(border-radius);
  border: solid _size(border-width) _palette(border);
  font-family: _font(family-fixed);
  font-size: 0.9em;
  margin: 0 0.25em;
  padding: 0.25em 0.65em;
}

pre {
  -webkit-overflow-scrolling: touch;
  font-family: _font(family-fixed);
  font-size: 0.9em;
  margin: 0 0 _size(element-margin) 0;

  code {
    display: block;
    line-height: 1.75;
    padding: 1em 1.5em;
    overflow-x: auto;
  }
}

hr {
  border: 0;
  border-bottom: solid _size(border-width) _palette(border);
  margin: _size(element-margin) 0;

  &.major {
    margin: (_size(element-margin) * 1.5) 0;
  }
}

ul,
ol {
  font-size: 16px;
  margin-left: 30px;
}

.post ul {
  list-style: none;
  list-style-image: url("/../../images/icon-list.svg");
}
li {
  margin-bottom: 1em;
}

ol {
  counter-reset: item;
  position: relative;
  li {
    display: block;
    &:before {
      position: absolute;
      left: 0;
      content: counter(item) ". ";
      counter-increment: item;
      color: _color(orange-color);
    }
  }
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}
.text-green {
  color: _color(green-color);
}
.text-orange {
  color: _color(orange-color);
}
.preview-text {
  color: _color(main-color);
}
.link {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: _color(purple-color);
  @include vendor("display", "flex");
  @include vendor("align-items", "center");
  font-weight: _font(weight-bold-alt);
}
.link .text {
  letter-spacing: 0;
  margin-left: 16px;
}
