body {
  background-color: #121212;
  color: #eee;
  font-family: Arial, sans-serif;
  padding: 0 20px;
}

header {
  text-align: center;
  padding: 30px 0 10px;
}

/* Logo estilizada */
  header {
    text-align: center;
    padding: 30px 0 10px;
  }
  
  header img {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  header img:hover {
    transform: scale(1.05);
  }

h1 {
  text-align: center;
  margin: 10px 0 30px;
  font-size: 2rem;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

section {
  background-color: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
}

.section-header {
  padding: 12px;
  font-size: 1.1rem;
  color: #fff;
}

.commands {
  padding: 10px;
}

.cmd-button {
  display: block;
  width: 100%;
  text-align: left;
  background-color: #3a3a3a;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 8px;
  margin: 6px 0;
  cursor: pointer;
  font-family: monospace;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #222;
  color: #eee;
  padding: 20px;
  border-radius: 6px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: #1D272F; /* ou outra cor da paleta */
    color: white;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: none;
    transition: opacity 0.3s;
  }
  #backToTopBtn:hover {
    background-color: #5CA9E6;
  }

footer {
  text-align: center;
  background-color: #1a1a1a;
  color: #bbb;
  padding: 30px 20px;
  font-size: 0.95rem;
}

footer a {
  color: #5CA9E6;
  text-decoration: none;
}

  /* Cores por categoria */
  .yellow .section-header   { background-color: #EAB308; }
  .violet .section-header   { background-color: #8B5CF6; }
  .blue .section-header     { background-color: #3B82F6; }
  .red .section-header      { background-color: #EF4444; }
  .orange .section-header   { background-color: #F97316; }
  .pink .section-header     { background-color: #EC4899; }
  .teal .section-header     { background-color: #14B8A6; }
  .cyan .section-header     { background-color: #06B6D4; }
  .purple .section-header   { background-color: #7C3AED; }
  .green .section-header    { background-color: #22C55E; }
  .gray .section-header     { background-color: #64748B; }
  .brown .section-header    { background-color: #92400E; }
  .amber .section-header    { background-color: #FBBF24; }

  /* Responsivo */
  @media (max-width: 600px) {
    h1 {
      font-size: 1.5rem;
    }
  
    .cmd-button {
      font-size: 0.9rem;
    }
  
    footer {
      font-size: 0.85rem;
    }
  
    header img {
      max-width: 120px;
    }
  }