/* FONTS */
@font-face {
  font-family: "bariol";
  src: url("./fonts/bariol-regular-webfont.eot");
  src: url("./fonts/bariol-regular-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/bariol-regular-webfont.woff") format("woff"),
    url("./fonts/bariol-regular-webfont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "bariol";
  src: url("./fonts/bariol-thin-webfont.eot");
  src: url("./fonts/bariol-thin-webfont.eot?#iefix") format("embedded-opentype"),
    url("./fonts/bariol-thin-webfont.woff") format("woff"),
    url("./fonts/bariol-thin-webfont.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "bariol";
  src: url("./fonts/bariol-bold-webfont.eot");
  src: url("./fonts/bariol-bold-webfont.eot?#iefix") format("embedded-opentype"),
    url("./fonts/bariol-bold-webfont.woff") format("woff"),
    url("./fonts/bariol-bold-webfont.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "bariol";
  src: url("./fonts/bariol-light-webfont.eot");
  src: url("./fonts/bariol-light-webfont.eot?#iefix")
      format("embedded-opentype"),
    url("./fonts/bariol-light-webfont.woff") format("woff"),
    url("./fonts/bariol-light-webfont.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
/* GLOBALS */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #93bfe4;
  overflow: hidden;
  font-family: Bariol, Arial, Helvetica, sans-serif;
  font-style: normal;
  user-select: none;
}
p {
  padding: 0;
  margin: 0;
}
.hide {
  opacity: 0;
  visibility: hidden;
}
.no {
  opacity: 0;
  visibility: hidden;
  width: 0 !important;
  height: 0 !important;
}

.disabled {
  opacity: 0.5;
}
/* CONTAINER */
.container {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  color: #333666;
  height: 100%;
}

/* POPUP*/
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: opacity 0.5s ease-in-out;
  left: 0;
  top: 0;
}
.popup {
  max-width: 560px;
  height: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 10px;
  position: relative;
  width: calc(100% - 48px);
  -webkit-box-shadow: 0 3px 0 0 rgba(4, 34, 62, 0.2);
  box-shadow: 0 3px 0 0 rgba(4, 34, 62, 0.2);
  border: 4px solid #ffffff;
}
#popup-header {
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  font-weight: bold;
  position: relative;
  margin-top: 10px;
}
#popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: space-around;
  position: relative;
}
#close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  z-index: 80;
}
#previous {
  position: absolute;
  left: 20px;
  top: 50%;
  margin-bottom: -12px;
  cursor: pointer;
  z-index: 80;
  visibility: hidden;
}
#next {
  position: absolute;
  right: 20px;
  top: 50%;
  margin-bottom: -12px;
  cursor: pointer;
  z-index: 80;
  visibility: hidden;
}
.popup.win {
  border: 4px solid green;
}
.popup.error {
  border: 4px solid red;
}
.popup.good {
  border: 4px solid #93bfe4;
}
#popup-container-img {
  width: 200px;
  height: 200px;
  overflow: hidden;
  min-height: 200px;
  min-width: 200px;
  display: none;
  margin: 10px;
  /* background-size: cover; */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#popup-container-img img {
  width: 100%;
  height: auto;
}
#popup-content-txt {
  margin: 10px;
  font-size: 14px;
  text-align: justify;
}
#popup-content-txt .navigationItem {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 900;
  margin: 10px;
  background: rgba(33, 152, 209, 0.8);
  font-size: 20px;
  color: #fff;
  border-radius: 100%;
}
#container-navigationItem {
  display: flex;
  justify-content: center;
  align-items: center;
}

#popup-valid {
  height: 24px;
}

