body{
  -ms-overflow-style: none; 
  
  background:linear-gradient(180deg, #F2DEF6, #EBFEFF);
  display: flex;
  flex-direction: column; 
  min-height: 100vh;
  margin: 0; 
}
body::-webkit-scrollbar {
  width: 0px;
  background: transparent; 
}
header {
  display: flex;               
  justify-content: space-between; 
  align-items: center;         
  padding: 10px 0px;           
  color: black;              
  font-family: 'Madimi One', cursive;
  
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(360deg, #F2DEF6, #EBFEFF);
  
} 
hr.linha {
  border: none;
  height: 0.5px;
  opacity: 0.5;
  border-top: 1px solid #c1c0c0;
  margin: 20px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px; 
}
.logo-img{
  width: 40px;
  height: 50px;
  border-radius: 47%;
  object-fit: cover;  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 0 8px; 
}
.logo span {
  font-weight: normal; 
  font-size: 20px;
  opacity: 0.5; 
}
.logo a{
  text-decoration: none;
  color: black;
}
.logo strong {
  font-size: 20px;
  font-weight: 550; 
  color: black; 
}
.logo strong:hover {
  text-decoration: underline;
  text-decoration-color: #666363; 
  text-decoration-thickness: 0.8px; 
  
  
}
nav li a {
  color: #332F2F;            
  text-decoration: none;   
  margin-left:0; 
  font-family: "Manjari", sans-serif;      
  font-weight: 400;
  font-size: 18px;
  padding: 0 8px; 
}
nav ul{
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;          
}
nav a:hover {
  text-decoration: underline; 
}
main{
    display: flex;
    flex-direction: column; 
    gap: 40px;
}
.secao{
    
    flex:1;
    margin-left: 60px;
    margin-right: 60px;
    margin-top: 70px;
}
.secao-conteudo{
    display: grid;
    /* Define duas colunas:
       1. Uma coluna de 250px para o h2
       2. Um espaço de 40px como 'gap'
       3. Uma coluna para o conteúdo das experiências (1fr ocupa o restante do espaço) */
    grid-template-columns: 250px 1fr;
    column-gap: 190px; 
    align-items: start; 
   
}
.secao h2 {
    font-size: 28px;
    color: #000000;
    text-align: left;
    font-family: 'Madimi One', cursive;
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    
    grid-column: 1; 
    grid-row: 1; 
}
.projetos{
    flex: 1; 
    max-width: 600px;
  flex-grow: 1; 
  font-family: 'Manjari', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  grid-column: 2;
  margin-bottom: 20px;
}
.projeto-img{
    width: 350px; 
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}
.secao-conteudo a {
  text-decoration: none;
  color: inherit;
}
#equilibra{
    width: 150px;
    height: auto;
}
#Dijkstra{
    width: 300px;
    height: auto;
}
strong {
  transition: transform 0.3s ease;
  display: inline-block; 
}

strong:hover {
  transform: scale(1.05);
  cursor: pointer;
}




footer {
  display: flex; 
  gap: 30px;                
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap;               
  padding: 20px 40px;   
  font-family: "Manjari", sans-serif;
}

.contato {
  display: flex;     
  gap: 180px;         
  flex-wrap: wrap;
  justify-content: center; 
  margin-bottom: 10px;
  justify-content: space-evenly;

}
.contato a{
  text-decoration: none;
  color:#332F2F; 
}
.contato div {
  text-align: left;
  min-width: 180px;
}

.direitos {
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
    position: static;
    background: linear-gradient(360deg, #F2DEF6, #EBFEFF);
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    padding: 0;
  }

  nav li a {
    font-size: 16px;
    padding: 0 5px;
  }

  .logo-img {
    width: 35px;
    height: 45px;
  }

  .logo span,
  .logo strong {
    font-size: 18px;
  }

  hr.linha {
    margin: 15px 20px;
  }

  main {
    gap: 30px;
    margin-top: 20px;
  }

  .secao {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px;
  }

  .secao-conteudo {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
    align-items: center;
    justify-items: center;
  }

  .secao h2 {
    font-size: 24px;
    text-align: center;
    padding-left: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .projetos {
    max-width: 100%;
    font-size: 16px;
    grid-column: 1;
    margin-bottom: 0;
  }

  .projeto-img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  #equilibra {
    width: 100%;
    max-width: 120px;
  }

  #Dijkstra {
    width: 100%;
    max-width: 250px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .contato {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
  }

  .contato div {
    text-align: center;
    min-width: unset;
  }

  .direitos {
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 10px;
  }

  nav ul {
    gap: 5px;
  }

  nav li a {
    font-size: 14px;
  }

  .logo-img {
    width: 30px;
    height: 40px;
  }

  .logo span,
  .logo strong {
    font-size: 16px;
  }

  hr.linha {
    margin: 10px 10px;
  }

  main {
    gap: 20px;
  }

  .secao {
    margin-left: 10px;
    margin-right: 10px;
  }

  .secao h2 {
    font-size: 20px;
  }

  .projetos {
    font-size: 14px;
  }

  .projeto-img {
    max-width: 250px;
  }

  #equilibra {
    max-width: 100px;
  }

  #Dijkstra {
    max-width: 200px;
  }

  footer {
    padding: 15px;
    gap: 15px;
  }

  .contato {
    gap: 15px;
  }

  .direitos {
    font-size: 10px;
  }
}
