/* ============================================================= DOCUMENTATION */
/* This files contains the CSS styling for global elements, such as :
*
*      - Global settings
*      - Layout rules (for sections/spaces/alignment/...)
*      - Titles & text presets
*      - Flexbox presets
*      - Lists styling
*      - Colors presets
*      - Buttons and anchors presets
*      - Lazy loading animation
*/
/* ============================================================= GLOBAL SETTINGS */
body {
  font-family: var(--font);
  overflow-x: hidden;
  color: var(--color-body);
  background: #faf9f9;
  position: relative;
}
body::before {
  content: "";
  background: url(../img/ligne-background.svg);
  background-position: top center;
  background-size: 85%;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
/* ============================================================= LAYOUT */
.vpd {
  padding-top: var(--vpd);
  padding-bottom: var(--vpd);
}
.hpd {
  padding-left: var(--hpd);
  padding-right: var(--hpd);
}
.full {
  width: 100%;
}
.half {
  width: 50%;
}
.just-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.just-img {
  object-fit: cover;
  object-position: center;
}
.shadow {
  box-shadow: 10px 10px 15px -10px rgba(51, 51, 51, 0.1);
}
.radius {
  border-radius: var(--radius);
}
.center {
  margin: 0 auto;
}
/* ============================================================= LISTS */
ul.bullet {
  list-style-type: disc;
  padding-left: 30px;
}
/* ============================================================= COLORS */
.white {
  color: #fff;
}
.primary {
  color: var(--color-primary);
}
.secondary {
  color: var(--color-secondary);
}
.ternary {
  color: var(--color-ternary);
}
.bg-white {
  background: white;
}
.bg-primary {
  background: var(--color-primary);
}
.bg-secondary {
  background: var(--color-secondary);
}
.bg-ternary {
  background: var(--color-ternary);
}
.bg-extralight-blue {
  background: var(--color-extralight-blue);
}
.bg-extralight-orange {
  background: var(--color-extralight-orange);
}
.to-white:hover {
  color: #fff;
}
/* ============================================================= BUTTONS AND ANCHORS */
button, a {
  cursor: pointer;
  display: inline-block;
  transition: 0.4s;
}
.btn-class {
  padding: 10px 15px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  border: 0;
}
.btn-class {
  color: #fff;
  background: #333;
}
.btn-class:hover {
  background: #666;
}
/* ============================================================= FORM */
/* ============================================================= LAZY LOADING */
img[data-src] {
  min-height: 200px;
  background: linear-gradient(180deg, #fff, #c0c0c0, #fff) no-repeat;
  background-size: 500% 500%;
  animation: loading 1s infinite linear;
  font: 300 12px/1.5 var(--font);
}
@keyframes loading {
  0% {
    background-position: 50% -50%;
  }
  100% {
    background-position: 50% 150%;
  }
}
