@media screen and (orientation: landscape) {

    .main-wrapper {
          overflow-y: auto;
          min-height: fit-content;
    }

    .grid {

      min-height: fit-content;
    }

}

.legal  div {
    padding-top: 0.2rem !important;
}

.legal   .text-xs {
    padding-bottom: 0.5rem !important;
}



.dv40 {

  flex-direction: column;
}


.cd-secondary-nav {

    display: grid;
    grid-template-columns: auto 1fr auto;
    width: 100%;
    padding-top: 10px;
    font-weight: 600;
    background-color: #294d73;
    z-index: 100;
}


.cd-secondary-nav  >  ul {

  grid-column: 2;
  width: 100%;
  list-style: none;
  display: inline-flex;


  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 1rem;
  justify-content: flex-start;

  margin-inline-start: 0;

}


.usricon {
 grid-column: 3;
 margin-right: 20px;
 color:#fff

}


.cd-secondary-nav  li, .cd-secondary-nav  a {

    color: #fff;
    text-decoration: none;

}



.cd-secondary-nav  a:hover {
    text-decoration: underline
}

.dropdown-menu  a {
  width:95%;
  margin-left : 2px; 
}

.dropdown-menu  a:hover {

  background-color: rgb(237, 235, 235);
  border-radius: 4px;
  text-decoration: none;
  
}



/*       OVERLAY LOGIN*/


#modal-overlay {
    /* Positionnement et taille (fixed inset-0) */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    /* Centrage du contenu (flex items-center justify-center) */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Opacité initiale (opacity-0) */
    opacity: 0;

    /* Animations (transition-opacity duration-300 ease-in-out) */
    transition: opacity 300ms ease-in-out;

    /* Désactivation des événements de souris (pointer-events-none) */
    pointer-events: none;

    /* Style de fond défini dans le bloc <style> du Canvas */
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

#popup-content  {
    /* Styles de base */
    background: #ffffff;
    max-width: 90%;
    width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    
    padding: 2rem;
    border-radius: 0.75rem;

    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}


.modal-close-btn {

/* Positionnement (absolute top-4 right-4) */
    position: absolute;
    top: 1rem;       /* Équivalent de top-4 */
    right: 1rem;     /* Équivalent de right-4 */

    /* Couleur et Transition (text-gray-400 transition) */
    color: #9ca3af;  /* Code couleur approximatif de gray-400 */
    transition: color 150ms ease-in-out; 
    outline: none;
    border: none;

}

.modal-close-btn:hover {
    /* Couleur au survol (hover:text-[#3a7bd5]) */
    color: #3a7bd5; /* Couleur d'accentuation Bleu Vif */
}


.features {

    width: 70%;
    align-self: center;
}


:root[mb-agt="False"] .features {

  margin-top: 20px;

}


.features h1 {

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color:#fff;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.125;

}





.messboxx {


    text-decoration: none;
    list-style-type: '✔️';
    /* padding: 0;
     margin: 0; */


    /* background-color: #fff;    
    border-radius: 6px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    box-shadow: 0 .7rem 0 -.3rem #0003; */

    font-weight: 600;

    padding: 2rem 0;

}

.messboxx h2 {
  font-size: 30px;
  font-weight: 600;  
}


.messboxx > li:first-child {

  color:#ffd524;
  font-size: 30px;
  text-decoration: none;  


}


.messboxx ul {

    color:#fff;
    text-decoration: none;
    margin-left:20px;
    list-style-type: '✨';


}

.messboxx ul > li {    
  
  font-size: 20px;

}



  .refgames {

    width: 100%;
    min-height: 50px;
    display: inline-flex;
    justify-content:space-around;
    /*background-color:#192e45;  #00329b;*/
    padding-top: 20px;
    padding-bottom: 20px;

  }

.refgames > h1 {
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #fff; 
  font-weight: 700;
  line-height: 1.125;

}

 :root[mb-agt="False"] .refgames > h1 { font-size: 4.2rem; }

    .img_rfgm-1 {
    background-image: url('../images/oferm.svg');
  }

  .img_rfgm-2 {
    background-image: url('../images/oflot.svg');
  }


  .img_rfgm-3 {
    background-image:url('../images/ofdrm.svg');
  }

