/*********************************************************************************************************************************/
/*********************************************************************************************************************************/
/*********************************************************************************************************************************/
/*********************************************************************************************************************************/
/****************************************************** THEME La map qui te met biiien *********************************************************/
/*********************************************************************************************************************************/
/*********************************************************************************************************************************/
/*********************************************************************************************************************************/
/*********************************************************************************************************************************/


@font-face {
  font-family: 'Chakra Petch Semibold';
  src: url(../font/ChakraPetch-SemiBold.ttf);
        font-display: swap;  
}

@font-face {
  font-family: 'Chakra Petch Bold';
  src: url(../font/ChakraPetch-Bold.ttf);
       font-display: swap; 
}

@font-face {
  font-family: 'Chakra Petch Medium';
  src: url(../font/ChakraPetch-Medium.ttf);
      font-display: swap;  
}
@font-face {
  font-family: 'Chakra Petch';
  src: url(../font/ChakraPetch-Regular.ttf);
       font-display: swap; 
}
@font-face {
  font-family: 'Chakra Petch Light';
  src: url(../font/ChakraPetch-Light.ttf);
      font-display: swap;
}

@font-face {
  font-family: 'Roboto';
    src: url('../font/roboto.ttf');
      font-display: swap;    
}

@font-face {
  font-family: 'Bowlby One SC';
  src: url('../font/bowlbyone.ttf') format('truetype');
       font-display: swap; 
}



html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Chakra Medium", "Roboto", "Arial", sans-serif;
  font-weight: 500;
  font-style: normal;
}

a {
  text-decoration: none;
}

* {
  transition: 0.2s;
}

section {
  height: 100vh;
  width: 100%;
  padding: 6rem 0;
  box-sizing: border-box;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
}

@media screen and (max-width: 1440px) {
  html {
    font-size: 14.5px;
  }
}

@media screen and (max-width: 1366px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 13.5px;
  }
}

@media screen and (max-width: 1080px) {
  html {
    scroll-padding-top: 3rem;
    font-size: 13px;
  }
}

@media screen and (max-width: 992px) {
  section {
        height: 100dvh;
        padding: 2rem 0;
        box-sizing: border-box;
}
    html {
    font-size: 12.5px;
  }
}

@media screen and (max-width: 600px) {
  html {
    scroll-padding-top: 0rem;
    font-size: 13px;
  }
}
@media screen and (max-width: 380px) {
  html {
    font-size: 12px;
  }
}

@media screen and (max-width: 1080px) and (min-height: 1200px) {
  .wrapper {
      min-height: unset!important;
  }
  section{
    height: unset!important;
  }
}

@media screen and (min-width: 1921px) {
  html {
    font-size: 24px;
  }
}

@media screen and (min-width: 2881px) {
  html {
    font-size: 34px;
  }
}

h2 {
  color: #fcfcec;
  text-transform: uppercase;
  font-size: 3.5rem;
  z-index: 1;
  line-height: 1;
  text-align: center;
  margin: 1rem 0 1rem;
  font-family: "Chakra Petch Bold", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: relative;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.75);
}


/******* MENU *******/

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 3;
}


.header-top-logo {
  position: absolute;
    top: 0.375rem;
    left: 1rem;
    width: 7rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;    
}

.header.is-visible .header-top-logo {
  opacity: 1;
  visibility: visible;
}

.header-top-logo:hover {
  opacity: 0.9;
}

.nav-bar{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 58px;
}

.nav-bar>svg{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -7px;
    width: 64rem;
}

.nav-bar > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-bar li {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.nav-bar li > a {
  color: white;
  font-size: 1.25rem;
  text-transform: uppercase;
  display: block;
  position: relative;
  padding: 0.25rem 1rem;
  font-family: 'Chakra Petch Semibold';
  letter-spacing: 0.025rem;
}


.nav-bar li > a.active:after,
.nav-bar li > a:not(.active):hover:after{
    background-color: #ea0a0a;
    content: '';
    height: 1px;
    width: 4rem;
    display: block;
    position: absolute;
    bottom: -1px;
    z-index: 4;
    left: 50%;
    transform: translateX(-50%);
}
.nav-bar li > a.active{
    color: #ea0a0a;
    text-shadow:  0 0 4px rgba(255, 0, 0, 0.76),  0 0 10px rgba(255, 0, 0, 0.76);
}



/* Barre scroll */

.scroll_left-bar{
    position: absolute;
    max-height: 96%;
    top: 2vh;
    left: 1vw;
    height: 96%;
    z-index: 2;
}
.scroll_left-bar svg {
    height: 100%;
    width: auto;
    display: block;
}

.scroll_right-bar{
    position: absolute;
    max-height: 96%;
    top: 2vh;
    right: 1vw;
    height: 96%;
        z-index: 2;
}

.scroll_right-bar svg  {
    height: 100%;
    width: auto;
    display: block;
}

.scroll_left-bar_button{
    display: flex;
    gap: 0;
    font-family: 'Chakra Petch Light';
    font-size: 0.875rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    flex-direction: column;
    position: absolute;
    bottom: 2rem;
    left: 0rem;
    cursor: pointer; 
}
.scroll_left-bar_button>div{
    transform: rotate(90deg) translateY(15px) translateX(-16px);
    height: 3rem;
}
.scroll_left-bar_button svg{
  height: 1.125rem;
}

.scroll_left-bar_button:hover{
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
}
.scroll_left-bar_button:hover svg{
    transform: translateY(-4px);
}

/******* MENU MOBILE *******/

.menu-mobile {
  display: none;
}

.menu-mobile-switch {
  display: block;
  position: absolute;
    left: 3rem;
    top: 2rem;
  cursor: pointer;
}

.menu-mobile-switch > svg {
    fill: #fa2248;
    width: 3rem;
    height: 3rem;
}

.menu-panel {
  display: none;
  padding: 2rem 0;
  background: #472b32;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: calc(100vh - 4rem);
  z-index: 3;
}

.menu-panel nav > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.menu-panel nav > ul > li {
  border-top: 2px solid white;
  width: 100%;
  background-color: #e50000;
}
.menu-panel nav > ul > li:last-child {
  border-bottom: 2px solid white;
}
.menu-panel nav > ul > li > a {
  color: white;
  font-size: 1.75rem;
  font-weight: 500;
  display: block;
  text-align: center;
  padding: 1.25rem 0;
  margin: 0.5rem 0;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 2rem;
  font-family: 'Chakra Petch Semibold';
}

.header-result {
    position: absolute;
    top: 0rem;
    right: 0;
    cursor: pointer;
    gap: 1rem;
    display: flex;
    font-size: 1.25rem;
    align-items: center;
    padding: 1rem 1.5rem 1rem 0;
    transition: 0.2s;
    align-items: center;
}
.header-result p{
   margin: 0;
   font-family: 'Chakra Petch Light'; 
   letter-spacing: 0.05rem;   
   text-transform: uppercase;
   color: white;   
   z-index: 1;
}
.header-result p:hover {
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.75),
        0 0 12px rgba(255, 255, 255, 0.5);
}

