@import url("https://fonts.googleapis.com/css?family=Mukta:700");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");

:root {
  --card-width: 200px;
  --card-height: 300px;
  --card-transition-duration: 800ms;
  --card-transition-easing: ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* SECCION DESTACADOS */
#destacados {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}
button:focus {
  outline: none;
  border: none;
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}

.app__bg {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  z-index: -5;
  filter: blur(1px);
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}
.app__bg::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
  opacity: 0.1;
}
.app__bg__image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  transition: transform 1000ms ease, opacity 1000ms ease;
  overflow: hidden;
}
.app__bg__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.app__bg__image.current--image {
  opacity: 1;
  --image-translate-offset: 0;
}
.app__bg__image.previous--image, .app__bg__image.next--image {
  opacity: 0;
}
.app__bg__image.previous--image {
  --image-translate-offset: -25%;
}
.app__bg__image.next--image {
  --image-translate-offset: 25%;
}

.cardList {
  position: relative;
  width: calc(3 * var(--card-width));
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-left: 20px;
}
.cardList__btn {
  --btn-size: 85px;
  width: var(--btn-size);
  height: var(--btn-size);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}
.cardList__btn.btn--left {
  left: 5%;
}
.cardList__btn.btn--right {
  right: 5%;
}
.cardList__btn .icon {
  width: 100%;
  height: 100%;
}
.cardList__btn .icon svg {
  width: 100%;
  height: 100%;
}
.cardList .cards__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.card {
  --card-translateY-offset: 100vh;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateX(var(--card-translateX-offset)) translateY(var(--card-translateY-offset)) rotateY(var(--card-rotation-offset)) scale(var(--card-scale-offset));
  display: inline-block;
  width: var(--card-width);
  height: var(--card-height);
  transition: transform var(--card-transition-duration) var(--card-transition-easing);
  user-select: none;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1;
  transition: opacity var(--card-transition-duration) var(--card-transition-easing);
  opacity: calc(1 - var(--opacity));
}
.card__image {
  position: relative;
  width: 100%;
  height: 100%;
}
.card__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3%;
}
.card.current--card {
  --current-card-rotation-offset: 0;
  --card-translateX-offset: 0;
  --card-rotation-offset: var(--current-card-rotation-offset);
  --card-scale-offset: 1.2;
  --opacity: 0.8;
}
.card.previous--card {
  --card-translateX-offset: calc(-1 * var(--card-width) * 1.1);
  --card-rotation-offset: 25deg;
}
.card.next--card {
  --card-translateX-offset: calc(var(--card-width) * 1.1);
  --card-rotation-offset: -25deg;
}
.card.previous--card, .card.next--card {
  --card-scale-offset: 0.9;
  --opacity: 0.4;
}

.infoList {
  position: relative;
  width: 40%;
  height: auto;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.infoList .info__wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.info {
  margin-top: 20px;
  transform: translateZ(2rem);
  transition: transform var(--card-transition-duration) var(--card-transition-easing);
}
.info .text {
  position: relative;
  font-family: "Roboto";
  font-size: calc(var(--card-width) * var(--text-size-offset, 0.2));
  white-space: nowrap;
  color: #fff;
  width: fit-content;
}
.info .name,
.info .location {
  text-transform: uppercase;
}
.info .location {
  --mg-left: 20px;
  --text-size-offset: 0.12;
  padding-top: 0px;
  margin-left: var(--mg-left);
  margin-bottom: calc(var(--mg-left) / 2);
  padding-bottom: 0.8rem;
}
.info .location::before, .info .location::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 0%;
  transform: translate(calc(-1 * var(--mg-left)), -50%);
}
.info .location::before {
  top: 40%;
  width: 5px;
  height: 5px;
}
.info .description {
  --text-size-offset: 0.065;
  font-weight: 300;
  font-family: "Montserrat";
  font-size: 20px;
  line-height: 21px;
  letter-spacing: 0.01;
  padding-top: 20px;
}
.info.current--info {
  opacity: 1;
  display: block;
}
.info.previous--info, .info.next--info {
  opacity: 0;
  display: none;
}
.loading__wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 200;
}
.loading__wrapper .loader--text {
  color: #fff;
  font-family: "Roboto";
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.loading__wrapper .loader {
  position: relative;
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.loading__wrapper .loader span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #771139;
  transform: scaleX(0);
  transform-origin: left;
}

@media only screen and (min-width: 800px) {
  :root {
    --card-width: 250px;
    --card-height: 400px;
  }
}
.support {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  display: flex;
}
.support a {
  margin: 0 10px;
  color: #fff;
  font-size: 1.8rem;
  backface-visibility: hidden;
  transition: all 150ms ease;
}
.support a:hover {
  transform: scale(1.1);
}

.current--card {
  cursor: pointer; /* Cambia el cursor a un selector cuando se coloca sobre .current--card */
}

* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}

