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

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  font-size: 18px;
}

header{
    min-height: unset;
    height: 400px;
    background-image: url(imagens/pexels-therato-9897388.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center; /* centraliza horizontal */
    align-items: center;    /* centraliza vertical */
    color: aliceblue;
    flex-direction: column;
}

nav{
    background-color:#34495F;
    padding: 10px 0;
    text-align: center;
}
nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 10px;
    padding: 6px;
}

nav a{
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

nav a:hover{
    color: #a0c4ff;
}

main{
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    color:#f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

section {
  background-color: rgba(0, 0, 0, 0.4); 
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 60px;
  text-align: justify;
  gap: 40px;
  
}

section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: aliceblue;
}

ul {
  margin-left: 15px;
}

ul p {
  font-weight: bold;

}

section .texto{
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  
}

section .texto a {
  text-decoration: none;
}

section .texto a:hover{
  font-weight: bold;
}

form {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #f0f0f0;
    font-size: 20px;
    font-family: 'Segoe UI', sans-serif;
}

label {
  font-weight: bold;

}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  background-color: #665e5e;
  color: #fff;
}

input[type="submit"] {
  background-color: #4f46e5;
  color: white;
  border: none;
  width: 100px;
  margin: auto;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #3730a3;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px; /* pequeno espaço entre label e campo */
}


footer {
  background-color: #f8f8f8;
  color: #333;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.95rem;
  border-top: 2px solid #ddd;
}

footer a {
  color: #6c63ff;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #4b42d4;
}

footer .social {
  margin-top: 10px;
}

footer p {
  margin: 5px 0;
}


@media (max-width: 768px) {
  header {
    height: 250px;
    background-position: center;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }

  nav a {
    font-size: 16px;
  }

  main {
    padding: 10px;
  }

  section h2 {
    font-size: 22px;
  }

  form {
    padding: 20px;
  }
}



