/* Estilos globales */
body {
  background:linear-gradient(to left, #5d68cc , #d85353 );

}

/* Estilos para el encabezado */
.emcabezado {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.emcabezado img.logo {
  width: 60px;
  height: 60px;
  margin-right: 10px;
}

/* Estilos para el contenedor */
#contenedor,
#contenedor1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 20px;
}

/* Estilos para cada tarjeta */
.personaje {
  width: 300px;
  background-color: #dac9c9;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.div-titulo1 {
  padding: 15px;
}

.div-titulo1 img {
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.div-titulo1 button.ver {
  background-color: #2b67a7e1;
  color: #fff;
  display: block; 
  margin: 0 auto; 
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 30%;
  height: auto;
}

/* Estilos para el modal */
.modalContainer {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: rgba(196, 180, 180, 0.925);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}
.investigacion{
  display: flex;
  justify-content: flex-end;
}
.ir{
  width: 30%;
  height: auto;
  color: white;
  background-color: rgb(214, 40, 40);
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 20px;
}
.observar{
  width: 40%;
  height: auto;
}