.find-image {
  background-size: cover;
  width: 60px;
  height: 60px;
  border-radius: 100%;
}
#onboarding {
  display: none;
}
#onboarding div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
}
/* TOOLS */
.zoom {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 900;
  top: 80px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  border-radius: 100%;
}
.button {
  transform: scale(1);
  transition: transform 0.15s ease-in-out;
}
.button:hover {
  transform: scale(1.1);
}
.zoom.zoom-in {
  right: 10px;
}
.zoom.zoom-in:after {
  content: "Zoomer";
  position: absolute;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  top: 100%;
  color: #fff;
}
.zoom.zoom-out {
  right: 10px;
  top: 140px;
}
.zoom.zoom-out:after {
  content: "Dézoomer";
  position: absolute;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  top: 100%;
  color: #fff;
}
.zoom.zoom-init {
  right: 10px;
  top: 200px;
}
.zoom.zoom-init:after {
  content: "Annuler zoom";
  position: absolute;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  top: 100%;
  color: #fff;
}
.consigne {
  right: 10px;
  top: 270px;
}
.consigne:after {
  content: "Information";
  position: absolute;
  text-align: center;
  font-size: 12px;
  line-height: 12px;
  top: 100%;
  color: #fff;
}
/* PANZOOM */
#panzoom {
  cursor: pointer !important;
}
/* TOFIND */
#toFind {
  width: 60px;
  height: auto;
  position: absolute;
  z-index: 900;
  top: 80px;
  left: 10px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 40px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.8);
  flex-direction: column;
}
.toFind {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #2198d1;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  position: relative;
}
.toFind .valid {
  position: absolute;
  top: -20px;
  right: -5px;
  width: 24px;
  height: 24px;
  transform-origin: 15px 30px;
  transform: scale(0);
  transition: all 0.15s ease-in-out;
}
.toFind .valid.show {
  transform: scale(1);
}
.toFind img {
  width: 100%;
  height: 100%;
  transition: all 0.5s ease-in-out;
  border-radius: 100%;
}
.find-txt {
  display: flex;
  width: 100%;
  justify-content: center;
  height: 100%;
  align-items: center;
}

/* FOOTER */
#footer {
  background: rgba(33, 152, 209, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 70px;
}
#footer-scroll {
  pointer-events: none;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 20px;
}
/* QUESTION */
.question {
  font-size: 20px;
  color: #ffffff;
}
/* HOTSPOT */
.hotspot {
  position: absolute;
  z-index: 100;
  cursor: pointer;
 
}

.base {
  background: cyan;
}

.romain {
  background: green;
}
.colline {
  background: red;
}

.corinthien {
  background: blue;
}

/* NAVIGATION */
#navigation {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 10px;
  top: 55%;
  transform: translateY(-50%);
  z-index: 900;
}
#navigation .navigationItem {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 900;
  cursor: pointer;
  margin-bottom: 10px;
  background: rgba(33, 152, 209, 0.8);
  font-size: 20px;
  color: #fff;
  border-radius: 100%;
}

#navigation .navigationItem.isActive {
  background: rgba(255, 255, 255, 1);
  color: rgba(33, 152, 209, 1);
}

.pulse {
  animation: pulse 1.5s linear infinite;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@media only screen and (min-height: 600px) {
  #footer {
    height: 70px;
  }
  .question {
    font-size: 16px;
  }
  #toFind {
    flex-direction: row;
    width: auto;
  }
  .toFind {
    width: 40px;
    height: 40px;
  }
  .find-image {
    width: 40px;
    height: 40px;
  }
  .find-txt {
    font-size: 24px;
  }
}

@media only screen and (max-height: 800px) {
  #navigation {
    flex-direction: row;
    bottom: 0px;
    /* right: 0px; */
    top: 100%;
    margin-top: -50px;
    left: 5px;
    justify-content: flex-start;
    z-index: 900;
    transform: translateY(0%) translateX(0%);
  }
  #navigation .navigationItem {
    margin: 5px;
  }
}
.lowercase {
  text-transform: none;
}
#copyright {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 12px;
  color: #fff;
  background: rgba(33, 152, 209, 0.8);
  padding: 10px;
}

.credit {
  font-size: 10px;
}

.picto {
  width: 18px !important;
  height: 28px !important;
  border-radius:0 !important;
}

.legende {
  font-size: 12px;
}

  