@import url("https://fonts.googleapis.com/css?family=Heebo:800");


*{
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}


/**************************EVolucion farmaceutica********************************/

body {
    font-family: 'Poppins', sans-serif;
  }
  
  :root {
    --light: #ffe6e6;
    --dark: #0c0c0c;
  }
  
  .container {
    margin-top: -3.8%;
    overflow: clip;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 5rem;
    width: 100%;
    height: 100dvh;
    background-image: var(--bg-color);
  }
  
  .category_container {
    --gap: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: calc(var(--gap) * 2);
    width: 100%;
    height: 90%;
  }
  
  .contentsas {
    --active: 0;
    cursor: pointer;
    overflow: clip;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.5rem;
    padding: 2.5rem;
    width: calc((100% / 3) - var(--gap));
    height: 100%;
    border-radius: 1rem;
    transition: width 0.5s ease-in-out;
    
  }
  
  .contentsas:hover {
    --active: 1;
    width: calc(70% - var(--gap));
  }
  
  .contentsas::before {
    content: "";
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    opacity: 0.6;
  }
  
  .contentsas img {
    position: absolute;
    z-index: -20;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
       
  }
  
  .contentsas .profile_image {
    opacity: calc(1 - var(--active));
    transition: opacity 0.3s ease-in-out;
  }
  
  .profile_detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 12rem;
    transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
  }
  
  .profile_detail span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light);
    text-wrap: nowrap;
  }
  
  .profile_detail p {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--light);
  }
  
  .profile_quote {
    width: 22rem;
    transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
  }
  
  .profile_quote p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    transform: translate(0, calc((1 - var(--active)) * (100% + 2.5rem)));
    transition: transform 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.1s;
  }
  
  .wrappersas {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
    transition: grid-template-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s, -ms-grid-rows 0.5s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
  }
  
  .profile_quote {
    min-height: 0;
    transform: translateY(50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.8s cubic-bezier(0.23, 0.93, 0.77, 1) 0.01s;
  }
  
  .contentsas:hover .wrappersas {
    grid-template-rows: 1fr;
  }
  
  .contentsas:hover .profile_quote {
    transform: none;
    opacity: 1;
  }
  
  dialog {
    position: absolute;
    z-index: 1;
    background: none;
    color: white;
    border: 0;
    font-size: 0.8rem;
    padding: 0.5em;
  }
  
  dialog a {
    color: whitesmoke;
  }


  .mmvmove{
    display: none;
  }

  /***************************History******************************/

  .historysection {
    
    margin-top: -10%;
    min-height: 100vh;
    font-family: "Fira Sans", sans-serif;
    display: flex;
  }
  
  .blog-slider {
    width: 100%;
    position: relative;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 25px;
    height: 400px;
    transition: all 0.3s;
  }
  @media screen and (max-width: 992px) {
    .blog-slider {
      max-width: 680px;
      height: 400px;
    }
  }
  @media screen and (max-width: 768px) {
    .blog-slider {
      min-height: 500px;
      height: auto;
      margin: 180px auto;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
      height: 350px;
    }
  }
  .blog-slider__item {
    display: flex;
    align-items: center;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__item {
      flex-direction: column;
    }
  }
  .blog-slider__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > * {
    opacity: 1;
    transform: none;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
    transition-delay: 0.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
    transition-delay: 0.4s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
    transition-delay: 0.5s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
    transition-delay: 0.6s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
    transition-delay: 0.7s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
    transition-delay: 0.8s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
    transition-delay: 0.9s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
    transition-delay: 1s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
    transition-delay: 1.1s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
    transition-delay: 1.2s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
    transition-delay: 1.3s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
    transition-delay: 1.4s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
    transition-delay: 1.5s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
    transition-delay: 1.6s;
  }
  .blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
    transition-delay: 1.7s;
  }
  .blog-slider__img {
    width: 600px;
    flex-shrink: 0;
    height: 400px;
    background-image: linear-gradient(147deg, #2193b000 0%rgba(0, 102, 149, 0)95 74%);
    box-shadow: 4px 13px 30px 1px rgba(56, 102, 252, 0.2);
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
  }
  .blog-slider__img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(147deg, #2193b000 0%rgba(0, 102, 149, 0)95 74%);
    border-radius: 20px;
    opacity: 0.8;
  }
  .blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    border-radius: 20px;
    transition: all 0.3s;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__img {
      transform: translateY(-50%);
      width: 90%;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__img {
      width: 95%;
    }
  }
  @media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
      height: 270px;
    }
  }
  .blog-slider__content {
    padding-right: 25px;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__content {
      margin-top: -80px;
      text-align: center;
      padding: 0 30px;
    }
  }
  @media screen and (max-width: 576px) {
    .blog-slider__content {
      padding: 0;
    }
  }
  .blog-slider__content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
  }
  .blog-slider__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
  }
  .blog-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
  }
  .blog-slider__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
  }
  .blog-slider__button {
    display: inline-flex;
    background-image: linear-gradient(147deg, #2193b0 0%, #006695 74%);
    padding: 15px 35px;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0px 14px 80px rgba(56, 102, 252, 0.4);
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
  }
  @media screen and (max-width: 576px) {
    .blog-slider__button {
      width: 100%;
    }
  }
  .blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
  }
  .blog-slider__pagination {
    position: absolute;
    z-index: 21;
    right: 20px;
    width: 11px !important;
    text-align: center;
    left: auto !important;
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination {
      transform: translateX(-50%);
      left: 50% !important;
      top: 205px;
      width: 100% !important;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 8px 0;
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
      margin: 0 5px;
    }
  }
  .blog-slider__pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    display: block;
    border-radius: 10px;
    background: #062744;
    opacity: 0.2;
    transition: all 0.3s;
  }
  .blog-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #2193b0;
    height: 30px;
    box-shadow: 0px 0px 20px rgba(56, 102, 252, 0.3);
  }
  @media screen and (max-width: 768px) {
    .blog-slider__pagination .swiper-pagination-bullet-active {
      height: 11px;
      width: 30px;
    }
  }
  

    /***********************RESPONSIVE****************************/

