@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(120deg, #0000002d 0%, #0000001a 100%), url('../img/equipodetrabajobiomedical.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);
}

/* Questions */

.questions {
  text-align: center;
}

.questions__container {
  display: grid;
  gap: 2em;
  padding-top: 0;
  padding-bottom: 50px;
  margin-left: 100px;
}

.questions_bio {
  padding-bottom: 20px;
}

.questions__paragraph {
  padding-top: 30px;
  padding-bottom: 30px;
}

.questions__padding {
  padding: 0;
  transition: padding .3s;
  border: 1px solid #5454D4;
  border-radius: 6px;
}

.questions__padding--add {
  padding-bottom: 30px;
}

.questions__answer {
  padding: 0 30px 0;
  overflow: hidden;
}

.questions__title {
  text-align: left;
  display: flex;
  font-size: 20px;
  padding: 30px 0 30px;
  cursor: pointer;
  color: #001A49;
  justify-content: space-between;
}

.questions__arrow {
  border-radius: 50%;
  background-color: #001A49;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  margin-left: 10px;
  transition: transform .3s;
}

.questions__arrow--rotate {
  transform: rotate(180deg);
}

.questions__show {
  text-align: left;
  height: 0;
  transition: height .3s;
}

.questions__img {
  display: right;
}

.questions__copy {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 30px;
}

/*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 queries */

@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;
  }

  .questions__container {
    width: 100%;
    align-items: center;
    margin-left: 0;
  }

  .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;
  }

  .questions__subtitle {
    font-size: 1rem;
  }

  .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%;


    /* ocpcional para escoger
      margin:0;
      width: 100%;

      margin-left: 0;
      margin: center;
      */
  }
}