body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 15px 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#icono {
  height: auto;
  width: 75px;
  margin-top: -15px;
}

.logo {
  font-weight: bolder;
  font-size: xx-large;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  margin-left: -105px;
}

.barra {
  border: #0deb2b 0.5px solid;
  display: flex;
  align-items: center;
  padding: 25px 50px 25px 10px;
  border-radius: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: larger;
  margin: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  text-decoration: none;
  color: black;
}

.buttons button {
  padding: 25px 30px;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 30px;
  font-size: medium;
}

.buttons button:hover {
  background-color: #0deb2b;
}

.main-content {
  background-color: white;
  margin: 20px;
  padding: 20px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.login {
  background: lightgray;
}

.get-started {
  background: green;
  color: white;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: black;
}

@media (max-width: 992px) {
  .barra {
      position: fixed;
      left: -100%;
      top: 70px;
      flex-direction: column;
      background-color: white;
      width: 100%;
      border-radius: 0;
      text-align: center;
      transition: 0.3s;
      box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
      padding: 0;
  }

  .nav-links {
      flex-direction: column;
      padding: 20px 0;
  }

  .hamburger {
      display: block;
      /* Centrar el hamburguesa */
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
  }

  .barra.active {
      left: 0;
      z-index: 100; /* Agrega z-index para que el menú aparezca encima */
  }

  .hamburger.active .bar:nth-child(2) {
      opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  .logo{
    display: none; /* Oculta el logo */
  }

  .buttons button{
      padding: 10px;
      font-size: small;
  }

  #icono{
      width: 50px;
  }

  .image-container {
      margin-top: 120px;
  }

  .text-overlay {
      position: relative;
      top: 0;
      left: 0;
      transform: none;
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 0;
      background-color: transparent;
  }
}

@media (max-width: 670px) {
  #icono{
      width: 50px;
      margin-left: -15px;
  }
  .hamburger {
    margin-left: -5%;
}

}



.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 60px;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 25px;
  margin-top: 15px;
}

.text-overlay {
  position: absolute;
  top: 51%;
  left: 74%;
  transform: translate(-50%, -50%);
  background-color: rgba(225, 250, 227, 0.8);
  padding: 1px 45px;
  border: 2px solid #0deb2b;
  border-radius: 20px;
  text-align: center;
}

.text-overlay h1 {
  margin-top: 10%;
  margin-bottom: 12%;
  font-size: 80px;
  font-family: 'Times New Roman', Times, serif;
}

.text-overlay p {
  font-size: 16px;
  margin-bottom: 15%;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 5%;
}

.contact-icons a i {
  width: 30px;
  padding: 15px;
  font-size: x-large;
  border: 0.5px solid black;
  border-radius: 90%;
  color: black;
  margin-bottom: 35%;

}

#instagram:hover {
  color: blueviolet;
}

#tiktok:hover {
  color: rgb(32, 32, 32);
}

#mail:hover {
  color: rgb(255, 0, 0);
}

.habla {
  padding: 25px 30px;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 30px;
  font-size: medium;
  margin-bottom: 5%;
  background-color: green;
  color: #f4f4f4;
}

.habla:hover {
  background-color: #0deb2b;
}
@media (max-width: 992px) {
  .text-overlay {
      margin-top: -350px;
      left: 50%;
      bottom: 12px;
      transform: translateX(-50%);
      width: 80%;
      padding: 10px 20px;
  }

  .text-overlay h1 {
      font-size: 4em;
      margin-top: 5%;
      margin-bottom: 12%;
  }

  .text-overlay p {
      font-size: 19px;
      margin-bottom: 15%;
  }

  .contact-icons {
      gap: 20px;
      margin-top: -35px;
  }

  .contact-icons a i {
      padding: 10px;
      font-size: 1.7em;
      margin-bottom: 60%;
  }

  .habla {
      padding: 25px 30px;
      font-size: larger;
      margin-bottom: 5%;
  }

  .image-container img {
      height: 650px;
      margin-top: -80px;
      /* Ajusta el width y centra la imagen */
      width: 99%; /* Ajusta este valor según sea necesario */
      margin: -80px auto 0; /* Centra la imagen y mantiene el margen superior */
      display: block; /* Asegura que la imagen sea un bloque */
  }
}