.header-result-arrows{
      z-index: 1;
     width: 2rem;     
}

.header-result:hover .header-result-arrows {
    transform: translateX(4px);
    transition: 0.2s;    
}

.header-result-button{
    position: absolute;
    right: -1.25rem;
    top: -1.25rem;
    width: 18rem;
}

.burger-close {
  position: absolute;
  top: 1rem;
  cursor: pointer;
  width: 4rem;
  right: 1rem;
}


.section-title h2:after{
    content: '';
    height: 0.875rem;
    border-radius: 6px;
    display: block;
    width: 12rem;
    display: block;
    z-index: 2;
    background-color: orange;
    margin: 0 auto;
    transform: translateY(1.5rem);
}
.section-title{
  margin-bottom: 3rem;
}

@media screen and (min-width: 1921px) {
  .nav-bar li > a, .header-result {
    font-size: 1.25rem;
  }
    

}

@media screen and (max-width: 1120px) and (min-width: 993px){
  .nav-bar li > a{
    font-size: 1.125rem;
  }
  .nav-bar {
      height: 46px;
  }
  .header-result {
      transform: scale(0.875) translateX(11px) translateY(-3px);
  }
  .nav-bar>svg{
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
      top: -7px;
      width: 74vw;
  }

}


@media screen and (max-width: 992px) {
  .menu-panel .header-logo {
    margin: 0 auto 3rem;
    display: flex;
  }
  .menu-panel .header-logo > img {
    max-width: unset;
    width: 13rem;
    margin: 0 auto;
  }
  .menu-mobile {
    display: block;
  }
  .nav-bar {
    display: none;
  }
  h2 span {
    display: block;
    font-size: 1.75rem;
  }
  .header-top {
    height: 60px;
  }
  .header-top-logo {
        top: 0.75rem;
    }
}

@media screen and (max-width: 800px) {
  .menu-panel nav > ul > li > a {
    font-size: 1.75rem;
  }
  .header-result{
        transform: scale(1.125) translate(-8px, 4px);
  }
}
@media screen and (max-width: 480px) {
  .menu-panel nav > ul > li > a {
    font-size: 1.5rem;
  }
  .menu-panel .header-logo > img {
    width: 18rem;
  }
  .section-title h2:after{
      height: 0.675rem;
  }
}

.wrapper {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
   gap: 1.5rem; 
}

@media screen and (max-width: 1680px) {
  .wrapper {
    max-width: 1440px !important;
  }
}
@media screen and (max-width: 1440px) {
  .wrapper {
    width: 100%;
    max-width: 1220px !important;
  }
}
@media screen and (max-width: 1280px) {
  .wrapper {
    width: 100%;
    max-width: 1080px !important;
  }
  section {
    padding: 4rem 0;
  }
}

@media screen and (max-width: 1120px) {
  .wrapper {
    max-width: calc(100% - 6rem) !important;
    padding: 0 3rem;
  }
}

@media screen and (max-width: 992px) {
  .wrapper {
    max-width: calc(100% - 4rem)!important;
    padding: 0rem 2rem;
    min-height: unset;
  }
  section {
    padding: 3rem 0;
  }
  .header-top-logo {
    position: absolute;
    top: .75rem;
    left: 5.25rem;
    width: 6rem;
  }
  h2 {
    font-size: 2.5rem !important;
  }
  h1 {
    font-size: 3rem !important;
  }
}

@media screen and (max-width: 604px) {
  .wrapper {
    padding: 0 1rem;
    max-width: calc(100% - 2rem)!important;
    margin: 0 auto;
  }
  h1,
  h2 {
    font-size: 2rem !important;
  }
  section {
    padding: 2rem 0;
  }
}
@media screen and (max-width: 420px) {
  h2 {
    font-size: 1.875rem !important;
  }
  .header-top-logo {
    display: none;
  }
    .section-title{
    margin-bottom: 2rem;
  }
}

@media screen and (min-width: 1921px) {
  .wrapper {
    width: 2200px;
    max-width: unset;
  }
  section {
    padding: 6rem 0;
  }
  h2 {
    font-size: 3.5rem !important;
  }

  .header-result {
    width: auto;
  }
      .nav-bar {
      height: 100px;
    } 
}

@media screen and (min-width: 2881px) {
  .wrapper {
    width: 2560px;
  }

  .section-title{
    margin-bottom: 2rem;
  }
      .nav-bar {
        height: 145px;
    }
    .nav-bar>svg{
      top: -11px;
  }
}




/*********************************************************************************************************************************/
/********************************************************** HOME *****************************************************************/
/*********************************************************************************************************************************/

#home {
  background-image: url("../img/home-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

#home .wrapper {
  width: 100%;
  max-width: 1680px;
  padding: 3rem 0 2rem 0;
}
.top-score {
  position: absolute;
  z-index: 0;
  top: 0;
}

h1 {
  color: white;
  font-style: normal;
  font-size: 2.875rem;
}

.mention-epic{
    color: #9e8f83;
    transform: rotate(-90deg);
    position: absolute;
    bottom: 13rem;
    font-size: 0.675rem;
    right: -10rem;
}

/**** Footer de home ****/

.home-footer {
  position: absolute;
  bottom: 0rem;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  left: 0;
}

.main-logo {
  max-width: 36vw;
}

/**** Home left ****/

.home-left {
  display: flex;
  flex-direction: column;
    align-items: flex-start;
  width: fit-content;
  gap: 1rem;
  margin-top: 0rem;
  position: relative;
  margin-left: 3vw;
}

.home-left h1 {
  text-align: center;
  margin: 0;
}

.submit-score {
  position: relative;
  cursor: pointer;
}

.submit-score span {
  position: absolute;
  color: white;
  text-align: center;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  font-size: 1.5rem;
  width: max-content;
  z-index: 2;
}
.submit-score:hover span {
  text-shadow: 0 0 10px rgba(254, 118, 0, 0.8);
  color: black;
}



