* {
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: #333;
}

header {
  background-color: #4a90e2;
  padding: 1rem 2rem;
  color: white;
  overflow-x: auto; /* allows horizontal scrolling inside the header */
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #d1eaff;
}

.hero {
  padding: 3rem 2rem;
  text-align: center;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #e6f0ff;
  margin-top: 2rem;
}

.tools-section {
  padding: 2rem;
  text-align: center;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tool-tile {
  display: block;
  background-color: #e1ecf9;
  padding: 2rem;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tool-tile:hover {
  background-color: #d4e7fb;
  transform: translateY(-5px);
}

.about-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.about-section h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #4a90e2;
}

.about-section p {
  margin: 1rem 0;
  line-height: 1.6;
}

.tool-tile.with-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.tool-tile img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.Credits{
  text-align: center;
  color: black;
  text-decoration: none;
}

.licredits{
  text-decoration: none;
  color: black;
  text-align: center;
  padding: 0;
}

.licredits:hover {
  text-decoration: underline;
}

main {
  padding: 7px;
}

.smfgs {
  width: 540px;
  border: 5px solid #2d3536;
  padding: 5px;
  margin: auto;
  background-color: #6a7273;
  color: #c4cccc;
  text-align: center;
}

