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

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--navy-blue-color);
}
::-webkit-scrollbar-thumb {
  background: var(--navy-blue-color);
}
:root {
  --navy-blue-color: #004080;
  --blue-color: #2471a3;
  --black-color: #1a1a1a;
  --white-color: #ffffff;
  --gray-color: #efefef;
  --greyish-color: #5d6d7e;
  --yellow-color: #f9e79f;
  --padding-container: 100px 0;
  --whatsapp-hard-color: #128c7e;
  --whatsapp-color: #25d366;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--navy-blue-color) var(--white-color);
}
body {
  font-family: "Roboto", sans-serif;
  font-size: 1.2em;
  color: var(--black-color);
  /*Mandamos footer a la parte de abajo*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
h1,
h2 {
  text-shadow: 0 0 10px rgba(20, 20, 20, 0.25);
}
footer {
  margin-top: auto;
}
/********** ********* CCC ********** **********/
.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-left: 2%;
  padding-right: 2%;
}
.contacto {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 90vh;
}
.contacto a {
  text-decoration: none;
  color: var(--blue-color);
  font-weight: bold;
}
.contacto a:hover {
  color: var(--greyish-color);
}
.contacto img {
  width: 500px;
  border-radius: 10px;
  border-radius: 8px;
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.25);
}
.contacto table {
  width: 500px;
  text-align: left;
  background-color: var(--gray-color);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.25);
}
.cursos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cursos table {
  width: 400px;
  border-collapse: collapse;
  border: 1px solid var(--navy-blue-color);
}