.img_rfgms {
    background-repeat: no-repeat;
    background-position-x: center;
	margin-left: auto;
    margin-right: auto;
}

    :root[mb-agt="True"] .img_rfgms {
    width: 93px;   
    height:25px;
	background-size: 93px 25px;
  }

    :root[mb-agt="False"] .img_rfgms {
    width: 186px;   
    height:50px;
	background-size: 186px 50px;
  }




  .grid {

        flex:1;
        display: grid;

  }


  .pres-slider, .pres-slide {

    height: 100%;
    width: 100%;
  }

  .visuals {

  display:flex;
  flex-direction:column-reverse;
  height: calc(70% - 50px);
  min-height: 400px;
  }

  :root[mb-agt="False"] .visuals { 

        height: calc(99% - 50px);

  }



.actcall {

    height: 30%;
    min-height: 50px;
    background-color: #294d73;
    display: flex;
    align-items: center;
    justify-content: center;
}




.plrpics {

    z-index: 10;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;


}  


 .pres-slider, .plrpics, .slogan, .slogan_grph {
  grid-area: 1 / 1 / 2 / 2 ;
}



.slogan_grph {

    z-index: 20;
    height:fit-content;
    align-self: start;

    font-size: 50px;
    font-weight: 600;

}

.slogan {

    z-index: 15;
    height:fit-content;
    align-self: end;

    font-size: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    text-shadow: 0 -1px 1px #000f4d;    

    color: green;

}

:root[mb-agt="True"] .slogan { 

    font-size: 25px;
    margin-bottom: -8px;
}
  



.plrpics > div {

    display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-position-x: center;

    vertical-align: end;
    justify-self: end;


}

:root[mb-agt="True"] .plrpics > div {

    justify-self: start;
}



:root[mb-agt="True"] .plrpic2 {

    background-image: url(../../../../static/images/220426.webp); 

    background-size: 150px 150px;
    height: 150px;
    width: 150px;    
}

:root[mb-agt="True"] .plrpic1 {


    background-image: url(../../../../static/images/221481.webp); 

    background-size: 200px 200px;
    height: 200px;
    width: 200px;


}


:root[mb-agt="False"] .plrpic2 {

    background-image: url(../../../../static/images/220426.webp); 

    background-size: 300px 300px;
    height: 300px;
    width: 300px;    
}

:root[mb-agt="False"] .plrpic1 {


    background-image: url(../../../../static/images/221481.webp); 

    background-size: 400px 400px;
    height: 400px;
    width: 400px;


}



.sitelogo {

    width: fit-content;
    height: fit-conten;

    margin-top: 40px;

    margin-left: auto;
    margin-right: auto;    

}


:root[mb-agt="True"] .img_doc-logo {
    width:260px;   
    height:125px; 
    background-image: url('../images/gv30.webp');
	background-size: 260px  125px;

    background-repeat: no-repeat;
    background-position-x: center;
	margin-left: auto;
    margin-right: auto;
  }


:root[mb-agt="False"] .img_doc-logo {
    width:518px;   
    height:311px; 
    background-image: url('../images/gv30mir.webp');
	background-size: 518px 311px;

    background-repeat: no-repeat;
    background-position-x: center;
	margin-left: auto;
    margin-right: auto;
  }





 .grid2 {

    display:grid;
 }

 .mssindopjx {
    z-index: 10;
    align-self: end;
    margin-bottom: -1px;
}

   .mssindopjx, .refgames {
  grid-area: 1 / 1;
}







		[id^="pres-slide-"]:checked + .pres-slide {
		  left: 0;
		  z-index: 100;
		  -webkit-transition: left .65s ease-out;
		  transition: left .65s ease-out;
		}


		[id^="pres-slide-"]:not(:checked)  +.pres-slide  {   
			display:none;
		}





   .pres-slide {

      width: 100%;
      height: 100%;
    }

    :root[mb-agt="False"] .pres-slide-two {

      background-image: url('../images/grphs2.webp');
      background-size: 765px  550px; 
      background-position: center bottom;
      background-repeat: no-repeat;

    }


    :root[mb-agt="True"] .pres-slide-two {

      background-image: url('../images/grphs2.webp');
      background-size: 350px  252px; 
      background-position: center center;
      background-repeat: no-repeat;

    }



 :root[mb-agt="True"]  .pres-slide-three {

        background-image: url('../images/grphs3.svg');
        background-size: 562px  397px; 
        background-repeat: no-repeat;
        background-position: center bottom;
        overflow: hidden;

    }

 :root[mb-agt="False"]  .pres-slide-three {

        background-image: url('../images/grphs3.svg');
        background-repeat: no-repeat;
        background-position: center top;

    }









  	.slide-three {   
			display:grid;

		}

  .slide-three .grphs {

    z-index:1;
  } 







   .slogan_grph {

        z-index:10;
        justify-self: center; 
        align-self: start;
        text-align: center;
        text-shadow: 0 -1px 1px #000f4d;
        margin-top: 20px;
        margin-bottom: 25px;
        font-size: 50px;
        color:#6c5357;

           /* #00329b; */
    
  }


 p.slogan_ntr { 

  text-align: center;
  color: #781ea6ff;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

 }

 :root[mb-agt="False"]  p.slogan_ntr { 
  font-size: 4em;

 }


 :root[mb-agt="True"]  p.slogan_ntr { 


  font-size: 3em;


 }
  
  
   :root[mb-agt="True"] .slogan_grph {

    font-size: 30px;
    margin-top: 650px;
 }

  /* .slogan_grph, .grphs, .slogan_grph2  {

    grid-area: 1 / 1/2/2;

  } */

