@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

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

body {
  font-family: "Poppins", sans-serif;
  background-color: #222;
  color: #fff;
  padding-top: 80px;
}


html {
  height:100%;
}

body {
  margin:0;
}

.bg {
  animation:slide 3s ease-in-out infinite alternate;
  background-image: linear-gradient(-60deg, #33d98c 50%, #09f 50%);
  bottom:0;
  left:-50%;
  opacity:.5;
  position:fixed;
  right:-50%;
  top:0;
  z-index:-1;
}

.bg2 {
  animation-direction:alternate-reverse;
  animation-duration:4s;
}

.bg3 {
  animation-duration:5s;
}



@keyframes slide {
  0% {
    transform:translateX(-25%);
  }
  100% {
    transform:translateX(25%);
  }
}




/* Header */
header {
    background: linear-gradient(135deg, rgb(47, 48, 48) 40%, #4af0a2);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #FFF;
    font-size: 1.5rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    text-decoration: none;
    color: #FFF;
    
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #FFF;
    cursor: pointer;
}

/* Container principal */
.container {
  display: flex;
  max-width: 800px;
  margin: 50px auto;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo-section {
  flex: 1;
  
  background-image: url('img/capa-cadastro2.png');

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
}

.logo-section h2 {
  color: #fff;
  font-size: 1.8rem;
}

/* Formulário */
.form-section {
  flex: 2;
  background: linear-gradient(135deg, rgb(47, 48, 48) 40%, #4af0a2);
  padding: 40px 30px;
}

.form-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  color: #fff;
  font-weight: 500;
}

form input {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

form input:focus {
  outline: 2px solid #33d9b2;
}

form button {
  background-color: #33d9b2;
  border: none;
  color: white;
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #2098e7;
}

/* Footer */
footer {
  background-color: #212B35;
  color: #A3ADB7;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #04f7ba;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #04f7ba;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-section p {
  color: #8394a1;
}

.footer-section button {
  background: none;
  border: 1px solid #04f7ba;
  color: #04f7ba;
  padding: 8px 16px;
  cursor: pointer;
}

.footer-section button:hover {
  background-color: #04f7ba;
  color: #212B35;
}

.footer-bottom {
  text-align: center;
  width: 100%;
}

.footer-bottom a {
  color: #04f7ba;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}


@media (min-width: 768px) {
  .menu {
    display: flex !important;
    position: static;
    height: auto;
    visibility: visible;
    background: none;
  }

  .menu li a {
    font-size: 1rem;
    color: #fff;
    border-bottom: none;
  }

  .hamburger {
    display: none;
  }

  header nav {
    margin-left: auto;
  }
}



/* Responsividade */
@media (max-width: 767px) {

    .hamburger {
        display: block; /* Exibe o botão no layout mobile */
        font-size: 2rem; /* Aumenta o tamanho do ícone */
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1100; /* Garante que esteja acima do menu */
    }



    .menu {
       display:block;
    
       position: absolute;
       width: 100%;
       top: 70px;
       right: 0px;
       background-color: #191919;
       height: 0px;
       z-index: 1000;
       transition: .6s;
       visibility: hidden;
       overflow-y: hidden;

    }

    .menu.active {
        
        height: calc(100vh - 70px);
        visibility: visible;
        /*overflow-y: auto;*/
    }

    .menu li {
        margin: 15px 0; /* Espaçamento entre os itens */
        text-align: center;
    }

    .menu li a {
        font-size: 1.5rem; /* Aumenta o tamanho da fonte dos links */
        font-weight: bold; /* Torna o texto mais destacado */
        color: #ffffff; /* Cor do texto */
        text-decoration: none; /* Remove o sublinhado */
        padding: 1rem 0;
        margin: 0 1rem ;
        border-bottom: 2px solid rgba(214, 207, 207, 0.4);

    }  

    .menu li a:hover {
        color: rgb(238, 238, 8); /* Altera a cor ao passar o mouse */
    }

    .container {
    flex-direction: column;
    margin: 20px;
  }

  .logo-section,
  .form-section {
    width: 100%;
    padding: 20px;
  }

  .logo-section {

  
  background-image: url('img/banner-mobile1.png');
}


}