:root{
  --background-main-color: #161618;
  --category-title-color:#007bff;
  --category-name-color:#555;
  --hover-color:#1b1b1f;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    height: 100vh;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    background-color: var(--background-main-color);
}
.header{
    padding: 20px;
    border-bottom: 2px solid blue;
    width: 60%;
}
.header h1{
   color:#007bff;
}
.header p{
    color: gray;
}
.main h2{
    color: grey;
    margin-bottom: 50px;
}

.tools-section{
  display: flex;
  flex-direction: column;
}
.card-tool{
  display: flex;
  justify-content: start;
  align-items: center;
  word-break: keep-all;
  border-top: 2px solid gray;
  padding:12px 0px 12px 0px; 
}
.card-tool:hover{
  background-color: var(--hover-color);
}
.card-tool p{
  align-self: center;
  color: #555;
}
.category-title{
  color: var(--category-title-color);
  flex: 1;
  padding-inline: 8px;
}
.category-name{
  font-size: 28px;
  color: var(--category-name-color);
  text-align: left;
}


/*Icons */
.lucide-qr-code-icon,
.lucide-notepad-text-icon,
.lucide-smartphone-icon,
.lucide-search-icon,
.lucide-text-wrap-icon,
.lucide-book-check-icon,
.lucide-lock-keyhole-icon{
  color: #fff;
  align-self: center;
  width: 48px;
  height: 48px;
}
.card-tool a{
  display: inline-flex;
}


.footer{
    width: 60%;
    display: flex;
    justify-content: space-evenly;
    color: #555;
    font-weight: 600;
}
.footer-links{
    display: flex;
    list-style: none;
    gap: 8px;
}
.footer-links a:hover{
    color: rgb(18, 38, 150);
}

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

/* Responsividade */
/* Tablets e notebooks pequenos */
@media (max-width: 1200px) {
  .header,
  .footer {
    width: 90%;
    max-width: 900px;
  }

  .tools-section {
    width: 94%;
  }
}

/* Tablets / telas médias */
@media (max-width: 900px) {
  h1 {
    font-size: 1.8rem;
  }

  .main h2 {
    margin: 1.5rem 0;
    font-size: 1.25rem;
  }


  .footer {
    padding: 16px 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  /* tira o “empurra pra baixo” do desktop */
  body {
    justify-content: flex-start;
    align-items: stretch;
  }

  .header,
  .footer {
    width: 100%;
    max-width: none;
    padding: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .main h2 {
    font-size: 1.1rem;
    margin: 1rem 0;
  }

 

  /* Garante área de toque confortável e conteúdo centralizado dentro do card */
  .tool-card a {
    display: grid;
    place-items: center;
    padding: 12px;
  }

  .tool-card img {
    width: 100%;
    max-width: 260px;
    height: auto;
  }

  .footer {
    width: 95%;
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}




/* Responsividade */
@media (max-width: 600px) {
  .section-contact form {
    padding: 15px;
    gap: 12px;
  }
}

@media (max-width:500px){
  body{
    padding: 8px;
  }
  .sobre-main,
  .main-contact,
  .main-privacy,
  .terms-main{
    width: 90%;
  }
  .footer-links{
    width: 80%;
  }
  .section-contact{
    width: auto;

  }
}