.boton {
  text-align: center;
  position: absolute;
  bottom: 15%; /* Ajusta la posición vertical según tu diseño */
  left: 59%;
  transform: translateX(-50%);
  z-index: 3; /* Ajusta el z-index para que esté delante de las imágenes */
}

.heading {
  text-align: center;
  color: #454343;
  font-size: 30px;
  font-weight: 700;
  position: relative;
  margin-bottom: 70px;
  text-transform: uppercase;
  z-index: 999;
}
.white-heading {
  color: #ffffff;
}
.heading:after {
  content: ' ';
  position: absolute;
  top: 100%;
  left: 50%;
  height: 40px;
  width: 180px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: url(img/heading-line.png);
  background-repeat: no-repeat;
  background-position: center;
}
.white-heading:after {
  background: url(https://i.ibb.co/d7tSD1R/heading-line-white.png);
  background-repeat: no-repeat;
  background-position: center;
}
.heading span {
  font-size: 18px;
  display: block;
  font-weight: 500;
}
.white-heading span {
  color: #ffffff;
}

/* SECCION DESTACADOS */
#destacados h1 {
  font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
  font-weight: 900;
  color: white;
  font-size: 50px; /* Ajusta este valor al tamaño que desees */
  padding-bottom: 20px;
  padding-top: 0px;
  letter-spacing: .05em;
  border-bottom: #FFF9F9 solid 2px;   
}

#destacados .current--info .name {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 900;
  border-bottom: none;
  font-size: 30px;
  line-height: 34px;
  padding-bottom: 0px;
}

#destacados .current--info .location {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 700;
  border-bottom: none;
  font-size: 15px;
  line-height: 20px;
  box-shadow: none;
  background-color: brown;
  border-radius: 10px;
  padding: 10px;
}

.boton-destacado {
  font-family: Roboto;
  font-size: 20px;
  font-weight: 600;
  color: white;
}








/* ---------------------------- ESTILO DESTACADO MOVIL 

------------------------------------------------------------------- */
/* Solo para móviles */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none;
  }
	#destacados {
		display: none;
	}
	.app {
		display: none;
	}
}

#mobile-destacados {
  background-color: #F5F1EC;
  padding: 20px;
}

.mobile-titulo h1 {
  text-align: center;
  font-size: 40px;
  color: #333;
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
  font-weight: 900; 
  padding-bottom: 30px;
  padding-top: 20px;
  letter-spacing: .05em;
}

.mobile-slider-container {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden; /* Asegura que el contenido no se desborde */
}

.mobile-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.mobile-card {
  min-width: 70%;
  max-width: 70%;
  margin: 0 5px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-card__image img {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.mobile-card__info {
  padding: 10px;
  background-color: #fff;
}

.mobile-name {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.mobile-location {
	padding-top: 0px;
  background-color: #d9534f;
	border-radius: 5px;
  color: #fff;
  font-size: 16px;
  padding: 5px;
  display: inline-block;
  margin-bottom: 10px;
}

.mobile-description {
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  text-align: left;
	line-height: 19px;
}

.mobile-slider-btn {
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-btn-left {
  left: 0;
}

.mobile-btn-right {
  right: 0;
}

/* Estilos específicos para el modal en dispositivos móviles */
.mobile-popup-text {
  max-height: 50%; /* Ocupa la mitad superior del modal */
  overflow-y: auto; /* Permite el desplazamiento si el contenido es muy largo */
  padding: 20px 10px;
	
}

.mobile-popup-text h1 {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.mobile-popup-text p, li {
  font-family: "Roboto", sans-serif;
  font-size: 19px;
	line-height: 23px;
  color: #333;
}

.mobile-popup-text li {
  list-style-type:circle;
	list-style-position: inside;
	padding-bottom: 6px;
}

.mobile-popup-subtitulo {
	font-family: "Roboto", sans-serif;
  font-size: 21px;
	line-height: 23px;
  color: #333;
	font-weight: 700;
	padding-bottom: 12px;
	border-left: 3px solid brown;
	
	padding-left: 5px; 
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  width: 100%;
  height: 90%;
  border-radius: 20px;
  overflow: hidden;
}

.carousel-item img {
	
  max-height: 50%; /* Ocupa la mitad inferior del modal */
}

.mobile-modal-footer {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  gap: 10px; /* Add some space between the buttons */
  padding: 10px;
}

.mobile-modal-footer a {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.mobile-modal-footer a:hover {
  background-color: #0056b3;
}


.mobile-slider.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}

.modal-title {
	text-align: center;
}

.modal-header {
	text-align: center;
}
 .popup-content .texto-interior-popup .plantel_destacado {
	text-align: left;
	padding-top: 10px;
	padding-bottom: 0px;
	font-family: Montserrat;
	font-size: 15px;
	font-weight: 600;
	color: white;
}
