/* project_styles.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
   }
  
   header {
    background-color: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
   }
  
   header h2 {
    margin: 0;
   }
  
   nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
   }
  
   nav li {
    margin: 0 1em;
   }
  
   nav a {
    color: #eee;
    text-decoration: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
   }
  
   nav a:hover {
    background-color: #555;
   }
  
   .dropdown {
    position: relative;
   }
  
   .dropdown-content {
    display: none;
    position: absolute;
    background-color: #444;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
   }
  
   .dropdown-content a {
    color: #eee;
    padding: 0.7em 1em;
    text-decoration: none;
    display: block;
    text-align: left;
   }
  
   .dropdown-content a:hover {
    background-color: #666;
   }
  
   .dropdown:hover .dropdown-content {
    display: block;
   }
  
   .project-page {
    max-width: 960px;
    margin: 20px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }
  
   .project-page h1,
   .project-page h2,
   .project-page h3 {
    color: #333;
   }
  
   .step {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
   }
  
   .step h3 {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
   }
  
   .step ul {
    list-style: disc;
    margin-left: 20px;
   }
  
   .image-placeholder {
    width: 100%;
    max-width: 500px;
    height: auto; /* Maintain aspect ratio */
    background-color: #ddd;
    margin: 15px auto;
    display: block;
    text-align: center;
    line-height: 200px; /* Approximate vertical centering for text */
    color: #555;
    border-radius: 5px;
    overflow: hidden; /* To contain images if they are loaded */
   }
  
   .image-placeholder img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image fills the placeholder without distortion */
   }
  
   .code-placeholder {
    background-color: #eee;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
   }
  
   .code-placeholder code {
    display: block;
   }
  
   footer {
    text-align: center;
    padding: 1em 0;
    background-color: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
   }
  
   /* Button Styles (You can customize these further) */
   .project-page .button {
    display: inline-block;
    padding: 0.8em 1.5em;
    text-decoration: none;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: 15px;
   }
  
   .project-page .button:hover {
    background-color: #0056b3;
   }
  
   .project-page .button-secondary {
    background-color: #6c757d;
   }
  
   .project-page .button-secondary:hover {
    background-color: #545b62;
   }