@font-face{
  font-family: 'Roboto';
  src: url('/fonts/Mont-RegularItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;

}



body{
    /*font-family: sans-serif;*/
    font-family: 'Roboto', sans-serif;
    margin: 0;
    height: auto;
    width: 100%;
}

a{
    text-decoration: none;
    color:white;
}




/* HEADER NUEVO 2024 */
header {
  background-color: #212831;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Espaciado entre el logo y el menú */
  position: fixed;
  z-index: 2;
  left: 0%;
  right: 0%;
  padding: 0 10px;
}

/* Contenedor logo y hamburguesa */
header .logo {
  display: flex; /* Permite que el logo y el botón hamburguesa estén uno al lado del otro */
  align-items: center; /* Centra el logo y el botón hamburguesa verticalmente */
  gap: 15px; /* Espaciado entre el logo y la hamburguesa */
}

/* Menú en la versión web */
header nav {
  display: flex; /* Establece el menú como una fila horizontal */
  gap: 20px; /* Espaciado entre los elementos del menú */
  margin-right: 5%; /* Margen en la parte derecha */
}

header nav a {
  font-size: 16px;
  color: white;
  text-decoration: none;
  padding: 10px 15px;
}

header nav a:hover {
  color: #ffd82b; /* Cambia el color al pasar el mouse */
}

/* Mostrar la hamburguesa solo en pantallas pequeñas */
.menu-toggle {
  display: none; /* Se oculta por defecto */
  background: none;
  border: none;
  color: #ffd82b;
  font-size: 30px;
  cursor: pointer;
}

/* Estilos para la versión móvil */
@media (max-width: 800px) {
  header {
    flex-direction: column; /* Coloca el logo y el menú uno debajo del otro */
    align-items: center;
    
  }

  .logo img {
    width: 120px; /* Ajusta el tamaño del logo */
  }

  /* Mostrar el botón hamburguesa solo en pantallas pequeñas */
  .menu-toggle {
    display: block; /* Mostrar el botón hamburguesa */
  }

  /* Menú en versión móvil */
  header nav.menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 10px 0;
    background-color: #212831;
    width: 100%;
    position: absolute;
    top: 90px; /* Ajusta para dar espacio entre el logo y el menú */
    left: 0;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3);
  }

  /* Mostrar el menú cuando tiene la clase 'show' */
  header nav.menu.show {
    display: flex; /* Mostrar el menú */
  }

  header nav a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    padding: 10px 0;
  }

  header nav a:hover {
    color: #ffd82b; /* Cambia el color al pasar el mouse */
  }
}



.logo img {
  width: 100%; /* Ajusta el tamaño según el contenedor */
  max-width: 200px; /* Tamaño máximo, ajusta según el diseño */
  height: auto; /* Mantiene la proporción de la imagen */
  display: flex;
}


.logo button{
  background: none;
  border: none;
}

.logo button:hover{
  background: none;
  border: none;
}




.about img {
  width: 100%; /* Asegura que la imagen ocupe el ancho completo de su contenedor */
  height: auto; /* Mantiene la proporción original de la imagen */
  max-width: 100%; /* Evita que la imagen se haga más grande que su contenedor */
}


.image-container {
  width: 100%;      /* Asegura que el contenedor ocupe el 100% del ancho disponible */
  height: 100%;     /* Asegura que el contenedor tenga una altura adecuada */
  overflow: hidden; /* Evita que la imagen se salga del contenedor */
  margin-bottom: 15%;
  /*position: relative; /* Para posicionar correctamente la imagen dentro */
}

/* Estilo para la imagen de portada */
.imagen-portada {
  display: block; /* Se muestra en la versión escritorio por defecto */
  position: absolute; /* Asegura que la imagen se ajuste al contenedor */
  top: 0;
  left: 0;
  width: 100%;  /* Mantiene el ancho igual al del contenedor */
  height: 100%; /* Mantiene la imagen ajustada al alto del contenedor */
  object-fit: cover; /* Asegura que la imagen llene el contenedor sin deformarse */
  z-index: 1;   /* Asegura que la imagen esté detrás de otros elementos si es necesario */
}

.imagen-portada-movil {
  display: none; /* Ocultar la imagen para móvil por defecto */
}

