html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Azqad";
  src: url(FONTS/Azqad/Web-PS/Azqad.otf);
    src: url(FONTS/Azqad/Web-PS/Azqad.otf) format('embedded-opentype');
    src: url(FONTS/Azqad/Web-TT/Azqad.ttf) format('truetype');
    src: url(FONTS/Azqad/Web-TT/Azqad.woff) format('woff');
    src: url(FONTS/Azqad/Web-TT/Azqad.woff2) format('woff2');
  }
  
@font-face {
  font-family: "SelfWritten";
  src: url(FONTS/SelfWritten/OpenType-PS/SelfWritten-Regular.otf);
    src: url(FONTS/SelfWritten/OpenType-PS/SelfWritten-Regular.otf) format('embedded-opentype');
    src: url(FONTS/SelfWritten/Web-TT/SelfWritten-Regular.ttf) format('truetype');
    src: url(FONTS/SelfWritten/Web-TT/SelfWritten-Regular.woff) format('woff');
    src: url(FONTS/SelfWritten/Web-TT/SelfWritten-Regular.woff2) format('woff2');
}

@font-face {
  font-family: "Khalid";
  src: url(FONTS/Khalid/OpenType-PS/Khalid.otf);
    src: url(FONTS/Khalid/OpenType-PS/Khalid.otf) format('embedded-opentype');
    src: url(FONTS/Khalid/Web-TT/Khalid.ttf) format('truetype');
    src: url(FONTS/Khalid/Web-TT/Khalid.woff) format('woff');
    src: url(FONTS/Khalid/Web-TT/Khalid.woff2) format('woff2');
}

body {
    padding: 0;
    margin: 0;
    font-family: "Montserrat";
    letter-spacing: auto;
    line-height: 1.6;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
   }

/******************/
/***ROOM BASE******/
/******************/

#room-base {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

#back-button {
  display: none;
  height: 90px;
  width: 90px;
  align-items: center;
  justify-content: center;
  z-index: 5;
  font-size: 80pt;
  border-radius: 50px 50px;
  position: relative;
  color: white;
  position: fixed;
  right: 2%;
  bottom: 2%;
  border: 2% white;
  font-family: 'Times New Roman', Times, serif;
  cursor: pointer;
}

#back-button:hover {
  color: red;
  transition: 0.3s;
}

/******************/
/***OBJETOS ROOT****/
/******************/

.obj-img:hover {
  filter: drop-shadow(5px 5px 10px red);
  transition: 0.3s;;
}

.obj {
  z-index: 2;
  position: fixed;
  cursor: -webkit-grab;
  cursor: grab;
}


/******************/
/***MODALS ROOT****/
/******************/

.modal {
  z-index: 3;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  position: fixed;
  overflow-y: auto;
  display: flex;
}

.modal-background {
  z-index: inherit;
  width: 100%;
  height: 100%;
  opacity: 0.87;
  background-color: black;
  position: absolute;
}

.modal-content {
  height: 100%;
  width: 60%;
  display: flex;
  flex-direction: column;
  margin: 5%;
  align-items: center;
  cursor: context-menu;
  z-index: 4;
  position: fixed;
  overflow-y: scroll;
}

.modal-content::-webkit-scrollbar {
  display: none;
}

/***NEIGHBOR****/

.modal-neighbor{
  width: 40%;
  font-size: 0;
}

.slideshow {
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/***TXT****/
.modal-txt {
  width: 60%;
  text-align: justify;
  font-size: 10pt;
  display: flex;
  flex-direction: column;
  padding-top: 5%;
  color: #f1f1f1;
  z-index: 5;
}

.titel {
  font-size: 30pt;
  text-align: center;
}

.dedicatoria {
  font-size: 12pt;
  text-align: right;
  font-style: italic;
  margin-top: 3%;
  margin-bottom: 3%;
}

.text {
  font-size: 15pt;
  text-align: left;
  padding-bottom: 5%;
}

/******************/
/******************/
/*****OBJETOS******/
/******************/
/******************/

#obj-1 {
  display: none;
  width: 7rem;
  height: fit-content;
  top: 58%;
  left: 65%;
}

#obj-2 {
  width: 4rem;
  height: fit-content;
  bottom: 18%;
  left: 65%;
  display: none;
}

#obj-3 {
  width: 6rem;
  height: fit-content;
  top: 59%;
  left: 69%;
}

#obj-4 {
  width: 12rem;
  height: fit-content;
  top: 63%;
  left: 24%;
}

