/* SIZES */
$sm_font_size: 0.8rem;
$m_font_size: 0.9rem;
$l_font_size: 1.2rem;
$xl_font_size: 1.6rem;
$main_font_size: 1rem;
$title_size: 2.3rem;

/* MIXINS */

@mixin main_title() {
  font-family: "Barlow Condensed", sans-serif;
  font-size: $xl_font_size;
  padding: 0 $x_margin;
  margin-top: 1rem;
  color: $teal;
  text-transform: uppercase;
  a {
      color: $teal;
  }
  @media (min-width: $breakpoint_tablet) {
    font-size: $title_size;
  }
}

@mixin main_text_content() {
  font-family: "Marianne", sans-serif;
  font-size: $main_font_size;
  line-height: 1.4;
}

@mixin sous_titre() {
  font-family: "Marianne", sans-serif;
  font-size: $m_font_size;
  color: $teal;
  font-weight: 800;
  line-height: 1.3;
  @media (min-width: $breakpoint_tablet) {
    font-size: $l_font_size;
  }
}

@mixin sous_titre_alt() {
  font-family: "Barlow", sans-serif;
  color: black;
  font-size: $l_font_size;
  @media (min-width: $breakpoint_tablet) {
    font-size: $xl_font_size;
  }
}

@mixin fluo_button() {
  a {
    text-align: center;
    color: black;
    font-family: "Marianne", sans-serif;
    font-weight: 800;
    font-size: $m_font_size;
    background-color: white;
    border: solid 2px $fluo_green;
    padding: 9px 18px;
    transition: background-color 0.3s ease;
    text-wrap: nowrap !important;
    svg {
      display: none;
    }
  }
  a:hover {
    background-color: $fluo_green;
  }
}
