/*media queries
 sintaxis básica
 @media (condición) {
 estilo que se aplica si la condición es verdadera
}
*/


/*GENERAL*/

/*COLORES*/
:root {
  --dorado1: #806000;
  --dorado2: #cc9900;
  --dorado3: #ffc61a;
  --dorado4: #ffd966;
  --dorado5: #ffecb3;
  --morado1: #660066;
  --morado2: #b300b3;
  --morado3: #ff00ff;
  --morado4: #ff80ff;
  --morado5: #ffccff;
  }

html {
  background-color: var(--dorado2);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: var(--morado1);
}
@media (min-width: 768px) {
  html {
	  font-size: 16px;
  };
}
@media (min-width: 1024px) {
  html {
  	font-size: 20px;
  }
}
body {
 margin: 0;
 min-height: 100dvh;
 display: flex;
 flex-direction: column;
 padding: 3% 0; /* espacio en top y bottom */
 gap: 1rem; /* espacio entre header, main y footer */
 box-sizing: border-box; /* incuye el padding y el border dentro del widt y el height*/
}

@media (min-width: 768px) {
  body {
          margin: 2%;
	  width: 90%;
  };
}
@media (min-width: 1024px) {
  body {
        margin: 5%;
      	width: 80%;
  }
}

.titulo {

}

/* unvisited link */
a:link {
  color: var(--dorado5);
}
/* visited link */
a:visited {
  color: var(--dorado5); 
}
/* mouse over link */
a:hover {
  color: var(--dorado3);
}
/* selected link */
a:active {
  color: var(--dorado3);
} 

/*HEADER Y FOOTER*/

.page_header {
  background-color: var(--morado2);
  color: var(--dorado5);
  border: 2px solid var(--morado1);
  border-radius: 5px;
  justify-content: center;
  margin: auto;
  height: 30px;
  width: 97%;
  position: fixed;
  top: 3%;
  left: 1%;
}

.header_icon {
  position: fixed;
  max-height: 65px;
  width: auto; 
  top: 0.5%;
}

.page_footer {
  background-color: var(--morado2);
  color: var(--dorado5);
  border: 2px solid var(--morado1);
  border-radius: 5px;
  display: block;
  text-align: center;
  height: 30px;
  width: 97%;
  margin: auto;
}

.menu-container {
  background-color: ;
  position: relative;
  display: inline-block;
  float: right;
}

#botonmenu {
  padding: 10px 15px;
  background-color: var(--morado4);
  color: var(--dorado5);
  border: none;
  border-radius: 5px;
  float: right; /*alinea el botón a la derecha*/
  height: 30px;
}
@media (min-width: 768px) {
 #botonmenu  {
 display: none;
 pointer-events: none;
 }
}

.menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;                                            /*alinea el menú desplegable a laderecha*/
  background: var(--morado2);
  border: 1px solid var(--morado1);
  border-radius: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  height: auto;
  z-index: 10;
  min-width: 100%;
  white-space: nowrap;                                 /*evita que el texto se rompa*/
}
@media (min-width: 768px) {
.menu {
 display: flex;
 background: none;
 border: none;
 text-align: right;
 right: 250px;
 top: -0.5em;
 }
}

.menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--dorado5);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: ;
}
@media (min-width: 768px) {
.menu li a {
  padding: none;
  width: auto;
 }
}

.menu li a:hover {
  background: ;
}

.menu-container:hover .menu {                          /* DESPLIEGA EL MENÚ EN MOVIL*/
  display: block;
}
@media (min-width: 768px) {                            /* BLOQUEA MENÚ EN DESKTOP */
.menu-container:hover .menu {
  display: none;
 }
}

ul li {
  display: inline;
  position: relative;
  left: 3%;
  margin: 0px;
}
/* ACAB header y footer*/


.content_section {
/*background-color: white; */
  padding-top: 10%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  flex: 1; /*ocupa todo el espacio disponible*/
  text-align: center;
}
@media (min-width: 768px) {
.content_section {
  padding-top: 0px;
 }
}
/* ACABA general*/

/* DECRETA*/
.flexbox1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
}

.botonIzq , 
.botonDcha {
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: var(--morado5);
  color: var(--dorado5);
  cursor: pointer;
}

.botonIzq:hover,
.botonDcho:hover {
  background-color: var(--morado1);
}

.imgDecreta {
  background-color: var(--dorado5);
  max-width: 100%;
  height: auto;
  margin: 0 10px;
  object-fit: fill;
  box-shadow: 10px 10px 5px var(--dorado1);
  border-top: 7px solid white;
  border-left: 7px solid white;
  border-right: 7px solid white;
  border-bottom: 65px solid white;
  margin-bottom: 3%;
}
/* ACAB decreta */


/* LEX */
.imgLex {  background-color: var(--dorado5);
  max-height: ;
  max-width: 85%;
  margin: auto;
  object-fit: fill;
  box-shadow: 10px 10px 5px var(--dorado1);
  border-top: 7px solid white;
  border-left: 7px solid white;
  border-right: 7px solid white;
  border-bottom: 65px solid white;
  margin-bottom: 3%;
}

/* ACAB lex*/


/* ALCHIMIA */
.imgAlchimia {
  background-color: var(--dorado5);
  max-height: ;
  max-width: 85%;
  margin: auto;
  object-fit: fill;
  box-shadow: 10px 10px 5px var(--dorado1);
  border-top: 7px solid white;
  border-left: 7px solid white;
  border-right: 7px solid white;
  border-bottom: 65px solid white;
  margin-bottom: 3%;
}

/* ACAB alchimia*/



/* ALCHIMIA */
.imgImago {
  background-color: var(--dorado5);
  max-height: ;
  max-width: 85%;
  margin: auto;
  object-fit: fill;
  box-shadow: 10px 10px 5px var(--dorado1);
  border-top: 7px solid white;
  border-left: 7px solid white;
  border-right: 7px solid white;
  border-bottom: 65px solid white;
  margin-bottom: 3%;
}

/* SOFTWARE */
.imgSoftware {
  display: none
 }
@media (min-width: 768px) {
.imgSoftware {
  display: flex;
  float: right;
  left: 10%;
  background-color: var(--dorado5);
  max-width: 50%;
  margin: auto;
  object-fit: fill;
  box-shadow: 10px 10px 5px var(--dorado1);
  border-top: 7px solid white;
  border-left: 7px solid white;
  border-right: 7px solid white;
  border-bottom: 65px solid white;
  margin-bottom: 0%;
 }
}

/* EPISTULAE */
.imgEpistulae {
  display: none
 }
@media (min-width: 768px) {
.imgEpistulae {
  display: flex;
  float: right;
  left: 10%;
  background-color: var(--dorado5);
  max-width: 50%;
  margin: auto;
  object-fit: fill;
  box-shadow: 10px 10px 5px var(--dorado1);
  border-top: 7px solid white;
  border-left: 7px solid white;
  border-right: 7px solid white;
  border-bottom: 65px solid white;
  margin-bottom: 0%;
 }
}

