@font-face {
  font-family: "Optima";
  src: url("fonts/Optima-Regular.ttf") format("truetype"),
    url("fonts/Optima-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}


@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateX(-30px); /* Desliza desde la izquierda */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Se posiciona en su lugar */
  }
}

.marco {
  padding: 8px; /* Espacio para el marco */
  border-radius: 5px; /* Puedes ajustarlo o eliminarlo */
  background: linear-gradient(to right, #b29861 ,#ffffff,#d4af37, #ffffff, #b29861 );
  display: flexbox;
}

.contenido {
  padding: 20px;
  background-color: #ffffff; /* Fondo del contenido */
  border-radius: 10px;
}

body {
  width: 100%;
  height: 100vh; 
  margin: 0; 
  padding: 0;
  background-color: #ffffff;
  font-family: "Optima", sans-serif;
}

h1 {
  color: #d4a017; /* Color dorado */
  font-weight: bold;
  font-family: "Optima", sans-serif;
}
/* Estilos de los encabezados */

h3 {
  color: #030303; /* Color dorado */
  font-weight: bold;
  font-family: "Optima", sans-serif;
}

/* Estilo para párrafos */
p {
  font-family: "Optima", sans-serif; /* Fuente para párrafos */

  color: #666; /* Color gris para el texto */
  line-height: 1.8; /* Espaciado adecuado para mejor lectura */
}

span {
  font-family: "Optima", sans-serif;
  color: #ffffff;
  font-size: small;
}

/* Estilos de las tarjetas */
.card {
  border: none;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Sombra suave */
  background-color: #ffffff;
  opacity: 0;
  animation: slideInUp 0.9s ease-out forwards;
  animation-delay: calc(
    var(--card-index) * 0.2s
  ); /* Retraso para cada tarjeta */
}

/* Alineación del contenido dentro de la tarjeta */
.card-body {
  text-align: right;
}

.card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}
/* Estilos de la descripción de la foto */
.photo-description {
  font-size: 1rem;
  font-weight: bold;
  color: #5a5a5a;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Contenedor para los botones */
.d-flex {
  display: flex;
  justify-content: flex-end; /* Alinea los botones a la derecha */
  gap: 0;
  margin-left: 10px;
}

/* Estilos para los botones */
.btn {
  font-family: "Optima", sans-serif;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 25px;
  border: 2px solid #dbc685;
  color: #333;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0;
}
.share-memories {
  font-weight: bold;
  font-size: 1.3rem;
}
.btn-share,
.btn-download {
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
  color: #d4a017;
  transition: color 0.3s;
}

.btn-text {
  font-size: 14px;
  padding: 8px 10px;
}
.btn-view {
  align-items: center;
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  border: none;
  background: #7f6333;
  cursor: pointer;
  transition: color 0.3s;
  border-radius: 0px;
  width: 80px;
  height: 30px;
}

.btn-download1 {
  color: rgba(0, 0, 0, 0.6);
}

.btn-view {
  font-family: "Optima";
  font-weight: 900;
  margin-right: 8px;
}

.btn-share,
.btn-view,
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-view .btn-text {
  font-size: 0.7rem;
  margin-top: 1px;
}

.icon-add,
.icon-download {
  width: 34px;
  height: auto;
}
.icon-whatsapp {
  width: 48px;
  height: auto;
}

.btn:hover {
  border: 2px solid #dbc685;
  background-color: #001e40;
  color: #ffffff;
}

.btn:hover i {
  color: #ffffff;
}

.icon-button {
  width: 34px;
  height: 34px;
}

/* Estilos para el loader */
#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
}

/* Estilos de la paginación */
.pagination a {
  margin: 0 5px;
  align-items: center;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.modal-overlay.active {
  display: block;
}

/* Modal Content Styling */
.modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-content p,
.modal-content ul {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.modal-content ul li {
  text-align: left;
  margin-bottom: 0.5rem;
}

.close-button {
  background-color: #ff5e78;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background-color: #fa2649;
}

/* Show modal when active */
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.responsive-image {
  width: 100%;
  max-width: 700px;
  max-height: 200px;
  height: auto;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideIn 0.8s ease-out forwards;
}

.main-photo {
  width: 100%;
  max-height: 550px;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.quote-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  text-align: left;
}

.quote-text {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
}

.quote-author {
  align-self: flex-end;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 10px;
}
