
:root {

  /**
   * coloress
   */

  --green: #bed965;
  --black: #000;
  --grey: #919191;

  /**
   * tipografia
   */

  --ff-Syne: 'Syne', sans-serif;
  
  --headline-lg: 5rem;
  --headline-md: 3rem;
  --headline-sm: 2rem;
  --title-lg: 1.8rem;
  --title-md: 1.5rem;
  --title-sm: 1.4rem;
  
  --fw-500: 500;
  --fw-700: 700;



  --section-padding: 120px;



  --shadow-1: 0px 2px 20px hsla(209, 36%, 72%, 0.2);
  --shadow-2: 0 4px 16px hsla(0, 0%, 0%, 0.06);



  --radius-circle: 50%;
  --radius-12: 12px;
  --radius-6: 6px;
  --radius-4: 4px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

}


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

li { list-style: none; }

a,
img,
time,
input,
button,
ion-icon { display: block; }

a {
  color: inherit;
  text-decoration: none;
}

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
  outline: none;
}

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-size: 10px;
  font-family: var(--ff-Syne);
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  font-size: 1.6rem;
  color: var(--independece);
  line-height: 1.8;
  overflow: hidden;
}

body.loaded { overflow-y: visible; }

body.nav-active { overflow: hidden; }




.container { padding-inline: 16px; }

.headline-lg {
  font-size: var(--headline-lg);
  color: var(--white);
  font-weight: var(--fw-500);
  line-height: 1.2;
}

.headline-md {
  font-size: var(--headline-md);
  font-weight: var(--fw-700);
}

.headline-lg,
.headline-md { font-family: var(--ff-oswald); }

.headline-md,
.headline-sm { line-height: 1.3; }

.headline-md,
.headline-sm { color: var(--midnight-green); }

.headline-sm { font-size: var(--headline-sm); }

.title-lg { font-size: var(--title-lg); }

.title-md { font-size: var(--title-md); }

.title-sm { font-size: var(--title-sm); }

.social-list { display: flex; }

.section { padding-block: var(--section-padding); }

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.btn {
  background-color: var(--verdigris);
  color: var(--white);
  font-weight: var(--fw-700);
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
}

.btn::before {
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--eerie-black);
  border-radius: var(--radius-6);
  transition: var(--transition-2);
  z-index: -1;
}

.btn:is(:hover, :focus-visible)::before { transform: translateX(100%); }

.w-100 { width: 100%; }

.grid-list {
  display: grid;
  gap: 40px 28px;
}

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

[data-reveal] {
  opacity: 0;
  transition: var(--transition-2);
}

[data-reveal].revealed { opacity: 1; }

[data-reveal="bottom"] { transform: translateY(50px); }

[data-reveal="bottom"].revealed { transform: translateY(0); }

[data-reveal="left"] { transform: translateX(-50px); }

[data-reveal="right"] { transform: translateX(50px); }

[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }





/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--verdigris);
  display: grid;
  place-items: center;
  z-index: 6;
  transition: var(--transition-1);
}

.preloader.loaded {
  visibility: hidden;
  opacity: 0;
}

.preloader .circle {
  width: 50px;
  height: 50px;
  border: 4px solid var(--white);
  border-radius: var(--radius-circle);
  border-block-start-color: transparent;
  animation: rotate360 1s ease infinite;
}

@keyframes rotate360 {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: none; }

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 16px;
  z-index: 4;
  background-color: var(--green);
}

.header.active {
  position: fixed;
  background-color: var(--green);
  animation: headerActive 0.5s ease forwards;
}

@keyframes headerActive {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-open-btn {
  color: var(--white);
  font-size: 4rem;
}

.navbar,
.overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100vh;
}

.navbar {
  right: -300px;
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: var(--green);
  z-index: 3;
  transition: 0.25s var(--cubic-in);
  visibility: hidden;
}

.navbar.active {
  transform: translateX(-300px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  position: relative;
  padding-inline: 25px;
  padding-block: 55px 100px;
}

.nav-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--white);
  font-size: 2.8rem;
}

.navbar-list {
  margin-block-end: 30px;
  border-block-end: 1px solid var(--white_a10);
}

.navbar-item { border-block-start: 1px solid var(--white_a10); }

.navbar-item a {
  font-size: 15px;
}

