/* Reset do CSS */
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*Configurações gerais*/
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Titillium Web", sans-serif;
  background-color: #bbb4b4;
}

header {
  background-image: linear-gradient(175deg, #431847 25%, #871034 100%);
  color: rgb(255, 255, 255);
  padding: 30px;
  text-align: center;
  font-size: x-large;
}

main {
  background-color: #bbb4b4;
  flex: 1;
  padding: 48px 38px;
  width: 100%;
}

/*Seção sobre mim*/
about-section {
  display: block;
  background-color: #32334b;
  width: 90%;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 60px;
}

#Titulo-sobre-mim {
  font-size: 40px;
  color: white;
}

.Texto-sobre-mim {
  background-image: linear-gradient(175deg, #431847 20%, #871034 100%);
  text-align: left;
  font-size: 30px;
  color: white;
  padding: 30px;
  border-radius: 12px;
}

/* Seção de hobbies */
hobbies {
  display: block;
  background-color: #32334b;
  width: 90%;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 60px;
}

#Titulo-hobbies {
  font-size: 40px;
  color: white;
}

ul {
  list-style: none;
  background-image: linear-gradient(175deg, #431847 20%, #871034 100%);
  text-align: left;
  color: white;
  padding: 0;
  border-radius: 5px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap; /* Adicionado para quebrar a linha em telas grandes, se necessário */
}

li {
  padding: 12px;
  font-size: 16px;
  border-left: 4px solid #434ab1;
  min-width: 250px;
}

li:hover {
  background-color: #434ab15b;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Seção de contato */
contact {
  display: block;
  background-color: #32334b;
  width: 90%;
  margin: auto;
  padding: 30px;
  border-radius: 12px;
  margin-top: 20px;
}

contact h2 {
  margin-bottom: 8px;
  font-size: 30px;
  text-align: center;
  color: white;
  padding: 10px;
  border-radius: 12px;
}

contact p {
  text-align: center;
  color: white;
  background-image: linear-gradient(175deg, #431847 20%, #871034 100%);
  padding: 30px;
  font-size: 30px;
}

contact a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  border: 2px solid white;
  border-radius: 12px;
  display: inline-block;
  transition: all 0.3s ease;
}

contact a:hover {
  background-color: #2f39bd;
  text-align: center;
  color: white;
  transform: translateY(-2px);
}

footer {
  background-color: #32334b1e;
  color: white;
  text-align: center;
  padding: 3rem;
  width: 100%;
}

footer p {
  font-size: 2rem;
}

/* Media Queries para responsividade */
@media (max-width: 768px) {
  /* Hobbies */
  hobbies ul {
    flex-direction: column;
    align-items: stretch;
  }
  
  hobbies li {
    min-width: 0; /* Remove a largura mínima para se adaptar à tela */
    width: 100%;
    margin-bottom: 12px;
  }

  /* Contato */
  contact p {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  contact a {
    margin: 8px 0;
    width: 100%; /* Faz com que os links ocupem 100% da largura */
  }
}

@media (max-width: 480px) {
  /* Ajustes gerais para telas pequenas */
  header, main, about-section, hobbies, contact, footer {
    padding: 20px 10px;
  }
  
  about-section, hobbies, contact {
    width: 98%;
  }

  header h1 {
    font-size: 1.5rem;
  }
  
  #Titulo-sobre-mim, #Titulo-hobbies {
    font-size: 1.8rem;
  }
  
  .Texto-sobre-mim, contact p {
    font-size: 1rem;
    padding: 15px;
  }
  
  contact h2 {
    font-size: 1.5rem;
  }
  
  contact a {
    font-size: 0.8rem;
    padding: 0.5rem 0.5rem;
  }

  footer p {
    font-size: 1rem;
  }
}