/* Développé dans */

.fortnite{
  display: flex;
  gap: 1rem;
  justify-content: end;
  margin-right: 16px;
  margin-top: 0.5rem;
}
.fortnite p {
    white-space: nowrap;
    font-size: 1.5rem;
    margin: 0;
    font-family: "Bowlby One SC", sans-serif;
    color: white;
}
.fortnite-cta {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.fortnite-cta img {
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.fortnite-cta:hover img {
    transform: scale(1.04);
    filter: brightness(1.1);
}


.home-right-bottom {
position: absolute;
    bottom: 1rem;
    right: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: end;
}


.home-right-bottom img {
    width: 7rem;
}

.home-left .map_code_copy{
  color: black;
}

.home-info{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24vw;
    margin-left: 5rem;
}
.home-info p{
    color: white;
     font-family: 'Chakra Petch Bold';  
     text-shadow: 0 0 4px rgba(255, 0, 0, 0.60), 0 0 10px rgba(255, 0, 0, 0.60); 
     text-align: center;
     font-size: 1.5rem;
    z-index: 2;
}
.home-info p span{
    text-transform: uppercase;
    color: #fa2248;
    display: block;
}

.home-info svg{
  position: absolute;
  max-width: 33vw;
}


/* Available on */


.available-on {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: fit-content;
    text-transform: uppercase;
    margin-top: 2rem;
    align-items: baseline;
    position: absolute;
    bottom: 1rem;
    left: 4rem;
}

.available-on span{
    font-family: 'Chakra Petch Light';
    font-size: 0.875rem;
    font-weight: 900;
    color: white;
    transform: translateY(-6px);
    letter-spacing: 0.025rem;
}

.available-on img{
  max-height: 1.5rem;
}



/* Code de la carte */

.copy-code {
  position: relative;
  cursor: pointer;
  width: max-content;
  display: flex;
  flex-direction: column;
}

.copy-code svg{
    position: relative;
    z-index: 0;
    width: 28rem
}

.mapcode_text {
    font-size: 0.875rem;
    line-height: 1;
    text-transform: uppercase;
    display: block;
    text-align: center;
    font-weight: 900;
    color: #b1adb6;
    font-family: 'Chakra Petch SemiBold';
    z-index: 1;
    position: absolute;
    left: 7rem;
    top: 0.275rem;
}

.copy-word{
    color: white;
    font-size: 1.375rem;
    font-family: 'Chakra Petch SemiBold';
    position: absolute;
    right: 2.5rem;
    top: 2rem;
    text-transform: uppercase;  
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5), 0 0 8px rgba(255, 255, 255, 0.65);   
}

.copy-word:hover {
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 18px rgba(255, 255, 255, 0.55);
}

.mapcode_numbers {
    color: white;
    line-height: 1;
    display: block;
    font-size: 1.75rem;
    font-family: 'Chakra Petch SemiBold';  
    text-transform: uppercase; 
    padding: 0.25rem;
    position: relative;
    margin: 0.5rem;
       z-index: 1;
    position: absolute;
    top: 1.25rem;
    left: 2.675rem;   
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);   
    letter-spacing: 0.05rem;
}



#countdown,
#countdown2 {
  margin: 0;
}

.map_code_copy {
  position: absolute;
    bottom: -0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    font-size: 0.875rem;
    text-align: center;
    left: 36%;
    transform: translateX(-50%);
    width: 100%;
  display: none;
     font-family: 'Chakra Petch SemiBold'; 
}

#map-code-copied2 {
  bottom: -0.25rem;
  top: unset;
}


@media screen and (max-width: 1520px){
  .main-logo {
    max-width: 45vw;
  }
  .home-info{
    width: 30vw;
  }
  .available-on img {
      max-height: 1.25rem;
  }

}

@media screen and (max-width: 1440px){
  .home-info p {
    font-size: 1.25rem;
  }
  .home-right-bottom {
      right: 2rem;
  }  
}







@media screen and (max-width: 1366px) {
  #home .wrapper {
    max-width: 1180px;
  }
 #home{
  background-position: right;
 }
 .home-left {
      margin-left: 1vw;
  }
}

@media screen and (max-width: 1280px) {
  .playable-on-mobile {
    display: block;
  }
  .main-logo {
      max-width: 44vw;
  }
}

@media screen and (max-width: 1120px) {
  h1 {
    font-size: 1.5rem !important;
  }
  .main-logo {
    max-width: 44vw;
  }
  #home .wrapper {
    padding: 4rem 0 2rem;
  }
  .home-left {
    margin-left: 0vw;
  }
  .submit-score img {
    width: 340px;
  }
  .created-in {
      position: absolute;
      left: 2rem;
      bottom: 0rem;
      max-width: 100%;
  }

    .available-on img {
        max-height: 0.875rem;
    }
    .scroll_left-bar_button {
      bottom: 1rem;
      left: -0.25rem;
  }
  .scroll_left-bar_button svg {
      height: 1rem;
  }
  .scroll_left-bar_button>div{
    transform: rotate(90deg) translateY(12px) translateX(-15px);
    height: 3rem;
}  
    .scroll_left-bar_button {
        bottom: 3rem;
        left: -0.5rem;
    }
}

@media screen and (max-width: 992px) {
  .home-right-bottom{
    transform: scale(0.85) translateX(50px);
  }

  .copy-code {
    margin-top: 2rem;
    bottom: unset;
    top: unset;
    position: relative;
  }
  .main-logo {
    max-width: 38vw;
    height: auto;
  }

  .playable-on {
    gap: 1rem;
    width: fit-content;
    align-items: center;
  }
  .created-in {
    position: relative;
    right: unset;
    left: unset;
    bottom: unset;
  }
  #home {
    padding: 2rem 0 4rem;
  }
  .scroll_left-bar {
      top: 1vh;
  }

  .available-on{
    gap: 0.75rem 0.75rem;
  }

  .available-on img {
        max-height: 1rem;
  }    
  #home .wrapper {
    padding: 0;

  } 
}
@media screen and (max-width: 800px) {
  
  .home-right-bottom{
    transform: unset;
    right: unset;
  }

  .main-logo {
    max-width: 80vw;
    margin-bottom: 5vh;
  }
  .home-left {
    margin: 0;
       align-items: center; 
  }
  #home .wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .home-info svg{
    max-width: 500px;
  }
  .home-info {
        width: 400px;
        margin-left: 0rem;
        padding: 0 2rem; 
  }  
  .available-on {
      display: flex;
      flex-wrap: wrap;
      max-width: 80vw;
      align-items: center;
      left: unset;
  }
  .available-on span {
      transform: unset;
  }      

    .home-right-bottom {
        position: relative;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    } 
    .fortnite {
      margin-right: 0;
  }  

}
@media screen and (max-width: 600px) {
   .home-left {
    margin: 0rem 0 0;
  }
  .home-left-button {
    font-size: 1.375rem;
  }


  #home .wrapper {
        margin: 0 auto;
  }  

}