div.slogan_grph2 { 

    border-radius: 20px;  
    background-color: #ffd524;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);

}

 :root[mb-agt="False"]  div.slogan_grph2 {

    width: 200px;
    height: 400px;

    align-self: end;
    justify-self: right;
    /* z-index:20; 
    margin-bottom: 50px;*/
    margin-right: 10px;
    padding-top: 15px;

  }


   :root[mb-agt="True"]  div.slogan_grph2 {

    width: 110px;
    height: 150px;
    align-self: end;
    justify-self: right;
    /* z-index:20; */
    margin-bottom: 100px;
    margin-right: 5px;
    padding-top: 15px;

  }


 .slogan_grph2 span {

  justify-self: center;
  display: block;
  width:80%;
  color:#fff;
  font-size: 1rem;
  font-weight: 600;
}

:root[mb-agt="False"] div.slogan_grph2 span {

  font-size: 2rem;
  font-weight: 600;

}






.btn-primary {
    /* Dégradé primaire pour les CTA */
    /* background: linear-gradient(90deg, #3a7bd5, #00c6ff); */
    /* background: linear-gradient(90deg, rgb(75, 17, 104), #781ea6ff); */
    background-color:#781ea6ff ;
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;

    color: white;
    transition: all 0.3s ease;

}

.btn-primary:hover {
    transform: translateY(-2px);
    text-decoration: none;

}


 .btn-primary2 {
    --color: #222;
    --background: #ab79d6;
    --focus-color: #222;
    --focus-background: #ffffff;
    --border-radius: 0.15em;
    border: none;
    background-color: #ab79d6;
    font-family: inherit;
    font-size: 1.125rem;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #ab79d6;
    color: var(--color);
    border-radius: 20px;
    padding: .35em .75em .25em;
    text-align: center;
    line-height: 1;
    font-weight: 500;
    position: relative;
    -webkit-transition: all .18s ease-in-out;
    transition: all .18s ease-in-out;
    font-size: clamp(2.5rem,5vw,4rem)
}




.font-bold {
    font-weight: 700;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}


.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* .shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} */


       /* REGISTER FORM */


#signup-form>  div[id^="div_id_"] {

  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 12px;

}

#signup-form >  div[id^="div_id_"] > label {

  width: 120px; /* keeps everything aligned */ 
  font-weight: 600;  
}

#signup-form >  div[id^="div_id_"] > inpput {

  width: 40%; 
    
}


#signup-form  div[id$="_helptext"] {

  display:none;

}



/*   ALLAUTH  POPUP */

#popup-content input,
#popup-content select,
#popup-content textarea {
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;

}

#popup-content input:focus,
#popup-content select:focus,
#popup-content textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4); /* similar to focus:ring-blue-200 */
}

#popup-content input[type="text"], #popup-content input[type="password"], #popup-content input[type="email"] {

  margin-bottom: 15px;

}

#popup-content button {

   margin-bottom: 10px;

}

