@import url('reset.css');

body {
  background-color: black;
}

h2 {
  font-size: 2rem;
  color: #33A8DB;
  font-weight: bold;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

p {
  color: white;
}

section {
  margin: 100px auto;
}

.banner {
  background-image: linear-gradient(rgba(0, 0, 0, .6), rgba(49, 168, 221, .2), rgba(0, 0, 0, .6)), url('../images/banner.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 600px;
  padding-top: 60px;
  border-bottom: 1px solid #33A8DB80;
}

.banner .banner-content {
  color: white;
  width: 600px;
  margin: auto;
  text-align: center;
}

.banner h1 {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  color: transparent;
  background: -webkit-linear-gradient(#33A8DB, #1472B7);
  background-clip: text;
  -webkit-background-clip: text;
}

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

.banner .logo {
  background-color: rgba(0, 0, 0, .2);
  height: 260px;
  width: 260px;
  margin: auto;
  border-radius: 50%;
  padding: 16px;
  margin-bottom: 16px;
}

.banner .logo img {
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 375px) {
  .banner .logo {
    width: 160px;
    height: 160px;
  }
}

.banner .banner-content button {
  color: #31A8DD;
  font-size: 1rem;
  font-weight: bold;
  padding: 16px 32px;
  text-transform: uppercase;
  letter-spacing: 4px;
  background-color: transparent;
  border-image: linear-gradient(#3BA1CD, #1572B7);
  border-image-slice: 10;
  border-radius: 30px;
}

#course-content {
  width: 800px;
  text-align: center;
}

#course-content .modules-list {
  margin: 24px 0;
}

#course-content .modules-list .module {
  color: white;
  width: 530px;
  margin: 0 auto 24px;
  border: 1px solid #33A8DB;
  background-color: #252525;
  padding: 16px;
  border-radius: 100px;
  box-shadow: inset -5px 6px 8px rgba(0, 0, 0, .7);
}

#course-content .modules-list .module span {
  color: #33A8DB;
}

#transform-world {
  height: 560px;
  background-size: cover;
  background-image: url("../images/woman-code.png");
  background-attachment: fixed;
  border-top: 1px solid #33A8DB80;
  border-bottom: 1px solid #33A8DB80;
  padding: 200px;
}

#transform-world p {
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: lowercase;
  max-width: 250px;
  text-shadow: 3px 2px #33A8DB;
}

#professional-challenges {
  text-align: center;
  width: 800px;
}

#professional-challenges img {
  margin: 32px auto;
  max-width: 100%;
  height: auto;
  display: block;
}

footer {
  padding: 60px 0;
  text-align: center;
  background-image: linear-gradient(rgba(50, 168, 219, .0), rgba(50, 168, 219, .2));
  border-top: 1px solid #33A8DB80;
}

footer .dio-logo {
  width: 300px;
}

footer a {
  color: #33A8DB;
  font-weight: bold;
  text-decoration: none;
}

/* --- Estilo Responsivo --- */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .banner .banner-content {
    width: 90%;
    padding: 20px;
  }

  .banner .logo {
    width: 200px;
    height: 200px;
  }

  .banner .logo img {
    width: 100%;
    height: auto;
  }

  #course-content,
  #professional-challenges {
    width: 90%;
  }

  #course-content .modules-list .module {
    width: 100%;
    padding: 12px;
  }

  #transform-world {
    padding: 60px 20px;
    background-attachment: scroll;
  }

  #transform-world p {
    font-size: 1.5rem;
    text-align: center;
    max-width: 100%;
  }

  footer .dio-logo {
    width: 80%;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .banner .logo {
    height: 180px;
    width: 180px;
  }

  #transform-world {
    padding: 40px 10px;
  }
}

@media (max-width: 320px) {
  #course-content .modules-list .module {
    font-size: 12px;
    padding: 10px;
  }

  h1, h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.875rem;
  }
}


/* --- Estilo Moderno --- */
button:hover {
  background-color: #33A8DB;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.banner .banner-content button {
  transition: all 0.3s ease-in-out;
  border: 2px solid transparent;
}

.banner .banner-content button:hover {
  background: linear-gradient(#3BA1CD, #1572B7);
  border: none;
  color: white;
}

p,
h2,
h1,
span {
  font-family: 'Poppins', sans-serif;
}