@media screen and (max-width: 480px) {
    #home .wrapper {
        margin: 0 auto;
  } 
    #home {
    background-image: url("../img/bg-home-mobile.webp");
  }

    .available-on span {
      font-size: 0.675rem;
    }
    .main-logo {
        height: auto;
        margin-top: 4vh;        
        max-width: 64vw;
        margin-bottom: 12vh;
    }
    .scroll_left-bar_button>div {
        transform: rotate(90deg) translateY(13px) translateX(-12px);
        height: 3rem;
    } 
    .scroll_left-bar_button{
      display: none;
    }

  .home-right-bottom .copy-code{
        transform: scale(0.85) translateY(1rem);
        margin-top : 1rem;
  }
    .available-on {
      margin-top: 1rem;
      bottom: 1.5rem;
        max-width: 84vw;
        gap: 0.5rem 0.5rem;
    }
    .home-info {
      width: 70vw;
  }
  .home-info p{
      font-size: 1.125rem;
  }
}


@media screen and (max-width: 420px){
    .available-on {
        max-width: 82vw;
    }
    .main-logo {
        margin-top: 0vh;
        max-width: 71vw;
        margin-bottom: 14vh;
    }
  .home-info {
        width: 78vw;
    }
  .scroll_left-bar_button {
        bottom: 1rem;
    }

  .copy-code svg{
      position: relative;
      z-index: 0;
  } 
    .available-on img {
        max-height: 0.75rem;
    }
  .home-right-bottom .copy-code{
        max-width: 350px;
        margin-top: 0;
  }   

}

@media screen and (max-width: 380px){
    .main-logo {
        margin-top: 3vh;
        max-width: 70vw;
        margin-bottom: 4vh;
  }
  .home-right-bottom{
        width: 300px;
  }
}

@media screen and (max-width: 320px){
    .main-logo {
        margin-top: 13vh;
        max-width: 53vw;
        margin-bottom: -2vh;
  }
}

@media screen and (min-width: 1921px) {

    #home .wrapper {
        max-width: 2200px;
    }
    .scroll_left-bar_button>div {
        transform: rotate(90deg) translateY(23px) translateX(-22px);
    }  

  .header-result:hover .header-result-arrows {
      transform: translateX(4px);
  }

  .main-logo {
    transform: scale(1.125);
    margin-bottom: 4rem;
    margin-top: 4rem;
  }
  .home-info {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 27vw;
      margin-left: 0rem;
      padding: 0 3rem;
  }
}



@media screen and (min-width: 2881px) {
  #home .wrapper {
    max-width: 2560px;
  }
    .scroll_left-bar_button>div {
      transform: rotate(90deg) translateY(33px) translateX(-41px);
    }  
    .copy-word {
      font-size: 0.875rem;
      right: 53px;
      top: 42px;
  }  
    .mapcode_text {
      font-size: 16px;
      left: 164px;
  }
  .mapcode_numbers {
      font-size: 1.125rem;
      top: 0.675rem;
      left: 1.5rem;
  }
}

@media screen and (min-width: 3400px) {
  #home .wrapper {
    max-width: 3200px;
  }
}

@media (min-aspect-ratio: 21/9) {

 .main-logo {
    max-width: 28vw;
    transform: scale(1); 
        margin-bottom: 0rem;
        margin-top: 0rem;
    }
   .home-info p {
    font-size: 1.125rem;
  } 
      .home-info {
        width: 20vw;
    }
}







/*********************************************************************************************************************************/
/********************************************************** recompenses **********************************************************/
/*********************************************************************************************************************************/

#recompenses{
  background-image: url('../img/bg_prizes.webp');
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

#recompenses .wrapper {
    align-items: center;
    display: flex;
}

#prizes_1, #prizes_2 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1200ms ease;   
}

/* Premier écran */
#prizes_1 {
    z-index: 2;
    opacity: 1;
    display: flex;
    align-items: center;
    position: absolute;
    right: 18vw;
    top: 24vh;
}

#prizes_1>svg{
      height: 16rem;
}

.prizes_1_text{
    font-size: 3rem;
    font-family: 'Chakra Petch Bold';
    color: white;
    transform: translateX(-2rem);
    text-transform: uppercase;
    line-height: 1;  
}


/* Deuxième écran */
#prizes_2 {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    width: 100vw;
    bottom: 0;
}

.prize-mobile {
    display: none;
}

.prize-desktop {
    max-width: 40vw;
    margin: 3rem auto 0 30rem;
    position: absolute;
    bottom: 23vh;
    right: 16vw;
}

.prize-mention{
     position: absolute;
    bottom: 1.5rem; 
    font-size: 1rem;
    font-family: 'Chakra Petch Bold';  
    right: 30vw; 
    color: white;
}

.prize-random-draw{
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 30vw;
}


/* Mobile */

@media screen and (max-width: 1080px){
  #recompenses{
    min-height: 500px;
  }
  .prize-desktop {
      bottom: 7rem;
      right: 16vw;
  }
}

@media (max-width: 800px) {

    #prizes_1 {
        display: none;
    }

    #prizes_2 {
        opacity: 1;
        z-index: 2;
        pointer-events: auto;
        position: relative;
        bottom: unset;
        height: 100vh;
        align-items: baseline;
    }
    #recompenses{
      padding: 0;
        background-position: right;
    }


  .prize-random-draw {
      max-width: 65vw;
  }
  .prize-mention {
    bottom: 1rem;
        font-size: 1rem;
        left: 3rem;
        right: unset;
  }
  .prize-desktop {
      bottom: unset;
      right: unset;
      position: relative;
        max-width: 88vw;
        margin: 6rem 0 0 0rem;
    }
}


@media screen and (max-width: 480px) {
    #recompenses{
        background-position: center;
        background-image: url('../img/bg-prizes-mobile.webp');
    }
  .prize-desktop {
        margin: 12vh 0 0 0rem;
    }
}
@media screen and (max-width: 420px) {
    .prize-desktop {
        margin: 10vh 0 0 0rem;
        max-width: 78vw;
    }
}