@media (max-width: 670px) {
  .text-overlay {
      margin-top: -180px;
      left: 50%;
      bottom: 12px;
      transform: translateX(-50%);
      width: 85%;
      padding: 8px 13px;
  }

  .text-overlay h1 {
      font-size: 2em;
      margin-top: 2.5%;
      margin-bottom: 5%;
  }

  .text-overlay p {
      font-size: 13px;
      margin-bottom: 17%;
  }

  .contact-icons {
      gap: 20px;
      margin-top: -55px;
  }

  .contact-icons a i {
      padding: 2px;
      font-size: 1.4em;
      margin-bottom: -5%;
  }

  .habla {
      padding: 8px 13px;
      font-size: large;
  }

  .image-container img {
      height: 300px;
      margin-top: -80px;
      /* Ajusta el width y centra la imagen */
      width: 99%; /* Ajusta este valor según sea necesario */
      margin: -80px auto 0; /* Centra la imagen y mantiene el margen superior */
      display: block; /* Asegura que la imagen sea un bloque */
  }
}

@media (max-width: 580px) {
  .text-overlay {
      margin-top: -180px;
      left: 50%;
      bottom: 12px;
      transform: translateX(-50%);
      width: 85%;
      padding: 8px 13px;
  }

  .text-overlay h1 {
      font-size: 2em;
      margin-top: 2.5%;
      margin-bottom: 5%;
  }

  .text-overlay p {
      font-size: 13px;
      margin-bottom: 20%;
  }

  .contact-icons {
      gap: 20px;
      margin-top: -55px;
  }

  .contact-icons a i {
      padding: 5px;
      font-size: 1.4em;
      margin-bottom: -1%;
  }
}

@media (max-width: 465px) {

  .text-overlay p {
      font-size: 13px;
      margin-bottom: 21%;
  }

  .contact-icons {
      gap: 20px;
      margin-top: -45px;
  }

  .contact-icons a i {
      padding: 3px;
      font-size: 1.4em;
      margin-bottom: 3%;
  }
}


#sobre-mi {
  padding: 50px 60px;
  background-color: #f8f8f8;
  border: solid 0.5px black;
  border-radius: 20px;
}

.contenedor-sobre-mi {
  display: flex;
  align-items: center;
  gap: 40px;
}

.foto-nutricionista {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.foto-nutricionista img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.foto-nutricionista img:hover {
  transform: scale(1.05);
}

.texto-sobre-mi {
  flex: 1;
}

.texto-sobre-mi h2 {
  color: #333;
  margin-bottom: 30px;
}

.texto-sobre-mi p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Media queries para pantallas pequeñas */
@media (max-width: 992px) {
  .contenedor-sobre-mi {
      flex-direction: column; /* Cambia a disposición vertical */
      gap: 20px; /* Reduce el espacio entre la foto y el texto */
  }

  .foto-nutricionista {
      width: 80%; /* Ajusta el ancho de la foto */
      max-width: 400px; /* Establece un ancho máximo */
      margin: 0 auto; /* Centra la foto */
  }

  #sobre-mi {
      padding: 30px; /* Reduce el padding */
  }

  .texto-sobre-mi h2 {
      font-size: 1.5em; /* Ajusta el tamaño de fuente */
      margin-bottom: 20px; /* Reduce el margen */
  }

  .texto-sobre-mi p {
      font-size: 1em; /* Ajusta el tamaño de fuente */
      margin-bottom: 15px; /* Reduce el margen */
  }
}

