canvas {
    width: 95vw;
    height: 95vh;
    align-self: center;
    background-color: rgba(255, 255, 255, 0.23);
    box-shadow: rgba(255, 255, 255, 0.19) 0px 10px 20px, rgba(255, 255, 255, 0.23) 0px 6px 6px;
}

/* =========== overlay canvas ============ */

.langueOptions {
  position: absolute;
  left:45px;
  top: 5px;
}

.mapView {
  position: absolute;
  left: 45px;
  bottom: 60px;
}

.gamepad {
  position: absolute;
  right: 45px;
  bottom: 60px;
}

@media (min-width: 1440px) {
.langueOptions {
  position: absolute;
  left:80px;
  top: 5px;
}

.mapView {
  position: absolute;
  left: 80px;
  bottom: 60px;
}

.gamepad {
  position: absolute;
  right: 80px;
  bottom: 60px;
}
}

.btnMove, .btnDisabled {
  width: 80px;
  height: 30px;
  border: none;
  border-radius: 20%;
}

.btnDisabled {
  background-color: rgba(0,0,0,0);
}

.btnMove {
  background-color: rgba(255, 255, 255, 0.2);
  cursor:pointer;
  transition: background-color 0.3s ease;
}

.btnMove:hover {
  background-color: rgba(255, 255, 255, 0.8)
}

.btnMap {
  background-color: rgba(255, 255, 255, 0.2);
}

.btnMap:hover {
  background-color: rgba(255, 255, 255, 0.8)
}

.lineBtn2 {
  margin-top: 3px;
}

#button2>svg {
  transform: rotate(-90deg);
}

#button3>svg {
  transform: rotate(180deg);
}

#button4>svg {
  transform: rotate(90deg);
}


/* =========== global modal ====================== */

.modal {
  z-index:101;
  background-color: #000;
  color : white;
  position: absolute;
  top:0;
  left:0;
  min-height:100vh;
  width: 100vw;
}

.modalBorder {
  box-shadow: inset 0 0 0 3px rgb(255, 255, 255);
  width: 95vw;
  min-height: 95vh;
  height: 100%;
  margin: auto;
  border-radius: 30px;
}

.modalHeader {
  background-color: #3ef941;
  display: flex;
  justify-content: space-between;
  border-radius: 25px 25px 0 0 ;
}

.modalBody {
  margin-top: 5px;
  padding-bottom: 10px;
}

.modalTitle {
  flex: 1;
  display: flex;
  justify-content: center;
}

.modalTitle h2 {
  color: #000;
  margin: 10px 20px;
  font-family: 'Agdasima-Bold', sans-serif;
}

.modalImageTitle, .modalImageTitleOpt {
  width: 32px;
  height: 32px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .modalTitle h2 {
    margin: 20px 20px;
  }
  }

.modalContent {
  color: white;
}

.modalButton {
  display: flex;
  justify-content: center;
  padding: 4px 8px;
}

.buttonClose {
  text-decoration: none;
  margin-right: 20px;
  background: transparent;
  box-shadow: none;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
  width: 50px;
  height: 50px;
  position: relative;
  border-radius: 50%;
  background-color: #FFF;
  opacity: 0.8;
  transition: 0.3s ease-out;
  align-self: center;
  margin: auto;
}

.buttonClose::before, .buttonClose::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 2px;
  background-color: #000000;
  left: 50%;
  top: 50%;
}

.buttonClose::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.buttonClose::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.buttonClose:hover {
    transform: scale(1.10);
    opacity: 1;
  }


/* =============== modal work in progress ============ */

.wip {
  background-image: url('../img/construction.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}  


/* ======================= modalMap ============================ */

.blocMapView {
  display: flex;
  justify-content: center;
}

.imgMapView {
  margin-top: 20px;
  width: 60vw;
  height: auto;
  align-self: center;
}

/* =================== modalQuiz ============= */

.containerQuiz {
  padding: 15px 50px;
  display: flex;
  justify-content: center;
}

.blocMessageQuiz, .blocSuccessQuiz {
  font-size : 32px;
  display: flex;
  justify-content: center;
  text-align :center;
}

.btncontinuer, .submitquiz {
  border: none;
  flex : 1;
  font-family: 'Agdasima-Bold', sans-serif;
  font-size: 20px;
  padding: 20px 40px 20px 40px;
  box-shadow: rgba(62, 249, 65, 0.4) 0px 0px 0px 2px, rgba(62, 249, 65, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
  color: #3ef941;
  background-color:#000000;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.btncontinuer:hover, .submitquiz:hover {
  scale: 1.2;
  color: #ffffff;
  background-color:#3ef941;
}

.blocQuiz ol {
  list-style: none;
  padding: 0;
}

.blocQuiz fieldset {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 8px;
}

.correct {
  border: 2px solid #3ef941;
  box-shadow: 0 0 10px #3ef941;
}

.incorrect {
  border: 2px solid #f93e3e;
  box-shadow: 0 0 10px #f93e3e;
}

.blocQuiz legend {
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  background-color: #000;
}

.blocQuiz input[type="text"], .blocQuiz input[type="number"] {
  background-color: #ffffff;
  color: #000000;
  outline: none;
  font-size: 20px;
  font-family: 'Agdasima-Bold', sans-serif;
  border: 1px solid #00FFAA;
  padding: 5px;
  border-radius: 5px;
}

input[type="radio"], input[type="checkbox"] {
  accent-color: #00FFAA;
}

label {
  color: #ffffff;
}

div {
  margin-bottom: 10px;
}

input[type="text"]:focus, input[type="number"]:focus {
  outline: none;
  box-shadow: 0 0 5px #00FFAA;
}

input[type="radio"]:checked + label, input[type="checkbox"]:checked + label {
  color: #FF00AA;
}

.action {
  display: flex;
  justify-content: center;
  width: 80%;
  margin: auto;
}



/* ======= adjusment style.css ============ */

.blocSkills {
  padding: 5px 50px;
}

.blocContact {
  padding: 5px 50px;
}



/* ========== mediaqueries ======= */

@media only screen and (max-width: 768px) {

  .modalImageTitleOpt {
    display : none;
  }

  .langueOptions {
    left: 20px;
  }
  
  .mapView {
    left: 20px;
  }
  
  .gamepad {
    right: 20px;
  }

  .btnMove, .btnMap {
    background-color: rgba(255, 255, 255, 0.7)
  }

  .imgMapView {
    margin: 10vh;
    width: 85vw;
  }

  .lineBtn2 {
    margin-top: 8px;
  }
  
  .modalImageTitle, .modalImageTitleOpt {
    width: 40px;
    height: 40px;
    margin-top: 15px;
  }

}

@media only screen and (max-width: 1024px) {

  .imgMapView {
    margin: 10vh;
    width: 80vw;
  }

}





