/* Importanto a fonte Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #000000;
  color: #eeeeee;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  color: #48bcff;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 500;
  font-size: 2rem;
}

p {
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}

a {
  color: #1e90ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  gap: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

/* MENU PRINCIPAL */
.banner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.199),
      rgba(49, 162, 255, 0.171),
      rgba(0, 0, 0, 0.199)
    ),
    url(../images/banner.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 40px 0;
  text-align: center;
  border-bottom: #1e8fff9a 1px solid;
}

.banner img {
  width: 240px;
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 30px #0080ff);
  margin-bottom: 20px;
}

.banner h1 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  background: -webkit-linear-gradient(#0080ff, #6ecaff, #188cff);
  background-clip: text;
  -webkit-background-clip: text;
}

.banner p {
  font-size: 1.25rem;
  margin: 16px 0 24px;
  max-width: 750px;
}

.banner button {
  background-color: transparent;
  color: #4ba5ff;
  border: 2px solid #4ba5ff;
  border-radius: 10px;
  box-shadow: inset 0 0 5px #4ba5ff;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 20px 40px;
  font-size: 1.2rem;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
  margin: 10px;
}
.banner button:hover {
  background-color: #4ba5ff;
  color: #ffffff;
}

.banner-content {
  margin-bottom: 20px;
}

/* CONTEÚDO - MÓDULOS */
#course-content {
  margin-top: 40px;
  margin: 80px auto;
  max-width: 1200px;
}

.modules-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 20px;
}

.modules-list .module {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.89), 0 0 10px rgb(0, 183, 255);
  transition: 0.2s ease-in-out;
}
.modules-list .module:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgb(48, 196, 255);
}
.modules-list .module span {
  color: #48bcff;
  font-weight: 600;
}

/* CONTEÚDO - TRANSFORMAR MUNDO */
#transform-world {
  background-image: url(../images/woman-code.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: #1e8fff9a 1px solid;
  border-top: #1e8fff9a 1px solid;
  text-align: center;
  margin-bottom: 60px;
  padding: 200px;
}

#transform-world p {
  font-size: 3.2rem;
  color: #ffffff;
  text-shadow: 0px 6px 0px rgba(255, 0, 76, 0.5);
  filter: drop-shadow(0px -6px 0px rgba(0, 238, 255, 0.5));
  margin: 10px auto;
  font-weight: 800;
}

/* CONTEÚDO - DESAFIO PROFISSIONAL */
#professional-challenges {
  margin-bottom: 60px;
  max-width: 1200px;
}

/* RODAPÉ */
footer {
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: #1e8fff9a 1px solid;
}

/* ===== MEDIA QUERIES ===== */

/* Telas menores que 768px (tablets e celulares em geral) */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .banner img {
    width: 180px;
  }

  .banner button {
    padding: 15px 30px;
    font-size: 0.9rem;
  }

  .modules-list {
    flex-direction: column;
    align-items: center;
  }

  .modules-list .module {
    width: 90%;
    max-width: 300px;
  }

  #transform-world {
    padding: 80px 20px;
  }

  #transform-world p {
    font-size: 2rem;
  }

  #professional-challenges {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }

  #professional-challenges img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  section {
    padding: 10px;
  }

  footer p {
    padding: 0 10px;
  }
}

/* Telas menores que 480px (smartphones pequenos) */
@media (max-width: 480px) {
  h1,
  h2 {
    font-size: 1.4rem;
  }

  .banner h1 {
    font-size: 1.6rem;
  }

  .banner img {
    width: 140px;
  }

  .banner button {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  #transform-world {
    padding: 60px 15px;
  }

  #transform-world p {
    font-size: 1.5rem;
  }

  .modules-list .module {
    padding: 15px;
  }

  footer p {
    font-size: 0.8rem;
  }
}
