@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #001A49;
}

body {
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero {
  width: 100%;
  height: 50vh;
  min-height: 600px;
  max-height: 800px;
  position: relative;
  display: grid;
  grid-template-rows: 350px 1fr;
  color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #00000034 0%, #0000001a 100%), url('../img/slide2.jpg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 80%, 0  65%);
    z-index: -1;
}


/* Nav */

.nav{
  --padding-container: 0;
  height: 100%;
  display: flex;
  align-items: center;

}
.nav_logo{
  align-items: center;
}
.nav_log{
  width: 60%;
  display: block;
  padding-bottom: 201px;
}

.nav_link{
  margin-left: auto;
  padding: 100px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 2em;
}
.nav_link--menu{
  padding: 0 0 0 0;
}

.nav_items{
  list-style: none;
}
.nav_links{
  color: #005491;
  text-decoration: none;
}
.nav_link li a:hover{
  color: #eb8511;
  transition: all .3s;
}
.submenu{
  list-style: none;
  padding-top: 35px;
  padding-left: 0px;
  padding-bottom: 0px;
  padding-right: 0px;
  visibility: hidden;
  opacity: 20%;
  transition: opacity 1.5s;
  width: 0px;
  }
  .submenu li a{
    display: block;
    padding: 15px;
    padding-left: 0px;
    list-style: none;
    color: #e5e5f7;
    text-decoration: none;
 }

.nav_link li:hover .submenu{
  visibility: visible;
  opacity: 1;
}
.nav_container ul{
  list-style: none;
  position: relative;
}
.nav_items{
  list-style: none;
  text-align: right;
}

.nav_menu{
  margin-left: auto;
  cursor: pointer;
  display: none;
  padding-top: 50px;
}

.nav_img{
  display: block;
  width: 30px;
}

.nav_close{
  display: var(--show, none);
}
  /*medicines section 1*/

.price__container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: 1em;
  align-items: center;
  padding-top: 100px;
}

.price__picture{
  max-width: 500px;
}
.price__paragraph{
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: left;
}
.price__img{
  width: 100%;
  display: block;
}
/*medicines section 2*/

.product__container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: 1em;
  align-items: center;
  padding-top: 0px;
  padding-bottom: 0px;
}

.product__picture{
  max-width: 500px;
}
.product__paragraph{
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: left;
}
.product__img{
  width: 100%;
  display: block;
}

/*medicines section 3*/

.novital__container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: 1em;
  align-items: center;
  padding-top: 100px;
}

.novital__picture{
  max-width: 500px;
}
.novital__paragraph{
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: left;
}
.novital__img{
  width: 100%;
  display: block;
}
/*boton*/
 
.btn-wsp{
  position: fixed;
  width: 55px;
  height: 55px;
  line-height: 55px;
  bottom: 30px;
  right: 30px;
  background: #0df053;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
 box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3); 
 }
 .btn-wsp:hover{
     text-decoration: none;
     background: #0b3807;
     transition: 0.5s;
 }
 
 .icon-whatsapp{
     margin-top: 6px;
     width: 40px;
  
 }

/* Footer */

.footer{
    background-color: #1D293F;
  }
  
  .footer__title{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .footer__title, .footer__newsletter, .footer__information{
    color: #fff;
  }
  
  
  .footer__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #fff;
    padding-bottom: 60px;
  }
  
  .nav--footer{
    padding-bottom: 20px;
    display: grid;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
  }
  
  .nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    padding: 0;
    flex-wrap: wrap;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
  }
  
  .footer__inputs{
    margin-top: 10px;
    display: flex;
    overflow: hidden;
  }
  
  .footer__input{
    background-color: #fff;
    height: 50px;
    display: block;
    padding-left: 10px;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    border: none;
    margin-right: 16px;
  }
  
  .footer__submit{
    margin-left: auto;
    display: inline-block;
    height: 50px;
    padding: 0 20px ;
    background-color: #2091F9;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #fff;
  }
  
  .footer__copyright{
    font-weight: 300;
  }
  
  .footer__icons{
    margin-bottom: 10px;
  }
  
  .footer__img{
    width: 30px;
  }
  .label {
    display: block;
    margin-top: 1rem;
  }
  
  @media (max-width:800px){
    .nav_menu{
        display: block;
    }
  
    .nav_link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: none;
    }
  
    .nav_link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }
    .nav_links{
      color: #e5e5f7;
  }

  .submenu li a {
      visibility: visible;
      color: #e5e5f7;
    
  }
  .nav_link li a:hover {
      color: #fdfcfb;
      transition: none;
  }
    .nav_close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }
    .nav_logo{
      width: 100%;
      display: block;
      align-items: center;
          
   }
   .nav_img{
       padding-bottom: 258px;
   }
  
    .hero_title{
        font-size: 2.5rem;
    }
  
    .hero::before{
        background-size: none;
        background-position: right; 
    }


.price__container{
  grid-template-columns: 1fr;
  grid-template-rows: max-content 1fr;
  gap: 1em;
  text-align: center;
}
.price__picture{
  grid-row: 1/2;
  justify-self: center;
}
.price__paragraph{
  margin-left: 30px;
  
}

.product__container{
  grid-template-columns: 1fr;
  grid-template-rows: max-content 1fr;
  gap: 1em;
  text-align: center;
}
.product__picture{
  grid-row: 1/2;
  justify-self: center;
}
.product__paragraph{
  margin-left: 30px;
}
.novital__container{
  grid-template-columns: 1fr;
  grid-template-rows: max-content 1fr;
  gap: 1em;
  text-align: center;
}
.novital__picture{
  grid-row: 1/2;
  justify-self: center;
}
.novital__paragraph{
  text-align: center;
}
.footer__container{
      flex-wrap: wrap;
}
  
.nav--footer{
      width: 100%;
      justify-items: center;
}
  
  .nav__link--footer{
      width: 100%;
      justify-content: space-evenly;
      margin: 0;
  }
  
  .footer__form{
      width: 100%;
      justify-content: space-evenly;
  }
  
  .footer__input{
      flex: 1;
  }
  
  }

  @media (max-width:600px){
    .hero_title{
        font-size: 2rem;
    }

    .hero_paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }



  .footer__title{
      margin-bottom: 15px;
      text-align: center;
  }
  .nav--footer{
      padding-bottom: 60px;
  }

  .nav__link--footer{
      justify-content: space-between;
  }
  .footer__newsletter{
      text-align: center;
  }

  .footer__inputs{
      flex-wrap: wrap;
  }

  .footer__input{
      flex-basis: 100%;
      margin: 0;
      margin-bottom: 16px;
  }

  .footer__submit{
      margin:0;
      width: 100%;
      
  }
}