/* Reset e configurações gerais */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #ff004c #00208a;
}

ul {
    list-style-type: none;
}

/* Estilização da scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #173494;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(#173494, #ff004c);
  border-radius: 10px;
  border: 2px solid #022596;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#ff004c, #173494);
}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4)), url("../imagens/wallpaper/fundo-miraculous-ladubug-catnoir.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Header */
header {
  background: linear-gradient(90deg, #000000, #173494, #000000);
  color: #ffffff;
  padding: 20px 30px;
  box-shadow: 0 5px 15px rgba(23, 52, 148, 0.3);
  border-bottom: 2px solid #ff004c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

header h1 {
  font-size: 28px;
}

/* Nav */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #ff004c;
  text-shadow: 0 0 5px #ff004c, 0 0 10px #ff004c;
}

nav ul li a.ativado {
  color: #ff004c;
  border-bottom: 2px solid #ff004c;
  padding-bottom: 2px;
}

/* main */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 127px);
  padding: 20px;
  text-align: center;
}

main.inicio {
  flex-direction: column;
}

main.inicio h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

main.inicio p {
  max-width: 800px;
  font-size: 20px;
  line-height: 1.8;
  background-color: rgba(0, 0, 0, 0.65);
  padding: 30px 25px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* Footer */
footer {
  background: linear-gradient(90deg, #000000, #173494, #000000);
  color: #ffffff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -5px 15px rgba(23, 52, 148, 0.3);
  border-top: 2px solid rgba(211, 5, 33, 0.918);
}

footer p {
  margin: 0;
}

footer .github-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer .github-link:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #ff004c, 0 0 10px #ff004c;
}

/* Responsividade */
@media (max-width: 768px) {
   header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 15px 20px;
  }

  header h1 {
    font-size: 22px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  nav ul li a {
    font-size: 15px;
  }

  main.inicio h2 {
    font-size: 32px;
  }

  main.inicio p {
    font-size: 16px;
    padding: 20px;
    max-width: 95%;
  }

  footer {
    font-size: 14px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 20px;
  }

  main {
    padding: 10px;
  }

  main.inicio h2 {
    font-size: 24px;
  }

  main.inicio p {
    font-size: 14px;
    padding: 15px;
    line-height: 1.6;
    width: 100%;
  }

  footer {
    font-size: 12px;
    padding: 8px;
  }
}
