:root{
  --color1: rgb(219,144,.5);
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11,194,211, 0.623);
  --fondo: #f2f2f2;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido:45px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'open sans';
  
  background: linear-gradient(to bottom,
  rgba(114, 71, 7, 0.096),
  rgba(84, 148, 209, 0.137),
  rgba(2, 27, 37, 0.514)
  ), url(img/FONDO.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

img{
  vertical-align: top;
}


/* Preloader */
.hidden{
  overflow: hidden;
}

.centrado{
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lds-facebook {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 6px;
  width: 13px;
  background: #cef;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
  left: 6px;
  animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
  left: 26px;
  animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
  left: 45px;
  animation-delay: 0;
}

@keyframes lds-facebook {
  0% {
    top: 6px;
    height: 51px;
  }

  50%,
  100% {
    top: 19px;
    height: 26px;
  }
}

/* Header */

header{
  width: 100%;
  height:900px;
  background: linear-gradient(to bottom,
  rgba(114, 71, 7, 0.096),
  rgba(84, 148, 209, 0.137),
  rgba(2, 27, 37, 0.514)
  ), url(img/FONDO.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

nav{
  width: 100%;
  position: fixed;
  box-shadow: 0 0 10px 0 rgb(255, 255, 255)
}

.nav1{
  background: transparent;
  height: 80px;
  color:#fffcfc69;
}

.nav2 {
  background-color: #5e5e5e9d;
  height: 100px;
  color: #ffffff;
}

.contenedor-nav{
  display: flex;
  margin: auto;
  width: 90%;
  justify-content: space-between;
  align-items: center;
  max-width:1000px;
  height:inherit;
  overflow: hidden;
}

nav .enlaces a {
  display: inline-block;
  color: #fff;
  padding: 5px 0;
  margin-right: 17px;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

nav .enlaces a:hover{
  border-bottom: 3px solid #1498a4;
  transition: 0.6s;
}

.logo, .logo img{ height:80px;}

/* Estilo para el nuevo logo derecho */
.logo-derecho img {
  height: 80px; /* Mantén la misma altura para que se vean simétricos */
  display: block;
}

.icono{
  display:none;
  font-size: 24px;
  padding: 23.5px 20px;
}

.textos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #fff;
  text-align: center; /* Asegura que las líneas de texto se centren entre sí */

  /* Mantenemos tu ajuste para el menú */
  padding-top: 200px;
  padding-bottom: 50px; /* Un poco de espacio abajo para que no corte */
  box-sizing: border-box;
}

/* Estilo para el bloque de subtítulo */
.textos2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 30px; /* Espacio entre el título grande y los cursos */
}

/* Ajustamos los tamaños para que parezca subtítulo */
.textos2 h1 {
  font-size: 1.8rem; /* Más pequeño que el principal */
  letter-spacing: 4px;
  margin-bottom: 10px;
  color: #ffffff; /* Color resaltado para diferenciarlo */
}
.textos>h1{
  font-size:80px;
  
}

.textos>h2{
  
  font-size: 40px; 
  font-weight: 800;
  color: #fff;}
#cuenta {
	display: flex;
	justify-content: center;
	margin-bottom: 100px;
  flex-wrap: wrap; /* Permite acomodar elementos en diferentes líneas */
  gap: 20px; /* Espacio entre elementos */
  
}

.simply-section {
	background: transparent;
	width: 180px;
	height: 180px;
	margin: 0 20px;
	display: flex;
	align-items: center;
	justify-content: center;
  text-align: center;
}

.simply-amount {
	display: block;
	font-size: 50px;
	font-weight: 700;
}

.simply-word {
	font-weight: 300;
	font-size: 30px;
}
/* Main */

.contenedor{
  margin:auto;
  padding: var(--margenes) 0;
  width: 90%;
  max-width: 100px;
  text-align: center;
  overflow: hidden;
}

.contenedor h3{
  font-size: var(--titulos);
  color: var(--color1);
  margin-bottom: var(--espacios);
}

.contenedor p{
  font-size: var(--subtitulos);
  font-weight: 300;
  color: var(--color1);
}

.after::after{
  content:'';
  display: block;
  margin: auto;
  margin-top: var(--espacios);
  width: 100px;
  height: 2px;
  background: var(--color1);
  margin-bottom: var(--espacios-contenido);
}




.course-container {
  display: flex;
  align-items: center; /* Centra el contenido verticalmente */
  justify-content: space-between; /* Deja espacio entre la imagen y los detalles del curso */
  background-color: rgba(255, 255, 255, 0.877);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 20px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box; total 
}
.course-item {
  flex: 1 1 30%;  /* Ajusta el tamaño de los elementos internos según el espacio disponible */
  margin: 10px;
  box-sizing: border-box;
}
.course-image {
  text-align: center; /* Centra el contenido */
  display: inline-block;
  width: 40%; /* Asegura que la imagen ocupe el espacio disponible */
}


.name-below-image {
  margin-top: 10px; /* Espacio entre la imagen y el nombre */
  font-size: 18px; /* Tamaño de la fuente */
  font-weight: bold; /* Hacer que el nombre sea más prominente */
  color: #333; /* Color del texto */
  text-align: center; /* Centrar el nombre */
}

.course-image img {
  width: 100%; /* Hace que la imagen ocupe todo el ancho del contenedor */
  height: auto; /* Mantiene la relación de aspecto de la imagen */
  border-radius: 10px; /* Bordes redondeados */
}
.caption {
  position: absolute;
  bottom: 10px; /* Acomoda el texto hacia la parte inferior de la imagen */
  left: 10px;   /* Acomoda el texto hacia la izquierda */
  background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
  color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
}


.course-details {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente el contenido */
}

.course-details h2 {
  font-size: 28px;
  margin: 0 0 15px 0;
  color: #333;
}

.course-description {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
/* Beneficios */
.course-requirements h3, .platform-message h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.course-requirements ul, .platform-message ul {
  list-style-type: disc;
  margin-left: 20px;
}

.course-requirements li, .platform-message li {
  font-size: 16px;
  color: #555;
  margin-bottom: 5px;
}

/* Estilo del botón */
.course-button {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
  width: fit-content;
  margin-top: 20px;
}

.course-button:hover {
  background-color: #0056b3;
}

/* Lugar y Hora */
.course-schedule {
  margin-top: 20px;
  background-color: #94949434;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.course-schedule h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.course-schedule p {
  font-size: 16px;
  color: #555;
  margin: 5px 0;
}








* Footer */

/* Estilos base del footer */
.footer {
  background-color: #000;/* Negro transparente */
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer__container {
  background: rgba(0, 0, 0, 0.8);/* Negro transparente */
  max-width: 100%;
  margin: auto;
  padding: 20px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__texts {
  margin-bottom: 20px;
}

.title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer__location img {
  width: 24px;
  margin: 10px;
}
.description {
  font-size: 16px;
  color: #ffffff;
}


.footer__social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.footer__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.3s;
}

.footer__link:hover {
  background: rgba(255, 255, 255, 0.3);
}

.footer__icon {
  width: 30px;
  height: 30px;
}

.footer__picture img {
  width: 100px;
  margin-top: 20px;
}

.footer__copyright{
  font-size: 14px;
  margin-top: 20px;
}

/* Media Queries */

@media (max-width: 900px) {
  .footer__container {
    padding: 15px;
  }

  .title {
    font-size: 18px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__link {
    width: 45px;
    height: 45px;
  }

  .footer__picture img {
    width: 90px;
  }
}

@media (max-width: 500px) {
  .footer__container {
    padding: 10px;
  }

  .title {
    font-size: 16px;
  }

  .footer__social {
    gap: 8px;
  }

  .footer__link {
    width: 40px;
    height: 40px;
  }

  .footer__picture img {
    width: 80px;
  }

  .description {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .footer__container {
    padding: 10px;
  }

  .title {
    font-size: 14px;
  }

  .footer__social {
    gap: 5px;
  }

  .footer__link {
    width: 35px;
    height: 35px;
  }

  .footer__picture img {
    width: 70px;
  }

  .description {
    font-size: 12px;
  }
}

@media (max-width: 300px) {
  .footer__container {
    padding: 8px;
  }

  .title {
    font-size: 12px;
  }

  .footer__social {
    gap: 4px;
  }

  .footer__link {
    width: 30px;
    height: 30px;
  }

  .footer__picture img {
    width: 60px;
  }

  .description {
    font-size: 10px;
  }
}

@media (max-width: 200px) {
  .footer__container {
    padding: 5px;
  }

  .title {
    font-size: 10px;
  }

  .footer__social {
    gap: 3px;
  }

  .footer__link {
    width: 25px;
    height: 25px;
  }

  .footer__picture img {
    width: 50px;
  }

  .description {
    font-size: 8px;
  }
}





@media screen and (max-width: 700px){
  .nav2{
    color: #00000088;
  }

  .icono{
    display:block;
    cursor: pointer;
  }

  .enlaces{
    position: fixed;
    top:80px;
    background: #00000071;
    left: 0;
    height: 100%;
    transition: 1s;
    width: 0;
    overflow: hidden;
  }

  .enlaces a{
    display: block;
    width: 100%;
    height: 50px;
    padding: 20px;
    text-align: center;
    background: #00000071;
    color:#ffffff;
  }
  .textos>h1{font-size: 70px;}
  .textos>h2{font-size:35px;}

  .content-card{
    width: 48%;
    margin-bottom:var(--margenes);
  }

  :root{
    --margenes: 30px;
  }
}

/* 🌟 RESPONSIVE DESIGN 🌟 */

/* 900px */
@media (max-width: 900px) {
  .card {
    justify-content: space-evenly;
  }
  .content-card {
    width: 250px;
    height: 250px;
  }
  .people{
    width: 250px;
    height: 250px;
  }
}

/* 700px */
@media (max-width: 700px) {
  .card {
    flex-direction: column;
    align-items: center;
  }
  .content-card {
    width: 220px;
    height: 220px;
  }
  .people{
    width: 220px;
    height: 220px;
  }



  .texto-team {
    font-size: 0.9rem;
  }
}

/* 500px */
@media (max-width: 500px) {
  .content-card {
    width: 180px;
    height: 180px;
  }
  .people {
    width: 180px;
    height: 180px;
  }
  .people2 {
    width: 180px;
    height: 180px;
  }
  .texto-team {
    font-size: 0.85rem;
  }
}

/* 300px */
@media (max-width: 300px) {
  .content-card {
    width: 150px;
    height: 150px;
  }
  .people
  {
    width: 150px;
    height: 150px;
  }
  .texto-team {
    font-size: 0.8rem;
  }
}


/* Estilos responsivos */
@media (max-width: 768px) {
  .bio-container {
      flex-direction: column;
      text-align: center;
  }

  .bio-left, .bio-right {
      padding: 10px;
  }

  h2 {
      font-size: 20px;
  }

  .testimony__review {
      font-size: 14px;
  }

  .profile-image {
      max-width: 80%;
      margin: 0 auto;
  }
}
/* 🌟 RESPONSIVE DESIGN 🌟 */

/* 900px */
@media (max-width: 900px) {
  .textos > h1 {
    font-size: 65px;
  }

  .textos > h2 {
    font-size: 25px;
  }

  .simply-section {
    width: 160px;
    height: 160px;
  }

  .simply-amount {
    font-size: 45px;
  }

  .simply-word {
    font-size: 25px;
  }
}

/* 700px */
@media (max-width: 700px) {
  .textos > h1 {
    font-size: 55px;
  }

  .textos > h2 {
    font-size: 22px;
  }

  .simply-section {
    width: 140px;
    height: 140px;
  }

  .simply-amount {
    font-size: 40px;
  }

  .simply-word {
    font-size: 22px;
  }
}

/* 500px */
@media (max-width: 500px) {
  .textos > h1 {
    font-size: 45px;
  }

  .textos > h2 {
    font-size: 20px;
  }

  #cuenta {
    flex-direction: column; /* Apila los elementos */
    align-items: center;
  }

  .simply-section {
    width: 120px;
    height: 120px;
    margin: 10px 0;
  }

  .simply-amount {
    font-size: 35px;
  }

  .simply-word {
    font-size: 20px;
  }
}

/* 300px */
@media (max-width: 300px) {
  .textos > h1 {
    font-size: 35px;
  }

  .textos > h2 {
    font-size: 18px;
  }

  .simply-section {
    width: 100px;
    height: 100px;
  }

  .simply-amount {
    font-size: 30px;
  }

  .simply-word {
    font-size: 18px;
  }
}


/* MEDIA QUERIES RESPONSIVOS */

/* Pantallas de 900px y menores */
@media (max-width: 900px) {
  .price__table {
    height: auto; /* Permite que la altura se ajuste al contenido */
    padding-top: 40px;
    gap: 2em;
  }
  .price__element {
    width: 300px;
    padding: 35px;
  }
  .price__element--best {
    width: 320px;
    padding: 50px 35px;
  }
  .price__price {
    font-size: 2.2rem;
  }
}

/* Pantallas de 700px y menores */
@media (max-width: 700px) {
  .price__table {
    flex-direction: column;
    gap: 1.5em;
  }
  .price__element,
  .price__element--best {
    width: 90%;
    max-width: 350px;
    padding: 30px;
  }
  .price__element--best {
    padding: 40px;
  }
  .price__price {
    font-size: 2rem;
  }
}

/* Pantallas de 400px y menores */
@media (max-width: 400px) {
  .price__table {
    padding-top: 20px;
    gap: 1em;
  }
  .price__element,
  .price__element--best {
    width: 100%;
    max-width: 300px;
    padding: 20px;
  }
  .price__price {
    font-size: 1.8rem;
  }
}

/* Pantallas de 300px y menores */
@media (max-width: 300px) {
  .price__table {
    padding-top: 10px;
    gap: 0.5em;
  }
  .price__element,
  .price__element--best {
    width: 100%;
    max-width: 250px;
    padding: 15px;
  }
  .price__price {
    font-size: 1.5rem;
  }
}
/* Para pantallas de hasta 900px */
@media (max-width: 900px) {
  .course-container {
    flex-direction: column; /* Cambiar a una columna para pantallas pequeñas */
    padding: 15px;
  }

  .course-image img {
    max-width: 350px; /* Ajustar imagen en pantallas más pequeñas */
  }

  .course-details h2 {
    font-size: 24px; /* Reducir el tamaño del título */
  }

  .course-description {
    font-size: 14px; /* Reducir tamaño de la descripción */
  }

  .platform-message h3, .course-requirements h3 {
    font-size: 20px; /* Reducir tamaño de los subtítulos */
  }

  .platform-message p, .course-requirements li {
    font-size: 14px; /* Reducir tamaño del texto */
  }

  .course-button {
    font-size: 14px; /* Reducir tamaño del botón */
    padding: 10px 18px;
  }
}

/* Para pantallas de hasta 700px */
@media (max-width: 700px) {
  .course-container {
    padding: 10px;
  }

  .course-image img {
    max-width: 300px; /* Reducir el tamaño de la imagen */
  }

  .course-details h2 {
    font-size: 22px;
  }

  .course-description {
    font-size: 13px;
  }

  .platform-message h3, .course-requirements h3 {
    font-size: 18px;
  }

  .platform-message p, .course-requirements li {
    font-size: 13px;
  }

  .course-button {
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* Para pantallas de hasta 500px */
@media (max-width: 500px) {
  .course-container {
    padding: 5px;
  }

  .course-image img {
    max-width: 250px;
  }

  .course-details h2 {
    font-size: 20px;
  }

  .course-description {
    font-size: 12px;
  }

  .platform-message h3, .course-requirements h3 {
    font-size: 16px;
  }

  .platform-message p, .course-requirements li {
    font-size: 12px;
  }

  .course-button {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* Para pantallas de hasta 400px */
@media (max-width: 400px) {
  .course-container {
    padding: 5px;
  }

  .course-image img {
    max-width: 200px; /* Imagen más pequeña en pantallas de 400px */
  }

  .course-details h2 {
    font-size: 18px;
  }

  .course-description {
    font-size: 11px;
  }

  .platform-message h3, .course-requirements h3 {
    font-size: 15px;
  }

  .platform-message p, .course-requirements li {
    font-size: 11px;
  }

  .course-button {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* Para pantallas de hasta 300px */
@media (max-width: 300px) {
  .course-container {
    padding: 5px;
  }

  .course-image img {
    max-width: 180px;
  }

  .course-details h2 {
    font-size: 16px;
  }

  .course-description {
    font-size: 10px;
  }

  .platform-message h3, .course-requirements h3 {
    font-size: 14px;
  }

  .platform-message p, .course-requirements li {
    font-size: 10px;
  }

  .course-button {
    font-size: 10px;
    padding: 5px 10px;
  }
}

/* Para pantallas de hasta 200px */
@media (max-width: 200px) {
  .course-container {
    padding: 5px;
  }

  .course-image img {
    max-width: 150px; /* Imagen aún más pequeña */
  }

  .course-details h2 {
    font-size: 14px;
  }

  .course-description {
    font-size: 9px;
  }

  .platform-message h3, .course-requirements h3 {
    font-size: 12px;
  }

  .platform-message p, .course-requirements li {
    font-size: 9px;
  }

  .course-button {
    font-size: 9px;
    padding: 4px 8px;
  }
}