html {
  background-color: #fff;
  padding-inline: 18%;
  padding-block: 2%;
  overflow: auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  @media (max-width: 500px) {
    padding: 5%;
  }
  @media print {
    padding: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}
.icons-page {
  width: 20px;
  padding-right: 5px;
}
.icons-stack {
  width: 26px;
  padding-right: 8px;
}

h1 {
  color: #2f87c2;
  font-size: 25px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
h2 {
  color: #383838;
  font-size: 18px;
  font-weight: 500;
}
h3 {
  color: #383838;
  font-size: 15px;
  font-weight: 500;
}

/* card projects */

.projects-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  @media (max-width: 500px) {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column; /* Coloca a imagem acima do conteúdo */
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
  height: 100%;
  max-height: 600px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  cursor: pointer;
  &:hover {
    transform: scale(1.02);
  }
}

.card-image {
  width: 100%; /* Imagem ocupa toda a largura do card */
  height: auto;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  min-height: 150px;
  height: auto; /* Mantém proporção e evita corte */
  display: block;
}

.card-content {
  height: auto;
  padding-inline: 20px;
}

.card-title {
  font-size: 22px;
  margin-bottom: 8px;
  color: #333;
}

.card-tag {
  display: inline-block;
  border: 0.5px solid #3498db ;
  color: #3498db;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 10px;
  font-style: italic;
}

.card-description {
  font-size: 15px;
  color: #666;
}

/* footer */
.footer-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 10px;
}
.icons-footer {
  padding-top: 20px;
}

/* whatsapp button */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}

/* button language */
.btn-lang {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: auto;
  gap: 5px;
  position: fixed;
  bottom: 5px;
  left: 20px;
  background: none;
  border: none;
  color: #000000;
  text-align: center;
  font-size: 14px;
  z-index: 100;
  cursor: pointer;
}

.btn-lang img {
  width: 20px;
}

 @media print {
    .btn-lang {
      display: none;
    }
    .float {
      display: none;
    }    
 }
