/*

Theme Name: Level up
Theme URI: https://www.levelup-orientation.fr/
Version: 0.0.1
Author: Centurio

*/
/* ---------------- */
/* --- VARIABLE --- */
/* ---------------- */
/* -------------- */
/* --- FONTS ---- */
/* -------------- */
@font-face {
  font-family: "Pally";
  src: url("../fonts/Pally-Regular.woff2") format("woff2"), url("../fonts/Pally-Regular.woff") format("woff"), url("../fonts/Pally-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Pally";
  src: url("../fonts/Pally-Medium.woff2") format("woff2"), url("../fonts/Pally-Medium.woff") format("woff"), url("../fonts/Pally-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Pally";
  src: url("../fonts/Pally-Bold.woff2") format("woff2"), url("../fonts/Pally-Bold.woff") format("woff"), url("../fonts/Pally-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
/* Extend */
.global_title {
  font-weight: 700;
  font-size: 2em;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}
.global_title::after {
  display: block;
  content: "";
  position: absolute;
  bottom: -7px;
  left: 30px;
  background: #43AAC1;
  height: 3px;
  border-radius: 10px;
  opacity: 0;
  width: 0;
  -webkit-transition: 1s cubic-bezier(0.14, 0.67, 0.32, 0.95) 0.5s;
  transition: 1s cubic-bezier(0.14, 0.67, 0.32, 0.95) 0.5s;
}
.global_title.mylazyloaded::after {
  opacity: 1;
  width: calc(100% - 60px);
  -webkit-transition: 1s cubic-bezier(0.14, 0.67, 0.32, 0.95) 0.5s;
  transition: 1s cubic-bezier(0.14, 0.67, 0.32, 0.95) 0.5s;
}

.global_text {
  line-height: 1.3em;
}

/* MIXIN */
/* ------------------ */
/* --- MYLAZYLOAD --- */
/* ------------------ */
.mylazyload {
  opacity: 0;
  -webkit-transform: translateY(60px);
          transform: translateY(60px);
  -webkit-transition: opacity 2s ease, -webkit-filter 2s ease, -webkit-transform 1.5s ease;
  transition: opacity 2s ease, -webkit-filter 2s ease, -webkit-transform 1.5s ease;
  transition: filter 2s ease, opacity 2s ease, transform 1.5s ease;
  transition: filter 2s ease, opacity 2s ease, transform 1.5s ease, -webkit-filter 2s ease, -webkit-transform 1.5s ease;
  -webkit-filter: blur(20px);
          filter: blur(20px);
}
.mylazyload.mylazyloaded {
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  -webkit-transition: opacity 2s ease, -webkit-filter 2s ease, -webkit-transform 1.5s ease;
  transition: opacity 2s ease, -webkit-filter 2s ease, -webkit-transform 1.5s ease;
  transition: filter 2s ease, opacity 2s ease, transform 1.5s ease;
  transition: filter 2s ease, opacity 2s ease, transform 1.5s ease, -webkit-filter 2s ease, -webkit-transform 1.5s ease;
  -webkit-filter: blur(0);
          filter: blur(0);
}

/* --------------- */
/* --- GENERAL --- */
/* --------------- */
html {
  overflow-x: hidden;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #EFE8DE;
  color: #111111;
  font-family: Pally, sans-serif;
}

header {
  position: fixed;
  top: 20px;
  left: 30px;
  right: 30px;
  margin: 0 auto;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
header nav a {
  display: inline-block;
  width: 150px;
}
header nav a img {
  width: 100%;
}

.container {
  max-width: 1050px;
  width: 90%;
  margin: 0 auto;
}

/* HOMEPAGE */
section.intro {
  margin-bottom: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
section.intro .column {
  min-width: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
section.intro .column.left {
  padding-top: 50px;
  padding-left: 50px;
  margin-top: 100px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
section.intro .column.left .inner {
  max-width: 500px;
}
section.intro .column.left .text {
  text-align: left;
}
section.intro .column.right .intro-img {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 50px;
}
section.intro .column.right .intro-img img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -o-object-position: bottom left;
     object-position: bottom left;
}
@media screen and (max-width: 768px) {
  section.intro {
    margin-bottom: 100px;
  }
  section.intro .column {
    width: 100%;
  }
  section.intro .column.left {
    padding-right: 50px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  section.intro .column.right {
    display: none;
  }
}

section.overview {
  margin-bottom: 100px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 50px 1fr 50px 1fr;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 50px;
}
section.overview .encart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
section.overview .encart:nth-child(2n) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
section.overview .encart:nth-child(3n) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
section.overview .encart .title {
  margin-left: 90px;
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: 700;
}
section.overview .encart .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
section.overview .encart .content .text {
  margin-left: 15px;
}
section.overview .encart .content .picto {
  width: 50px;
  min-width: 50px;
  margin-top: 6px;
}
section.overview .encart .content .picto img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  section.overview {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  section.overview .encart {
    max-width: 500px;
  }
}

section.link {
  text-align: center;
  margin-bottom: 100px;
}
section.link .text {
  padding-bottom: 15px;
  font-weight: 700;
}
section.link .cta {
  text-decoration: none;
  display: inline-block;
  background: #43AAC1;
  padding: 5px 50px 10px;
  border-radius: 10px;
  color: #EFE8DE;
  font-weight: 700;
  font-size: 1.6em;
  border: 2px solid #43AAC1;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
section.link .cta:hover {
  background: #EFE8DE;
  color: #43AAC1;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

section.partners {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  padding-top: 20px;
  margin-bottom: 100px;
}
section.partners .deco {
  text-align: center;
  position: absolute;
  top: 0;
  -webkit-transition: 1s cubic-bezier(0.14, 0.67, 0.32, 0.95) 0.5s;
  transition: 1s cubic-bezier(0.14, 0.67, 0.32, 0.95) 0.5s;
}
section.partners .deco span {
  display: inline-block;
  width: 0;
  background: #111111;
  height: 1px;
  border-radius: 10px;
  -webkit-transition: 1s ease 0.5s;
  transition: 1s ease 0.5s;
}
section.partners .deco.mylazyloaded span {
  width: 150px;
  -webkit-transition: 1s ease 0.5s;
  transition: 1s ease 0.5s;
}
section.partners .partner {
  max-width: 100px;
  width: 100px;
}
section.partners .partner:nth-child(1) {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
section.partners .partner:nth-child(2) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
section.partners .partner:nth-child(3) {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
section.partners .partner:nth-child(4) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}
section.partners .partner:nth-child(5) {
  -webkit-transition-delay: 0.5s;
          transition-delay: 0.5s;
}
section.partners .partner:nth-child(6) {
  -webkit-transition-delay: 0.6s;
          transition-delay: 0.6s;
}
section.partners .partner:nth-child(7) {
  -webkit-transition-delay: 0.7s;
          transition-delay: 0.7s;
}
section.partners .partner:nth-child(8) {
  -webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
}
section.partners .partner:nth-child(9) {
  -webkit-transition-delay: 0.9s;
          transition-delay: 0.9s;
}
section.partners .partner:nth-child(10) {
  -webkit-transition-delay: 1s;
          transition-delay: 1s;
}
section.partners .partner img {
  width: 100%;
}
@media screen and (max-width: 575px) {
  section.partners {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding-top: 40px;
  }
}