@import url(https://fonts.googleapis.com/css?family=Fredoka:300,regular,500,600,700);

* {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body,
button {
  font-family: "Fredoka";
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}

.logo-nav {
  width: 64px;
}

.open-close-nav {
  display: none;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-items a {
  display: flex;
  align-items: center;
  color: black;
  font-weight: 500;
  text-decoration: none;
}

.nav-items .flag-nav {
  width: 24px;
}

main {
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-direction: column;
  background-image: url(img/fondo-hero.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.linea-hero {
  width: 100%;
  margin-top: 32px;
}

.hero-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-text {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.hero-text h1 {
  font-size: 24px;
  color: #28c59b;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 20px;
  color: black;
  margin-bottom: 32px;
}

.hero-text a {
  display: inline-block;
  font-size: 32px;
  font-weight: 600;
  width: fit-content;
  background-color: #f76bcb;
  color: white;
  border: 0;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 300ms;
}
.hero-text a:hover {
  transform: scale(1.05);
}

.img-hero {
  width: 50%;
}

.que-hacemos {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

.que-hacemos > h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 24px 0;
}

.que-hacemos > p {
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 16px;
}

.qh-items {
  max-width: 100%;
  display: flex;
  gap: 36px;
  box-sizing: border-box;
  margin-bottom: 32px;
}

.qh-unit {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 24px;
  border-radius: 16px;
  box-sizing: border-box;
}

.qh-unit:nth-child(1) {
  border: 3px solid #f76bcb;
}

.qh-unit:nth-child(2) {
  border: 3px solid #f8a10c;
}

.qh-unit img {
  width: 100%;
}

.qh-unit h5 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
}

.qh-unit p {
  font-size: 16px;
  font-weight: 400;
  margin-top: 8px;
  line-height: 1.6;
}

.como-lo-hacemos {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/fondo-ch.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

.como-lo-hacemos > h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 48px 0 64px;
}

.ch-items {
  max-width: 1280px;
  width: 100%;
  display: flex;
  gap: 24px;
  box-sizing: border-box;
  margin-bottom: 64px;
}

.ch-unit {
  width: 33.33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background-color: white;
  border-radius: 16px;
  box-sizing: border-box;
  border: 1px solid #f76bcb;
  border-style: dashed;
}

.ch-unit-img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 128px;
}

.ch-unit img {
  width: auto;
}

.ch-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ch-unit h5 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
}

.ch-unit p {
  font-size: 20px;
  font-weight: 400;
  margin-top: 16px;
  line-height: 1.4;
  text-align: center;
}

.info-fotos {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  margin: 0 auto;
  box-sizing: border-box;
}

.info-items {
  width: 100%;
  display: flex;
  gap: 24px;
  box-sizing: border-box;
  margin-top: 48px;
  margin-bottom: 64px;
}

.info-unit {
  width: 33.33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 16px;
  box-sizing: border-box;
  outline-offset: -3px;
  border-radius: 16px;
}

.info-unit:nth-child(1) {
  outline: 3px solid #28c59b;
}

.info-unit:nth-child(2) {
  outline: 3px solid #f8a10c;
}

.info-unit:nth-child(3) {
  outline: 3px solid #f76bcb;
}

.info-unit span {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 116px;
  font-size: 28px;
  color: white;
  font-weight: 500;
  background-color: #28c59b;
  padding: 24px;
  border-radius: 16px;
  box-sizing: border-box;
}

.info-unit:nth-child(1) span {
  background-color: #28c59b;
}

.info-unit:nth-child(2) span {
  background-color: #f8a10c;
}

.info-unit:nth-child(3) span {
  background-color: #f76bcb;
}

.info-unit p {
  font-size: 20px;
  padding: 24px;
  box-sizing: border-box;
}

.fotos-items {
  width: calc(100%);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-bottom: 64px !important;
}

.fotos-items .slick-list {
  margin-right: -12px;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.slick-arrow {
  display: none !important;
}

.fotos-items .slick-track img {
  margin-right: 12px;
  border-radius: 16px;
}

.slick-dots {
  display: flex !important;
  justify-content: center;
  position: static;
  margin-top: 32px;
}

.slick-dots li {
  width: 20px;
  height: 10px;
  padding: 0;
  margin: 0 4px;
}

.slick-dots li button {
  width: 20px;
  height: 10px;
  padding: 0;
}

.slick-dots li button::before {
  background-color: #eeeeee;
  content: "";
  opacity: 1;
  width: 20px;
  height: 10px;
  border-radius: 16px;
}

.slick-dots li.slick-active button:before {
  background-color: #333333;
}

.workshop {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 64px;
}

.video-workshop,
.opiniones-workshop {
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.video-workshop video {
  display: flex;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.play-video {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, 0%);
}

.opiniones-workshop {
  background-image: url(img/opiniones-fondo.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.ow-container {
  max-width: 448px;
}

.ow-container > h3 {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
}

.ow-unit p {
  color: white;
  font-size: 20px;
  padding-right: 8px;
  /* margin-bottom: 64px; */
}

.ow-perfil {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.ow-perfil img {
  width: 48px;
  height: auto;
}

.ow-perfil span {
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.workshop .slick-dots {
  justify-content: start;
}

.newsletter {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 64px;
  padding: 0 16px;
  box-sizing: border-box;
}

.form-nw {
  background-image: url(img/fondo-newsletter.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 96px;
  box-sizing: border-box;
  border-radius: 16px;
}

.form-nw > h3 {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.form-nw > p {
  color: white;
  font-size: 16px;
  margin-bottom: 48px;
  text-align: center;
}

.input-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 999px;
  padding: 6px;
  box-sizing: border-box;
}

.input-container input {
  width: 75%;
  font-family: "Fredoka";
  height: 48px;
  border: 0;
  padding: 8px 16px;
  font-size: 16px;
  border-radius: 999px;
  box-sizing: border-box;
}

.input-container input:focus {
  outline: none;
}

.input-container a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background-color: #fea439;
  border-radius: 999px;
  padding: 16px;
  box-sizing: border-box;
  font-size: 16px;
  color: white;
  font-weight: 500;
  border: 0;
  cursor: pointer;
}

.input-container button img {
  width: 20px;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(img/fondo-ch.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 48px;
  margin-bottom: 24px;
  padding: 0 16px;
  box-sizing: border-box;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-footer img {
  width: 96px;
}

.logo-footer p {
  width: 288px;
}

.info-footer {
  display: flex;
  align-items: center;
  gap: 24px;
}

.if-unit {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.if-unit img {
  width: 20px;
}

.if-unit a,
.if-unit span {
  font-size: 16px;
  color: black;
  text-decoration: none;
}

.linea-footer {
  width: 100%;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    margin-top: 32px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-text p {
    text-align: center;
  }

  .ch-items {
    flex-direction: column;
  }

  .ch-unit {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .ch-text {
    align-items: start;
  }

  .ch-unit p {
    text-align: start;
  }

  .ch-unit h5 {
    margin-top: 0;
  }

  .ch-unit:nth-child(2) img {
    order: 1;
  }

  .info-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  .info-unit {
    width: calc(50% - 12px);
  }

  .workshop {
    background-image: url(img/opiniones-fondo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex-direction: column;
  }

  .video-workshop,
  .opiniones-workshop {
    width: 100%;
  }

  .video-workshop {
    order: 1;
    display: flex;
    max-height: 512px;
    margin-bottom: 32px;
  }

  .video-workshop video {
    height: auto;
  }

  .play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    width: 128px;
    height: auto;
  }

  .video-workshop img {
    height: auto;
    object-fit: cover;
  }

  .opiniones-workshop {
    background-image: none;
    padding: 32px 16px;
  }

  .input-container input {
    width: 50%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  .nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .open-close-nav {
    display: flex;
  }

  .open-menu {
    display: flex;
  }

  .close-menu {
    display: none;
  }

  .nav-items {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: start;
    margin-top: 24px;
    gap: 24px;
  }

  .linea-hero {
    display: none;
  }

  .hero-text {
    width: 100%;
  }

  .img-hero {
    width: 75%;
  }

  .que-hacemos > h2 {
    font-size: 36px;
    margin: 24px 0 16px;
  }

  .qh-items {
    flex-direction: column;
    gap: 32px;
  }

  .qh-unit {
    width: 100%;
  }

  .como-lo-hacemos > h2 {
    font-size: 36px;
    margin: 24px 0 32px;
  }

  .ch-items {
    margin-bottom: 32px;
  }

  .info-items {
    margin-top: 32px;
  }

  .info-unit {
    width: 100%;
  }

  .info-unit span {
    width: 100%;
  }

  .fotos-items {
    margin-bottom: 32px !important;
  }

  .ow-container {
    max-width: 100%;
  }

  .form-nw {
    padding: 64px 48px;
  }

  .info-footer {
    flex-direction: column;
  }
}

@media (max-width: 448px) {
  .hero-container {
    gap: 32px;
  }

  .img-hero {
    width: 100%;
    margin-bottom: 32px;
  }

  .qh-unit {
    padding: 16px;
  }

  .ch-unit {
    flex-direction: column;
  }

  .ch-unit:nth-child(2) img {
    order: 0;
  }

  .ch-text {
    align-items: center;
  }

  .ch-unit p {
    text-align: center;
  }
  /* 
  .ow-unit p {
    margin-bottom: 48px;
  } */

  .form-nw {
    padding: 32px 16px;
  }

  .input-container button span {
    display: none;
  }

  .logo-footer {
    flex-direction: column;
    gap: 16px;
  }

  .logo-footer p {
    text-align: center;
  }
}