.navbar-link {
  color: var(--white);
  text-transform: uppercase;
  padding: 10px 24px;
}

.social-list {
  justify-content: center;
  gap: 20px;
  color: var(--white);
  font-size: 1.8rem;
}

.overlay {
  right: -100%;
  background-color: var(--black);
  opacity: 0.3;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 2;
}

.overlay.active {
  transform: translateX(-100%);
  visibility: visible;
}
/*-----------------------------------*\
  #Cart
\*-----------------------------------*/
.overt-cart{
  position: fixed;
  display: none;
  background:#00000085;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
}
.cart{
  opacity: 0;
  width: 350px;
  height: 100%;
  background-color: #f0f0f0;
  position: fixed;
  right: -500px;
  top: 0;
  z-index: 100;
  transition: all 0.5s ease;
}
.oactive{
  display: block;
}
.cactive{
  opacity: 1;
  right: 0px;
}
.intercart{
  position: relative;
  width: 100%;
  height: 100%;
}
.head-cart{
  height: 72px;
  background:#bed965;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  font-size: 23px;
}
.list-cart{
height: 69vh;
overflow: auto;
}
.item-cart{
  height: 100px;
  padding: 10px 25px 10px 10px;
  border-bottom: 1px solid #dedede;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.maicart{
  width: 40%;
}
.img-cart{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.imagen-cart{
  max-width: 100%;
  object-fit: contain;
  max-height: 100%;
  width: auto;
  height: auto;
}
.elimin-cart{
  position: absolute;
  top: 0;
  right: 15px;
  color: #8b8b8b;
}
.info-cart{
  width: 70%;
  display: flex;
  flex-direction: column;
}
.description-cart{
  color: #0e0e0e;
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 15px;
  width: 185px;
  text-align: end;
  display: -webkit-box;
  -webkit-line-clamp: 2;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.price-cart{
  font-size: 2rem;
  color: #839c2e;
  text-align: end;
}

.total-cart{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  padding:20px;
  border-top: 1px solid #bed965;
}
.info-tot{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info-tot p{
  font-size: 1.8rem;
  font-weight: 600;
}
.info-tot span{
  font-size: 2rem;
}
.btn-cart{
  margin-top: 20px;
  background-color: #000;
  color: #fff;
  font-weight: 200;
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
  font-size: 1.5rem;
  text-align: center;
  justify-content: center;
  transition: all 0.5s ease;
}
.btn-cart:hover, .btn-cart:focus{
  background-color: #bed965;
  color: #000;
} 
.no-cart{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3b3b3;
}
.total-pas{
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-size: 2rem;
  font-weight: 600;
}
/*-----------------------------------*\
  #BODY
\*-----------------------------------*/

.banner-section {
  position: relative;
}

.banner-section-curso {
/*   position: relative; */
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.main-curso {
  position: relative;
}

.banner-section-curso .texto-banner-curso {
  background-color: var(--black);
  font-size: 31px;
  line-height: 30px;
  position: absolute;
  top: 180px;
  left: 40%;
  padding: 45px;
  color: #fff;
}

.desc-btn-container-relative {
  margin-top: 240px;
}

.img-container {
  position: static;
}

.descripcion-curso {
  text-align: justify;
  width: 90%;
}
.s21{
  margin-block: 20px;
  color: #777;
  font-size: 3rem;
}
.opciones {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  margin-bottom: 50px;
  height: 160px;
}

.opcion {
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.opcion:hover{
    background-color: #97ac52;
  color: white;
  height: 150px;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 4px 3px 12px 6px #00000045;
}

.opcion:hover .svg path {
  fill: white; /* Cambiar color del SVG */
}
.opcion input[type="radio"] {
  display: none; /* Ocultar el radio button real */
}

.opcion .costo {
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 0.3;
}

/* Cuando la opción está seleccionada */
.opcion.seleccionado {
  background-color: #97ac52;
  color: white;
  height: 150px;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 4px 3px 12px 6px #00000045;
}


.opcion.seleccionado .svg path {
  fill: white; /* Cambiar color del SVG */
}



/* Cambiar el color del SVG al estar seleccionado */
.opcion input[type="radio"]:checked + label .svg path {
  fill: #97ac52; /* Cambiar color del SVG cuando se selecciona */
}

.opcion input[type="radio"]:checked + label {
  background-color: #97ac52; /* Fondo verde cuando el radio está seleccionado */
}



.price1{
display: flex;
  justify-content: center;
  color: #a4b95f;
  font-size: 3rem;
  margin-top: 70px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.banner-section-curso .btn-banner-curso {
  background-color: var(--black);
  color: #fff;
  width: fit-content;
  padding: 10px 40px;
  margin-top: 10px;
  transition: all 500ms ease;
  margin-inline: auto;
  min-width: 250px;
}
.wbtn{
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000;
}
.wbtn:hover, .wbtn:focus{
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #bed965;
}
.btn-banner-curso:hover {
  background-color: var(--green);
  color: var(--black);
}

.banner-section-curso .texto-banner-curso span {
  color: var(--green);
}

.bolsa {
  width: 25px;
  height: 25px;
}

.logo > img{
  width: 200px;
}

.navbar-item > .navbar-link {
  padding: 0;
  background-image: linear-gradient(var(--black), var(--black)), linear-gradient(var(--green), var(--green));
  background-size: 0 2px, auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: all .2s ease;
}

.navbar-link:hover {
  background-size: 100% 2px, auto;
}

.active {
  background-size: 0 2px, auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: all .2s ease;
  background-size: 100% 2px, auto!important;
}

.img-banner {
  width: 500px;
  height: 500px;
  z-index: 1;
}

.texto-banner {
  background-color: var(--green);
  color: #fff;
  width: 800px;
  height: 160px;
  text-align: center;
  font-size: 35px;
  line-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 2;
  /* left: 400px;
  top: 225px; */
  left: 30%;
  top: 30%;
}

.texto-banner > p > span {
  color: var(--black);
}

.btn-banner {
  background-color: var(--black);
  color: #fff;
  width: fit-content;
  padding: 10px 40px;
  position: absolute;
  z-index: 3;
  /* left: 730px;
  top: 480px; */
  left: 56%;
  top: 65%;
  transition: all 500ms ease;
}

.btn-banner:hover {
  background-color: var(--green);
  color: var(--black);
}

.flecha-banner {
  width: 650px;
  position: absolute;
  z-index: -1;
  top: 300px;
  left: 290px;
}

.cursos-section {
  margin-top: 0px;
}

.cursos-section h2, p {
  text-align: center;
}

.cursos-section h2 {
  font-size: 35px;
}

.cursos-section p {
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
}

.cursos-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  margin-top: 90px;
}

.curso {
  position: relative;
}

.curso img {
  width: 100%;
  /* position: relative; */
  z-index: 1;
}

.curso h3 {
  width: 90%;
  height: fit-content;
  font-size: 33px;
  line-height: 40px;
  text-align: center;
  font-weight: 500;
  position: absolute;
  z-index: 2;
  top: -70%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.curso h3 > span {
  font-weight: bold;
}

.curso p {
  font-size: 21px;
  line-height: 33px;
  margin-top: 30px;
}

.ver-mas-curso, .adquirir-recurso {
  background-color: var(--black);
  color: #fff;
  width: fit-content;
  padding: 7px 90px;
  font-weight: 500;
  margin: 30px auto 0 auto;
  transition: all 500ms ease;
}

.ver-mas-curso:hover, .adquirir-recurso:hover {
  background-color: var(--green);
  color: #fff;
}

.recursos-section h2, p {
  text-align: center;
}

.recursos-section h2 {
  font-size: 35px;
}

.recursos-section p {
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
}

.recursos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
}

.img-recurso-container {
  height: 70%;
}

.img-recurso-container > img {
  width: 50%;
  margin: auto;
}

.recurso h3 {
  width: 100%;
  font-size: 20px;
  line-height: 25px;
  text-align: center;
}

.descarga {
  text-align: center;
  margin-top: 150px;
  font-weight: 600;
  font-size: 15px;
}

.instructores-section h2, p {
  text-align: center;
}

.instructores-section h2 {
  font-size: 35px;
}

.instructores-section p {
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
}

.instructores-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  margin-top: 60px;
}

.instructor {
  width: 100%;
}

.fondo-instructor {
  width: 100%;
  padding: 10px;
  padding-bottom: 0;
  background-color: var(--green);
}

.fondo-instructor > a > img {
  width: 100%;
  height: 100%;
}

.instructor > h3 {
  text-align: center;
  margin-top: 20px;
}

.instructor > h4 {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 14px;
  margin-top: 20px;
}

.instructor > p {
  text-align: justify;
  font-weight: 400;
  margin-top: 20px;
  font-size: 14px;
  line-height: 16px;
}

.contact-form-section {
  background-color: var(--black);
}

.contact-form-section h2 {
  text-align: center;
  color: #fff;
}

.contact-form-section h2 {
  font-size: 35px;
}

.contact-form-section h2 > span {
  color: var(--green);
}

.contact-form-section p {
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  color: #fff;
}

.forml {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  margin-top: 60px;
  font-family: var(--ff-Syne);
}

.forml label {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 20px;
}

.forml input:not(.submit-btn), textarea {
  background-color: var(--grey);
  margin-block: 15px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
}

textarea {
  display: block;
  width: 100%;
  height: 150px;
  resize: none;
  border: none;
  font-family: var(--ff-Syne);
  outline: none;
}

.forml input::placeholder {
  color: #d3d3d3;
}

.submit-btn {
  width: fit-content;
  padding: 5px 130px;
  background-color: var(--green);
  margin: 40px auto 40px auto;
  cursor: pointer;
  transition: all 500ms ease;
}

.submit-btn:hover {
  background-color: #fff;
}

.second-column-form p {
  width: 370px;
  margin: 20px auto;
  line-height: 15px;
}

.footer-curso {
  margin-top: -100px;
}

.footer-container {
  padding-block: 40px;
  display: flex;
  justify-content: space-between;
}

.footer-curso-container {
  padding-block: 40px;
  display: flex;
  justify-content: space-between;
}

.footer-curso-container > p, a {
  color: var(--green);
  font-weight: 500;
}

.footer-container > p, a {
  color: var(--green);
  font-weight: 500;
}

.powered-footer {
  color: #fff;
  display: flex;
  align-items: center;
  color: var(--green);
  font-family: var(--ff-Syne);
  font-size: 15px;
}

.powered-footer > img {
  width: 50px;
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  color: var(--white);
  background-color: black;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-block-end: 60px;
}

.footer-brand {
  background-color: var(--ming);
  padding: 32px;
  border-radius: var(--radius-6);
}

.footer .logo { margin-block-end: 20px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-block-start: 12px;
}

.contact-item .item-icon { font-size: 4rem; }

.contact-link {
  display: inline;
  transition: var(--transition-1);
}

.contact-link:is(:hover, :focus-visible) { color: var(--verdigris); }

.footer-list-title {
  color: var(--white);
  font-weight: var(--fw-700);
  margin-block-end: 20px;
}

.footer .text { opacity: 0.7; }

.footer .address {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
}

.footer .address ion-icon {
  font-size: 4rem;
  flex-shrink: 0;
}

.footer-link {
  margin-block-start: 8px;
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus-visible) { color: var(--verdigris); }

.footer-form .input-field {
  color: var(--white);
  border: 1px solid var(--white_a20);
  border-radius: var(--radius-4);
  padding: 8px 20px;
}

.footer-form .input-field::placeholder { color: inherit; }

.footer-form .btn {
  width: 100%;
  justify-content: center;
  margin-block: 12px 28px;
}

.footer-bottom {
  padding-block: 32px;
  border-block-start: 1px solid var(--white_a20);
}

.footer-bottom .social-list {
  justify-content: flex-start;
  gap: 8px;
  margin-block-start: 16px;
}

.footer-bottom .social-link {
  font-size: 1.4rem;
  padding: 12px;
  background-color: var(--white_a10);
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
}

.footer-bottom .social-link:is(:hover, :focus-visible) { background-color: var(--verdigris); }





/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--verdigris);
  color: var(--white);
  padding: 16px;
  font-size: 2rem;
  border-radius: var(--radius-circle);
  transition: var(--transition-1);
  opacity: 0;
  z-index: 3;
}

.back-top-btn:is(:hover, :focus-visible) { background-color: var(--eerie-black); }

.back-top-btn.active {
  transform: translateY(-10px);
  opacity: 1;
}





/*-----------------------------------*\
  #MEDIA 
\*-----------------------------------*/
@media (min-width: 300px) and (max-width: 399px) {
  :root {
    --headline-lg: 8rem;
    --headline-md: 4.8rem;

  }
  .container {
    max-width: 350px;
    width: 100%;
    margin-inline: auto;
  }

  .header .btn { display: block; }

  .nav-open-btn { margin-inline-start: auto; }

  .header .container { gap: 40px; }

  .logo-navbar {
    width: 150px;
  }

  .img-banner {
    width: 300px;
    height: 300px;
    left: 50%;
    margin-left: 10px;
  }

  .texto-banner {
    font-size: 15px;
    line-height: 16px;
    /* width: 400px; */
    width: 340px;
    height: 100px;
    padding-bottom: 20px;
    top: 72%;
    left: 50%;
    margin-left: -170px;
  }

  .btn-banner {
    width: 250px;
    top: 86%;
    left: 50%;
    margin-left: -125px;
    font-size: 11px;
  }

  .flecha-banner {
    width: 300px;
    top: 70%;
    left: 50%;
    margin-left: -150px;
  }

  .cursos-section {
    margin-top: 0px;
  }

  .cursos-section h2, .recursos-section h2, .instructores-section h2, .contact-form-section h2 {
    font-size: 24px;
    line-height: 24px;
  }

  .cursos-section p, .recursos-section p, .instructores-section p, .contact-form-section p {
    font-size: 12px;
    line-height: 12px;
  }

  .cursos-container {
    display: block;
  }

  .cursos-container:last-child {
    margin-bottom: 0;
  }

  .curso {
    margin-bottom: 50px;
  }

  .curso > h3 {
    font-size: 24px;
    line-height: 24px;
  }

  .curso > p {
    font-size: 15px;
    line-height: 15px;
  }

  .ver-mas-curso {
    font-size: 15px;
    width: 80%;
    text-align: center;
  }

  .recursos-section {
    margin-top: -150px;
  }

  .recursos-container {
    display: block;
  }

  .recurso {
    margin-bottom: 50px;
  }

  .recurso:last-child {
    margin-bottom: 0;
  }

  .recurso > a {
    text-align: center;
    width: 80%;
  }

  .descarga {
    font-size: 11px;
    width: fit-content;
    text-align: center;
    margin-inline: auto;
    margin-top: 60px;
  }

  .instructores-section {
    margin-top: -150px;
  }

  .instructores-container {
    display: block;
  }

  .instructor {
    margin-bottom: 60px;
  }

  .instructor > p {
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
  }

  .instructor:last-child {
    margin-bottom: 0;
  }

  .forml {
    display: block;
  }

  .contact-form-section > div > h2 {
    font-size: 20px;
    line-height: 20px;
  }

  .second-column-form > p {
    font-size: 15px;
  }

  .footer-container {
    border-top: solid var(--green) 1px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
  }

  .powered-footer {
    margin-inline: auto;
    font-size: 13px;
  }

  .powered-footer > img {
    width: 40px;
  }

  .second-column-form > p {
    width: 100%;
    font-size: 11px;
  }

  .banner-section-curso {
    display: block;
  }

  .banner-section-curso .texto-banner-curso {
    background-color: var(--black);
    width: 95%;
    font-size: 13px;
    line-height: 12px;
    position: absolute;
    top: 155px;
    left: 50%;
    padding: 15px 5px;
    margin-left: -47.5%;
    color: #fff;
  }

  .desc-btn-container-relative {
    margin-top: 20px;
  }

  .descripcion-curso {
    text-align: justify;
    width: 100%;
    line-height: 18px;
  }

  .footer-curso-container {
    line-height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / 3; }

  .contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom .social-list { margin-block-start: 0; }

}


/* @media (min-width: 768px) */
@media (min-width: 400px) and (max-width: 767px) {
  :root {
    --headline-lg: 8rem;
    --headline-md: 4.8rem;

  }
  .container {
    max-width: 400px;
    width: 100%;
    margin-inline: auto;
  }

  .header .btn { display: block; }

  .nav-open-btn { margin-inline-start: auto; }

  .header .container { gap: 40px; }

  .logo-navbar {
    width: 150px;
  }

  .img-banner {
    width: 320px;
    height: 320px;
    left: 50%;
    margin-left: 25px;
  }

  .texto-banner {
    font-size: 17px;
    line-height: 18px;
    /* width: 400px; */
    width: 390px;
    height: 100px;
    padding-bottom: 20px;
    top: 73%;
    left: 50%;
    margin-left: -195px;
  }

  .btn-banner {
    width: 250px;
    top: 86.8%;
    left: 50%;
    margin-left: -125px;
    font-size: 11px;
  }
  /* Estilo base */
body {
  font-family: Arial, sans-serif;
}

  .flecha-banner {
    width: 300px;
    top: 75%;
    left: 50%;
    margin-left: -150px;
  }

  .cursos-section {
    margin-top: 0px;
  }

  .cursos-section h2, .recursos-section h2, .instructores-section h2, .contact-form-section h2 {
    font-size: 24px;
    line-height: 24px;
  }

  .cursos-section p, .recursos-section p, .instructores-section p, .contact-form-section p {
    font-size: 11px;
    line-height: 11px;
  }

  .cursos-container {
    display: block;
  }

  .cursos-container:last-child {
    margin-bottom: 0;
  }

  .curso {
    margin-bottom: 50px;
  }

  .curso > h3 {
    font-size: 25px;
    line-height: 25px;
  }

  .curso > p {
    font-size: 15px;
    line-height: 15px;
  }

  .ver-mas-curso {
    font-size: 15px;
    width: 70%;
    text-align: center;
  }

  .recursos-section {
    margin-top: -150px;
  }

  .recursos-container {
    display: block;
  }

  .recurso {
    margin-bottom: 50px;
  }

  .recurso:last-child {
    margin-bottom: 0;
  }

  .recurso > a {
    text-align: center;
    width: 70%;
  }

  .descarga {
    font-size: 11px;
    text-align: center;
    margin-inline: auto;
    margin: 60px;
  }

  .instructores-section {
    margin-top: -150px;
  }

  .instructores-container {
    display: block;
  }

  .instructor {
    margin-bottom: 60px;
  }

  .instructor > p {
    font-size: 13px;
    line-height: 13px;
  }

  .instructor:last-child {
    margin-bottom: 0;
  }

  .forml {
    display: block;
  }

  .second-column-form > p {
    font-size: 14px;
  }

  .footer-container {
    border-top: solid var(--green) 1px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
  }

  .powered-footer {
    margin-inline: auto;
    font-size: 13px;
  }

  .powered-footer > img {
    width: 40px;
  }

  .banner-section-curso {
    display: block;
  }

  .banner-section-curso .texto-banner-curso {
    background-color: var(--black);
    width: 95%;
    font-size: 13px;
    line-height: 12px;
    position: absolute;
    top: 155px;
    left: 50%;
    padding: 15px 5px;
    margin-left: -47.5%;
    color: #fff;
  }

  .desc-btn-container-relative {
    margin-top: 20px;
  }

  .descripcion-curso {
    text-align: justify;
    width: 100%;
    line-height: 18px;
  }

  .footer-curso-container {
    line-height: 17px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }



  /**
   * FOOTER
   */

  .footer-top { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / 3; }

  .contact-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom .social-list { margin-block-start: 0; }

}



/* @media (min-width: 810px) */
@media (min-width: 768px) and (max-width: 1200px) {


  .container { max-width: 750px; margin: 0 auto;}

  .cursos-section h2, .recursos-section h2, .instructores-section h2, .contact-form-section h2 {
    font-size: 25px;
  }

  .recursos-section, .instructores-section {
    margin-top: -100px;
  }

  .contact-form-section p {
    font-size: 12px;
  }

  .img-banner {
    left: 50%;
    margin-left: 115px;
  }

  .texto-banner {
    font-size: 30px;
    width: 700px;
    height: 200px;
    padding-bottom: 30px;
    top: 78%;
    left: 50%;
    margin-left: -350px;
  }

  .btn-banner {
    padding-inline: 50px;
    top: 101%;
    left: 50%;
    margin-left: -160px;
    font-size: 15px;
  }

  .flecha-banner {
    width: 400px;
    top: 90%;
    left: 27%;
  }

  .cursos-section {
    margin-top: 150px;
  }

  .cursos-container {
    gap: 20px;
    grid-row-gap: 60px;
  }

  .curso h3 {
    font-size: 25px;
    line-height: 25px;
    top: -75%;
  }

  .curso p {
    font-size: 14px;
    width: 100%;
    line-height: 17px;
  }

  .ver-mas-curso, .adquirir-recurso {
    font-size: 15px;
    padding: 5px 70px;
  }

  .recurso h3 {
    width: 100%;
    font-size: 17px;
    line-height: 19px;
    text-align: center;
  }

  .instructores-container {
    gap: 30px;
  }

  .instructor > h4 {
   height: 50px;
  }

  .forml {
    gap: 30px;
  }

  .footer-container {
    justify-content: space-between;
    border-top: solid var(--green) 1px;
  }

  .footer-container > p, a {
    font-size: 10px;
  }

  .logo-navbar {
    width: 200px;
  }

  .banner-section-curso {
    display: block;
  }

  .banner-section-curso .texto-banner-curso {
    background-color: var(--black);
    width: 95%;
    font-size: 30px;
    line-height: 29px;
    position: absolute;
    top: 175px;
    left: 50%;
    padding: 15px 5px;
    margin-left: -47.5%;
    color: #fff;
  }

  .desc-btn-container-relative {
    margin-top: 20px;
  }

  .descripcion-curso {
    text-align: justify;
    width: 100%;
    line-height: 18px;
  }

  .btn-banner-curso {
    font-size: 17px;
    padding-inline: 100px;
  }

  .footer-curso-container {
    line-height: 17px;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }

  .footer-curso-container > a {
    font-size: 15px;
  }


} 


/* @media (min-width: 1200px) */
@media (min-width: 1200px) {

  .container { max-width: 1200px; margin: 0 auto; }

  .logo-navbar {
    display: none;
  }



  /**
   * HEADER
   */

  .header { padding-block: 10px; }

  .nav-open-btn,
  .overlay,
  .navbar-top,
  .navbar .social-list { display: none; }

  .navbar,
  .navbar.active,
  .navbar-list {
    all: unset;
    display: block;
  }

  .navbar { 
    margin-inline-start: auto; 
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .navbar-list {
    display: flex;
    align-items: center;
    gap: 45px;
  }

  .navbar-item { border-block-start: none; }

  .navbar-link {
    --title-md: 1.8rem;
    font-weight: var(--fw-500);
    padding-inline: 16px;
    text-transform: capitalize;
  }

  /* .navbar-item-bolsa {
    position: absolute;
    top: 0;
    left: 1100px;
  }

  .bolsa {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
  }

  .logo > img{
    width: 200px;
  }

  .navbar-item > .navbar-link {
    padding: 0;
    background-image: linear-gradient(var(--black), var(--black)), linear-gradient(var(--green), var(--green));
    background-size: 0 2px, auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: all .2s ease;
  }

  .navbar-link:hover {
    background-size: 100% 2px, auto;
  }

  .active {
    background-size: 0 2px, auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: all .2s ease;
    background-size: 100% 2px, auto!important;
  }

  .img-banner {
    position: absolute;
    width: 500px;
    height: 500px;
    z-index: 1;
  }

  .texto-banner {
    background-color: var(--green);
    color: #fff;
    width: 800px;
    height: 160px;
    text-align: center;
    font-size: 35px;
    line-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 2;
    left: 30%;
    top: 35%;
  }

  .texto-banner > p > span {
    color: var(--black);
  }

  .btn-banner {
    background-color: var(--black);
    color: #fff;
    width: fit-content;
    padding: 10px 40px;
    position: absolute;
    z-index: 3;
    left: 57%;
    top: 73%;
    transition: all 500ms ease;
  }

  .btn-banner:hover {
    background-color: var(--green);
    color: var(--black);
  }

  .flecha-banner {
    width: 650px;
    position: absolute;
    top: 300px;
    left: 290px;
  }

  .cursos-section {
    margin-top: 500px;
  }

  .cursos-section h2, p {
    text-align: center;
  }

  .cursos-section h2 {
    font-size: 35px;
  }

  .cursos-section p {
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
  }

  .cursos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    margin-top: 90px;
  }

  .curso {
    position: relative;
  }

  .curso img {
    width: 100%;
    z-index: 1;
  }

  .curso h3 {
    width: 90%;
    height: fit-content;
    font-size: 33px;
    line-height: 40px;
    text-align: center;
    font-weight: 500;
    position: absolute;
    z-index: 2;
    top: -70%;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }

  .curso h3 > span {
    font-weight: bold;
  }

  .curso p {
    font-size: 21px;
    line-height: 33px;
    margin-top: 30px;
  }

  .ver-mas-curso, .adquirir-recurso {
    background-color: var(--black);
    color: #fff;
    width: fit-content;
    padding: 7px 90px;
    font-weight: 500;
    margin: 30px auto 0 auto;
    transition: all 500ms ease;
  }

  .ver-mas-curso:hover, .adquirir-recurso:hover {
    background-color: var(--green);
    color: #fff;
  }

  .recursos-section h2, p {
    text-align: center;
  }

  .recursos-section h2 {
    font-size: 35px;
  }

  .recursos-section p {
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
  }

  .recursos-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
  }

  .img-recurso-container {
    height: 70%;
  }

  .img-recurso-container > img {
    width: 50%;
    margin: auto;
  }

  .recurso h3 {
    width: 100%;
    font-size: 20px;
    line-height: 25px;
    text-align: center;
  }

  .descarga {
    text-align: center;
    margin-top: 150px;
    font-weight: 600;
    font-size: 15px;
  }

  .instructores-section h2, p {
    text-align: center;
  }

  .instructores-section h2 {
    font-size: 35px;
  }

  .instructores-section p {
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
  }

  .instructores-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 60px;
  }

  .instructor {
    width: 100%;
  }

  .fondo-instructor {
    width: 100%;
    padding: 10px;
    padding-bottom: 0;
    background-color: var(--green);
  }

  .fondo-instructor > img {
    width: 100%;
    height: 100%;
  }

  .instructor > h3 {
    text-align: center;
    margin-top: 20px;
  }

  .instructor > h4 {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    margin-top: 20px;
  }

  .instructor > p {
    text-align: justify;
    font-weight: 400;
    margin-top: 20px;
    font-size: 14px;
    line-height: 16px;
  }

  .contact-form-section {
    background-color: var(--black);
  }

  .contact-form-section h2 {
    text-align: center;
    color: #fff;
  }

  .contact-form-section h2 {
    font-size: 35px;
  }

  .contact-form-section h2 > span {
    color: var(--green);
  }

  .contact-form-section p {
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    color: #fff;
  }

  form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    margin-top: 60px;
    font-family: var(--ff-Syne);
  }

  form label {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 0 20px;
  }

  form input:not(.submit-btn), textarea {
    background-color: var(--grey);
    margin-block: 15px;
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
  }

  textarea {
    display: block;
    width: 100%;
    height: 150px;
    resize: none;
    border: none;
    font-family: var(--ff-Syne);
  }

  form input::placeholder {
    color: #d3d3d3;
  }

  .submit-btn {
    width: fit-content;
    padding: 5px 130px;
    background-color: var(--green);
    margin: 40px auto 40px auto;
    cursor: pointer;
    transition: all 500ms ease;
  }

  .submit-btn:hover {
    background-color: #fff;
  }

  .second-column-form p {
    width: 370px;
    margin: 20px auto;
    line-height: 15px;
  }

  .footer-container {
    padding-block: 40px;
    display: flex;
    justify-content: space-between;
  }

  .footer-container > p, a {
    color: var(--green);
    font-weight: 500;
  }

  .powered-footer {
    color: #fff;
    display: flex;
    align-items: center;
    color: var(--green);
    font-family: var(--ff-Syne);
    font-size: 15px;
  }

  .powered-footer > img {
    width: 50px;
  } */

  /**
   * FOOTER
   */

  .footer { 
    background-size: auto; 
    background-color: black;
  }

  .footer-container {
    border-top: solid var(--green) 1px;
  }

  .footer-top { grid-template-columns: repeat(4, 1fr); }

  .footer-brand {
    grid-column: 1 / 5;
    padding: 28px 56px;
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    align-items: center;
  }

  .footer .logo { margin-block-end: 0; }

  .contact-list { justify-content: space-between; }

  .contact-list::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--white_a20);
  }

  .contact-item { margin-block-start: 0; }

}