html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  overflow: hidden;
}
canvas {
  cursor: crosshair;
  z-index: 10;
  margin-top: 0;
}
span#nettoyage {
  display: none;
  font-family: "Georgia", cursive;
  font-size: 40px;
  position: fixed;
  top: 50%;
  left: 50%;
  color: #000;
  margin-top: -40px;
  margin-left: -80px;
}

.screen-inst {
  z-index: 20;
  top: 15px;
  left: 50%; /* center horizontally */
  transform: translate(
    -50%,
    -50%
  ); /* adjust for the element's own dimensions */
  position: fixed;
}

#editControls {
  top: 80px;
  left: 10px;
  z-index: 20;
  position: fixed;
}
#editControls .btn {
  text-decoration: none;
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: inset 0 0 10px silver;
  background: white;
  padding: 2px;
  width: 100px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#editControls .btn:hover {
  cursor: pointer;
}

#editControls .btn-red {
  background-color: #e63157;
  color: #ddd;
  padding: 2px;
}
#editControls .btn-blue {
  background-color: #235e75;
  color: #ccc;
  padding: 6px;
}
#editControls .btn-yellow {
  background-color: #ffd56c;
  color: #666;
  padding: 5px;
}
#editControls .btn-green {
  background-color: #80ccad;
  color: #666;
  padding: 5px;
}
#editControls .btn-black {
  background-color: black;
  color: #ddd;
  padding: 5px;
}

.btn-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.btn-container .btn {
  display: inline-block;
  margin-right: 5px;
}
.btn-container .btn:last-child {
  margin-right: 0;
}

#modal {
  width: 500px;
  min-height: 400px;
  position: fixed;
  top: 20px;
  margin-right: 50%;
  right: -2500px;
  z-index: 50;
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: inset 0 0 10px silver;
  background: white;
  transition: all 0.5s linear 0s;
}
#pres,
#select-strophe {
  padding: 10px 10px;
  font-style: italic;
}
#edit {
  min-height: 190px;
  border: 1px solid black;
  margin: 10px;
  border-radius: 5px;
  padding: 5px;
}
#modal .btn-group1 .btn {
  text-decoration: none;
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: inset 0 0 10px silver;
  background: grey;
  padding: 5px;
  color: white;
  width: 20px;
  margin: 0;
  float: left;
  text-align: center;
}

#modal .btn-group1:after {
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}
#modal .btn-group1 {
  margin: 0 0 0 10px;
}
#modal .btn-group1 .btn.selected {
  background: black;
}
#modal .btn-group2 {
  margin: 20px 0 0 300px;
}
#modal .btn-group2 .btn {
  text-decoration: none;
  border: 1px solid silver;
  border-radius: 5px;
  box-shadow: inset 0 0 10px silver;
  background: grey;
  padding: 10px;
  color: white;
}
#modal .btn-group2 .btn:nth-child(1) {
  background: white;
  color: grey;
}

.modal-instr {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 80; /* Sit on top */
  width: 60%; /* Width */
  height: auto; /* Adjust according to content */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(211, 211, 211, 1); /* Light Gray */

  /* Centering settings */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Border details */
  border: 2px solid black;

  /* Focus details - modify color, spread, blur as per need */
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.3);
}

.modal-instr-content {
  /* Flex settings */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  /* Text settings */
  color: black;

  /* New Text alignment setting */
  text-align: center;
}

.title {
  position: relative;
  left: 15px;
}
