body{
  background-image: url('fondo.png');
  padding:0px;
  margin: 0px;
}
.FondoInfo{
  padding:20px;
  margin: 120px 120px 120px 120px;
  background-color: rgb(254, 245, 245);
  display:block;
  border:double black 5px;
}
#buscador,
#Tipo,
#Orden {
  font-size: 20px;
  padding: 6px 10px;
  background-color: rgb(254, 245, 245);
  width: 100px 30px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
#detalleHeader{
  text-align: center;
  font-size: 25px;
}
#detalleContenido img {
  max-width: 400px;   /* ajustás a gusto */
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-top-style: ridge;
  border-left-style: ridge;
  border-bottom-style: groove;
  border-right-style: groove;
  border-color: rgb(167, 102, 28);
  border-width: 5px;
  border-radius: 15px;
}
/*
rgb(121,84,40) groove
rgb(121,84,40) inset
rgb(121,84,40) outset
rgb(121,84,40) ridge
*/
#contenedorTabla {
  max-height: calc(7 * 40px); /* 5 filas visibles */
  overflow-y: auto;
  border: 2px black solid;
}
#tablaCubos {
  border-collapse: collapse;
  width: 100%;
  padding: 6px;
  text-align: center;
}
#tablaCubos th,
#tablaCubos td{
   border: 1px solid rgba(0,0,0,1);
}
#tablaCubos th {
  position: sticky;
  top: 0;
  background-color: rgb(0, 0, 0);
  color: white;
  z-index: 2;
}
#tablaCubos tr {
  height: 40px;
}
#tablaCubos tr:nth-child(even){
  background-color: rgb(200, 200, 200);
}
#tablaCubos tr:nth-child(odd){
  background-color: rgb(250, 250, 250);
}
#tablaCubos tr:hover{
  background-color: rgb(125, 125, 50);
}
.fila-imagenes {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.fila-imagenes img {
  max-width: 45%;
}
.CUBOS{
  padding:0px 30px 40px;
}
.SubTitle2{
  font-size: 75px;
  text-align: center;
  text-decoration:underline;
  background-color: rgb(254, 245, 245);
  /*text-shadow:3px 5px 7px rgb(255,255,0);*/
  font-family: Arial;
}
.MargenTitle2{
  margin:0px 300px 0px 300px;
}
.ORDENADOR{
  justify-content: center;
  font-size: 25px;
}
.indicador {
  font-weight: bold;
  text-decoration: underline;
}
.filtros {
  background-color: rgb(254, 245, 245);
  padding: 15px 20px;
  margin: 20px auto;
  max-width: 400px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.filtros label {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: bold;
}

.filtros input,
.filtros select,
.filtros button {
  margin-top: 5px;
  padding: 8px;
  font-size: 16px;
}

.filtros button {
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
}
.fila-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.toggle {
  background-color: rgb(254, 245, 245);
  border: none;
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  text-decoration: underline;
  display:inline;
}

.toggle:hover {
  cursor:pointer;
}

.contenido {
  padding: 8px;
  background-color: rgb(234, 225, 225);
  border-radius: 6px;
  margin-top: 5px;
}
.oculto {
  display: none;
}
.formula {
  text-align: center;
  margin: 15px 0;
  font-size: 1.1em;
}
.ImagenPrincipal{
  text-align: center;
  border:solid 1px black;
  width: 475px;
  height: 300px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}
.Titulo{
  text-align: center;
  font-size: 50px;
}
.ExplicacionFormulas{
  display: inline-block;
  font-size: 13px;
  color: blue;
}