@media screen and (min-width: 1921px){
  .prize-desktop {
      max-width: 40vw;
      margin: 3rem auto 0 30rem;
      position: absolute;
      bottom: 20vh;
      right: 15vw;
  }
}


/*********************************************************************************************************************************/
/*********************************************************** trailer **************************************************************/
/*********************************************************************************************************************************/

#trailer {
  padding: 0;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
}

#trailer .video-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: black;
}

#trailer .video-box-resp {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

#trailer .video-box-resp video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#course .scroll-down > span {
  color: white;
}

video {
  background-color: transparent !important;
}

#trailer .trailer-mobile{
  display: none;
}

@media screen and (max-width: 1440px){

  .video-box {
    display: flex;
    align-items: center;
  }

}
@media screen and (max-width: 800px){
  #trailer {
      height: unset;
  }
  #trailer .video-box {
    height: 100svh;
  }

  #trailer .trailer-desktop{
    display: none!important;
  }
  #trailer .trailer-mobile{
    display: block!important;
  }

}


/*********************************************************************************************************************************/
/*********************************************************** GUIDE **************************************************************/
/*********************************************************************************************************************************/

#guide{
   background-image: url('../img/bg-guide.webp'); 
}

.arrow-left{
  cursor: pointer;
}
.arrow-right{
  cursor: pointer;
}

.guide-box{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    transform: translateY(-4rem);
    max-width: 58vw;
}

#guide .wrapper{
  width: 90vw;
}

.guide-box_center_block{
  position: relative;
  display: none;
}
.guide-box_center_block img{
  max-width: 100%;
}

.guide-box_center_block_step{
    position: absolute;
    bottom: 0;
     text-transform: uppercase;
    font-size: 1.25rem;
    font-family: 'Chakra Petch Medium';    
    color: white;
       display: flex;
    align-items: center; 
    right: -6rem;
    max-width: 36rem;
}

.guide-box_center_block_step-text{
  color: #e50000;
  text-transform: uppercase;
  font-size: 1rem;
  font-family: 'Chakra Petch SemiBold';      
}

.guide-box_center_block_step_content{
    position: absolute;
    padding: 1.5rem 2rem;
    z-index: 3;
    top: 0;
}

/* block 1 */

#guide-box_center_block_1 .guide-box_center_block_step_content div{
  display: flex;
  gap: 0.5rem;
     align-items: center; 
}
#guide-box_center_block_1 .guide-box_center_block_step_content div a img{
  max-width: 13rem;
}
#guide-box_center_block_1{
  display: flex;
}

#guide-box_center_block_1 a:hover{
  opacity: 0.9;
}

/* block 2 */

#guide-box_center_block_2 .copy-code{
    position: absolute;
    bottom: -5rem;
    left: 50%;
    transform: translateX(-50%);
}

/* block 4 */

#guide-box_center_block_4 .guide-box_center_block_step_content div{
  display: flex;
  gap: 0.5rem;
     align-items: center; 
}

#guide-box_center_block_4-result:hover{
    opacity: 0.9;
    cursor: pointer;
}



/* Toutes les étapes sont cachées */
.guide-box_center_block {
    display: none;
}

/* Étape active */
.guide-box_center_block.active {
    display: flex;
    animation-duration: 0.4s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: both;
}

/* Navigation vers la droite */
.guide-box_center_block.active.from-right {
    animation-name: stepInRight;
}

/* Navigation vers la gauche */
.guide-box_center_block.active.from-left {
    animation-name: stepInLeft;
}


/* =========================================
   SLIDE
   ========================================= */

@keyframes stepInRight {
    0% {
        opacity: 0;
        transform: translateX(80px) scale(0.97);
        filter: brightness(1.5);
    }

    60% {
        opacity: 1;
        transform: translateX(-5px) scale(1.005);
        filter: brightness(1.15);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: brightness(1);
    }
}

@keyframes stepInLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) scale(0.97);
        filter: brightness(1.5);
    }

    60% {
        opacity: 1;
        transform: translateX(5px) scale(1.005);
        filter: brightness(1.15);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: brightness(1);
    }
}


/* =========================================
   CONTENU
   ========================================= */

.guide-box_center_block.active .guide-box_center_block_step_content {
    animation: contentIn 0.35s ease-out 0.08s both;
}

@keyframes contentIn {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   CADRE
   ========================================= */

.guide-box_center_block.active .guide-box_center_block-cadre {
    animation: cadreIn 0.45s ease-out 0.05s both;
}

@keyframes cadreIn {
    0% {
        opacity: 0;
        transform: scaleX(0.85);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}


/* =========================================
   FLÈCHES
   ========================================= */

.arrow-left,
.arrow-right {
    cursor: pointer;
    user-select: none;

    transition:
        transform 0.15s ease,
        filter 0.15s ease;
}

.arrow-left:hover,
.arrow-right:hover {
    filter: brightness(1.35);
}

.arrow-left:active {
    transform: translateX(-5px) scale(0.95);
}

.arrow-right:active {
    transform: translateX(5px) scale(0.95);
}

@media screen and (max-width: 1620px){
  .guide-box {
      max-width: 58vw;
  }
}
@media screen and (max-width: 1440px){
    .guide-box {
        max-width: 63vw;
    }
}

@media screen and (max-width: 1366px){
  .guide-box {
      transform: translateY(-2rem);
      max-width: 63vw;
  }
  .guide-box_center_block_step {
      max-width: 40rem;
  }
  #guide-box_center_block_2 .copy-code {
      bottom: -7rem;
  }
   .guide-box_center_block_step {
      bottom: -3rem;
  }   
}


@media screen and (max-width: 1280px){
    .guide-box_center_block_step {
        max-width: 42rem;
    }
   .guide-box_center_block_step {
      bottom: -6rem;
  }   
}

@media screen and (max-width: 1080px){
  .guide-box {
        transform: translateY(-3rem);
        max-width: 70vw;
  }
   #guide {
      background-position: center right 40%;
  }
  .guide-box_center_block_step {
      right: -17rem;
      bottom: -6rem;
  }

}

@media screen and (max-width: 800px){
    .arrow-left, .arrow-right {
        transform: scale(0.7);
        max-width: 5rem;
    }
    .guide-box_center_block_step {
        max-width: 33rem;
    }
    #guide-box_center_block_4-result{
          max-width: 12rem;
    }
   #guide-box_center_block_2 .copy-code {
        bottom: -3.25rem;
        transform: scale(0.75) translateX(-50%);
    }

    .guide-box {
        transform: translateY(10vh);
        max-width: 100vw;
    }
    #guide{
      padding-bottom: 10rem;
    }
    .guide-box_center_block_step {
        right: -6rem;
        transform: translateX(-5rem);
      font-size: 1rem;
      bottom: -12rem;
  }
}

