body {
  font-family: 'Montserrat', sans-serif;
}

.overlay-footer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

}

.a-dom-overlay button {
  padding: 1em;
  appearance: none;
  background: #18255A;
  border: 0.5px solid white;
  border-radius: 1em;
  margin: 1em 1em 0 0;
  color: white;
  position: relative; 
  max-height: 10dvh;
}

#transparent {
  z-index: 2;
  position: absolute;
}

#panelframe {
  top: 1em;
  display: block;
  width: 100vw;
  height: 80dvh;
  left: 1vw;
  border: none;
}

#splashframe {
  top: 1em;
  display: block;
  width: 100vw;
  height: 80dvh;
  left: 1vw;
  border: none;
}

.a-dom-overlay h2 {
  font-family: 'Merriweather', serif;
  margin: 0px;
}

.a-dom-overlay p {
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  margin-bottom: 0px;
}

#my-interface {
  user-select: none;
  background-color: white;
  top: 27dvh;
  left: 5vw;
  position: fixed;
  width: 90vw;
  height: 60dvh;
  border-radius: 2em;
  border-color: white;
  border-width: 1px;
  z-index: 2;
}

#X {
  position: fixed;
  top: 24dvh;
  left: 88vw;
  border-radius: 5em;
  height: 5dvh;
  width: 5dvh;
  padding: 0px;
  z-index: 22;
}

#my-interface fieldset {
  padding: 0;
  margin-bottom: 0.5em;
}

#dom-overlay-message {
  padding: 1em;
  background: #33333355;
  border-top: 5px solid #ffffff55;
  color: white;

}

#UI {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: absolute;
  width: 100vw;
  bottom: 1dvh;
}

#pointers {

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100vw;
  bottom: 5dvh;
  left: 0;
  z-index: 1;
}

#pointers > div {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  z-index: 11;

}

#infoPointer {
  width: 50px;
  min-width: 50px;
  padding-right: 1.1em;
  z-index: 12;
}

#mapPointer {
  width: 50px;
  min-width: 50px;
  padding-left: 1.1em;
  z-index: 12;
}


#infoPointer > svg {
  width: 50px;
  height: 50px;
}

#mapPointer > svg {
  width: 50px;
  height: 50px;
}

#overlay {
  background-color: beige;
  border-radius: 3em;
}

#info {
  position: relative;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 4;
}

#map {
  display: none;
  width: 90vw;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 4;
}

#info img {
  max-width: 80vw;
  width: 200px;
  height: 200px;
}

#map img {
  max-width: 80vw;
  height: 200px;
}



.inputs {
  width: 50px;
  height: 50px;
}

/* DETAILS */
/* <div id="details" style="display: none;">
                <h2 id="title"></h2>
                <img id="painting">
                <p id="description"></p>
                <p id="metadata"></p>
    </div> */

#details {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: space-around;
  justify-items: center;
  overflow:auto;
  width: 100%;
}

#title {
  padding: 0.5em;
  font-family: 'Merriweather', serif;
  margin: 0px;
  font-size: medium;
}

#painting {
  max-width: 60vw;
  max-height: 40dvh;
  display: block;
}

#description {
  font-size: small;
  max-width: 90%;
  font-weight: 400;
  overflow:auto
}

#metadata {
  font-size: small;
  max-width: 90%;
  font-family: 'Merriweather', serif;
}

@media only screen and (max-width : 1200px), only screen and (max-device-width : 1200px) {
  #panelframe {
    height: 93dvh;
    padding-bottom: 10dvh;
  }

  /* #details {
    bottom: 77px;
  } */
}

/* 
MOBILE
 */

@media only screen and (max-height :965px), only screen and (max-device-height: 965px) {
  #my-interface {
    bottom: 20dvh;
    top: 10dvh;
    height: 80dvh;
  }

  #X {
    top: 10dvh;
  }




}

