/* Estilo Geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-image: url(../img/icons/BG.jpg);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #ffffff;
}

/* Estilo do header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

header .slogan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

header .logo img {
  width: 120px; /* Diminuído para telas menores */
}

header nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin-left: auto;
}

header nav ul li {
  margin-left: 15px;
  font-size: 14px; /* Tamanho reduzido */
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

header nav ul li:hover {
  color: #0d0047;
}

header nav ul li a {
  color: inherit;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 20px;
  transition: background-color 0.4s ease;
}

header nav ul li a:hover {
  background-color: #f5f5f5;
}

/* Estilo dos botões */
.btn-link {
  background-color: #0d0047;
  font-size: 14px;
  font-weight: bold;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  display: inline-block;
  margin: 5px;
}

.btn-link:hover {
  background-color: #321c92;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

button a {
  color: white;
  text-decoration: none;
}

/* Estilo para o menu */
.menu-container {
  position: relative;
}

.menu-toggle {
  cursor: pointer;
  font-size: 24px;
  background: none;
  border: none;
  padding: 10px;
  color: #333;
}

.menu-toggle i {
  font-size: 30px;
  color: #333;
}

/* Inicialmente o menu estará oculto */
.nav-menu {
  display: none;
  flex-direction: column;
  background-color: #111111;
  padding: 10px;
  position: absolute;
  top: 50px;
  right: 0;
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilo para os links do menu */
.nav-menu a {
  font-size: 16px;
  color: white;
  padding: 10px;
  background-color: #0d0047;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-menu a:hover {
  background: linear-gradient(135deg, #3e0208, #580311);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* Responsividade para telas menores */
@media (max-width: 768px) {
  header {
    padding: 5px 10px; /* Diminui o padding do header */
  }

  header .logo img {
    width: 50px; /* Diminuído para telas menores */
  }

  header nav ul li {
    margin-left: 5px; /* Reduz o espaço entre os itens */
    font-size: 11px; /* Tamanho reduzido */
  }

  header nav ul li a {
    padding: 6px 10px; /* Diminui o padding dos links */
  }

  .btn-link {
    font-size: 10px; /* Diminui o tamanho dos botões */
    padding: 6px 10px; /* Diminui o padding dos botões */
  }

  .menu-toggle {
    font-size: 10px; /* Reduz o tamanho do ícone do menu */
  }

  .menu-toggle i {
    font-size: 14px; /* Reduz o tamanho do ícone do hamburguer */
  }

  .nav-menu a {
    font-size: 10px; /* Diminui o tamanho dos links do menu */
    padding: 6px; /* Diminui o padding dos links do menu */
  }
}


/* Formulário de Login */
.form-container {
  width: 100%;
  max-width: 400px;
  background: rgba(167, 167, 167, 0.95);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Sombra suavizada */
  backdrop-filter: blur(10px);
  position: relative;
  right: -480px; /* Movido para a direita */
}

.container form h1 {
  text-align: center;
  font-size: 28px;
  color: #0d0047;
  margin-bottom: 25px;
}

.container form p {
  text-align: center;
  margin: 10px 0;
  font-size: 18px;
  font-weight: 500;
  color: #242424;
}

.input-single {
  position: relative;
  margin-bottom: 20px;
}

.input-single label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #1f1e1e;
  transition: 0.3s;
  pointer-events: none;
  font-size: 14px;
}

.input-single input {
  width: 100%;
  padding: 14px;
  border: 2px solid #1f1f1f;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  background: transparent;
  transition: border 0.3s ease;
}

.input-single input:focus {
  border-color: #272727;
}

.input-single input:focus ~ label,
.input-single input:valid ~ label {
  top: 10px;
  font-size: 12px;
  color: #202020;
}

.input-single i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #202020;
  font-size: 20px;
  cursor: pointer;
}

[type="submit"] {
  width: 100%;
  padding: 14px;
  background-color: #0d0047;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  margin-top: 25px;
}

[type="submit"]:hover {
  background-color: #3f3d46;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-signup {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 12px;
  font-size: 16px;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.btn-signup a {
  color: #0d0047;
  font-weight: bold;
}

.btn-signup:hover {
  background-color: #f0f0f0;
}

.textocadastro {
  text-align: center;
  font-size: 16px;
  color: #0d0047;
  margin-top: 20px;
  font-weight: 500;
  letter-spacing: 0.5px; /* Pequeno espaçamento nas letras para melhorar legibilidade */
}

.textocadastro a {
  color: #0d0047;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.textocadastro a:hover {
  color: #580311;
  text-decoration: underline; /* Efeito hover para dar mais interação */
}



/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  padding: 15px;
  text-align: center;
  color: white;
  font-size: 14px;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  header .slogan {
    flex-direction: column;
  }

  header nav ul {
    flex-direction: column;
    text-align: center;
  }

  header nav ul li {
    margin: 10px 0;
  }

  .form-container {
    width: 90%;
    margin-left: 0;
    right: 0; /* Remover movimento à direita em telas menores */
  }

  footer {
    font-size: 12px;
  }
}
