@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(100deg, #0000004f 0%, #00000046 100%), url('../img/dispositivos-medicos.jpg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 90%, 0 80%);
    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);
}

/* Hero container */

.hero_container {
    max-width: 800px;
    height: 100px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 0px;
    text-align: center;
}

.hero_title {
    font-size: 3rem;
}

.hero_paragraph {
    margin-bottom: 10px;
}

.cta {
    display: inline-block;
    background-color: #2091f9;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    margin: 20px 20px;
    margin-left: 35%;
}

/* About */

.container-about {
    margin-top: 150px;
    margin-bottom: 0px;
   
}

.about {
    text-align: center;
}

.subtitle {
    color: var(--color-tittle);
    font-size: 2rem;
    padding: 20px;
   
}

.about_paragraph {
    line-height: 1.7;
}



/*slider*/

.slider {
  background-color: #e5e5f7;
}

.slider__container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.slider__body {
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}


.slider__body--show {
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.slider__img {
    width: 500px;
    height: 200px;
    border-radius: 5%;
    object-fit: cover;
    object-position: 50% 30%;
}

.slider__texts {
    max-width: 700px;
    line-height: 1.7;

}

.slider__course {
    text-decoration: none;
    display: inline-block;
    padding: 5px;
}

.slider__arrow {
    width: 90%;
    cursor: pointer;
}




/* price */

.price__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: 1em;
    align-items: center;
}

.price__picture {
    max-width: 600px;
}

.price__img {
    width: 100%;
    display: block;
}

.price__paragraph {
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}





/* Testimony */

.testimony {
    background-color: #e5e5f7;
}

.testimony__container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.testimony__body {
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}

.testimony__body .testimony__texts .testimony__review {
    text-align: center;
}

.testimony__body--show {
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony__img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
}

.testimony__texts {
    max-width: 700px;
    line-height: 1.7;

}

.testimony__course {
    text-decoration: none;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow {
    width: 90%;
    cursor: pointer;
}

/* questions*/

.subtitle {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;

}

.text_p {
    display: flex;
    width: 100%;
    margin-bottom: 3%;
}

.presente {
    width: 8%;
    margin-left: 1.8%;
}

.text_p2 {
    display: flex;
    width: 5%;
    margin-left: 42%;
    margin-bottom: 3%;
}

.presente2 {
    margin-right: 10px;
    width: 100%;
}

/*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: #070707;
        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;
    }

    .cta {
        margin-left: 20px;
    }

    .hero_title {
        font-size: 2.5rem;
    }

    .hero::before {
        background-size: cover;
        background-position: center;
    }


    .about_main {
        gap: 2em;
    }

    .about_icons:last-of-type {
        grid-column: 1/-1;
    }

    .slider__container {
        grid-template-columns: 30px 1fr 30px;
    }

    .slider__body {
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items: center;
        text-align: center;
    }


    .slider__img {
        width: 250px;
        height: 100px;

    }

    .slider_p {
        align-content: center;
        margin-left: 8px;
    }

    .knowledge__container {
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__paragraph {
        text-align: center;
    }

    .knowledge__picture {
        grid-row: 1/2;
        justify-self: center;
    }

    .price__container {
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .price__picture {
        grid-row: 1/2;
        justify-self: center;
    }

    .price__paragraph {
        text-align: center;
    }

    .testimony__container {
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body {
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items: center;
        text-align: center;
    }


    .testimony__img {
        width: 200px;
        height: 200px;

    }
  

    .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.3rem;
    }

    .slider {
        --padding-container: 60px 0;
    }

    .slider__container {
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .slider__arrow {
        width: 100%;
    }


    .testimony {
        --padding-container: 60px 0;
    }

    .testimony__container {
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow {
        width: 100%;
    }


    .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%;

    }
}