.boton_video {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  border-width: 3px;
  margin-top: 38%;
  width: 15%;
  height: 100px;
  left: 43.5%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.boton_video:hover {
  border-color: #ffd82b;
  border-width: 3px;
  background-color: transparent;
}

/****************** NUEVO ADAPTADO AL MOVIL 5/11/2024 *******************************/

@media (max-width: 767px) {
  
  .imagen-portada {
    display: none; /* Ocultar la imagen de escritorio */
    object-fit: contain; /* Ajusta la imagen para que sea completamente visible */
    transform: none; /* Elimina el escalado adicional */
    
  }
  .imagen-portada-movil {
    display: block; /* Mostrar la imagen para móvil */
    width: 100%; /* Ajustar el tamaño de la imagen en móvil */
    height: auto; /* Mantener la proporción */
    padding-top: 25%;
    z-index: 1;
  }

  .boton_video {
    display: block;
    width: 400%;
    left: 20%; /* Centrado horizontal */
    transform: translateX(-50%); /* Ajuste solo en el eje X */
    z-index: 2;
    margin-top: 30%; /* Ajusta el margen superior */
  }
}

/*Boton de Version portatil - Escrito antes de su vesrsion movil para que no lo modifique*/
@media (max-width: 1280px) {
  .boton_video {
      margin-top: 41.5%;
      left: 1%;
  }
  .imagen-portada{
    margin-top: 5%;
  }

}

/* Mostrar solo el video vertical (móvil) y centrar el botón */
@media (max-width: 767px) {
  .boton_video {
    display: block;
    width: 40%;
    height: 60px;
    left: 20%;
    transform: translate(-50%, -50%);
    margin-top: -25%;
    z-index: 2;
   
  }
}











/*    Fin HEADER   */
.nombre-empresa{
  margin-left: 20PX;
  color: #fff;
}

.text-logo h3{
justify-content: center;
text-align: center;
color: #fff;
padding: 10px;
margin-left: -17px;
}







/* Tamaño letra y color menú */


nav a{
    margin-left: 15px;
    margin-right: 15px;
    font-weight: 650;
    justify-content: center;
}

nav a:hover{
    color:  #ffd82b;
    transition: .6s;
}

/* Cuando la pantalla es superior al valor asignado (700) */
@media (min-width:768px) and (max-width:990px){
    header{
        flex-direction: row;
    }

    nav{
        padding:20px 0px;
    }

    nav a:hover{
      color: #f9004d;
      transition: .6s;
  }
    menu a{
      margin-left: 10px;
      margin-right: 20px;
    }


}




/*FOOTER*/

.footer-dark {
    /*margin-top: 150px;*/ /* ------------------------------------------>BORRAR CUANDO ESTE TERMINADO*/
    padding:50px 0;
    color:#f0f9ff;
    background-color:#212831;
    text-align: center;
    right: 0;
    left: 0;
    bottom: 0;
  }
  
  .footer-dark h3 {
    margin-top:0;
    margin-bottom:12px;
    font-weight:bold;
    font-size:16px;
  }
  
  .footer-dark ul {
    padding:0;
    list-style:none;
    line-height:1.6;
    font-size:14px;
    margin-bottom:0;

  }
  
  .footer-dark ul a {
    color:inherit;
    text-decoration:none;
    opacity:0.6;
  }
  
  .footer-dark ul a:hover {
    opacity:0.8;
    
  }
  
  @media (max-width:800px) {
    .footer-dark .item:not(.social) {
      text-align:center;
      padding-bottom:20px;
    }
  }
  
  .footer-dark .item.text {
    margin-bottom:36px;
  }
  
  @media (max-width:800px) {
    .footer-dark .item.text {
      margin-bottom:0;
    }
  }
  
  .footer-dark .item.text p {
    opacity:0.6;
    margin-bottom:0;
  }
  
  .footer-dark .item.social {
    text-align:center;
  }
  
  @media (max-width:800px) {
    .footer-dark .item.social {
      text-align:center;
      margin-top:20px;
    }
  }
  
  .footer-dark .item.social > a {
    font-size:20px;
    width:36px;
    height:36px;
    line-height:36px;
    display:inline-block;
    text-align:center;
    border-radius:50%;
    margin:0 8px;
    color:#fff;
    opacity:0.75;
  }
  
  .footer-dark .item.social > a:hover {
    opacity:0.9;
  }
  
  .footer-dark .copyright {
    text-align:center;
    padding-top:24px;
    opacity:0.3;
    font-size:13px;
    margin-bottom:0;
  }


  /* FIN FOOTER*/






/* Contenido */

/* Contenido */

/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.contenedor {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Tres columnas en escritorio */
  grid-gap: 5px;
  text-align: center;
  width: 100%;
}

.contenedor figure {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.contenedor figure img {
  width: 100%;
  height: auto;
  transition: all 400ms ease-out;
  will-change: transform;
}

.contenedor figure .capa {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 103, 123, 0.7);
  transition: all 400ms ease-out;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.contenedor figure:hover > .capa {
  opacity: 1;
  visibility: visible;
}

.contenedor figure:hover > img {
  transform: scale(1.3);
}

.contenedor figure .capa h3 {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  transition: all 400ms ease-out;
}

.contenedor figure .capa p {
  color: #fff;
  font-size: 22px;
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
}

/* Estilo para dispositivos móviles */
@media (max-width: 800px) {
  .contenedor {
    grid-template-columns: 1fr; /* Cambiar a una columna */
    grid-gap: 0; /* Aumentar el espacio entre figuras */
  }

  .contenedor figure {
    margin: 0; /* Sin márgenes externos */
  }

  .contenedor figure img {
    width: 100%; /* Asegurar que las imágenes ocupen el ancho disponible */
    height: auto;
    display: block; /* Evitar espacios generados por imágenes inline */
    transform: none; /* Evitar el zoom al hacer hover */
  }

  .contenedor figure .capa {
    opacity: 1; /* Siempre visible */
    visibility: visible; /* Asegurar que sea visible */
    background: linear-gradient(rgba(0, 103, 123, 0.7)
    , #242f4d);
    opacity: 85%;
  }

  .contenedor figure .capa h3 {
    font-size: 28px; /* Ajustar tamaño del texto */
  }

  .contenedor figure .capa p {
    font-size: 22px; /* Ajustar tamaño del texto */
  }

  
}


/* Sobre mi */
.main .video_sobremi{
  width: 50%;
  border-radius: 15px;
  margin-bottom: 60px;
}

.about{
  width: 100%;
 /* padding: 78px 0px;*/
  background-color: #212831;
}



.about-text{
  margin-top: 70px;
  margin-bottom: 80px;
  width: 800px;
  text-align: justify;
}

.about-text span{
  color: #ffd82b;;
}

.titulo_sobremi h1{
  color: white;
  font-size: 80px;
  text-align: center;
 /* padding-top: 70px;*/
  margin-bottom: 15px;
  font-family:"Roboto" sans-serif;
}

.main{
  /*width: 1130px;
  max-width: 95%;*/
  margin: 0, auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
 /* padding-bottom: 50px;*/
}

.about-text h1{
  color: white;
  font-size: 80px;
  text-align: right;
  font-family:"Roboto" sans-serif;
}

.about-text h2{
  color: white;
  font-size: 40px;
  
}

.about-text h5{
  color: white;
  font-size: 25px;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-family:"Roboto" sans-serif;
}

span{
  color: #ffd82b;
}

.about-text p{
  color:#fff;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 20px;
  margin-bottom: 45px;
}

button{
  background: #ffd82b;
  color: #212831;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: bold;
  padding: 13px 30px;
  border-radius: 30px;
  transition: .4s;
  font-size: 20px;
}
button:hover{
  background: #212831;
  border: 2px solid #ffd82b;
  cursor: pointer;
  color: #ffd82b;
}

@media (max-width: 800px){
  .about{
    width: 100%;
    /*padding: 40px 0px;........................................................................................................26/11/24*/
    
    background-color: #191919;
  }
  

  .about-text{
    margin-left: 15px;
    width: 90%; /* Asegurar que el texto se ajusta al ancho del contenedor */
    
    margin-bottom: 20px; /* Espaciado debajo del texto */
  }
  
  .main{
    width: 1130px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column; /* Cambiar a disposición en columna */
    align-items: center;   /* Centrar todos los elementos */
    text-align: center;    /* Alinear el texto al centro */
  }

  .main .video_sobremi {
    width: 100%; /* Ajusta el video al 100% del contenedor */
    max-width: 400px; /* Establece un ancho máximo */
    margin-bottom: 20px; /* Espaciado debajo del video */
}

  .titulo_sobremi h1 {
    font-size: 3rem; /* Ajustar tamaño del título para móviles */
    margin-bottom: 20px; /* Espaciado debajo del título */
  }
  
  .about-text h1{
    color: white;
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
    font-family: "Roboto", sans-serif bold;
    font-weight: bold; /* Asegura que el título sea negrita */
  }
  .about-text h2{
    text-align: center;
    font-size: 30px; /* Ajusta el tamaño del subtítulo */
    margin-bottom: 20px;
  }
  
  .about-text h5{
    color: white;
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-family: "Roboto", sans-serif bold;
    font-size: 20px; /* Ajusta el tamaño de la descripción */
    text-align: center;
    font-weight: bold;
  }
  
  span{
    color: #ffd82b;
  }

  .video-container {
    height: 100%;
    margin-top: 170px;
    padding-bottom: 0px;
  }
  
  .about-text p{
    color:#fff;
    letter-spacing: 1px; 
    margin-bottom: 15px;
    font-size: 12px; /* Ajusta el tamaño de los párrafos */
    line-height: 22px;
    margin-right: 15px;
  }

  .about-text strong{
    font-size: 13.2px;
    
  }
  
  button{
    background: #ffd82b;
    color: #191919;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: bold;
    padding: 13px 30px;
    border-radius: 30px;
    transition: .4s;
    margin-top: 20px; /* Espaciado encima del botón */
    display: block; /* Aseguramos que el botón sea un bloque */
    margin: 20px auto; /* Centramos horizontalmente */
    text-align: center; /* Alineamos el texto dentro del botón */
  }
  
  button:hover{
    background: #191919;;
    border: 2px solid #ffd82b;
    cursor: pointer;
    /*color: #f9004d;*/                                                                   /*Actualizado para "h a m b u r g e s a" REVISAR SI AFECTO A OTROS SITIOS*/
    color:#ffd82b;
  }

  .about-text button{
    margin-top:50px;
  }


}

/*Sobre mi (tamaño portatil)*/
@media (max-width: 1280px) {

  .main {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    text-align: center; 
  }

  .titulo_sobremi h1 {
    margin-bottom: 30px; /* Espaciado debajo del título */
    padding-top: 0px;
  }

  .video_sobremi {
    width: 80%; /* Ajusta el ancho del video */
    max-width: 600px; /* Establece un ancho máximo */
    margin-bottom: 20px; /* Espaciado debajo del video */
    border-radius: 10px; /* Opcional: agrega bordes redondeados */
  }

  .about-text {
    margin-top: 0px;
    margin-bottom: 20px; /* Espaciado debajo del texto */
  }

  .about-text h2 {
    font-size: 30px; /* Ajusta el tamaño del subtítulo */
    margin-bottom: 10px;
  }

  .about-text p {
    font-size: 16px; /* Ajusta el tamaño del texto */
    line-height: 1.5; /* Mejor legibilidad */
    margin-bottom: 15px;
  }

  button {
    font-size: 18px; /* Tamaño ajustado para botones */
    margin-top: 20px; /* Espaciado encima del botón */
    display: block;   /* Asegura que el botón sea un bloque */
    margin: 20px auto; /* Centrado horizontalmente */
  }
  .about-text button{
    margin-top: 30px;
  }
}



  @media (max-width: 767px) {

  .titulo_sobremi h1{
      padding-top: 20px;
    }

  }

/* Portada Blog */
/* ALIMENTAICON*/
.container-portada-alimentacion{
  width: 100%;
  height: 500px;
  position: relative;
  background-image: url(img/Portada_Alimentacion.png);
  background-position:center;
  background-size: cover; /* Para cubrir toda la pantalla */
  background-repeat: no-repeat; /* Que no se repita la img */
}

.container-portada-alimentacion:before{
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.74);
  position: absolute; /* Para mostrar las caracteristicas anteriores de este content*/
  top: 0;
  left: 0;
}

/*EJERCICIO*/
.container-portada-ejercicio{
  width: 100%;
  height: 500px;
  position: relative;
  background-image: url(img/Portada_Ejercicio.jpg);
  background-position:center;
  background-size: cover; /* Para cubrir toda la pantalla */
  background-repeat: no-repeat; /* Que no se repita la img */
}

.container-portada-ejercicio:before{
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.74);
  position: absolute; /* Para mostrar las caracteristicas anteriores de este content*/
  top: 0;
  left: 0;
}



/*FISIOTERAPIA*/
.container-portada-fisioterapia{
  width: 100%;
  height: 500px;
  position: relative;
  background-image: url(img/Portada_Fisioterapia.jpg);
  background-position:center;
  background-size: cover; /* Para cubrir toda la pantalla */
  background-repeat: no-repeat; /* Que no se repita la img */
}

.container-portada-fisioterapia:before{
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.74);
  position: absolute; /* Para mostrar las caracteristicas anteriores de este content*/
  top: 0;
  left: 0;
}



