html{
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    min-height: 100vh;
}
main {
    flex: 1 0 auto;
}
header,
footer {
    flex: 0 0 auto;
}
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    padding-block: 1rem;
    z-index: 2;
    width: 100%;
    backdrop-filter: blur(4px);
    padding-inline: 1rem;
}
a{
    text-decoration: none;
}
footer{
    background-color: #010822;
}
ol, ul, li{
    text-align: justify;
    font-size: 1.2rem;
    color: white;
}
.text-justify{
    text-align: justify;
}
.vihe{
    min-height: 95vh;
    padding-top: 3rem !important;
}
/*Secciones*/
#home, #adminpan{
    background: url("img/fondoh.jpg");
}
#esensia, #theteam, #contacto, #blog, #blogCont{
    background: url("img/fondo3.jpg");
}
#healthivity{
    background: url("img/fondo2.jpg");
}
#video{
    background-color: #010822;
}
#home, #esensia, #healthivity, #theteam, #contacto, #blog, #blogCont, #adminpan{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 18px;
    padding-bottom: 1rem;
}
#blogCont, #adminpan{
    padding-top: 40px;
}
.box{
    position: relative;
}
.maps, .maps2{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block;
    background: url("img/mapita.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: opacity(0.8);
    height: 500px;
    border-radius: 50% 20% / 10% 40%;
}
.maps{
    transform: translate(0, -50%);
    width: 100%;
}
.maps2{
    transform: translate(8%, 0%);
    width: 90%;
}
.content, .content2{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
}
.content{
    transform: translate(0, -50%);
}
.content2{
    transform: translate(0, 16%);
}
.card{
    border-radius: 20px;
    border: none !important;
    padding-block: 1rem;
    background: white;
}
.g-2{
    gap: 1rem;
}
/*Utilidades*/
.fs-7{
    font-size: 0.8rem;
}
.ls2{
    letter-spacing: 2px;
}
.text-blue{
    color: #55afe1;
}
#navMenu:hover {
    cursor: pointer;
}
#navMenu > span {
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 9999px;
    background-color: #ffffff;
}
#navMenu > span:not(:last-child) {
    margin-bottom: 7px;
}
#navMenu,
#navMenu > span {
    transition: all 0.4s ease-in-out;
}
#navMenu.active {
    transition-delay: 0.8s;
    transform: rotate(45deg);
}
#navMenu.active > span:nth-child(2) {
    width: 0;
}
#navMenu.active > span:nth-child(1),
#navMenu.active > span:nth-child(3) {
    transition-delay: 0.4s;
}  
#navMenu.active > span:nth-child(1) {
    transform: translateY(9px);
}
#navMenu.active > span:nth-child(3) {
    transform: translateY(-9px) rotate(90deg);
}
.box2 {
    overflow: hidden;
}
.menu {
    position: fixed;
    right: -50%;
    top: 10%;
    transform: translateY(25%);
    transition: all 0.8s ease-in-out;
    width: 180px;
    height: 300px;
    border-radius: 2rem 0 0 2rem;
    background: rgb(210, 211, 211);
    /*background: linear-gradient(
        0deg, rgba(158,46,165,1) 0%, rgba(199,34,148,1) 50%, rgba(253,155,65,1) 100%
    );*/
    background-color: #010822;
    overflow: hidden;
    box-shadow: 2px 0px 5px rgb(0 0 0 / 50%);
    z-index: 2;
    display: grid;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
      0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}
.btnMenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contactanos{
    padding-block: 0.4rem;
    margin-left: 1rem;
    background-color: #55afe1;
}
.contactanos:hover{
    cursor: pointer;
}
.pcont {
    color: black;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px white;
}
.fs-cont{
    font-size: 1.8rem;
    font-weight: bolder;
}
.txtgrad{
    font-size: 3rem;
    background: -webkit-linear-gradient(0deg, rgba(158,46,165,1) 0%, rgba(199,34,148,1) 50%, rgba(253,155,65,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.txtreha{
    color: #55afe1;
    font-size: 3rem;
}
.owl-carousel .owl-item{
    display: flex;
    align-items: center;
    justify-content: center;
}
.health1{
    width: 70%;
}
.center .health1{
    width: 60%;
}
.health1 p{
    display: none;
}
.center .health1 > p{
    display: block;
}
.theteamtxt{
    color: #bc1f9d;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: end;
    width: 80%;
    margin: 0;
}
.txtareas{
  width: 80%;
  margin: 0;
  margin-block: 0 !important;
  text-align: end;
  font-size: 2rem;
  margin-top: 1rem;
  color: white;
  font-weight: lighter;
}
.imgequi{
  width: 100%;
  margin-block: 1.5rem;
  background: url("img/fondoteam.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 1rem;
}
.imgequi img{
  width: 100%;
  filter: grayscale(1);
}
.imgequi img:hover{
    filter: grayscale(0);
    transition: opacity 500ms;
}
.fondocar{
    background: linear-gradient(90deg, rgba(158,46,165,1) 0%, rgba(199,34,148,1) 50%, rgba(253,155,65,1) 100%);
}
.fondocar2{
    background-color: #071126;
    margin: 1rem;
    padding: 1rem;
}
.imgblur{
  display: inline-block;
  position: relative;
  max-width: 50%;
  padding-inline: 6px;
}
.partners {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    /*background: linear-gradient(90deg, rgba(158,46,165,0.5) 0%, rgba(199,34,148,0.8) 50%, rgba(253,155,65,0.5) 100%);;*/
    padding-block: 1rem;
    border-radius: 20px;
}
.logparts {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: 3rem;
    padding: 0 0.8rem;
}
.blogcard{
    width: 100%;
    height: auto;
    padding-bottom: 1.5rem;
}
.blogcard p{
    text-align: justify;
    padding: 0.5rem;
    font-size: 0.9rem;
}
.blogcardp{
    height: 110px;
}
.blogcard img{
    width: 100%;
    height: 150px;
}
.afuera{
    background: linear-gradient(90deg, rgba(158,46,165,1) 0%, rgba(199,34,148,1) 50%, rgba(253,155,65,1) 100%);
    padding: 6px;
    width: 90%;
    border-radius: 10px;
}
.masblog{
    background-color: white;
    width: 100%;
    border-radius: 10px;
}
.masblog:hover{
    cursor: pointer;
    background: linear-gradient(90deg, rgba(158,46,165,1) 0%, rgba(199,34,148,1) 50%, rgba(253,155,65,1) 100%);
    color: white;
}
.modal-dialog{
    margin: 1rem;
}
.modal-header{
    border: none !important;
}
.modal-body{
    padding: 0 !important;
}
.modal-content{
    background: url("img/LogoSI.png"), #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.EnviarR{
    border: 4px solid #55afe1;
    background-color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
}
.EnviarR:hover{
    background-color: #55afe1;
    color: white;
    cursor: pointer;
}
.blogcontent{
    max-width: 70%;
}
.blogcontent p{
    text-align: justify;
    font-size: 1.2rem;
    color: white;
}
.btnBlogs{
    width: 15%;
    text-align: center;
    border: 2px solid #55afe1;
    border-radius: 10px;
    background-color: white;
    margin-inline: 1rem;
}
.btnBlogs:hover{
    cursor: pointer;
    background-color: #55afe1;
    color: white;
}
.part-item-carousel {
    width: 100%; /* Ancho del carrusel */
    overflow: hidden;
    margin: auto;
}
.part-item-inner {
    display: flex;
    animation: scroll 10s linear infinite; /* Animación */
}
.part-item {
    max-width: 50%;
    flex: 0 0 auto;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
/*RRSS*/
.social {
    position: fixed;
    top: 20px;
    z-index: 999;
    padding-top: 200px !important;
}
.social a{
    color: #55afe1;
}
.social{
    padding: 0px;
    transform: translate(-130px, 0);
    font-size: 1rem;
}
.social ul li {
    display: block;
    margin: 5px;
    background: rgba(0, 0, 0, 0.36);
    width: 140px;
    text-align: right;
    padding: 10px;
    border-radius: 0 30px 30px 0;
    transition: all 1s;
    font-size: 1rem;
}
.social ul li:hover {
    transform: translate(90px, 0);
    background: linear-gradient(90deg, rgba(158,46,165,1) 0%, rgba(199,34,148,1) 50%, rgba(253,155,65,1) 100%);
}
.social ul li:hover a {
    color: white;
}
.social ul li:hover i {
    color: #fff;
    background: rgba(0, 0, 0, 0.36);
    transform: rotate(360deg);
    transition: all 1s;
}
.social ul li i {
    margin-left: 10px;
    color: #000;
    background: #fff;
    padding: 10px;
    border-radius: 100%;
    width: 38px;
    height: 36px;
    font-size: 16px;
    background: #ffffff;
    transform: rotate(0deg);
}
/* Animación de desplazamiento */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}   
@media (min-width: 768px) {  
    .menu {
        height: 330px;
    }
    header {
        padding-block: 2rem;
    }
    #home, #esensia, #healthivity, #theteam, #contacto, #blog, #blogCont{
        padding-top: 50px;
    }
    #blogCont, #adminpan{
        padding-top: 120px;
    }
    .logherra {
        width: 26%;
    }
    .fs-7{
      font-size: 1rem;
    }
    .center .health1{
        width: 90%;
    }
    .theteamtxt{
        font-size: 4rem;
    }
    .imgblur{
      max-width: 28%;
    }
    .g-2{
        gap: 0;
    }
    .part-item {
        max-width: 25%;
    }
    .part-item-inner {
        animation: scroll 20s linear infinite; /* Animación */
    }
    .imgequi{
      padding: 2rem;
    }
    .imgequi{
      background-size: contain;
    }
    .social {
        padding-top: 100px;
    }
}
@media (min-width: 992px) {
    .fs-cont{
        font-size: 3rem;
    }
    .txtgrad, .txtreha{
        font-size: 4rem;
    }
    .menu {
      height: 280px;
    }
    .partners {
        gap: 0;
    }
    .logparts {
        width: 11%;
    }
    .blogcard{
        padding-bottom: 3rem;
    }
    .blogcard p{
        font-size: 1rem;
        padding: 1rem;
    }
    .blogcardp{
        height: 150px;
    }
    .blogcard img{
        height: 300px;
    }
    .social {
        padding-top: 300px;
    }
    .part-item {
        max-width: 14%;
    }
}