/*********************NavBar*****************************/

.check-btn{
  font-size: 30px;
  color: #006695;
  float: right;
  cursor: pointer;
  display: none;
}

#check{
  display: none;
}

  @media (max-width:1080px) {  
    
    .check-btn{
        display: block;
    }
      
      .nav-menu{
        display: flex;
        align-items: center;
        margin-left: 0;
        margin-top: 20px;
        width: 50% !important;
      }
      
      
      .nav-log{
        width: 45%;
      }
      
      
      
      label i{
      font-size: 100%;
      margin-top: 30px;
      margin-right: 20px;
      }
      
      
      ul{
      position: fixed;
        width: 100%;
        height: 50%;
        background-color: white;
        z-index: 2;
        display: flex;
        left: -100%;
        flex-direction: column;
        margin-top: 100px;
        transition: all 0.5s;
        border-radius: 20px;
      
      }
      
      li{
        margin-bottom: 50px;
      }
      
      a{
        display: flex;
        text-align: center;
        width: 100%;
        height: 100%;
      
      }
      
      a:hover{
        color: #006695;
      }
      
      
      .slider{
        z-index: 1;
      }
      
      .nav-menu{
        width: 100%;
      }
      
      #check:checked ~ ul{
        left: 0;

      }
      
      #redessociales{
        display: none;

      }

      /************************NOSOTROSRESPONSIVE***************************/

      .container{
        display: none;
      }

      .mmvmove{
        display: block !important;
      }


         .mmvmision{
          margin-top: 1.5%;
          border-radius: 10px;
          margin-left: 5%;
          width: 90%;
          height: 230px;
          -webkit-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          -moz-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
         }

        .mmvvision{
          margin-top: 3%;
          border-radius: 10px;
          margin-left: 5%;
          width: 90%;
          height: 230px;
          -webkit-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          -moz-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
        }

        .mmvmvalores{
          margin-top: 5%;
          border-radius: 10px;
          margin-left: 5%;
          width: 90%;
          height: 230px;
          -webkit-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          -moz-box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
          box-shadow: 0 0 88px 5px rgba(0, 0, 0, 0.75);
        }

     /***************************HISTORIA*******************************/

       .historysection {
      margin-left: -0.5%;
      margin-top: -35%;
     min-height: 0vh;
      font-family: "Fira Sans", sans-serif;
      display: flex;
    }
    
    .blog-slider {
      width: 100%;
      position: relative;
      max-width: 400px;
      margin: auto;
      background: #fff;
      box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
      padding: 25px;
      border-radius: 25px;
      height: 300px;
      transition: all 0.3s;
    }
    /****************Imagen Historia*******************/
    .blog-slider__img {
      margin-left: 45.5%;
      width: 300px;
      flex-shrink: 0;
      height: 170px;
      background-image: linear-gradient(147deg, #2193b000 0%rgba(0, 102, 149, 0)95 74%);
      box-shadow: 4px 13px 30px 1px rgba(56, 102, 252, 0.2);
      border-radius: 20px;
      transform: translateX(-80px);
      overflow: hidden;
    }
    .blog-slider__img:after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: linear-gradient(147deg, #2193b000 0%rgba(0, 102, 149, 0)95 74%);
      border-radius: 20px;
      opacity: 0.8;
    }
    .blog-slider__img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      opacity: 0;
      border-radius: 20px;
      transition: all 0.3s;
    }
    /********************Button*********************/
    .moder {
      margin-left: 2%;
      margin-top: -8%;
      display: inline-flex;
      background-image: linear-gradient(147deg, #2193b0 0%, #006695 74%);
      width: 200px;
      height: 50px;
      border-radius: 50px;
      color: #fff;
      box-shadow: 0px 14px 80px rgba(56, 102, 252, 0.4);
      text-decoration: none;
      font-weight: 500;
      justify-content: center;
      text-align: center;
      letter-spacing: 1px;
    }

    /*************************Texto*******************************/

    .blog-slider__code {
      margin-top: 30%;
      color: #7b7992;
      margin-bottom: 15px;
      display: block;
      font-weight: 500;
    }

    .blog-slider__title {
      margin-top: 26%;
      font-size: 24px;
      font-weight: 700;
      color: #0d0925;
      margin-bottom: 20px;
    }
    .blog-slider__text {
      margin-top: 5%;
      color: #4e4a67;
      margin-bottom: 30px;
      line-height: 1.5em;
    }

    

    .misionmovil{
      width: 85%;
      margin-left: 10%;
    }

   .misionmovil p{
    font-family: 'Poppins', sans-serif;
    color: rgb(58, 65, 65);
    margin-top: 10%;
    font-weight: bold;
    text-align: justify;

   }

   .visionmovil{
    width: 85%;
    margin-left: 10%;
  }

   .visionmovil p{
    font-family: 'Poppins', sans-serif;
    color: rgb(58, 65, 65);
    margin-top: 10%;
    font-weight: bold;
  text-align: justify;
   }

   .valoresnmovil{
    width: 95%;
    margin-left: 5%;
   }
   
   .valoresnmovil p{
    font-family: 'Poppins', sans-serif;
    color: rgb(58, 65, 65);
    margin-top: 10%;
    font-weight: bold;
    margin-bottom: 70%;
    text-align: justify;

    
   }

  }


    /************************************************************************/