@media screen and (max-width: 600px){

  #guide-box_center_block_1 .guide-box_center_block_step_content div a img {
      max-width: 12rem;
  }
  #guide{
   background-image: url('../img/bg-guide-mobile.webp'); 
}
}

@media screen and (max-width: 480px){
    .arrow-left, .arrow-right {
        transform: scale(1);
        max-width: 3rem;
    }
    .guide-box_center_block_step {
        right: -8rem;
        transform: translateX(-5rem);
        font-size: 1rem;
        bottom: -12rem;
    }
  .guide-box_center_block_step-text {
      font-size: 0.75rem;
  }
     #guide-box_center_block_2 .copy-code {
        bottom: -4.5rem;
        transform: scale(0.7) translateX(-73%);
    }

   .guide-box_center_block_step_content {
        padding: 0.75rem 1.5rem;
    }
       #guide-box_center_block_4-result{
          max-width: 7rem;
    } 
}

@media screen and (max-width: 420px){
      .guide-box_center_block_step {
        right: -7rem;
        transform: translateX(-3.5rem);
        font-size: 1rem;
        bottom: -12rem;
    }
    #guide-box_center_block_1 .guide-box_center_block_step_content div a img {
        max-width: 7rem;
    }
}


@media screen and (max-width: 380px){
    .guide-box_center_block_step {
        right: -6rem;
        transform: translateX(-3.5rem);
        font-size: 1rem;
        bottom: -12rem;
    }
}


@media screen and (max-width: 320px){
    .guide-box_center_block_step {
        bottom: -9rem;
    }
}


@media screen and (min-width: 1921px){
  .guide-box{
      max-width: 55vw;
      margin-left: 10vw;
  }
  .guide-box_center_block_step {
    right: -12rem;
      max-width: 38rem;
      bottom: -9rem;
  }
  .guide-box_center_block_1-comp{
    transform: scale(1.25) translateX(2rem) translateY(0.25rem);
  }
}

@media screen and (min-width: 2881px){

    .copy-code svg {
      width: 18rem;
  }
    .guide-box {
        max-width: 46vw;
        transform: scale(1.75) translateX(12rem) translateY(3rem);
    }
    .guide-box_center_block_step-text {
      font-size: 0.5rem;
  }
      .guide-box_center_block_step {
        font-size: 0.65rem;
      max-width: 20rem;
    }
   .guide-box_center_block_step_content {
      padding: 1rem 1rem;
  } 
    .mapcode_text {
      top: 7px;
  }
      #guide-box_center_block_2 .copy-code {
        bottom: -2.5rem;
    }
  .guide-box_center_block_step {
        right: -11rem;
        bottom: -5rem;
  }
}

@media (min-aspect-ratio: 21/9) {

  .guide-box {
        max-width: 43vw;
        transform: scale(1.25) translateX(12rem) translateY(0rem);
        max-height: 100vh;
    }
    .guide-box_center_block_step {
        font-size: 0.65rem;
        max-width: 21rem;
         right: -11rem;
        bottom: -3rem;
    }
}


/*********************************************************************************************************************************/
/********************************************************** FOOTER ***************************************************************/
/*********************************************************************************************************************************/

footer {
  background-color: #172332;
  display: flex;
  flex-direction: column;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  position: relative;
  border-top: 2px solid #fcfcec;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
      font-family: "Chakra Petch Semibold", sans-serif;
    font-style: normal;
    font-weight: 400;
}

.footer-links > * {
  text-transform: uppercase;
  color: white;
  font-size: 1.375rem;
  cursor: pointer;
}

.footer-links > *:hover {
  color: #e50000;
}

.divider {
  padding: 0 4px;
}

.mentions-epic {
  color: #fcfcec;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem 4rem;
  border-top: 2px solid #fcfcec;
}
.mentions-epic p {
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
}
.mentions-epic a {
  color: #fcfcec;
}
.mentions-epic a:hover {
  color: black;
}

.to-top {
  margin-left: 9rem;
  position: relative;
  transform: translateX(1rem);
}

.to-top:hover > svg > path:first-child {
  fill: white;
}
.to-top:hover > svg path:last-child {
  fill: #ff7900;
}

.arrow-to-top {
    position: absolute;
    right: 1rem;
    bottom: -2rem;
}
.arrow-to-top > img{
    width: 5rem;
}
.arrow-to-top:hover > img{
    opacity: 0.8;
}


.footer-left {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.footer-left .logo-footer{
  max-width: 14rem;
}
.footer-left .logo-footer img{
  max-width: 100%;
}
.social-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  height: 2rem;
}
.social-bar a {
  display: flex;
  height: 2rem;
  width: 2rem;
}
.social-bar svg path {
  fill: white;
}
.social-bar svg:hover path {
  fill: #ff7900;
}

@media screen and (max-width: 1080px) {
  .footer-left {
    gap: 2rem;
  }

  .to-top {
    margin-left: 1rem;
  }

  .footer-links > * {
    font-size: 1.375rem;
  }
}

