/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* ===== HEADER ===== */
.header {
  height: 100px;
  background: #4D4D5C;
  padding: 0 50px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  text-transform: uppercase;
  color: #6cc091;
  font-weight: normal;
  font-size: 50px;
}

.menu {
  display: flex;
  gap: 10px;
}

.menu__link {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 10px;
  transition: 0.4s;
}

.menu__link:hover {
  color: #6cc091;
}

.menu__toggle,
.menu__close {
  font-size: 30px;
  cursor: pointer;
  display: none;
  transition: 0.4s;
}

.menu__toggle {
  order: 1;
}

#check {
  display: none;
}

/* ===== BANNER ===== */
.banner {
  background-image: url("/img/banner.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  height: 52vh;
  padding: 0 50px;
}

.banner::before {
  content: '';
  background: rgba(77,77,92, 0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.banner__content {
  position: relative;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.banner__title {
  font-size: 50px;
  font-weight: 400;
  padding: 10px 0;
}

.banner__title span {
  font-weight: 600;
}

.banner img{
    height: 300px;
    width: 300px;
    border-radius: 100%;
    padding: 50px;
    position: absolute;
    top:60px;
    right: 10px;
}

.button--info {
  align-self: flex-start;
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #6cc091;
  padding: 20px 40px;
  transition: all 0.4s;
}

.button--info:hover {
  background: #6cc09070;
}

/*=======  BOTON PLATAFORMA =====*/

.centro_plataforma {
  
  display: flex;
  justify-content: center;
  align-items: center;
}
.plataforma {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 90%;             /* responsive */
  max-width: 350px;       /* no más de 350px */
  color: #fff;
  text-align: center;
  background: #5bb080;
  border-radius: 20px;
  transition: all 0.4s;
  border: 1px solid #4D4D5C;
  font-size: 1.1rem;
}
.plataforma:hover {
  background: #8ac2a2;
}

/* ===== SECTIONS ===== */
.section {
  padding: 50px 150px;
  display: flex;
  justify-content: space-between;
}

.section section--light {
  background: #c4bbb11f;
  display: flex;
  justify-content: space-between;
}

.div_redes{
  display: flex;    
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.section_redes {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.section_redes img{
  height: 40px;
  width: 40px;
  border-radius: 10px;
  margin: 0 30px;
}
.section__item {
  padding:  30px;
  padding-right: 40px; 
  text-align: justify; 
}
.section__img {
  height: 300px;
  width: 300px;
  border-radius: 50%;
}
.section__title {
  color: #4D4D5C;
  font-size: 20px;
  margin: 15px 0;
}
.section__text {
  color: #4D4D5C87;
  font-size: 18px;
}
.section__subtitle{
  text-align: center;
}
.button--more {
  display: inline-block;
  background: #6cc091;
  color: #4D4D5C;
  border: 1px solid #4D4D5C;
  padding: 10px 30px;
  border-radius: 30px;
  margin-top: 15px;
  text-decoration: none;
  transition: all 0.4s;
}
.button--more:hover {
  background: #6cc091;
  color: #4D4D5C;
}

/* ===== FORMULARIO ===== */
.form {
  
  justify-content: center;
  align-items: center;
  max-width: 80%;
  margin: 0 auto;
  padding: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.form__label {
  margin-bottom: 10px;
}

.form__input,
.form__textarea {
  background: #b1b1b687;
  border-radius: 5px;
  padding: 10px;
  border: none;
  color: #fff; 
}
.form__button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  height: 50px;
  width: 200px;
  background: #6cc091;
  border: 1px solid #4D4D5C;
  border-radius: 15px;
  padding: 10px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.form__message--error--activo{
  display: none;
}

.form__button:hover {
  background: #5bb080;
}

/* ==== Validación de formulario ==== */

/* Estilos generales para mensajes del formulario */
.form__message {
  display: none;
  color: red;
  font-size: 14px;
  padding: 5px 0;
}

.form__message--activo {
  display: block;
}

.message--success {
  display: none;
  color: green;
  font-size: 15px;
  margin-top: 10px;
}

.message--success-activo {
  display: block;
}


/* ====- CURSOS.HTML - ====*/

.cursos {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  height: 400px; /* Para ajustar según  se necesite */
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cursos-conteiners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
}
/* ===== FOOTER ===== */
.footer {
  background: #8ac2a2;
  color: #fff;
  text-align: center;
  padding: 10px 0;

/* ==== mediaquery===*/

}
 @media (max-width: 768px) {
  .cursos-conteiners {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cursos-conteiners {
    grid-template-columns: 1fr;
  }
}
