main {
  max-width: 1000px;
  margin: 2rem auto;
  background-color: #f3e5f5;
  border: 4px double #8e24aa;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  color: #6a1b9a; 
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  text-shadow: 1px 1px 2px rgba(209, 196, 233, 0.6); 
}

h2, h3 {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: #8e24aa;
  border-bottom: 2px solid #ce93d8;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: 'Georgia', serif;
}

h4 {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  color: #8e24aa;
  font-family: 'Georgia', serif;
}

.intro-text {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border: 2px solid #ce93d8;
  border-radius: 10px;
  font-family: 'Georgia', serif;
}

button {
  background-color: #8e24aa;
  color: white;
  font-weight: bold;
  padding: 0.8rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #6a1b9a;
}

.form-message {
  font-size: 1rem;
  color: #6a1b9a;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 320px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  main {
    margin: 1rem;
    padding: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .intro-text {
    font-size: 1rem;
  }
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

nav ul li a {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none;
  color: #f3e5f5;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  background-color: #6a1b9a;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: #a57ed5;
}

@media (max-width: 480px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; 
    padding: 0;
    margin: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: inline-block;
    padding: 10px;
    font-size: 16px;
  }
}

body p {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 20px;
  text-align: left;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  font-size: 0.95rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(138, 43, 226, 0.1);
}

thead {
  background-color: #6a1b9a;
  color: white;
}

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

tbody tr:hover {
  background-color: #f3e5f5;
}

@media (max-width: 480px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    background: #fff;
    box-shadow: 0 0 5px rgba(138, 43, 226, 0.1);
    border-radius: 8px;
    margin-bottom: 1em;
    padding: 10px;
  }

  tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
  }

  tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #6a1b9a;
    flex: 1;
    margin-right: 1em;
    text-align: left;
  }

  tbody td:last-child {
    border-bottom: none;
  }
}


@media (max-width: 480px) {
  body {
    padding: 10px;
    font-size: 14px;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
  }

  main {
    flex-direction: column;
    gap: 20px;
  }

  section, aside {
    width: 100%;
  }

  form input, form textarea, form button {
    width: 100%;
    font-size: 14px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  h1, h2 {
    font-size: 20px;
  }
}
.sobre-mim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f3e5f5;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(138, 43, 226, 0.1);
  gap: 30px;
  flex-wrap: wrap;
}

.sobre-texto {
  flex: 1;
  font-size: 1rem;
  color: #000000;
  font-family: 'Georgia', serif;
  line-height: 1.6;
  max-width: 600px;
}

.sobre-texto h2 {
  font-size: 2rem;
  color: #6a1b9a;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
}

.sobre-foto img {
  width: 280px;
  border-radius: 20px;
  border: 4px solid #ce93d8;
  box-shadow: 0 4px 10px rgba(138, 43, 226, 0.1);
  object-fit: cover;
}
@media (max-width: 480px) {
  .sobre-foto {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .sobre-foto img {
    width: 90%;
    max-width: 300px;
    height: auto;
  }

  .sobre-texto {
    text-align: center;
  }
}

.icones-redes {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}

.redes-sociais {
  display: flex;
  gap: 15px;
  justify-content:center;
  align-items:center;
  margin-top: 10px;
}

.redes-sociais a {
  text-decoration: none;
  color: #8e24aa;
  font-weight: bold;
  font-size: 14px;
}

.icones-redes a {
  color: #6a1b9a;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.icones-redes a:hover {
  color: #ab47bc;
}

.icones-redes i {
  font-size: 20px;
}

.sobre p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}
.projetos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 2rem;
}

.card-projeto {
  background-color: #f9e9f5;
  border: 2px solid #cc88cc;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(170, 85, 170, 0.2);
  width: calc(50% - 30px);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card-projeto:hover {
  transform: scale(1.05);
}

.card-projeto h3 {
  font-family: 'Georgia', serif;
  color: #802080;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card-projeto p {
  font-size: 0.95rem;
  color: #5c305c;
  line-height: 1.4;
}

.card-projeto img {
  width: 70%;            
  height: 180px;         
  object-fit: cover;        
  border-radius: 10px;
  border: 2px solid #d7b4f3;
}


@media (max-width: 480px) {
  .projetos {
    flex-direction: column;
    align-items: center;
  }

  .card-projeto {
    width: 90%; 
  }

  .card-projeto img {
  width: 100%;              
  height: 180px;            
  object-fit: cover;       
  border-radius: 10px;
  border: 2px solid #d7b4f3;
}


  .card-projeto p {
    font-size: 0.9rem;
  }

  .card-projeto h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .card-projeto h3 {
    font-size: 1rem;
  }

  .card-projeto p {
    font-size: 0.9rem;
  }
}
