html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*
background: linear-gradient(45deg, #000 25%, transparent 0, transparent 75%, #000 0, #000), linear-gradient(45deg, #000 25%, transparent 0, transparent 75%, #000 0, #000);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    */

  background:
    linear-gradient(90deg, transparent 46%, #000 49%, #000 51%, transparent 54%),
    linear-gradient(0deg, transparent 46%, #000 49%, #000 51%, transparent 54%);
  background-size: 15px 15px;

}





canvas {

  image-rendering: pixelated;

}

@media (min-width: 960px) {
  #container {
    width: 100%;
    height: 100%;
    display: block;
  }


  #lateral_menu {

    display: flex;
    flex-direction: column;

    position: fixed;
    top: 20px;
    left: 20px;
    height: calc(100% - 40px);

    justify-content: space-between;
  }


  #header {

    width: 15vw;
    min-height: 10vh;


    z-index: 1000;
  }


  .field-row {

    margin: 10px;


  }

  .menucontent.modeless-dialog {
    align-items: flex-start;
    /* Or another value to control vertical alignment */
  }

  .menu {


    min-height: auto;
    width: 12vw;

  }

  .menucontent {
    display: flex;
    flex-direction: row;
    justify-content: space-around;

  }
}

#overlay {
  position: fixed;
  min-width: 25vw;

  top: 20px;
  right: 20px;
  color: rgb(0, 0, 0);
  font-family: sans-serif;
  z-index: 1000;



  overflow: hidden;




}


.paypal {

  background-color: white;

  padding: 12px;
  overflow: scroll;
  height: 80vh;

}

/*

#paypal-container-XDBV7KGPWHDAQ select {
 all:revert;
}


*/





.legal-content {
  background-color: white;
  /*padding: 10px;*/
  box-shadow: inset -1px -1px #fff, inset 1px 1px grey, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
  padding: 12px;
  overflow: scroll;
  max-height: 60vh;
}

/* Le fond noir semi-transparent */
.modal {
  display: none;
  /* Caché par défaut */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;

}

.modal2 {
  display: none;
  /* Caché par défaut */
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /*  background-color: rgba(0, 0, 0, 0.2);*/
  overflow: auto;
}

.modal-content2 {

  margin: 10% auto;

  width: 60vw;
  position: relative;

  overflow: y;
}

/* Le contenu de la fenêtre */
.modal-content {

  margin: 10% auto;

  width: 20vw;
  position: relative;

}

/* Le contenu de la fenêtre */
.modal-content2 {
  /* background-color: white;
  margin: 10% auto;
  padding: 20px;
padding-bottom:30px;
*/
  width: 60vw;

  position: relative;
}



/* button{


  background-color: #000000; 
  color: white; 
  padding: 10px 20px; 
  border: none; 
  cursor: pointer; 
} */


button:hover {
  background-color: #9a9a9a;
  /* Couleur plus claire au survol */
}

input[type="text"],
input[type="email"],
#textmessage {
  width: 100%;
  /* Largeur complète */
  padding: 10px;
  /* Espacement interne */
  margin: 8px 0;
  /* Marge verticale */
  box-sizing: border-box;
  /* Inclure la bordure et le padding dans la largeur totale */
}

textarea {
  height: 100px;
  /* Hauteur fixe pour la zone de texte */

}

#textmessage {}

/*/////////////////////////////////.........\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
/* /////////////////////////RESPONSIVE STYLES\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
/*/////////////////////////////////.........\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

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

  #container {
    height: 50vh;
    overflow: hidden;
  }


  #overlay {
    width: 95vw;
    left: 0px;
    right: Opx;
    top: 50vh;
    font-size: 0.8em;
    max-height: 45vh;
    overflow: hidden;
  }

  .paypal {

    height: 38vh;
    overflow: scroll;

  }

  #header {
    width: 15vw;
    min-height: 10vh;


    z-index: 1000;
  }

  .menu {


    min-height: auto;
    width: 12vw;


  }



  #lateral_menu {

    display: flex;
    flex-direction: column;

    position: fixed;
    top: 20px;
    left: 20px;
    height: calc(100% - 40px);

    justify-content: flex-start;
  }

  .field-row {

    margin: 10px;


  }


}