@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cantata+One&family=Gravitas+One&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rakkas&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.cabecera-txt{
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.open-sans-font {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.detalle .h1{ 
  font-size: .5rem;
}

/* .contenido-tarjetas {
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(16,22,91,1) 65%);
} */

.contendor-cards{
  max-width: 410px;
  max-height: 600px; /* Puedes ajustar el tamaño a lo que necesites */
}

/* Tarjeta con el efecto de rotación 3D */
/* Aseguramos que la tarjeta tenga un tamaño fijo */
.tarjeta {
  width: 100%;
  height: 500px; /* Puedes ajustar el tamaño a lo que necesites */
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s ease-in-out;
  margin-bottom: 20px;
}

/* Acción hover para la tarjeta */
.tarjeta:hover {
  transform: rotateY(180deg);
}


/* Cara frontal de la tarjeta */
.front-face, .back-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform-style: preserve-3d;
}

/* Estilo del texto en la parte frontal de la tarjeta */
.front-face {
  display: flex;
  justify-content: flex-end; /* Ubicamos el texto al pie */
  flex-direction: column;
  padding: 10px;
}

.front-face h6, .front-face p, .front-face span, .front-face a {
  font-size: 20px !important;
  transform: translateZ(100px); /* El texto "flota" hacia adelante */
  transition: transform 1.2s ease-in-out;
}

/* Al pasar el mouse sobre la tarjeta, el texto se aleja más */
.tarjeta:hover .front-face h6,
.tarjeta:hover .front-face p,
.tarjeta:hover .front-face span,
.tarjeta:hover .front-face a {
  transform: translateZ(100px); /* El texto se aleja aún más */
}

/* Cara trasera de la tarjeta */
.back-face {
  transform: rotateY(180deg);
  background: rgb(5, 153, 190);
  background: linear-gradient(50deg, rgb(51, 151, 182) 0%, rgb(9, 161, 199) 100%); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;  
}

/* Estilo para el texto en la parte trasera */
.back-face h6,
.back-face span,
.back-face a {
  transform: translateZ(100px);
  transition: transform 1.2s ease-in-out;
  font-size: 1rem;
  margin-bottom: 20px;
}
.back-face p {
  transform: translateZ(150px);
  transition: transform 1.2s ease-in-out;
  font-size: .8rem;
  margin-bottom: 20px;
}

/* Al hacer hover, el texto de la parte trasera se aleja más */
.tarjeta:hover .back-face h6,
.tarjeta:hover .back-face p,
.tarjeta:hover .back-face span,
.tarjeta:hover .back-face a{
  transform: translateZ(100px);
}

/* Asegurar que las tarjetas se distribuyan correctamente en el layout */
.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* Estilo para las columnas de las tarjetas */
.col-sm-6.col-md-4 {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Colores */
.texto-blanco{  
  color:#ffffff !important;
}
.texto-negro{
  color: #000000 !important;
}
.texto-uppercase{
  text-transform: uppercase !important;  
}

.texto-bold{
  font-weight: bold !important;
}

/* Responsividad: tarjetas de 100% en dispositivos pequeños y 33.33% en dispositivos medianos */
@media (max-width: 767px) {
  .col-sm-6 {
    flex: 0 0 100%;
  }
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.33%;
  }
}

/* Modal */
.btn-close{
  cursor:pointer !important;
}

.modal-content{
  color: black;
}

.modalLabel{
  color: #000000 !important;
  font-family: 'Cantata One', serif !important;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.01); /* Ajusta el valor de opacidad (0.3 es menos oscuro que el valor predeterminado 0.5) */
}

.modal-header {
  margin-bottom: 0.01rem; /* Ajusta según sea necesario */
}

.fotoModal{
  margin-top: -20px; 
}


.btn-cerrar{
  cursor:pointer !important;
}


.btn-blue-king {
  background-color: #1C2756;
  color: #ffffff;
}

.btn-blue-king:hover {
  background-color: #1C2756;
  color: #ffffff;
}