@media (max-width: 650px) {

  #sobre-mi {
      padding: 22px; /* Reduce el padding */
      width: 90%;
      margin-left: -0.2%;
  }

  .texto-sobre-mi h2 {
      font-size: 2em; /* Ajusta el tamaño de fuente */
      margin-bottom: 20px; /* Reduce el margen */
  }

  .texto-sobre-mi p {
      font-size: 1em; /* Ajusta el tamaño de fuente */
      margin-bottom: 15px; /* Reduce el margen */
  }
}

@media (max-width: 380px) {

  #sobre-mi {
      padding: 22px; /* Reduce el padding */
      width: 90%;
      margin-left: -5%;
  }
}

#consultorios {
  padding: 60px;
  background-color: #ffffff;
}

#consultorios h2 {
  text-align: center;
  color: #333;
  margin-bottom: 50px;
}

#consultorios h3 {
  text-align: center;
  margin-bottom: 50px;
  font-size: xx-large;
}

#consultorios p {
  text-align: center;
  margin-bottom: 50px;
}

.contenedor-consultorios {
  display: block;
  margin: 10px auto;
}

.tarjeta-consultorio {
  width: 100%;
  margin-bottom: 50px;
  background-color: rgb(230, 244, 229);
  border-radius: 10px;
  box-shadow: 0px 5px 10px #0deb2b;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tarjeta-consultorio:hover {
  transform: scale(1.05);
}

.tarjeta-consultorio .contenido-tarjeta {
  display: flex;
  align-items: center;
}

.tarjeta-consultorio:nth-child(odd) .texto-consultorio,
.tarjeta-consultorio:nth-child(even) .texto-consultorio {
  flex-basis: 50%;
  padding: 20px;
}

.tarjeta-consultorio:nth-child(even) .imagen-consultorio {
  order: 1;
}

.tarjeta-consultorio:nth-child(even) .texto-consultorio {
  order: 2;
}

.imagen-consultorio {
  width: 50%;
  height: auto;
}

.imagen-consultorio img {
  width: 100%;
  height: auto;
  display: block;
}

.boton-ver-mas {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: center;
  margin-left: 40%;
  margin-top: 5px;
  margin-bottom: 8%;
}

.boton-ver-mas:hover {
  background-color: #0056b3;
}

.cita {
  padding: 15px 20px;
  border: none;
  cursor: pointer;
  margin-left: 34.5%;
  border-radius: 30px;
  font-size: medium;
  margin-bottom: 5%;
  background-color: green;
  color: #f4f4f4;
}

.cita:hover {
  background-color: #0deb2b;
}

/* Media queries para pantallas pequeñas */
@media (max-width: 992px) {
  .tarjeta-consultorio .contenido-tarjeta {
      flex-direction: column; /* Cambia a disposición vertical */
  }

  .imagen-consultorio {
      width: 100%; /* La imagen ocupa todo el ancho */
  }

  .tarjeta-consultorio:nth-child(odd) .texto-consultorio,
  .tarjeta-consultorio:nth-child(even) .texto-consultorio {
      flex-basis: 100%; /* El texto ocupa todo el ancho */
      padding: 20px;
  }

  .tarjeta-consultorio:nth-child(even) .imagen-consultorio {
      order: 0; /* La imagen aparece primero */
  }

  .tarjeta-consultorio:nth-child(even) .texto-consultorio {
      order: 1; /* El texto aparece segundo */
  }

  #consultorios h2{
    margin-bottom: 80px;
  }

  #consultorios h3 {
      font-size: xx-large; /* Reduce el tamaño de fuente */
  }

  #consultorios p {
      margin-bottom: 50px; /* Reduce el margen */
      font-size: x-large;
  }

  .boton-ver-mas {
    margin-left: 40%;
    font-size: larger;
  }

  .cita{
    margin-left: 0; /* Centra el botón */
    width: 100%; /* Ajusta el ancho del botón */
    margin-top: 10px; /* Ajusta el margen superior */
    font-size: larger;
  }
}