#obj-5 {
  width: 12rem;
  height: fit-content;
  top: 87%;
  left: 34%;
}

#obj-6 {
  width: 15rem;
  height: fit-content;
  top: 80%;
  left: 18%;
}

#obj-7 {
  width: 9rem;
  height: fit-content;
  top: 79%;
  right: 40%;
}

#obj-8 {
  width: 38rem;
  top: 66%;
  left: -1%;
}

#obj-9 {
  width: 10rem;
  top: 20%;
  left: 40%;
  display: none;
}

#obj-10 {
  width: 10rem;
  top: 10%;
  left: 10%;
  cursor: alias;
}

/******************/
/******************/
/*****MODALS*******/
/******************/
/******************/

/*****MODAL 1 - SIEMPRE *******/
#modal-1-siempre {
  display: none;
}

/*****MODAL 2 - SIEMPRE ROJO *******/
#modal-2-siempre {
  display: none;
  background: black;
}

#modal-txt2-siempre-rojo {
  color: red;
}

/*****MODAL 3 - HUECO *******/
#modal-3-hueco {
  display: none;
}

#modal-content-3-hueco {
  display: flex;
}

#modal-txt3-hueco {
  position: absolute;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 10px black;
}

#titel3-hueco {
  text-align: right;
  margin-top: 10%;
  margin-bottom: 10%;
}

#text3-hueco {
  font-size: 17pt;
}

/*****MODAL 4 - ASOCIACION *******/

#modal-4-asoc {
  display: none;
}

#modal-content-4-asoc {
  display: flex;
}

#modal-txt4-asoc {
  position: absolute;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 10px black;
}

#titel4-asoc {
  text-align: right;
  margin-top: 10%;
  margin-bottom: 10%;
}

#text4-asoc {
  font-size: 17pt;
}

/*****MODAL 5 - ASOCIACION *******/

#modal-5-hoy {
  display: none;
}

#modal-content-5-hoy {
  display: flex;
}

#modal-txt5-hoy {
  position: absolute;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 7px black;
}

#titel5-hoy {
  text-align: right;
  margin-top: 10%;
  margin-bottom: 10%;
}

#text5-hoy {
  font-size: 17pt;
}

/*****MODAL 6 - SALTAMONTES *******/

#modal-6-salta {
  display: none;
  cursor: help;
}

#modal-content-6-salta {
  display: flex;
  justify-content: center;

}

#modal-txt6-salta {
  position: absolute;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 7px black;
}

#titel6-salta {
  text-align: center;
  margin-top: 10%;
  margin-bottom: 10%;
}

#text6-salta {
  font-size: 17pt;
  text-align: center;
}

#titel6-salta, #i-titel6-salta {
  text-align: center;
  margin-top: 10%;
  margin-bottom: 10%;
  cursor: help;
}

#i-titel6-salta {
  display: none;
  cursor: alias;
}

#info6-salta {
  font-size: 17pt;
  text-align: left;
  display: none;
  text-align: center;
}

/*****MODAL 7 - SALTAMONTES *******/

#modal-7-dias {
  display: none;
}

#modal-content-7-dias {
  display: flex;
}

#modal-txt7-dias{
  position: absolute;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 7px black;
}

#titel7-dias {
  text-align: left;
  margin-top: 10%;
  margin-bottom: 10%;
  cursor: alias;
}

#text7-dias {
  font-size: 17pt;
  text-align: left;
}

/*****MODAL 8 - SALTAMONTES *******/

#modal-8-mensaje {
  display: none;
}

#modal-content-8-mensaje {
  display: flex;
  justify-content: center;
}

#modal-txt8-mensaje{
  position: absolute;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 7px black;
}

#titel8-mensaje{
  text-align: center;
  margin-top: 10%;
  margin-bottom: 10%;
}

#text8-mensaje {
  font-size: 17pt;
  text-align: left;
  display: block;
  text-align: center;
}

/*****MODAL 9 - ENTENDERTE *******/

#modal-9-entenderte {
  display: none;
}

#modal-content-9-entenderte {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
  padding: 0%;
  margin: 1%;
}

#modal-txt9-entenderte{
  position: relative;
  color: #f1f1f1;
  font-family: 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 7px black;
  padding: 2%;
}

#titel9-entenderte{
  margin-top: 10%;
  margin-bottom: 10%;
  text-align: left;
}

#text9-entenderte {
  font-size: 17pt;
  text-align: left;
  display: block;
  text-align: left;
}