body {
  font-family: "Helvetica", sans-serif;
  min-width: 350px;
}

:root {
  --button: #1e5471;
  --butonhover: #052f47;
}

strong {
  font-weight: bold;
}

a.btn {
  color: white;
  display: inline-block;
  text-decoration: none;
  background-color: var(--button);
  padding: 14px 24px;
  transition: all 0.3s ease-in;
}

a.btn:hover {
  background-color: var(--butonhover);
}

h1,
h2 {
  font-family: "Ubuntu", sans-serif;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 2rem;
}

.container-top {
  background-color: #063048;
  width: 100%;
  background-image: url(../images/fondo-binario.jpg);
  background-size: contain;
  background-repeat: repeat-x;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

#logo-curso {
  max-width: 400px;
  margin-top: 32px;
}

#logo-wp {
  max-width: 300px;
  margin-bottom: -10px;
}

.container-top > section {
  text-align: center;
}

.container-top > section > div {
  background-color: white;
  margin-bottom: -40px;
  padding: 30px 40px;
  max-width: 500px;
  color: #0b354c;
  line-height: 22px;
}

.container-top-bottom {
  background-color: #7eccfc;
  margin-top: -60px;
  padding-top: 80px;
  padding-bottom: 40px;
}

.container-video {
  display: flex;
  max-width: 800px;
  padding: 36px;
  margin: 60px auto 40px;
  background-color: #0b7ebc;
}

.container-video .video {
  min-width: 400px;
}

.container-video .text {
  color: white;
  padding: 0 30px;
}

.container-video .text h2 {
  font-size: 1.5rem;
  line-height: 1.8rem;
  margin-bottom: 20px;
}

.container-video .text p {
  line-height: 22px;
  margin-bottom: 16px;
}

.container-video .text .btn {
  margin-top: 10px;
  float: right;
}

.container-video .text::after {
  clear: both;
  content: "";
  display: block;
}

.container-bio {
  display: flex;
  max-width: 700px;
  margin: auto;
  background-color: white;
  padding: 30px;
}

.container-bio img {
  max-width: 160px;
  max-height: 160px;
}

.container-bio .text {
  padding: 0 30px;
}

.container-bio .text p {
  line-height: 22px;
  margin-bottom: 18px;
}

.container-midle {
  background-color: #0b7ebc;
}

.container-midle {
  text-align: center;
  padding: 30px;
  color: white;
}

.container-bottom .text h2,
.container-midle h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  line-height: 2rem;
}

.container-testimonials .grid,
.container-midle .grid {
  display: grid;
  grid-gap: 10px;
  max-width: 800px;
  margin: auto;
  grid-template-columns: repeat(4, 1fr);
}

.container-midle .grid > figure {
  color: white;
}

.container-midle .grid > figure img {
  max-width: 100%;
  opacity: 0.9;
}

.container-midle .grid > figure figcaption {
  padding: 10px;
  font-size: 13px;
}

.container-bottom {
  background-color: #1e5471;
  padding: 40px;
}

.container-bottom .text {
  color: white;
  text-align: center;
  max-width: 500px;
  margin: auto;
  line-height: 22px;
  padding: 10px;
}

.container-bottom .container-price {
  background-color: white;
  max-width: 500px;
  margin: auto;
  margin-top: 30px;
  text-align: center;
  padding: 32px;
}

.container-bottom .container-price h2 {
  font-size: 1.4rem;
  line-height: 1.6rem;
  color: #1e5471;
  max-width: 300px;
  margin: auto;
  margin-bottom: 32px;
}

.container-bottom .container-price .btn {
  margin-top: 32px;
}

.price-before {
  color: #ba720e;
  text-decoration: line-through;
  font-size: 20px;
  margin-right: 10px;
}

.price-current {
  font-size: 32px;
  font-weight: bold;
  color: #02912b;
}

.container-bottom-footer {
  background-color: #f5f5f5;
  padding: 40px;
  margin: auto;
  text-align: center;
}

.container-testimonials h2,
.container-bottom-footer h2 {
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: #1e5471;
}

.container-bottom-footer .text {
  line-height: 22px;
  max-width: 500px;
  text-align: left;
  margin: auto;
}

.container-bottom-footer .text ul li {
  margin-bottom: 20px;
}

.container-bottom-footer .text ul li:before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url(../images/question-icon.svg);
  background-repeat: no-repeat;
  display: block;
  margin-bottom: -20px;
  margin-left: -26px;
}

.container-bottom-footer .text ul li strong {
  display: block;
  margin-bottom: 6px;
}

.container-footer {
  padding: 40px;
  text-align: center;
}

.container-footer .copy {
  font-size: 12px;
}

.container-footer .copy a {
  color: grey;
}

.container-footer .copy img {
  margin-bottom: -4px;
}

.container-testimonials {
  padding: 40px;
  background-color: #0b7ebc;
  text-align: center;
}

.container-testimonials h2 {
  color: white;
}

.container-testimonials .grid {
  grid-template-columns: repeat(3, 1fr);
}

.container-testimonials .grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  padding: 20px;
}

.container-testimonials .grid li div,
.container-testimonials .grid li img {
  margin-bottom: 16px;
}

.container-testimonials .grid li {
  font-size: 14px;
  line-height: 18px;
}

@media (max-width: 780px) {
  .container-bottom .text {
    max-width: 380px;
  }

  .container-video .video {
    min-width: 300px;
  }

  .container-video {
    display: block;
  }

  .container-video .text {
    margin-top: 30px;
  }

  .container-testimonials .grid,
  .container-midle .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container-bio img {
    max-width: 120px;
    max-height: 120px;
  }

  #logo-curso {
    max-width: 300px;
  }

  #logo-wp {
    max-width: 200px;
  }
}
