/* styles.css */

section {
    padding: 20px;
  } 
    
.mechanics-images h2 {
    margin-top: 0;
  }
  
  .image-gallery {
    display:block;
    flex-wrap: wrap;
  }
  
  .image-gallery img {
    width: 200px;
    margin: 30px;
    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);
  }
  
.menu {
    width: 400px;
    float: left;
    height: 70px;
    
}

/* Keyframes for the animation */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Applying animation to the images */
.image-list li {
    animation: slideInFromLeft 1s ease-in-out;
}

/* 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 */
  }
}