html{
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
}

body{
  background-image: url("/ressources/background.png");

     background-repeat: no-repeat;
     background-size: 1920px 1080px;

     width: 1920px;
     height: 1080px;

  display:flex;
  align-content: center;
  justify-content: center;
  overflow:scroll;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
}

.board{

  display:flex;
  width: 1920px;
  height: 1080px;
  overflow: scroll;
  position: absolute;
  z-index: 0;
}


.textBox{
  display:flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position:absolute;
  z-index: 10;
  width: 150px;
  height: 160px;
  background-repeat: no-repeat; 

  background-image: url("/ressources/note.png");
  background-size: 100%;
}
.textBox p{
  overflow-x:hidden;
  overflow-y: auto;
  word-wrap: break-word;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 20%;
  width: 80%;
  height: 60%;
font-size: 100%;
font-family: cursive;
}

.inputPic{
  display: flex;
  justify-content: center;
  align-items: center;
width: 50%;
height: 12%;
margin-top: 25%;
margin-left: 25%;
}

.inputPic::file-selector-button {

  text-align: center;
  text-justify: center;
  font-size: 5;
  width: 100%;
}
.picInputPreview {
  margin-left: 7.5%;
  max-width: 85%;
  max-height: 85%;
  height: auto;   /* instead of forcing height */
  width: auto;    /* let the browser scale proportionally */
  border-radius: 20%;
  object-fit: contain; /* ensures it scales nicely inside */
}

.imgNotePic{
 margin-top:10%;
max-width: 85%;
max-height: 70%;}

.inputText{
  overflow-x:hidden;
  overflow-y: auto;
  margin-left: 5%;
  background: transparent;
  border: 0px;
  outline: none;
  margin-right: 10%;
  margin-top: 20%;
  resize:none;
  width: 80%;
  height: 60%;
font-size: 100%;
font-family: cursive;
position: relative;
z-index: 3;

}


.exitButton{
  opacity: 0;
  transition: all 0.2s ease-in-out;
  position:absolute;
  cursor: pointer;
  top:15%;
  right:10%;
  
  width: 10%;
  height: 10%;
}
.textBox:hover>.exitButton{
  opacity: 1;
}

.barre{
  display:flex;
  transition:all 0.3s ease-in-out;
  opacity:0.5;
  border:chocolate 3px solid;
  border-radius: 30px;
  position: fixed;
  z-index: 99999;
  background-color: aliceblue;
  width: 90vw;
  height: 10vh;
  top:-8vh;
  left:5vw;
  align-items: center;
  justify-content: center;
}
.barre:hover{

top:0;
opacity: 1;
}
.barre img{
  background-color:transparent;
  height: 60%;
  margin-left:2%;
  margin-right:2%;
  cursor: pointer;
  border-radius:10px;
  transition: all 0.2s ease-in-out;
}

.PicInputDiv{
  height: 100%;
  width:100%; 
  display:flex;
  flex-direction: column;
}

.pinClass{
  overflow: hidden;
  position:absolute;
  z-index: 20;
  width: 50px;


  background-size: 100%;
}