/**
 * @file
 * Styles rules
 *
 * Theme styles rules.
 */

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html {
  height: 100%;
  /* font-size: 16px; */ /*le navigateur le definit*/
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  line-height: 1.5rem;
  scroll-padding-top: 150px !important;
}
html, body {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-dark);
  background-color: var(--color-white);
}
body {
  overflow-x: hidden;
}

/**
 * Image
 */

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/**
 * Text
 */

p, h1, h2, h3, h4 {
  position: relative;
}
h1 {
  font-size: var(--heading-size-l);
}
h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 45px; /* 140.625% */
}
h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px; /* 150% */
}
h4 {
  font-size: var(--heading-size-xs);
}
p {
  font-size: var(--content-size);
}

@media all and (min-width: 1000px) {
  h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 62px; /* 129.167% */
  }
  h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px; /* 125% */
  }
}

::selection {
  background-color: var(--color-dark);
  color: var(--color-white);
}
.text_size2 {
  font-size: 32px;
}
.underline_20px {
  display:inline-block;
  position:relative;
  z-index: 1;
}

.underline_20px::before {
  position:absolute;
  background-color: var(--color-brand);
  display: inline-block;
  content: "";
  top:55%;
  left: -5px;
  right: -5px;
  z-index: -1;
  border-radius: 12px;
  height:20px;
}

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


/**
 * Links
 */

a {
  color: var(--color-brand--1);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/**
 * Toolbar Fixed Styles
 */

.toolbar a {
  font-family: "Source Sans Pro","Lucida Grande",Verdana,sans-serif;
  font-weight: normal;
}

/**
 * Table
 */

table {
  border-collapse: collapse;
  width: 100%;
}
table td,
table th {
  border: 1px solid #ddd;
  padding: 8px;
}
table tr:first-child td {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--color-primary--2);
  color: var(--color-neutral--4);
  font-weight: 700;
}