@media (max-width: 900px) {
  .tarjeta-consultorio .contenido-tarjeta {
      flex-direction: column; /* Cambia a disposición vertical */
  }

  #consultorios p {
      margin-bottom: 50px; /* Reduce el margen */
      font-size: 22px;
  }

  .boton-ver-mas {
    margin-left: 40%;
    font-size: larger;
  }
}

@media (max-width: 650px) {

  #consultorios {
    width: 100%; /* Asegura que ocupe todo el ancho */
    max-width: 300px; /* Ajusta este valor según sea necesario */
    margin: 0 auto; /* Centra el contenedor */
}
  .tarjeta-consultorio .contenido-tarjeta {
      flex-direction: column;
  }

  .imagen-consultorio {
      width: 100%;
  }

  #consultorios h2 {
      margin-bottom: 80px;
      margin-left: 6%;
  }

  #consultorios h3 {
      font-size: 2.5em;
  }

  #consultorios p {
      margin-bottom: 50px;
      font-size: large;
  }

  .boton-ver-mas {
      margin-left: 24%;
      font-size: larger;
  }

  .cita {
      margin-left: 8%;
      width: 85%;
      margin-top: 10px;
      font-size: large;
  }

  /* Aumenta el ancho de las tarjetas */
  .tarjeta-consultorio {
      width: 100%; /* Ajusta este valor según sea necesario */
      margin-left: 5px;
  }
}

@media (max-width: 495px) {

  #consultorios {
    width: 100%; /* Asegura que ocupe todo el ancho */
    max-width: 175px; /* Ajusta este valor según sea necesario */
    margin: 0 auto; /* Centra el contenedor */
}

  #consultorios h2 {
      margin-bottom: 80px;
      margin-left: 5%;
  }

  #consultorios h3 {
      font-size: 2.5em;
  }

  #consultorios p {
      margin-bottom: 50px;
      font-size: large;
  }

  .boton-ver-mas {
      margin-left: 6%;
      font-size: larger;
      width: 70%;
  }

  .cita {
      margin-left: 5%;
      width: 85%;
      margin-top: 10px;
      font-size: large;
  }

  /* Aumenta el ancho de las tarjetas */
  .tarjeta-consultorio {
      width: 155%; /* Ajusta este valor según sea necesario */
      margin-left: -56px;
  }
}

@media (max-width: 385px) {

  #consultorios {
    width: 100%; /* Asegura que ocupe todo el ancho */
    max-width: 155px; /* Ajusta este valor según sea necesario */
    margin: 0 auto; /* Centra el contenedor */
}
}


/* Estilos generales */
#articulos-essen {
  padding: 40px;
  background-color: #ffffff;
}

.contenedor-articulos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

#articulos-essen h3{
  font-size: x-large;
  text-align: center;
  color: #333;
  margin-bottom: 70px;
  margin-top: -30px;
}

.articulo {
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.articulo:hover {
  transform: scale(1.05);
}

.articulo img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
}

.sartenes{
  height: 100px;
}

.articulo h4 {
  color: #000000;
  padding: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.articulo p {
  color: #666;
  padding: 10px;
}

.boton-contacto {
  display: inline-block;
  padding: 10px 20px;
  background-color: #008000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px;
  transition: background-color 0.3s ease;
  width: 80%;
  text-align: center;
  margin-top: auto;
}

.boton-contacto:hover {
  background-color: #006400;
}

@media (max-width: 992px) {
  .articulo {
    width: 80%; /* Reducimos el ancho para dejar espacio a los lados */
    margin: 20px auto; /* Centramos la tarjeta y agregamos margen vertical */
    display: flex; /* Usamos flexbox para alinear los elementos */
    flex-direction: column; /* Alineamos los elementos en columna */
    align-items: center; /* Centramos los elementos horizontalmente */
  }

  .articulo img {
    max-width: 90%; /* Ajustamos el ancho máximo de la imagen */
    height: auto; /* Mantenemos la proporción de la imagen */
    object-fit: contain; /* Aseguramos que la imagen se ajuste dentro del contenedor */
  }

  .boton-contacto {
    width: auto; /* Ajustamos el ancho del botón */
    padding: 8px 16px; /* Ajustamos el padding del botón */
    margin-top: 20px; /* Agregamos margen superior al botón */
  }
}

@media (max-width: 670px) {
  #articulos-essen {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      padding: 20px; /* Ajusta el padding */
  }
  .articulo {
    width: 90%;
    padding: 10px; /* Reduce el padding */
    margin: 0 auto; /* Centra los artículos */
  }

  .articulo img {
    height: auto;
    object-fit: contain;
    max-width: 100%; /* Asegura que la imagen no se desborde */
  }

  .articulo h4, .articulo p {
    overflow-wrap: break-word; /* Permite que el texto se divida */
  }

  .boton-contacto {
    width: auto;
    padding: 8px 16px;
    display: block;
    margin: 10px auto;
  }
}

