@import url('./styleMyLinks.css');

html {
    position: relative;
    min-height: 100%;
  }
  
  body {
    background-color: #a1909050;
    margin-block-end: 100px;
    padding-bottom: 100px;
    margin: 0;
  }
  
  .container {
    width: 500px;
    margin: auto;
    padding: 10px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  
  .imgCod {
    width: 250px;
    max-width: 100%;
    height: auto;
  }
  
  .conteudoPrincipal {
    width: 50%;
    margin: auto;
    padding: 10px;
    text-align: center, justify;
    margin-top: 50px;
  }
  
  .imgPrincipal {
    padding-right: 2% !important;
    width: 150px;
  }
  
  .textPrincipal {
    text-align: justify;
    padding-left: 2% !important;
    margin-bottom: 15%;
  }
  
  .tituloConteudo {
    text-align: center;
    border-radius: 15px;
  }
  
  footer {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 100px;
    text-align: center;
    padding-top: 10%;
  }
  
  p {
    font-size: 14px;
    margin: 0;
  }

  @media screen and (max-width: 400px) {
    .container,
    .conteudoPrincipal {
      margin-top: 10px;
      padding-top: 10px;
    }
    .tituloConteudo {
      font-size: 16px;
    }
    .imgCod {
      width: 80vw;
    }
  }
  
  div {
    background-color: #C0C0C0;
    border: 2px solid #808080;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    padding: 10px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    text-align: center;
  }
  
  div:hover {
    border: 2px solid #000;
  }
  
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}

.project-card {
  background: #f9f9fb;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  padding: 28px 22px 20px 22px;
  width: 300px;
  max-width: 370px;
  min-width: 220px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e0e0e0;
  transition: transform 0.18s, box-shadow 0.18s;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
  border-color: #b3b3ff;
}
.project-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.25em;
  color: #2d2d6a;
  font-weight: 700;
  letter-spacing: 0.5px;
  word-break: break-word;
  white-space: normal;
  overflow-wrap: anywhere;
}
.project-card p {
  font-size: 1em;
  color: #5a5a7a;
  margin-bottom: 18px;
  min-height: 40px;
}
.project-card a {
  margin-top: auto;
  color: #fff;
  background: linear-gradient(90deg, #6a82fb 0%, #fc5c7d 100%);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(100,100,200,0.08);
  transition: background 0.18s, box-shadow 0.18s;
  display: inline-block;
}
.project-card a:hover {
  background: linear-gradient(90deg, #fc5c7d 0%, #6a82fb 100%);
  box-shadow: 0 4px 16px rgba(100,100,200,0.13);
}
@media (max-width: 900px) {
  .projects-grid {
    gap: 18px;
  }
  .project-card {
    width: 95vw;
    min-width: 0;
    max-width: 98vw;
  }
}

#github-projects {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  display: contents;
}