/*Foto portada Generica*/
.container-portada{
  width: 100%;
  height: 500px;
  position: relative;
  background-image: url(img/Portada_Alimentacion.png);
  background-position:center;
  background-size: cover; /* Para cubrir toda la pantalla */
  background-repeat: no-repeat; /* Que no se repita la img */
}

.container-portada:before{
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.74);
  position: absolute; /* Para mostrar las caracteristicas anteriores de este content*/
  top: 0;
  left: 0;
}

/*Fin portada Generica*/

.container-portada-info{
  max-width: 800px;
  max-height: 500px;
  margin:auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  
}

.container-portada-info h1{
  margin-top: 150px;
  font-size: 60px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
}

.container-portada-info p{
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  font-family: "Roboto", sans-serif ;
}

/* Submenu-Blog */

.victor {
  margin-top: 80px;
  margin-bottom: 50px;
}

.submenu button {
  color: #212831;
  --c: #229091; /* the color */
  box-shadow: 0 0 0 .1em inset var(--c); 
  --_g: linear-gradient(var(--c) 0 0) no-repeat;
  background: 
    var(--_g) calc(var(--_p,0%) - 100%) 0%,
    var(--_g) calc(200% - var(--_p,0%)) 0%,
    var(--_g) calc(var(--_p,0%) - 100%) 100%,
    var(--_g) calc(200% - var(--_p,0%)) 100%;
  background-size: 50.5% calc(var(--_p,0%)/2 + .5%);
  outline-offset: .1em;
  transition: background-size .4s, background-position 0s .4s;
}