@media (max-width: 540px) {
  #articulos-essen {
      width: 100%;
      max-width: 250px;
      margin: 0 auto;
      padding: 20px; /* Ajusta el padding */
  }
  
}
@media (max-width: 380px) {
  #articulos-essen {
      width: 100%;
      max-width: 210px;
      margin: 0 auto;
      padding: 20px; /* Ajusta el padding */
  }
  
}

#testimonios {
  padding: 40px;
  background-color: #f8f8f8;
}

#testimonios h5 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  margin-bottom: 20px;
  font-size: x-large;
}

footer {
  background-color: #f8f8f8;
  padding: 40px 0;
  font-size: 14px;
  background-color: rgb(230, 244, 229);
  border-radius: 5px;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  width: 25%;
}

.footer-section h3 {
  color: #333;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section ul {
  color: #666;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 5px;
}

.footer-section a {
  color: #666;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons i {
  font-size: 20px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 2px solid #a9f4b0; /* Línea separadora */
  padding-top: 20px;
  color: #666;
}

#testimonios a[href*="elfsight.com/google-reviews-widget"] {
  color: #ffffff !important; /* Cambia el color del texto al color de fondo */
  background-color: #ffffff !important; /* Cambia el color de fondo del mensaje al color de fondo */
  font-size: 0 !important; /* Opcional: Reduce el tamaño de la fuente a 0 para ocultar aún más el texto */
  border: none !important; /* Elimina el borde */
  padding: 0 !important; /* Elimina el padding */
  margin: 0 !important; /* Elimina el margen */
  width: 0 !important; /* Elimina el ancho */
  height: 0 !important; /* Elimina el alto */
  overflow: hidden !important; /* Oculta el contenido excedente */
  display: block !important; /* Asegura que no ocupe espacio visible */
}

.eapps-widget-toolbar-panel, .eapps-widget-toolbar-panel-share-button, .eapps-widget-toolbar-panel-only-you {
  display: none !important;
}


/* Estilos para pantallas más pequeñas */
@media (max-width: 768px) {
  .footer-container, .social-icons {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 80%;
    text-align: center;
    margin-bottom: 20px;
  }
}

@media (max-width: 400px) {
  body {
      font-size: 14px;
  }

  #icono {
      width: 40px;
      margin-left: -10px;
  }

  .hamburger {
      margin-left: -10%;
  }

  .text-overlay {
      margin-top: -150px;
      padding: 5px 10px;
  }

  .text-overlay h1 {
      font-size: 1.8em;
      margin-top: 2%;
      margin-bottom: 3%;
  }

  .text-overlay p {
      font-size: 12px;
      margin-bottom: 15%;
  }

  .contact-icons {
      gap: 10px;
      margin-top: -20px;
  }

  .contact-icons a i {
      padding: 3px;
      font-size: 1.2em;
      margin-bottom: 20%;
  }

  .habla {
      padding: 8px 12px;
      font-size: small;
  }

  .image-container img {
      height: 250px;
      margin-top: -60px;
  }

  .buttons button {
      padding: 5px 10px;
      font-size: x-small;
  }
}

