* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.logo {
  width: 720px; 
  height: auto;
  margin-bottom: 20px;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;  /* This makes the container take up available space */
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.hero {
  background-color: #007bff;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.hero h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1em;
  opacity: 0.9;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 3rem;
}

.search-container {
  margin-bottom: 20px;
  text-align: center;
}

.search-input {
  padding: 10px;
  width: 100%;
  max-width: 500px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.tool-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns layout */
  gap: 20px;
  margin-top: 30px;
}

.tool-item {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tool-item img.tool-icon {
  width: 100px;  /* Fixed width */
  height: 100px; /* Fixed height */
  margin-bottom: 15px;
}

.tool-item h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.tool-item h2 a {
  color: #333;
  text-decoration: none;
}

.tool-item h2 a:hover {
  color: #007bff;
}


footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
  margin-top: 40px;
  position: relative;
  width: 100%;  /* Ensure it takes up the full width */
}

footer p {
  font-size: 0.9em;
}

/* Mobile View */
@media screen and (max-width: 768px) {
  .tool-list {
    grid-template-columns: 1fr; /* One column on mobile */
    gap: 15px; /* Reduce gap */
  }

  .tool-item {
    padding: 15px; /* Less padding for smaller screens */
  }

  .tool-item img.tool-icon {
    width: 80px;  /* Slightly smaller icons for mobile */
    height: 80px; /* Maintain square size */
    margin-bottom: 10px;
  }

  .tool-item h2 {
    font-size: 1.1em; /* Slightly smaller heading on mobile */
  }

  footer p {
    font-size: 0.8em; /* Adjust font size for mobile footer */
  }
  
        .logo {
  width: 320px;
}

nav ul li a {
  font-size: 1.6rem;
}
}