.submenu button:hover {
  --_p: 100%;
  transition: background-position .4s, background-size 0s;
}

.submenu button:active {
  box-shadow: 0 0 9e9q inset #0009; 
  background-color: var(--c);
  color: #fff;
}

.container-submenu {
  text-align: center;
}

.submenu ul {
  position: relative; /* Cambiado para evitar problemas en móviles */
  left: auto;
  transform: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* Permite ajustar los elementos */
  justify-content: center; /* Centra los botones */
  grid-gap: 20px;
}

/* Estilos específicos para móvil */
@media (max-width: 768px) {
  .submenu ul {
    flex-direction: column; /* Apila los botones verticalmente */
    grid-gap: 10px; /* Reduce el espacio entre ellos */
  }

  .victor {
    margin-top: 10px; /* Márgenes más pequeños */
    margin-bottom: 10px;
  }

  .submenu button {
    width: 90%; /* Ancho adaptativo */
    max-width: 300px; /* Límite de tamaño */
    margin: 0 auto; /* Centra cada botón */
  }
}

.submenu ul li {
  list-style: none;
  margin: 0 10px;
}
.submenu ul li .fa {
  padding-top: 50px; 
  color: rgb( 35, 92, 156);
  font-size: 100px; /* AJUSTAR TAMAÑO DE LOS ICONOS */
  line-height: 50px;
  transition: .5s;
}
.submenu ul li .fa:hover {
  color: #ffffff;
}
.submenu ul li a {
  position: relative;
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: white;
  color: #f9004d;
  text-align: center;
  transition: 0.5s;
  transform: translate(0,0px);
  box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
  
}
.submenu ul li h2{
  padding-top: 40%;
  color: rgb(35, 92, 156);
  font-weight: 900;
  font-size:large;
}

