/* -------------------------- GÉNÉRAL -------------------------- */
*,
a::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8D6CE4;
  --secondary: #6528D8;
  --grey: #F5F6F8;
}

html{
  /* overflow-x: hidden; */
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  font-size: 20px;
  background-color: #fff;
  font-family: 'DM Sans';
  /* overflow-x: hidden; */
  max-width: 100%;
}

body.menuOpen{
  overflow-y: hidden;  
}

@media (min-width: 1301px){
  .desktopDisplayNone{
    display: none !important;
  }
}

@media (max-width: 1300px){
  .mobileDisplayNone{
    display: none !important;
  }
}

/* ---------------- BOUTON ---------------- */

.btn{
  font-size: 18px;
  line-height: 30px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 12px 50px 12px 22px;
  border-radius: 3px;
  text-align: center;
  transition: 300ms ease;
  outline: 0;
  color: #fff;
  background-color: var(--primary);
  width: fit-content;
  position: relative;
  display: block;
}

.btn::after{
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 7px;
  display: block;
  transition: 300ms ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.101' height='11.5' viewBox='0 0 7.101 11.5'%3E%3Cpath id='Icon_material-keyboard-arrow-right' data-name='Icon material-keyboard-arrow-right' d='M12.885,18.774l4.389-4.4-4.389-4.4,1.351-1.351,5.75,5.75-5.75,5.75Z' transform='translate(-12.885 -8.625)' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.btnInverse{
  color: var(--primary);
  background-color: #fff;
}

.btnInverse::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7.101' height='11.5' viewBox='0 0 7.101 11.5'%3E%3Cpath id='Icon_material-keyboard-arrow-right' data-name='Icon material-keyboard-arrow-right' d='M12.885,18.774l4.389-4.4-4.389-4.4,1.351-1.351,5.75,5.75-5.75,5.75Z' transform='translate(-12.885 -8.625)' fill='%238d6ce4'/%3E%3C/svg%3E%0A");
}

@media (min-width: 993px){
  .btn:hover{
    background-color: var(--secondary);
    transition: 300ms ease;
  }
  .btn:hover::after{
    right: 18px;
    transition: 300ms ease;
  }
  .btnInverse:hover{
    background-color: #fff;
    transition: 300ms ease;
  }
}

/* ---------------- CONTAINER ---------------- */

.container{
  width: 100%;
  padding-inline: 80px;
  max-width: 1480px;
  margin-inline: auto;
}

@media (max-width: 1600px) {
  .container{
    max-width: 1300px;
  }
}

@media (max-width: 992px) {
  .container{
    max-width: none;
  }
}

@media (max-width: 700px) {
  .container{
    padding-inline: 20px;
  }
}

/* ---------------- 404 ---------------- */

.page404{
  min-height: 80vh;
  position: relative;
  padding-inline: 36px;
  margin: 0px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page404 > div{
  transform: translate(-50%, -35%);
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.page404 h1 span,
.page404 h1{
  font-family: 'DM Sans';
  font-size: 80px;
  line-height: 80px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  font-weight: 700;
}

.page404 h1 span{
  color: var(--jaune);
}

.page404 h2{
  font-family: 'DM Sans';
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 992px){
  .page404{
    min-height: 60vh;
  }
  .page404 h1,
  .page404 h1 span{
    font-size: 40px;
    line-height: 40px;
  }
  .page404 h2{
    font-size: 20px;
    line-height: 20px;
  }
}

/* ---------------- BREADCRUMBS ---------------- */

.breadcrumb li,
.breadcrumb li a,
.breadcrumb li span{
    font-size: 14px;
    line-height: 18px;
    color: #000;
}

.breadcrumb li a,
.breadcrumb li span{
  text-decoration: underline;
}

@media (max-width: 992px){
  .breadcrumb li,
  .breadcrumb li a,
  .breadcrumb li span{
      font-size: 13px;
      line-height: 16px;
  }
}


