body {
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 12px;
  font-size: 15px;
  line-height: 28px;
  /* max-width: 620px; */

  @media screen and (min-width: 408px) {
    font-size: 16px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

body.challenge {
  text-align: center;
  max-width: 480px;
}

.logo {
  font-family: "Oswald", sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.challenge-video {
  max-width: 70%;
  border: 3px solid green;
  margin: 8px auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  color: white;
  background-color: rgb(23, 23, 23);
  padding: 12px;
}

header .logo {
  @media screen and (max-width: 480px) {
    display: none;
  }
}

header .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
}

header .timer {
  display: flex;
  align-items: center;
  gap: 12px;
}

header .cerramos {
  font-size: 24px;
  font-weight: bold;

  @media screen and (max-width: 840px) {
    display: none;
  }
}

.timer .time {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  min-width: 48px;

  @media screen and (max-width: 480px) {
    font-size: 24px;
    min-width: 32px;
  }
}

.timer .denominator {
  font-size: 11px;
  text-align: center;

  @media screen and (max-width: 480px) {
    font-size: 10px;
  }
}

.unirse {
  background-color: rgb(76, 175, 80);
  color: white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  padding: 12px 40px;
  text-decoration: none;
  display: block;
  text-align: center;
  text-transform: uppercase;

  /* @media screen and (max-width: 480px) {
    padding: 8px 32px;
    font-size: 16px;
  } */

  @media screen and (max-width: 408px) {
    padding: 8px 16px;
  }
}

main {
  max-width: 720px;
  margin: 80px auto 12px;

  font-size: 18px;

  @media screen and (max-width: 408px) {
    font-size: 16px;
    line-height: 26px;
  }
}

ul.checks {
  /* list-style-type: none;
  padding-left: 0; */
  list-style-type: "\2705";
}

ul.checks li {
  /* content: "✅ "; */
  padding-left: 6px;
}

img.hero {
  width: 600px;
  max-width: 100%;
  border-radius: 8px;
  margin: 0 auto;
  display: block;
}

p.center {
  text-align: center;
}

img.photo {
  width: 600px;
  max-width: 100%;
  display: block;
  margin: 16px auto;
  border: 4px solid white;
  box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.15);
}

img.testimonial {
  width: 600px;
  max-width: 100%;
  display: block;
  margin: 16px auto;
  /* border: 4px solid white; */
  /* box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.15); */
  border-radius: 8px;
}

img.program {
  max-width: 90%;
  border-radius: 8px;
  width: 480px;
  display: block;
  margin: 8px auto;
  border: 4px solid gold;
  box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.15);
}

img.price {
  width: 240px;
  max-width: 100%;
  display: block;
  margin: 2px auto;
}

section.about {
  background-color: #1a1852;
  padding: 16px;
  margin-inline: -12px;
  color: white;
}

.about .photo {
  width: 480px;
  border-width: 1px;
  border-radius: 4px;
}

section.module {
  background-color: #0d4942;
  padding: 16px;
  color: white;
  border-radius: 16px;
  margin-block: 20px;
}

h3 {
  text-align: center;
}

p.question {
  margin-top: 40px;
  font-weight: bold;
}

.payments {
  display: flex;
  gap: 32px;
  margin: 40px auto;
  justify-content: center;

  @media screen and (max-width: 480px) {
    flex-direction: column;
  }
}

.payment-type {
  /* background-color: #feffc3; */
  border: 1px solid #f0f0f0;
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.payment-type h2 {
  margin-top: 12px;
  color: #EF6A22;
}

.cupos {
  margin-block: 0;
  font-size: 16px;
  text-align: center;
  font-style: italic;
  color: rgb(103, 103, 103);
}

h1 {
  margin-block: 16px;
  font-weight: 700;
  font-size: 1.4em;
  line-height: 1.4em;
  text-align: center;
  /* color: rgb(151, 1, 28); */
}

h1 strong {
  background-color: #ffcc95;
  /* color: white; */
  border-radius: 4px;
  padding-inline: 8px;
  display: inline-block;
}

h2 {
  text-align: center;
  font-size: 1.4em;
  margin-top: 32px;
}

h2.faq {
  color: rgb(236, 47, 5);
}

ul {
  padding-inline-start: 16px;
}

ul li {
  margin-bottom: 12px;
}

.bullet-points {
  margin-block: 20px;
  padding-block: 16px;
  border-top: 1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
}

.bullet-points .point {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 12px;
}

.bullet-points .point img {
  width: 32px;
}

.bullet-points .learn {
  margin-top: 0;
  color: #646464;
  font-style: italic;
  text-align: center;
}

.details {
  text-align: center;
}

.taught-by {
  color: #898989;
  margin-top: 8px;
}

.instructor {
  font-size: 20px;
  font-weight: bold;
}

.avatar {
  width: 128px;
  border-radius: 100%;
  display: block;
  margin: 12px auto;
  border: 2px solid white;
  box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.15);
}

.testimonial {
  color: #3C3C3C;
  font-style: italic;
}

.workshop-info {
  padding: 12px;
  color: white;
  background-color: #EF6A22;
  border-radius: 12px;
}

.workshop-info h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
}

a.signup {
  background-color: #009643;
  color: white;
  font-weight: bold;
  margin-block: 16px;
  padding: 8px 16px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid white;
  box-shadow: 0 0 5px 0 #00C95088;
  text-decoration: none;
}

a.signup img {
  width: 34px;
}

#fecha-taller {
  font-style: italic;
  font-weight: bold;
  text-transform: uppercase;
}

#signup-toast {
  position: fixed;
  background-color: #2f2e35;
  color: white;
  padding: 8px;
  border: 2px solid white;
  top: 0;
  width: 320px;
  max-width: 90%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s all;
  user-select: none;
  border-radius: 8px;
}

#signup-toast .name {
  text-transform: capitalize;
  font-weight: bold;
  display: inline-block;
}

#signup-toast .place {
  font-style: italic;
}

#signup-toast.appear {
  animation: toast-appear 4s forwards;
}

footer {
  font-size: 0.8em;
  color: #3C3C3C;
}

footer a {
  color: #3C3C3C;
}

.gracias-reto {
  text-align: center;
  max-width: 640px;
}

@keyframes toast-appear {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -33%);
  }

  15% {
    opacity: 100%;
    visibility: visible;
    transform: translate(-50%, 8px);
  }

  85% {
    opacity: 100%;
    transform: translate(-50%, 8px);
  }
  
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -33%);
  }
}