.submenu ul li h3{
  text-align: center;
}

.submenu ul li a:hover {
  transform: rotate(0deg) skew(0deg) translate(0, -10px);
}
.submenu ul li:nth-child(1) a:hover {
  background-color: #edff87;
}
.submenu ul li:nth-child(2) a:hover {
  background-color: #8ccdff;
}
.submenu ul li:nth-child(3) a:hover {
  background-color: #e4405f;
}

.submenu-letreros{
  margin-top: 80px;
  width: 100%;
  background-color: #e4405f;
  display: auto;
}

.submenu-letreros a{
  font-weight: 950;
  padding-right: 10px;
}


/*-----------------------------------------------------------------------------ALIMENTACION--------------------------------------------------------------------------------------- */

/* Noticias Alimentacion */



.post-list{
  display: flex;
 /* min-height: 100vh;*/
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
}

.content-noticias{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.ali-post-img-1{
  background: url(img/Alimentacion/Art_1.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.ali-post-img-2{
  background: url(img/Alimentacion/Art_2.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.ali-post-img-3{
  background: url(img/Alimentacion/Art_3.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.ali-post-img-4{
  background: url(img/Alimentacion/Art_4.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

/*-----------------------------------------------------------------------------EJERCICIO--------------------------------------------------------------------------------------- */


.eje-post-img-1{
  background: url(img/Ejercicio/Art_1.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.eje-post-img-2{
  background: url(img/Ejercicio/Art_2.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.eje-post-img-3{
  background: url(img/Ejercicio/Art_3.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.eje-post-img-4{
  background: url(img/Ejercicio/Art_4.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

/*-----------------------------------------------------------------------------FISIOTERAPIA--------------------------------------------------------------------------------------- */


.fisio-post-img-1{
  background: url(img/Fisioterapia/Art_1.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.fisio-post-img-2{
  background: url(img/Fisioterapia/Art_2.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

.fisio-post-img-3{
  background: url(img/Fisioterapia/Art_3.jpg); /* Seleccionar imagen de la noticia aqui*/
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: .4s;
}

/*--------------------------------------------------------------------FINAL PARA PUBLICAR LAS FOTOS------------------------------------------------------------------------------- */



.post{
  box-shadow: 0 1px 6px 1px rgba(0, 0, 0, 0.1); /* Sombra del marco */
  /*overflow: hidden;*/
  transition: .4s;
}

.post:hover{
  transform: translateY(-4px);
  box-shadow: 0 1px 14px 2px rgba(0, 0, 0, 0.15); /* Sombra del marco */
}

.post-header{
  width: 100%;
  height: 200px;
  overflow: hidden; /* Para que no salgan del cuadro las imagenes */
  cursor: pointer;
}

.post:hover .post-img-1,
.post:hover .post-img-2,
.post:hover .post-img-3{
  transform: scale(1.1);
}

.post-body{
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Asegura que haya espacio entre los elementos */
}

.post-body span{
  display: inline-block;
  color: #999;
  margin-bottom: 10px;
}

.post-body h2{
  margin-bottom: 20px; /* Reducido margen para dar espacio suficiente al botón */
}

.post-body p{
  line-height: 1.5;
  margin-bottom: 30px;
}

.post-body .post-link{
  background: #f9004d;
  color: white;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: bold;
  padding: 13px 30px;
  border-radius: 30px;
  transition: .4s;
  margin:auto;
  margin-top: auto; /* Asegura que el botón quede al final */

}

.post-body .post-link:hover{
background: white;
border: 2px solid #f9004d;
cursor: pointer;
color: #f9004d;
}



@media (max-width: 768px){
  .content-noticias{
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* BLOG ---> Tamaño mobil de la cartelera de articulos*/
    grid-gap: 20px;
    max-width: 1000px;
    margin: auto;
  }

  .post-body p{
    line-height: 1.5;
    margin-bottom: 35px;
  }

  .post-body .post-link {
    margin-top: 20px; /* Añadido espacio entre la descripción y el botón en móvil */
  }
  
}



/* Contact */

.contact{
  position:relative;
  min-height: 100vh;
  padding: 50px 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(#212831, #235c9c);
  /*background: url(img/contacto_ex.jpg);*/
  background-size: cover;

}

.container content{
  max-width: 800px;
  text-align: center;
  color: #fff;
}

.content h3{
  text-align: center;
  color: #fff;
  font-size: 25px;
  margin-bottom: 20px;
}


.contact .content h2{
  text-align: center;
  font-size: 60px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
}

@media (max-width: 800px) {
  .contact .content h2{
    margin-top: 20px;
  }
}

.contact .content p{
  text-align: center;
  font-weight: 300;
  color: #fff;
}

.container-contact{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.container-contact .contactInfo{
  width: 50%;
  display: flex;
  flex-direction: column;
}

.container-contact .contactInfo .box{
  position: relative;
  padding: 20px 0;
  display: flex;
}

.container-contact .contactInfo .box .icon{
  min-width: 60px;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.container-contact .contactInfo .box .text{
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}

.container-contact .contactInfo .box .text h3{
  font-weight: 300;
  color: #00bcd4;
}

.contactForm{
  width: 40%;
  padding: 40px;
  background: #fff;
}

.contactForm h2{
  font-size: 30px;
  color: #333;
  font-weight: 500;
}

.contactForm .inputBox{
  position:relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea{
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
}

.contactForm .inputBox span{
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span{
  color: #e91e63;
  font-size: 12px;
  transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"]{
  width: 100px;
  background: #00bcd4;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}

@media (max-width: 800px){

  .contact{
    padding: 50px;
    padding-top: 30%;
  }

  .container-contact{
  flex-direction: column;
  }

  .container-contact .contactInfo{
    margin-bottom: 40px;
  }
  .container-contact .contactInfo,
  .contactForm{
    width: 100%;
  }
  .contactForm .inputBox{
    display: block; /* Aseguramos que el botón sea un bloque */
    margin: 20px auto; /* Centramos horizontalmente */
    text-align: center; /* Alineamos el texto dentro del botón */
  }
}



/* Contenido 2*/


.about2{
 width: 100%;
    padding: 78px 0px;
    background: linear-gradient(#212831, #235c9c);
  
}

.about2 img{
  width: 400px;
  height: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  border-radius: 15px;
}

.about-text2{
  width: 550px;
  text-align: justify;
}

.main2{
  padding-top: 5%;
  max-width: 85%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  
}
/*
.main2 img {
  width: 50%;
  max-width: 500px;
  border-radius: 10px;
}
*/
.about-text2 h1{
  color: white;
  font-size: 80px;
  margin-bottom: 20px;
}

.about-text2 h5{
  color: white;
  font-size: 25px;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-family: "Roboto", sans-serif bold;
}

span{
  color: #181818;
}


.about-text2 ul{
  padding-top: 30px;
  color: #fff;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 20px;
  margin-bottom: 45px;
  font-family: "Roboto", sans-serif;
}

.about-text2 span{
  color: #ffd82b;
}


@media (max-width: 800px){  /*//////////////////////////////////////////////////////////////////////////////////////////////////// INDEX AJUSTAR AQUI*/

  .about2 {
    width: 100%;
    padding: 40px 0px;
  }

  .about-text2 {
    order: 1; /* El texto estará después de la imagen */
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .about-text2 h1 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
  }

  .about-text2 p{
    line-height: 22px;
    font-size: 12px;
    margin-bottom: 0px;
    line-height: 18px;
  }

  .about-text2 ul {
    order: 3; /* El contenido del texto va después de la imagen */
    font-size: 16px;
    line-height: 1.6;
    padding: 0;
  }

  .main2 {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Apilar los elementos verticalmente */
    align-items: center;
    justify-content: center;
    text-align: center;
    
  }

  .main2 img {
    order: 2; /* Imagen después del título */
    width: 90%;
    max-width: 400px;
    margin: 20px 0;
    border-radius: 10px;
  }

}


/* Contenido 3 */

.about3 {
  width: 100%;
  padding: 78px 0px;
  background: linear-gradient(#235c9c, #3c6e71);
}

.about3 img {
  height: auto;
  width: 750px;
  margin-right: 10%;
  border-radius: 15px;
}

.about-text3 {
  width: 550px;
  text-align: justify;
}

.main3 {
  width: 1130px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.about-text3 h1 {
  color: white;
  font-size: 80px;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
}

.about-text3 h5 {
  color: white;
  font-size: 20px;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-family: "Roboto", sans-serif;
}

span {
  color: #181818;
}

.about-text3 p em {
  color: #fff;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 20px;
  text-align: left;
}

.about-text3 span {
  color: #ffd82b;
}

.about-text3 ul {
  color: #fff;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 20px;
  margin-bottom: 45px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}

@media (max-width: 1680px) {
  .about3 img {
    margin-left: 10%;
    width: 565px;
  }

  .about-text3 {
    margin-right: 10%;
  }
}

@media (max-width: 1440px) {
  .about3 img {
    margin-left: 10%;
    /*width: 565px;*/
    width: 455px;
  }

  .about-text3 {
    margin-right: 10%;
  }
}

@media (max-width: 800px) {  
  .about3 {
    width: 100%;
    padding: 40px 0px;
  }
  
  .about3 img {
    height: auto;
    width: 90%;
    display: block; /* Aseguramos que sea visible */
    max-width: 400px;
    margin: 20px auto; /* Centramos en móvil */
    order: 4; /* Imagen después del título */
  }
  
  .about-text3 {
    width: 90%;
    margin: 0 auto;
    padding: 0 10px;
    order: 3; /* Texto después de la imagen */
  }

  .about-text3 h1 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
    order: 1; /* Título primero */
  }

  .main3 {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Apilamos en columna */
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .about-text3 p, .about-text3 ul {
    font-size: 16px; /* Ajustamos tamaños para móvil */
    line-height: 1.6;
  }
}


/* Contenido 2*/

.about4 {
  width: 100%;
  padding: 78px 0px;
  background: linear-gradient(#3c6e71, #8eb0a2);
}

.about4 img {
  height: auto;
  width: 400px;
  margin-left: 10%;
  border-radius: 15px;
}

.about-text4 {
  width: 550px;
  text-align: justify;
}

.main4 {
  width: 1130px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.about-text4 h1 {
  color: white;
  font-size: 80px;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif bold;
}

.about-text4 h5 {
  color: white;
  font-size: 25px;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-family: "Roboto", sans-serif bold;
}

span {
  color: #181818;
}

.about-text4 p {
  color: #fff;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 20px;
  margin-bottom: 45px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}

.about-text4 ul {
  color: #fff;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 20px;
  margin-bottom: 45px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: justify;
}

.about-text4 span {
  color: #ffd82b;
}

@media (max-width: 800px) {
  .about4 {
    width: 100%;
    padding: 40px 0px;
  }

  .main4 {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Cambiamos a columna */
    align-items: center;
    justify-content: center;
  }

  .about4 img {
    display: block; /* Mostramos la imagen */
    order: 4; /* Imagen después del título */
    height: auto;
    width: 90%; /* Ancho ajustado */
    max-width: 400px;
    margin: 20px 0;
    border-radius: 15px;
  }

  .about-text4 {
    width: 90%;
    order: 3; /* Texto después de la imagen */
    margin: 0 auto;
    padding: 0 15px;
    text-align: center; /* Centramos texto */
  }

  .about-text4 h1 {
    order: 1; /* Título en primer lugar */
    font-size: 30px;
    text-align: center;
    margin-bottom: 15px;
  }

  .about-text4 ul {
    font-size: 16px;
    line-height: 22px;
    margin-top: 15px;
  }
}



/* Efecto Scroll (Index)*/
html{
  scroll-behavior: smooth;
}



/* Tarifas */

.titulo-tarifas{
  text-align: center;
  /*margin-top: 50px;*/
  font-size: 35px;
  padding-top: 50px;
  padding-bottom: 10px;
  color: #191919;
}

.titulo-tarifas p{
  font-size: 18px;
  text-align: center;
  margin-left: 15%;
  margin-right: 15%;
  margin-top: 15px;
}

#tabla-precios{
  display: inline-block;
  width: 100%;
  padding: 35px; /*/////////////////////////////////AJUSTAR///////////////////////////////*/
  display: flex;
  justify-content: center;
}

.precio-col{
  display: inline-block;
  background-color: #f3f3f3;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 50px;
  margin-left: 20px;
  box-shadow: 0px 2px 5px #ddd;
}

.precio-col-header{
  background-color: #212831;
  padding: 20px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

}

/*
.precio-col:nth-child(2) .precio-col-header{
  background-color: #376a94;
}
*/

.precio-col-header h1,
.precio-col-header p{
  color:white;
  text-align: center;
}
 
.precio-col-features{
  text-align: center;
  font-size: 18px;
}

.precio-col-features p{
  padding: 20px 0;
  margin:0;
  border-top: 1px solid #ddd;
}

.precio-col-features p:first-child{
  border-top: none;
}


@media (max-width: 800px){ 

  #tabla-precios{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    max-width: 1000px;
    margin: auto;
    padding: 0px 15px;
    font-size: 11.3px;
    
  }

  .precio-col{
    float: left;
    /*margin-right: 2%;*/
    margin-left: 0px;
  }

  

  .titulo-tarifas h1{
    
    font-size: 60px;
  }

  .titulo-tarifas p{
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 35px;
    margin-right: 35px;
  }
  .precio-col-header h1{
    font-size: 18px;
  } 
  .precio-col-features p{
    font-size: 12px;
  }
 }



 /* ----------------------------------------------------------------------------CONTRUCCIÓN -------------------------------------------------------------------------------------*/

 .container-error{
  width:100vw;
  height:100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  position: relative;
  left:6vmin;
  text-align: center;
}

.cog-wheel1, .cog-wheel2{
  transform:scale(0.7);
}

.cog1, .cog2{
  width:40vmin;
  height:40vmin;
  border-radius:50%;
  border:6vmin solid #f3c623;
  position: relative;
}


.cog2{
  border:6vmin solid #4f8a8b;
}

.top, .down, .left, .right, .left-top, .left-down, .right-top, .right-down{
  width:10vmin;
  height:10vmin;
  background-color: #f3c623;
  position: absolute;
}

.cog2 .top,.cog2  .down,.cog2  .left,.cog2  .right,.cog2  .left-top,.cog2  .left-down,.cog2  .right-top,.cog2  .right-down{
  background-color: #4f8a8b;
}

.top{
  top:-14vmin;
  left:9vmin;
}

.down{
  bottom:-14vmin;
  left:9vmin;
}

.left{
  left:-14vmin;
  top:9vmin;
}

.right{
  right:-14vmin;
  top:9vmin;
}

.left-top{
  transform:rotateZ(-45deg);
  left:-8vmin;
  top:-8vmin;
}

.left-down{
  transform:rotateZ(45deg);
  left:-8vmin;
  top:25vmin;
}

.right-top{
  transform:rotateZ(45deg);
  right:-8vmin;
  top:-8vmin;
}

.right-down{
  transform:rotateZ(-45deg);
  right:-8vmin;
  top:25vmin;
}

.cog2{
  position: relative;
  left:-10.2vmin;
  bottom:10vmin;
}

h1{
  color:#142833;
}

.first-four{
  position: relative;
  left:6vmin;
  font-size:40vmin;
}

.second-four{
  position: relative;
  right:18vmin;
  z-index: -1;
  font-size:40vmin;
}

.wrong-para{
  font-family: "Roboto", sans-serif;
  position: absolute;
  bottom:15vmin;
  padding:3vmin 12vmin 3vmin 3vmin;
  font-weight:600;
  color:#1d1d1d;
  font-size: 30px;
}

.botonfinal {
  margin-bottom: 40px;
  display: flex; /* Activar flexbox */
  flex-direction: column; /* Alinear elementos verticalmente */
  align-items: center; /* Centrar horizontalmente */
  text-align: center; /* Asegurar que el texto esté centrado */
}

@media (max-width: 800px) {
  .botonfinal button {
    width: 100%; /* Opcional: ajusta el ancho al 100% para móviles */
    max-width: 300px; /* Opcional: establece un ancho máximo */
  }
}





/* Solo para Posteos/Noticias */

/* Estilos específicos para la página de blog */
.blog-post {
  display: flex;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.blog-post img {
  width: 500px; /* Tamaño de ancho deseado */
  height: 600px; /* Tamaño de alto deseado */
  margin: 0 auto;
  margin-left: 20%;
  margin-right: 3%;
  object-fit: cover;
  transform: scaleX(-1) translateX(10px);
}

.blog-post .post-content {
  background-color: #ffffff;
  padding: 20px;
  /*border: 1px solid #ccc;*/
}

.blog-post h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
}

.blog-post .post-meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-post p {
  margin-bottom: 10px;
  margin-right: 20%;
  
}



/*BLOG AJUSTES MOBIL*/


@media (max-width: 800px){  
  .container-portada-info p {
    padding: 5px;
    margin-right: 20px;
    margin-left: 20px;
    font-size: 16px;
  }
  .container-submenu {
    padding: 80px 30px;
  }

  .submenu ul li h2{
    font-size: 13.5px;
  }

  .submenu ul li a{
    width: 100px;
    height: 100px;
  }

  .submenu ul {
    grid-gap: 10px;
  }


  .blog-post{
    margin-top: auto;
    align-items: normal;

    display: flex;/**/
    flex-direction: column;/**/
  }
  
  .blog-post img{
    margin-left: 0%;
    margin-right: 0%;
    height: 350px;
    width: 100%;
  }
  .blog-post p {
    margin-bottom: 10px;
    margin-right: 0%;
  }


  .post-content {
    order: 1;
}


}


