html, body {
  color: #ffffff;
  background-color: #444343;
  font-family: "Poppins", sans-serif;
  width: 100%;
  height: 100%;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #FF6F5B;
}
a:hover {
  color: #4EE1A0;
}

header {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  padding: 25px;
  background-color: #252525;
}
header figure {
  margin: 0;
  padding-top: 11px;
}
header figcaption {
  display: none;
}
header .hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: none;
  z-index: 10;
}
header nav {
  display: flex;
  flex-direction: row;
  padding: 0;
  width: 70%;
  justify-content: flex-end;
}
header nav ul li a {
  text-decoration: none;
  color: #D9D9D9;
  position: relative;
}
header nav ul li a:hover::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  height: 3px;
  background: #FF6F5B;
}
header nav ul li a:hover {
  color: #FF6F5B;
}
header nav ul {
  display: flex;
  gap: 30px;
  padding-top: 12px;
  list-style: none;
}
@media (max-width: 1024px) {
  header nav {
    position: absolute;
    top: 80px;
    right: 0;
    width: 40%;
    background: #252525;
    justify-content: center;
  }
  header nav ul {
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1.5rem 0;
  }
  header nav ul.active {
    display: flex;
  }
}
@media (max-width: 1024px) {
  header .hamburger {
    display: block;
  }
}

section.hero-index {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 25px;
  margin-bottom: 2%;
  background-image: url("https://cdn.prod.website-files.com/63c2c7b1f3d9c51c32335fb0%2F6674586a2cb3b5a535ca555b_VIDEO%20WEB%20BLOCKS%20actualizado-poster-00001.jpg");
  background-repeat: no-repeat;
  background-position: top;
  background-size: 100%;
}
section.hero-index div {
  text-align: center;
}
section.hero-index div h1 {
  padding-top: 2%;
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  text-align: center;
}
section.hero-index div h1 span {
  font-size: 4.5rem;
  font-family: "Poppins", sans-serif;
  color: #151515;
  text-shadow: 0px 0px 30px #D9D9D9;
  padding-left: 15px;
  padding-right: 15px;
}
@media (max-width: 480px) {
  section.hero-index div h1 {
    font-size: 1.5rem;
  }
  section.hero-index div h1 span {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  section.hero-index div h1 {
    font-size: 3rem;
    padding-top: 0px;
  }
  section.hero-index div h1 span {
    font-size: 2.1rem;
  }
}
section.hero-index div p {
  text-align: center;
  padding-bottom: 10%;
  padding-top: 3%;
  font-size: 1.5rem;
}
@media (max-width: 480px) {
  section.hero-index div p {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  section.hero-index div p {
    font-size: 1rem;
  }
}

section {
  padding: 25px;
}
section h2 {
  font-size: 2.5rem;
  padding-bottom: 0.8rem;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
section p {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
section article {
  padding-top: 0.8rem;
}
section article h3 {
  font-size: 2rem;
}

section.quienes-somos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3%;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  section.quienes-somos {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  section.quienes-somos {
    grid-template-columns: 1fr;
    gap: 1%;
  }
}
section.quienes-somos article {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  border: 2px solid #151515;
  border-radius: 10px;
  background-color: #D9D9D9;
  margin-bottom: 10px;
}
section.quienes-somos article h3 {
  color: #151515;
  margin-bottom: 10px;
  width: 100%;
  padding: 5%;
}
section.quienes-somos article img {
  width: 90%;
  border-radius: 50%;
  margin-left: 5%;
  margin-right: 5%;
}
section.quienes-somos article figcaption {
  text-align: center;
  color: #151515;
  background-color: #444343;
  padding: 5px;
  font-size: 1.3rem;
  text-shadow: 0px 0px 20px #D9D9D9;
  margin-bottom: 15px;
}
section.quienes-somos article p {
  color: #151515;
  width: 100%;
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
  padding: 5px;
}

section.cursos {
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.cursos p {
  width: 100%;
  text-align: left;
}
section.cursos img {
  width: 100%;
}

section.nota span {
  font-weight: bold;
}
section.nota ol, section.nota ul {
  margin: 25px;
}
section.nota ol li, section.nota ul li {
  padding: 5px;
}
section.nota h3 {
  margin-bottom: 15px;
}

section.form {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  width: 100%;
}
section.form form {
  border: 2px solid #151515;
  border-radius: 10px;
  padding: 2%;
}
section.form h2 {
  text-decoration: none;
  padding: 25px;
}
section.form input,
section.form textarea {
  background: none;
  border: none;
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}
section.form input:required:invalid,
section.form textarea:required:invalid {
  border-bottom-color: #FF6F5B;
}
section.form input:valid,
section.form textarea:valid {
  border-bottom-color: #4EE1A0;
}
section.form button {
  font-family: "Poppins", sans-serif;
  width: 150px;
  height: 35px;
  padding: 4px;
  border-radius: 10px;
}
section.form button.submit {
  background-color: #4EE1A0;
}
section.form button.submit:hover {
  background-color: #D9D9D9;
  color: #4EE1A0;
}
section.form button.reset {
  background-color: #FF6F5B;
}
section.form button.reset:hover {
  background-color: #D9D9D9;
  color: #FF6F5B;
}
section.form div.botones {
  width: 100%;
  text-align: center;
}

footer {
  width: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  padding-bottom: 10px;
  background-color: #252525;
  position: relative;
  bottom: 0;
  margin-top: auto;
}
footer p {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  color: #151515;
  text-shadow: 0px 0px 30px #D9D9D9;
}
footer a {
  font-size: 1.2rem;
  text-shadow: none;
}