.cursos th {
  text-align: start;
  background-color: var(--greyish-color);
  color: var(--gray-color);
  padding: 3px;
}
.cursos td {
  padding: 3px;
  text-align: start;
  background-color: var(--gray-color);
}
.hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
  position: relative;
  display: grid;
  grid-template-rows: 100px 1fr;
  color: var(--white-color);
  padding-top: 1%;
}
.hero img {
  border-radius: 10px;
  box-shadow: 0 8px 8px 0 rgba(255, 255, 255, 0.15);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%),
    url("../images/computer.jpg");
  background-size: cover;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
  z-index: -1;
}
.hero_grey {
  background-image: linear-gradient(180deg, #0000008c 0%, #0000008c 100%),
    url("../images/computer.jpg");
  background-size: cover;
  color: var(--white-color);
  display: grid;
  height: 130px;
  position: relative;
  width: 100%;
}
.hero_grey img {
  border-radius: 10px;
  box-shadow: 0 8px 8px 0 rgba(255, 255, 255, 0.2);
}
/* Carrusel de imagenes*/
.imgcarrusel {
  border-radius: 10px;
  margin: 10px;
  width: 250px;
}
.imgcarrusel:hover {
  transform: scale(1.25);
  box-shadow: 0 0 25px rgba(19, 19, 19, 0.25);
}
/********** Nav **********/

.nav {
  --padding-container: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__title {
  font-weight: 250;
}

.nav__link {
  display: grid;
  gap: 2em;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  margin-left: auto;
  padding: 15px;
  background-color: var(--navy-blue-color);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/*.nav__link {
  display: flex;
  justify-content: space-around;
  width: 70%;
  padding: 10px;
  background-color: var(--navy-blue-color);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
  */
.nav__logo {
  margin: 10px;
}
.nav__items {
  list-style: none;
}
.nav__items:hover {
  font-style: italic;
  border-radius: 5px;
}
.nav__links {
  color: var(--white-color);
  transition: 3ms;
  text-decoration: none;
}
.nav__links:hover {
  color: var(--blue-color);
  transition: 3ms;
  text-decoration-line: underline;
}
.nav__menu {
  margin-left: auto;
  cursor: pointer;
  display: none;
}
.nav__img {
  display: block;
  width: 30px;
}
.nav__close {
  display: var(--show, none);
}

/* Hero container */
.hero__container {
  max-width: 800px;
  --padding-container: 0;
  display: grid;
  grid-auto-rows: max-content;
  align-content: center;
  gap: 1em;
  padding-bottom: 120px;
  text-align: center;
}

.hero__title {
  font-size: 2rem;
  color: var(--gray-color);
}

.hero__paragraph {
  margin-bottom: 20px;
}

/* About */
.about {
  text-align: center;
}

.subtitle {
  color: var(--navy-blue-color);
  font-size: 2rem;
  margin-bottom: 25px;
}

.about__paragraph {
  line-height: 1.7;
}

.about__main {
  display: grid;
  gap: 1em;
  grid-template-columns: repeat(auto-fit, minmax(260px, auto));
  margin: 0 auto;
  overflow: hidden;
  padding-top: 80px;
  width: 90%;
}

.about__icons {
  display: grid;
  gap: 1em;
  justify-items: center;
  margin: 0 auto;
  overflow: hidden;
  width: 260px;
}

.about__icon {
  width: 40px;
}

/* que hacemos */

.knowledge {
  background-color: var(--white-color);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  margin: 3% 0 3% 0;
  overflow: hidden;
}

.knowledge__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  align-items: center;
}

.knowledge__picture {
  max-width: 500px;
}

.knowledge__paragraph {
  line-height: 1.7;
  margin-bottom: 15px;
}

.knowledge__img {
  width: 80%;
  display: block;
  border-radius: 10px;
}

/********** ********** BBB *********** **********/
.blog_element {
  background-color: var(--gray-color);
  border-radius: 10px;
  border: 2px solid var(--gray-color);
  height: 350px;
  padding: 15px;
  text-align: center;
  transition: 0.5s ease;
  width: 300px;
}
.blog_element:hover {
  border: 2px solid var(--navy-blue-color);
  box-shadow: 0 0 10px rgba(19, 19, 19, 0.25);
  transition: 0.5s ease;
}
.blog {
  background-color: var(--white-color);
  line-height: 1.6rem;
  min-height: 70vh;
  padding-bottom: 25px;
  padding-top: 15px;
  text-align: center;
  width: 100%;
}
.blog p {
  padding-left: 25px;
  padding-right: 25px;
  text-align: justify;
}
.blogimg {
  border-radius: 10px;
  box-shadow: 0 0 2px rgba(19, 19, 19, 0.5);
  max-width: 20%;
  padding: 10px;
}
.blogimglargo {
  border-radius: 10px;
  box-shadow: 0 0 2px rgba(19, 19, 19, 0.5);
  max-width: 40%;
}
.blog a {
  color: var(--blue-color);
}
.precio {
  color: var(--navy-blue-color);
  font-size: 2em;
  font-weight: 600;
  text-align: center;
}
/* dev */

.dev {
  background-color: var(--white-color);
  min-height: 70vh;
  text-align: center;
  width: 100%;
}
.dev__table {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.dev_style_table {
  border-collapse: collapse;
  text-align: left;
}
.dev__element {
  background-color: var(--gray-color);
  border-radius: 10px;
  border: 2px solid var(--gray-color);
  min-height: 350px;
  padding: 15px;
  text-align: center;
  transition: 0.5s ease;
  width: 300px;
}
.dev__element__small {
  background-color: var(--gray-color);
  border-radius: 10px;
  border: 2px solid var(--gray-color);
  min-height: 250px;
  padding: 10px;
  text-align: center;
  transition: 0.5s ease;
  width: 300px;
}
.dev__element:hover {
  border: 2px solid var(--navy-blue-color);
  box-shadow: 0 0 10px rgba(19, 19, 19, 0.25);
  transition: 0.5s ease;
}
.dev__element__small:hover {
  border: 2px solid var(--navy-blue-color);
  box-shadow: 0 0 10px rgba(19, 19, 19, 0.25);
  transition: 0.5s ease;
}
.dev__name {
  color: var(--navy-blue-color);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.dev__items {
  color: var(--black-color);
  display: grid;
  font-size: 1.1rem;
  font-weight: 300;
  gap: 1em;
  margin-bottom: 25px;
  margin-top: 1rem;
  text-align: inherit;
}

.dev__button {
  background-color: var(--white-color);
  border-radius: 10px;
  border: 1px solid var(--greyish-color);
  box-shadow: 0 0 1px rgba(19, 19, 19, 0.25);
  color: var(--gray-color);
  display: block;
  font-weight: 500;
  margin: 0 20% 0 20%;
  padding: 15px 0;
  text-decoration: none;
}
/*
.dev p {
  text-align: justify;
  text-justify: inter-word;
  margin: 1% 3% 0 3%;
}
*/
.dev a {
  color: var(--navy-blue-color);
  text-decoration: none;
}
.dev a:hover {
  color: var(--greyish-color);
  transition: 3ms;
  text-decoration-line: underline;
}
.dev table {
  border-collapse: collapse;
  border: 1px solid var(--navy-blue-color);
  padding: 5px;
  text-align: left;
  width: 100%;
}
.dev tr {
  border-bottom: 1px solid var(--navy-blue-color);
}
.dev th {
  background-color: var(--greyish-color);
  color: var(--white-color);
  padding-left: 5px;
}
.dev td {
  background-color: var(--gray-color);
  padding-left: 5px;
}
.imagenwhatsapp {
  border-radius: 5px;
  height: 20px;
}
/*Tabla de cursos */

.color-fondo-lista {
  /*background-color: #f7dc6f;*/
}
.color-fondo-lista-contraste {
  /*background-color: #f8c471;*/
  background-color: var(--gray-color);
}

/* Questions */

.questions {
  text-align: center;
}

.questions__container {
  display: grid;
  gap: 2em;
  padding-top: 50px;
  padding-bottom: 100px;
}

.questions__padding {
  border-radius: 6px;
  border: 2px solid var(--navy-blue-color);
  padding: 0;
  transition: padding 0.3s;
}

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

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

.questions__title {
  color: var(--navy-blue-color);
  cursor: pointer;
  display: flex;
  font-size: 20px;
  justify-content: space-between;
  padding: 30px 0 30px;
  text-align: left;
  text-shadow: 0 0 10px rgba(19, 19, 19, 0.25);
}

.questions__arrow {
  align-items: center;
  align-self: flex-end;
  background-color: var(--navy-blue-color);
  border-radius: 50%;
  display: flex;
  height: 25px;
  justify-content: center;
  margin-left: 10px;
  transition: transform 0.3s;
  width: 25px;
}

.questions__arrow--rotate {
  transform: rotate(180deg);
}

.questions__show {
  height: 0;
  text-align: left;
  transition: height 0.3s;
}

.questions__img {
  display: block;
}

.questions__copy {
  margin-bottom: 30px;
  margin: 0 auto;
  width: 60%;
}

/* Footer */
.footer {
  background-color: var(--blue-color);
}

.footer__title {
  font-weight: 250;
  font-size: 1.5rem;
  margin: 25px 0 10px 0;
}

.footer__title,
.footer__newsletter {
  font-size: 1.5rem;
  font-weight: 250;
  color: var(--gray-color);
}

.footer__container {
  align-items: center;
  border-bottom: 1px solid var(--white-color);
  display: flex;
  justify-content: space-between;
  padding-bottom: 60px;
}

.nav--footer {
  display: grid;
  gap: 1em;
  grid-auto-flow: row;
  margin-right: 80px;
  padding-bottom: 20px;
  width: 100%;
}

.nav__link--footer {
  display: flex;
  flex-wrap: wrap;
  margin-right: 20px;
  margin: 0;
}
.linea {
  background-color: var(--greyish-color);
  height: 2px;
  margin-bottom: 3%;
  margin-top: 3%;
  width: 100%;
}
.footer__inputs {
  display: flex;
  margin-top: 10px;
  overflow: hidden;
}

.footer__input {
  background-color: var(--white-color);
  border-radius: 6px;
  border: none;
  display: block;
  font-size: 1rem;
  height: 50px;
  margin-right: 16px;
  outline: none;
  padding-left: 10px;
  width: 300px;
}

.footer__submit {
  background-color: var(--navy-blue-color);
  border-radius: 6px;
  border: none;
  color: var(--white-color);
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  height: 50px;
  margin-left: auto;
  padding: 0 20px;
  transition: 3ms ease;
}
.footer__submit:hover {
  color: var(--gray-color);
  transition: 3ms ease;
}

.footer__copy {
  --padding-container: 30px 0;
  text-align: center;
  color: var(--gray-color);
}

.footer__copyright {
  font-size: 0.8em;
  font-weight: 100;
}

.footer__icons {
  margin-bottom: 10px;
}

.footer__img {
  width: 30px;
}

.btn-flotante {
  background-color: var(--whatsapp-hard-color); /* Color de fondo */
  border-radius: 5px;
  bottom: 40px;
  box-shadow: 0px 8px 15px rgba(19, 19, 19, 0.25);
  color: var(--white-color);
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 18px 30px; /* Relleno del boton */
  position: fixed;
  right: 40px;
  transition: all 300ms ease 0ms;
  z-index: 99;
}
.btn-flotante:hover {
  background-color: var(
    --whatsapp-color
  ); /* Color de fondo al pasar el cursor */
  box-shadow: 0px 15px 20px rgba(19, 19, 19, 0.25);
  transform: translateY(-7px);
}

/********** ********** 991 ********** **********/
@media (max-width: 991px) {
  .container {
    width: 95%;
    max-width: 991px;
    margin: 0 auto;
  }
  .dev__table {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .blogimg {
    max-width: 20%;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(19, 19, 19, 0.25);
    padding: 10px;
  }
  .blogimglargo {
    max-width: 40%;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(19, 19, 19, 0.25);
  }
  .contacto {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 3%;
    margin-right: 3%;
  }

  .contacto a {
    color: var(--blue-color);
    font-weight: bold;
    text-decoration: none;
  }
  .contacto img {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(19, 19, 19, 0.5);
    width: 400px;
  }
  .contacto table {
    background-color: var(--gray-color);
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(19, 19, 19, 0.25);
    padding: 10px;
    text-align: left;
    width: 300px;
  }
  .contacto p {
    margin-left: 3%;
    margin-right: 3%;
  }

  .nav__menu {
    display: block;
  }

  .nav__link--menu {
    align-items: center;
    background-color: var(--greyish-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    line-height: 3rem;
    margin: 10px 0 10px 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: 0.7s opacity;
    width: 100%;
    z-index: 100;
  }
  .nav__link--show {
    --show: block;
    opacity: 1;
    pointer-events: unset;
  }
  .nav__links:hover {
    color: var(--yellow-color);
    transition: 3ms;
    text-decoration-line: underline;
  }
  .nav__close {
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
    width: 30px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .about__main {
    gap: 2em;
  }

  .about__icons:last-of-type {
    grid-column: 1/-1;
  }

  .knowledge__container {
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr;
    gap: 3em;
    text-align: center;
  }

  .knowledge__picture {
    grid-row: 1/2;
    justify-self: center;
  }

  .questions__copy {
    width: 100%;
  }

  .footer__container {
    flex-wrap: wrap;
  }

  .nav--footer {
    margin-right: 0;
    width: 100%;
    justify-items: center;
  }

  .nav__link--footer {
    justify-content: space-evenly;
    margin: 0;
    width: 100%;
  }

  .footer__form {
    width: 100%;
    justify-content: space-evenly;
  }

  .footer__input {
    flex: 1;
  }
}
/********** ********** 640 ********** **********/
@media (max-width: 640px) {
  .dev__table {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
  }
  .btn-flotante {
    font-size: 14px;
    padding: 12px 20px;
    bottom: 20px;
    right: 20px;
  }

  .container {
    max-width: 640px;
    margin: 0 auto;
  }
  h1 {
    font-size: 1em;
    text-shadow: 0 0 10px rgba(19, 19, 19, 0.5);
  }

  .blogimg {
    max-width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(19, 19, 19, 0.5);
    padding: 10px;
  }
  .blogimglargo {
    max-width: 60%;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(19, 19, 19, 0.5);
  }
  .contacto {
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    margin-left: 3%;
    margin-right: 3%;
  }
  .contacto h1 h2 {
    text-align: center;
  }
  .contacto a {
    text-decoration: none;
    color: var(--blue-color);
    font-weight: bold;
  }
  .contacto img {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 8px 8px 0 rgba(19, 19, 19, 0.25);
  }
  .contacto span {
    margin-bottom: 30px;
  }
  .contacto p {
    margin-left: 3%;
    margin-right: 3%;
  }
  .contacto td {
    padding: 1%;
  }

  .contacto table {
    background-color: var(--gray-color);
    border-radius: 10px;
    box-shadow: 0 8px 8px 0 rgba(19, 19, 19, 0.25);
    padding: 10px;
    text-align: left;
    width: 300px;
  }

  .cursos table {
    width: 100%;
  }

  .dev table {
    width: 100%;
  }
  .dev tr {
    border: 1px solid var(--greyish-color);
  }
  .hero__title {
    font-size: 1.5rem;
  }

  .hero__paragraph {
    font-size: 1rem;
  }
  .nav__link--menu {
    background-color: var(--blue-color);
    justify-content: center;
  }
  .subtitle {
    font-size: 1.8rem;
  }

  .price__element {
    width: 90%;
  }

  .price__element--best {
    width: 90%;
  }

  .price__price {
    font-size: 2rem;
  }

  .questions__title {
    font-size: 1rem;
  }

  .footer__title {
    justify-self: start;
    margin-bottom: 15px;
  }

  .nav--footer {
    padding-bottom: 60px;
  }

  .nav__link--footer {
    justify-content: space-between;
  }

  .footer__inputs {
    flex-wrap: wrap;
  }

  .footer__input {
    flex-basis: 100%;
    margin: 0;
    margin-bottom: 16px;
  }

  .footer__submit {
    margin-right: auto;
    margin-left: 0;
  }
}
