@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;600;700&display=swap");

:root {
  --padding-container: 100px 0;
  --color-title: #001a49;
}

body {
  font-family: "Roboto Slab", serif;
}

/* .header{
    background-image: url(../images/colombia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
} */

.container {
  /* background-image: url(../images/edifice.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; */
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: var(--padding-container);
}

.hero {
  padding: 0rem 0;
  width: 100%;
  /* height: 100vh; */
  /* min-height: 600px;
    max-height: 800px; */
  position: fixed;
  /* display: grid; */
  grid-template-rows: 200px 1fr;
  color: white;
}

.hero::before {
  /* object-position: 30%;
    justify-content: center; */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%),
    url("../images/footerorigin83991132_n.jpg");
  background-size: cover;
  /* clip-path: polygon(50% 0%, 100% 0, 100% 43%, 100% 100%, 68% 100%, 32% 100%, 0 100%, 0% 43%, 0 0); */
  /* clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%); */
  z-index: -1;
  /* background-position: 0% 100%; */
}

.nav {
  right: 0;
  padding-left: 30px;
  padding-right: 30px;
  /* --padding-container: 0; */
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__yepes {
  height: 70px;
  border-radius: 30%;
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav__title {
  font-weight: 300;
  padding-left: 130px;
}

.nav__link {
  margin-left: auto;
  padding: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 2em;
}

.nav__items {
  list-style: none;
}

.nav__links {
  padding: 10px;
  color: white;
  text-decoration: none;
}

.hero ul li a:hover {
  background: #0c486f;
  border-radius: 5%;
  -webkit-border-radius: 5%;
  -moz-border-radius: 5%;
  -ms-border-radius: 5%;
  -o-border-radius: 5%;
}

.nav__links1 {
  padding: 10px;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.nav__menu {
  margin-left: auto;
  cursor: pointer;
  display: none;
}

.nav__img {
  display: block;
  width: 30px;
}

.nav__close {
  display: var(--show, none);
}

/* hero container */

.main1 {
  background-image: url(../images/main11.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero__container {
  /* background-image: url(../images/black7937621768649_n.jpg); */
  padding-top: 100px;
  background-size: cover;
  /* max-width: 800px; */
  --padding-container: 0;
  display: grid;
  grid-auto-rows: max-content;
  align-content: center;
  gap: 1em;
  text-align: center;
}

.hero__title {
  padding: 20px;
  color: #fff;
  font-size: 3rem;
}

.hero__paragraph {
  padding: 20px;
  margin-bottom: 20px;
  color: #fff;
}

/* Testimony */

.testimony {
  /* padding: 5px 0 5px; */
  grid-template-columns: 50px 1fr 50px;
  /* margin-top: 72px; */
  width: 100%;
  min-width: auto;
  /* background-image: url(../images/black7937621768649_n.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
}

.testimony__container {
  justify-content: center;
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 1em;
  align-items: center;
}

.testimony__body {
  /* width: 100%; */
  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;
}

.testimony__body--show {
  pointer-events: unset;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
  -webkit-transition: opacity 1.5s ease-in-out;
  -moz-transition: opacity 1.5s ease-in-out;
  -ms-transition: opacity 1.5s ease-in-out;
  -o-transition: opacity 1.5s ease-in-out;
}

.testimony__img {
  width: 300px;
  /*max-width: 100px;
    */
  height: 300px;
  border-radius: 30%;
  -webkit-border-radius: 30%;
  -moz-border-radius: 30%;
  -ms-border-radius: 30%;
  -o-border-radius: 30%;
  object-fit: cover;
  object-position: 80% 30%;
  /*flex-wrap: wrap; */
}

.testimony__text {
  width: 100%;
  max-width: 700px;
}

/* .subtitle{
    padding: 5px;
    padding-bottom: 1em;
} */

.testimony__course {
  border-radius: 6%;
  padding: 5px;
  /* background-color: #6A4E0B; */
  color: #ffffff;
  display: inline-block;
  -webkit-border-radius: 6%;
  -moz-border-radius: 6%;
  -ms-border-radius: 6%;
  -o-border-radius: 6%;
}

.subtitle {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center;
}

.testimony__review {
  color: #fff;
  text-align: center;
}

.testimony__arrow {
  /* color: #fff; */
  /* justify-content: center; */
  width: 100%;
  cursor: pointer;
  /* padding: 10px; */
}

/* .testimony__arrow img {
    width: 28px;
} */

/* questions */

.questions {
  text-align: center;
  /* background-image: url(../images/footerblack21296_n.jpg);
    background-repeat: no-repeat;
    background-size: cover; */
}

.questions .subtitle {
  padding-top: 20px;
  padding: 20px;
}

.questions__container {
  /* background-image: url(../images/agua.jpeg);
    background-repeat: no-repeat;
    background-size: cover; */
  display: grid;
  gap: 2em;
  padding-top: 50px;
  padding-bottom: 100px;
  /* z-index: -1; */
}

.questions__paragraph {
  padding-bottom: 60px;
  color: #fff;
}

.questions__padding {
  margin-bottom: 25px;
  padding: 0;
  padding-top: 15px;
  border-radius: 10px;
  transition: padding 0.2s;
  -webkit-transition: padding 0.2s;
  -moz-transition: padding 0.2s;
  -ms-transition: padding 0.2s;
  -o-transition: padding 0.2s;
  border: 1px solid #ffffff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  /* cursor: pointer; */
}

.questions__padding--add {
  padding-bottom: 30px;
}

.questions__answer {
  padding: 0 30px 0;
  overflow: hidden;
}

.questions__title {
  display: flex;
  color: #fff;
  padding: 30px 0 30px;
  cursor: pointer;
  justify-content: space-between;
}

.questions__arrow {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: #000000;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  margin-left: 10px;
  transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -o-transition: transform 0.3s;
}

.questions__arrow--rotate {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.questions__show {
  text-align: left;
  color: rgb(255, 255, 255);
  height: 0;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.questions__img {
  display: block;
}

/* .questions__offer{
    background-image: url(../images/black478_4339670509436551928_n.jpg);
    background-repeat: no-repeat;
    background-size: cover;
} */

.questions__offer1 {
  color: #fff;
  margin-top: 25px;
  margin-bottom: 30px;
  width: 60%;
  margin: auto;
  text-align: center;
  padding-bottom: 92px;
  padding-top: 30px;
}

.questions__offer p {
  padding-top: 20px;
  margin-top: 20px;
}

/* 
@media (min-widht: 620px) {
    .testimony{
        width: 100%;

    }
    .testimony__picture img {
        width: 100%;
    }
}

@media (min-widht: 620px) {
    .container{
        width: 50%;
    }
    .testimony__img {
        width: 50%;
    }
} */

/* footer */

.footer {
  background-image: url(../images/main2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  padding: var(--padding-container);
}

.footer ul li a:hover {
  background: #6a4e0b;
  border-radius: 5%;
  -webkit-border-radius: 5%;
  -moz-border-radius: 5%;
  -ms-border-radius: 5%;
  -o-border-radius: 5%;
}

.footer__form {
  padding: var(--padding-container);
  padding-right: 35px;
  padding-left: 35px;
}

.footer__title {
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 30px;
}

.footer__newletter {
  padding-bottom: 20px;
}

.footer__title,
.footer__newletter {
  color: rgb(255, 255, 255);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgb(255, 255, 255);
  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;
  flex-wrap: wrap;
}

.footer__inputs {
  color: rgb(255, 255, 255);
  height: 50px;
  /* padding-left: 12px; */
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  font-size: 1rem;
}

.footer__copy {
  --padding-container: 30px 0;
  text-align: center;
  color: rgb(255, 255, 255);
}

.footer__copyright {
  font-weight: 300;
}

.footer__icons {
  /* display: inline-flex; */
  margin-bottom: 12px;
}

.footer__img {
  width: 36px;
}

/* @media queries */

@media (max-width: 800px) {
  .nav__menu {
    display: block;
  }

  .nav__link--menu {
    position: fixed;
    background-image: url(../images/menu3.png);
    background-repeat: no-repeat;
    background-size: cover;
    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: 0.7s opacity;
    -webkit-transition: 0.7s opacity;
    -moz-transition: 0.7s opacity;
    -ms-transition: 0.7s opacity;
    -o-transition: 0.7s opacity;
  }

  .nav__link--show {
    --show: block;
    opacity: 1;
    pointer-events: unset;
  }

  .nav__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    cursor: pointer;
  }

  .nav__yepes {
    /* padding-top: 60px; */
    height: 50px;
    border-radius: 30%;
  }

  .testimony__container {
    grid-template-columns: 35px 1fr 35px;
  }

  .testimony__body {
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content;
    gap: 3em;
    justify-items: center;
  }

  .testimony__img {
    width: 200px;
    height: 200px;
  }

  /* .testimony__picture{

    } */

  .questions__offer1 {
    width: 80%;
  }

  .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;
  }
}
