/*------------------------------------------------------------
TYPO
Title, list, links, label
====================================*/

/* Variables Custom */
$font-weight-thin:             100;
$font-weight-elight:           200;
$font-weight-medium:           500;
$font-weight-sbold:            600;
$font-weight-ebold:            800;
$font-weight-black:            900;

$display-font-family:          $font-family-serif;

$link-font-weight:             $font-weight-medium;

$link-secondary-color:                  $black;
$link-secondary-decoration:             underline;
$link-secondary-font-size:              1.3rem;
$link-secondary-font-weight:            $font-weight-sbold;
$link-secondary-hover-color:            $primary;
$link-secondary-hover-decoration:       underline;
/***************************************/

/* Tailles Titles */
%h1 {
  font-size: 2.6rem;
  @include media-breakpoint-up(md) {
    font-size: 3rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $h1-font-size;
  }
}
%h2 {
  font-size: 2.4rem;
  @include media-breakpoint-up(md) {
    font-size: 2.8rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $h2-font-size;
  }
}
%h3 {
  font-size: 1.8rem;
  @include media-breakpoint-up(lg) {
    font-size: $h3-font-size;
  }
}
%h4 {
  font-size: 1.8rem;
  @include media-breakpoint-up(lg) {
    font-size: $h4-font-size;
  }
}
%h5 {
  font-size: 1.8rem;
  @include media-breakpoint-up(lg) {
    font-size: $h5-font-size;
  }
}
%h6 {
  font-size: 1.4rem;
  @include media-breakpoint-up(lg) {
    font-size: $h6-font-size;
  }
}

%display-1 {
  font-size: 3rem;
  @include media-breakpoint-up(md) {
    font-size: 4rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display1-size;
  }
}
%display-2 {
  font-size: 2.8rem;
  @include media-breakpoint-up(md) {
    font-size: 3.6rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display2-size;
  }
}
%display-3 {
  font-size: 2rem;
  @include media-breakpoint-up(md) {
    font-size: 2.8rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display3-size;
  }
}
%display-4 {
  font-size: 1.8rem;
  @include media-breakpoint-up(md) {
    font-size: 2.4rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display4-size;
  }
}

.title-label {
  font-weight: $font-weight-medium;
  font-size: 1.4rem;
  color: $black;
}

/* List */
ul, ol {
  padding: 0;
  list-style-position: inside;
  ul, ol {
    padding-left: 2.5rem;
  }
}
ul {
  list-style-type: '• ';
}

/* Links */
a {
  font-weight: $link-font-weight;
  transition: 0.3s;
  &.link-secondary {
    font-size: $link-secondary-font-size;
    font-weight: $link-secondary-font-weight;
    text-decoration: $link-secondary-decoration;
    color: $link-secondary-color;
    &:hover {
      text-decoration: $link-secondary-hover-decoration;
      color: $link-secondary-hover-color;
    }
  }
}

/* Label */
%label {
  font-size: 1.2rem;
  font-weight: $font-weight-sbold;
}

/* Placeholder */
%placeholder {
  font-style: italic;
  font-size: 1.3rem;
  color: $input-placeholder-color;
}

/* Notif form */
.form-text {
  font-size: 1.2rem;
  color: $gray-800;
}
.alert {
  font-weight: $font-weight-sbold;
}
@each $color, $value in $theme-colors {
  .alert-#{$color} {
    color: $value;
  }
}

/* RESPONSIVE */
/***************************************/
@include media-breakpoint-down(md) {
  .lead {
    font-size: 1.7rem;
  }
}

@include media-breakpoint-down(sm) {
  .lead {
    font-size: 1.6rem;
  }
}