@media screen and (max-width: 992px) {
  .to-top {
    margin-left: 0rem;
  }

  .footer-top,
  .footer-left {
    flex-direction: column;
    gap: 3rem;
  }

  .to-top {
    position: absolute;
    right: 1rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .mentions-epic {
    font-size: 0.75rem;
    padding: 0.5rem 2rem;
  }
  .to-top svg {
    transform: scale(1);
  }

  .divider {
    display: none;
  }
  .footer-top {
    padding: 2rem;
  }
  .mentions-epic p {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 800px){
    .footer-top, .footer-left{
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .to-top {
    right: -2rem;
    top: 0rem;
    transform: scale(0.875);
    display: none;
  }
  .to-top svg {
    transform: scale(0.75) translateX(-1rem);
  }

  .mentions-epic p {
    font-size: 0.75rem;
  }
}


@media screen and (min-width: 2881px) {
  .footer-left img {
      transform: scale(1.75) translateX(1rem);
  }
  .to-top {
    transform: translateX(1rem) translateY(-3rem) scale(1.5);
    margin-left: 3rem;
  }
  .footer-top {
      padding: 2rem 2rem;
  }
}

/********************************************************************************/
/******************************* OVERLAY INSCRIPTION ****************************/
/********************************************************************************/

/* Général */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  right: 50%;
  bottom: 50%;
  height: 100%;
  width: 100vw;
  transform: translate(-50%, -50%);
  z-index: 9;
  display: none;
}
.popup .main-overlay {
  background-color: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
}

.popup-logo {
    position: absolute;
    top: -5rem;
    width: 14rem;
}

.popup .popup-step {
padding: 0.75rem 1rem;
  margin: auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: visible;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
    width: 46rem;
    height: auto;
}

.popup-step .popup-inner{
      position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66%;
}


/* Step 1 */

.step1-left {
  position: relative;
  width: 30rem;
  height: 17.9rem;
  background-image: url(../img/zone.webp);
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  margin: 0 auto 3rem;
}

.step1-left:hover {
  opacity: 0.7;
}
.step1-left label {
  width: 100%;
  cursor: pointer;
}

input#fakeInput {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  display: block;
  padding: 11px 0;
  box-sizing: border-box;
  border: initial;
  background-color: transparent;
}

.step1-left input#step1-screenshot {
  height: 100%;
  width: 100%;
  position: absolute;
  top: -0;
  left: 0;
  cursor: pointer;
  opacity: 0;
}


.step1-texts{
    bottom: 2.75rem;
  position: absolute;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 85%;
  display: flex;
  flex-direction: column;
}

.step1-texts_text {
  color: white;
  font-size: 1.125rem;
  line-height: 1.15;
  font-weight: 800;
  font-family: 'Chakra Petch SemiBold';
}
.close-popup {
  position: absolute;
  top: 3rem;
  right: 3rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 2;
}
.close-popup svg {
  width: 3rem;
  height: 3rem;
}
.close-popup:hover {
  opacity: 0.8;
}
.popup h3 {
    font-size: 2.125rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.15;
    margin-top: 0.5rem;
    font-family: 'Chakra Petch SemiBold';
    text-transform: uppercase;
    width: fit-content;
    margin: 2rem auto 0.75rem;
       text-shadow: 0 0 4px rgba(255, 0, 0, 0.76), 0 0 10px rgba(255, 0, 0, 0.76); 
}

#step-confirmation {
  display: none;
}


/* Step 2 */

#checkboxes {
  flex-direction: column;
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

input[type="checkbox"] {
  left: -9999px !important;
  position: absolute;
}

input[type="checkbox"] + label::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  background-size: contain;
  position: absolute;
  left: -3rem;
  top: 0rem;
  border: 2px solid #ed1212;
  box-shadow: 0 0 18px rgba(237, 18, 18, 0.93);
}

input[type="checkbox"]:hover + label:after,
input[type="checkbox"]:checked + label::after {
    content: "";
    width: 1rem;
    height: 1rem;
    background-color: #ed1212;
    display: block;
    position: absolute;
    left: -2.6rem;
    top: 0.375rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.inscription-checkboxes > label {
  margin-bottom: 4px;
}

#step2-email{
  background-color: unset;
  padding: 0.75rem 2rem;
  color: white;
  font-size: 1.25rem;
  border: 2px solid #ed1212;
  box-shadow: 0 0 18px rgba(237, 18, 18, 0.93);
  font-family: "Chakra Petch Medium";
  width: 70%
}
#step2-email::placeholder{
  font-family: "Chakra Petch Medium";
  color: white;
  font-size: 1.25rem;
}

#step2 label {
  font-family: "Chakra Petch Medium";
  color: white;
  font-size: 1rem;
  position: relative;
  text-align: left;
  line-height: 1.15;
  cursor: pointer;
  margin:  0 0 0.5rem;
}

#step2 label a {
  color: #ff7900;
  position: relative;
  text-align: left;
  line-height: 1;
}
#step2 label a:hover {
  color: white;
}
.row-checkbox {
  display: flex;
  align-items: normal;
  justify-content: flex-start;
  width: 100%;
  max-width: 76%;
  margin: 0.5rem auto;
  transform: translatex(1.5rem);
  flex-direction: column;
  gap: 0.5rem;
}

:-webkit-autofill {
  transition: all 100000s ease-in-out 0s;
}

#step2 input:focus,
#step2 input:focus-visible {
  color: white;
  outline: none;
  background-color: transparent;
}

#row-email,
#row-phone {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.75rem auto;
  width: 100%;
}
#row-email > div,
#row-phone > div {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
  position: relative;
}

.submit-form{
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
} 

#submit {
    padding: 1.55rem 2.5rem 1rem;
    border: 0;
    cursor: pointer;
    width: max-content;
    background-color: transparent;
    color: white;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-family: "Chakra Petch SemiBold", sans-serif;
    position: absolute;
    right: 1rem;
    bottom: 1.25rem;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
    gap: 1rem;
    display: flex;
    align-items: center;

}
#submit svg {
    width: 2rem;
}
#submit:hover svg {
  transform: translateX(4px);
}


@media screen and (max-width: 800px) {
  #checkboxes {
    gap: 0.5rem;
    padding: 0 1.5rem;
  }
}

@media screen and (max-width: 600px) {
  .step1-left {
        width: 333px;
        height: 199px;
    margin: 0 auto;
  }
  .popup .popup-step {
    width: 34rem;
  }
  .row-checkbox {
    max-width: 76%;
  }
  .popup .popup-step {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 0.75rem 0.5rem;
  }
  .popup h3 {
    font-size: 1.75rem;
  }
  .row-checkbox {
    max-width: 74%;
    transform: translatex(2rem);
  }
  .popup-step .popup-inner {
      width: 84%;
  }
  #step2-email{
    padding: 0.5rem 2rem;
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 480px) {
  .row-checkbox {
    width: 100%;
    margin: 0.75rem auto;
    transform: translatex(2rem);
  }
  #step2 label,
  #step2 label a {
    font-size: 1rem;
  }

  #submit {
    padding: 0.75rem 2rem;
  }
  .close-popup {
      top: 2.25rem;
      right: 2.25rem;
  }
  #checkboxes {
    gap: 0.375rem;
    padding: 0 0.5rem;
  }
         #step2 label, #step2 label a {
        font-size: 0.875rem;
    } 
  .submit-form {
      position: absolute;
      bottom: 2rem;
      right: 2rem;
  }  
  .popup-step .popup-inner {
      width: 90%;
  }  
}

