html, body {
  font-family: 'Source Serif Pro', serif;
  background-color: #fbf6f0;
  height: 100%;
}
h3 {
  margin: 0 0 0 0;
  color:#343a40;
}

.titulo{
  height:90px;
  margin: 0;
}

/*First Header*/
.nave {
  height: 90px;
  padding:0;
}
.titulo1{
  font-size: 4rem;
  color: rgb(43, 111, 124);
}

/*Second Header*/
.nave2 {
  position: relative;
  top:25px;
  }

/*Table*/
th {
  height: 2px;
  font-size: 10px;
}
td {
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*Map*/
#map {
  top:25px;
  width: 100%;
  height: 71vh;
  border: 1px solid #ccc;
}
.leaflet-sidebar-pane.active {
  display: block;
}
.leaflet-sidebar {
  width: 300px;
  height: 100%;
  overflow: scroll;
}
.home {
  width: 190px;
}
.popup {
  width: 16em;
	margin:-5px;
  font-size: 14;
  color: white;
  box-sizing: border-box;
	padding: 1em 2.75em;
	background: yellow;
	background: conic-gradient(from 50deg at 20% 0%, rgb(2, 170, 161) 1deg 1deg, rgb(140, 198, 195) 125deg 18deg, rgb(184, 233, 223) 180deg 305deg, #a66e3f 305deg), yellow;
  box-shadow: 11px 5px 105px 5px rgb(73, 171, 166) ;
}

/*div blocks*/

.card-des {
  position: relative;
  margin: 10px;
  width: 50%;
}

.test{
  position: absolute;
  width: 80%;
  height: 500px;
  left: 61%;
  top: 90%;
}

.container2{
  position: absolute;
  top:19%;
  padding: 20px;
}

.card-body {
  margin: 0;
  box-sizing: border-box;
  padding: 1.5em 2em;
  background-color: #ffffff;
  border-radius: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


/*image*/
.foto {
  position: absolute;
  top: 60%;
  left: 65%;
  width: 250px;
  height: 300px;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
}

.foto2 {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

 /* Footer */
footer {
  padding: 20px;
  text-align: center;
  color: var(--dark);
  margin: 10px;
}

/* Sección About */
.about-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e9eff1, #ffffff);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.about-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: rgb(125, 195, 191);
  font-weight: bold;
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

.about-highlight {
  font-size: 1.2rem;
  margin: 20px 0;
  color: rgb(65, 146, 142);
  background-color: rgb(171, 195, 193);
  padding: 10px 15px;
  border-left: 5px solid rgb(22, 97, 93);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }

  .about-text, .about-highlight {
    font-size: 1rem;
  }
}

.carta {
  background: linear-gradient(145deg, #fefefe, #eaeaea);
  border: 2px solid #ddd;
  border-radius: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carta:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.cromo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-cromo {
  background-color: #5a6774d7;
  color: white;
  width: 100%;
  padding: 10px;
  border-radius: 10px 10px 10px 10px;
  font-size: 1.2rem;
  font-weight: bold;
}

.imagen-cromo img {
  width: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5%;
  margin: 15px 0;
}

.info-cromo {
  font-size: 1rem;
  color: #333;
  min-height: 80px;       /* altura mínima, ajusta según tu diseño */
  max-height: 140px;       /* opcional, para que no se desborde */
  overflow: hidden;       /* oculta texto que exceda la altura */
  text-overflow: ellipsis; /* agrega "..." si el texto es demasiado largo */
  display: -webkit-box;    /* necesario para truncar varias líneas */
  -webkit-line-clamp: 3;   /* muestra máximo 3 líneas de texto */
  -webkit-box-orient: vertical;
}

.info-cromo .nombre-cromo {
  font-weight: bold;
  margin: 5px 0;
}

.info-cromo .status-cromo {
  font-size: 0.9rem;
  color: #555;
}