body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  header {
    background-color: #333;
    color: #fff;
    padding: 10px;
  }
  
  header h1 {
    margin: 0;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
  }
  
  nav ul li {
    display: inline;
    margin-right: 20px;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  section {
    padding: 20px;
  }
  
  .mechanics-images {
    background-color: #f2f2f2;
  }
  
  .mechanics-images h2 {
    margin-top: 0;
  }
  
  .image-gallery {
    display:block;
    flex-wrap: wrap;
  }
  
  .image-gallery img {
    width: 200px;
    margin: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
  }
  
  .image-gallery img:hover {
    transform: scale(1.1);
  }
  
  .contact-form {
    background-color: #f9f9f9;
  }
  
  .contact-form h2 {
    margin-top: 0;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
  .search
  {
    float: right;
    margin: 1%;
  }

  /* Main Content (Adjusts for Mobile Devices) */
.main-content {
  padding: 20px;
}

/* Mobile Devices: Media Query */
@media screen and (max-width: 600px) {
  .side-nav {
    display: none; /* Hide the side navigation on small screens */
  }

  .main-content {
    padding: 10px; /* Adjust the padding for better spacing on small screens */
  }

  .image-gallery img {
    max-width: 100%; /* Adjust the image size to fit the screen on small devices */
  }
}
/* Main Content (Adjusts for Mobile Devices) */
.main{
  padding: 20px;
}

/* Mobile Devices: Media Query */
@media screen and (max-width: 600px) {
  .menu {
    display: none; /* Hide the side navigation on small screens */
  }

  .main {
    padding: 10px; /* Adjust the padding for better spacing on small screens */
  }

  .image-gallery img {
    max-width: 100%; /* Adjust the image size to fit the screen on small devices */
  }
}
  
  label {
    margin-bottom: 5px;
  }
  
  input,
  textarea {
    padding: 5px;
    margin-bottom: 10px;
  }
  
  button {
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #555;
  }
  
  
  
  
  
  