@media screen and (max-width: 420px) {
    .step1-left {
        width: 276px;
        height: 164px;
    }
  .popup h3 {
    font-size: 1.25rem !important;
  }
  .step1-texts {
      bottom: 1.75rem;
  }

  #checkboxes {
        gap: 0.25rem;
        padding: 0;
  } 
     .row-checkbox {
        transform: translatex(1.25rem);
    } 

  .submit-form, .end-popup {
      bottom: -47px;
      right: 14px;
  }    
    .step1-texts_text {
      font-size: 0.75rem;
  }
    .close-popup {
        top: 2rem;
        right: 2rem;
    }  
   .popup-logo {
      position: absolute;
      top: -9rem;
      width: 15rem;
  } 
      #step2 label, #step2 label a {
        font-size: 0.75rem;
    }
}


@media screen and (max-width: 380px) {
    .step1-left {
        width: 215px;
        height: 126px;
    }  
}


@media screen and (min-width: 1921px) {
  .popup-step {
    min-width: unset;
  }
  #row-email {
    margin: 0.5rem auto;
  }
}
@media screen and (min-width: 2881px) {

  #step2-email::placeholder {
    transform: translateY(0px);
  }
  .row-checkbox {
    max-width: 90%;
  }
  #step2 label + svg {
    top: 1.375rem;
    transform: scale(0.875);
  }
  #step2-email{
    padding: 0.75rem 2rem 1rem;
  }
}

@media screen and (min-width: 2881px) {
  #step2 label + svg {
    top: 1.875rem;
    transform: scale(1.25);
  }
}


/* Step 3 */

.end-popup {
    position: absolute;
    bottom: 2.5rem;
    right: 3rem;
}

.end-popup div{
    padding: 1.55rem 2.5rem 1rem;
    border: 0;
    cursor: pointer;
    width: max-content;
    background-color: transparent;    
    color: white;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-family: "Chakra Petch SemiBold", sans-serif;
    position: absolute;
    right: 0;
    bottom: 1.25rem;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.9);
    display: flex;
    gap: 1rem;
    align-items: center;
    
}
.end-popup div svg{
  width: 2rem;
}
.submit-svg{
  width: 17rem;
}

.end-popup:hover div svg{
  transform: translateX(4px);
}

#resultModalBody {
  color: white;
     font-family: "Chakra Petch Medium", sans-serif; 
}

@media screen and (max-width: 1366px){
  .submit-svg{
    width: 16rem;
  }
}



/****** COOKIES ******/

#cookies {
  border-top: 2px solid #fcfcec;
  color: #fcfcec;
  position: fixed;
  bottom: 0;
  z-index: 9;
  width: 100%;
}
#cookies .main-overlay {
  background-color: black;
  width: 100%;
  height: 100%;
}

#cookies {
  display: none;
}

.charte-cookies {
  background-color: black;
    border: 3px solid white;
    box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.4);
    color: #fcfcec;
    font-size: 1.125rem;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    font-weight: 900;
    display: block;
    margin: 1rem auto;
    text-align: center;
    width: fit-content;
    font-family: "Chakra Petch Bold";
}

.charte-cookies:hover{
  background-color: white;
  color: black;
}


.popup-cookies-main,
.popup-cookies-choices {
  padding: 2rem 6rem;
}

.popup-cookies-main h3,
.popup-cookies-choices h3 {
  color: white;
  margin: 0 auto 1.5rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-family: "Chakra Petch Semibold";
}

.popup-cookies-choices {
  display: none;
}

.cookie-buttons {
  justify-content: center;
  gap: 2rem;
  display: flex;
}

.cookie-buttons > *,
#end-cookies {
  cursor: pointer;
  background-color: #e50000;
  line-height: 1;
  font-weight: 600;
  width: fit-content;
  padding: 0.75rem 1rem;
  line-height: 1;
  font-size: 1rem;
  width: 20rem;
  font-size: 1rem;
  color: white;
  border: 0px;
  font-family: "Chakra Petch Semibold";
}

#end-cookies {
  margin: 2rem auto 0;
  display: block;
}

.popup-cookies-choices {
  position: relative;
  flex-direction: column;
}
.popup-cookies-choices-table {
  margin: 2rem 0 0;
}
.close-param-cookies-popup {
  position: absolute;
  right: 2rem;
  top: 2rem;
  cursor: pointer;
}
.close-param-cookies-popup:hover {
  opacity: 0.8;
}

.cookie-buttons > *:hover,
#end-cookies:hover {
  color: black;
}

.cookies-choices-consent {
  gap: 1rem;
  display: flex;
}

.popup-cookies-choices-block .give-consent_cookies,
.popup-cookies-choices-block .no-consent_cookies {
  color: white;
  font-size: 1.125rem;
  cursor: pointer;
  display: inline-block;
  background: transparent;
  line-height: 1;
  border: 1px solid white;
  margin: 0;
  padding: 0.25rem 0.5rem;
  color: white;

}
.give-consent_cookies:hover,
.give-consent_cookies:focus {
  background-color: #188600;
  color: white;
  border-color: #188600;
}
.no-consent_cookies:hover,
.no-consent_cookies:focus,
.no-consent_cookies:active {
  background-color: #f80d34;
  color: white;
  border-color: #f80d34;
}

@media screen and (max-width: 600px) {
  .close-param-cookies-popup {
    right: 0.5rem;
    top: 0.5rem;
  }
}
@media screen and (max-width: 480px) {
  .cookie-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .cookie-buttons > * {
    height: 3rem;
    width: 100%;
  }
  .popup-cookies-main,
  .popup-cookies-choices {
    padding: 1.5rem;
  }

  .popup-cookies-main h3,
  .popup-cookies-choices h3 {
    font-size: 1.25rem;
  padding: 0 4rem;   
  }
    
  .charte-cookies {
      margin: 2rem auto;
  }

}

/************* LEGAL ***************/
.legal {
  background-color: black;
}

.legal h1 {
  text-transform: uppercase;
    font-size: 3rem;
    z-index: 1;
    line-height: 1;
    text-align: center;
    margin: 8rem 0 1rem;
    font-family: "Chakra Petch Bold", sans-serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    color: #ea0a0a;
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.76), 0 0 10px rgba(255, 0, 0, 0.76);
}

.legal h2 {
    color: white;
    font-style: normal;
    font-size: 2.25rem;
    text-transform: unset;
    margin: 1rem 0 0;
    text-align: left;
}

.legal p {
  color: white;
  margin: 0;
      line-height: 1;
}

@media screen and (max-width: 800px) {
  .legal h1 {
    margin-top: 8rem;
  }
}

#filename {
    display: none;
}
