* styles.css */

/* Basic reset and font */

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

  @font-face {
    font-family: 'ostrich-regular';
    src: url('fonts/ostrich-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    }

  @font-face {
    font-family: 'Prida36';
    src: url('fonts/Prida36.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    }


  body {
    font-family: Georgia, Serif;
    }

body {
/*  line-height: 1.5;
  color: #333;
  background-color: #fff;
*/	}



/* Overlay styles for initial loading image */
  #loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('media/images/buisnesscard.webp') no-repeat center center;
    background-size: cover;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
    }



/* Fade out class for loader */
  #loader.fade-out {
    opacity: 0;
    pointer-events: none;
    }


/* Header styling */
  header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    }

  header h1 {
    font-family: 'Prida36';
    font-weight: 200;
    font-size: 3em;
    margin-bottom: 6px;
    }

  nav a {
    margin: 0 15px;
    color: #555;
    text-decoration: none;
    font-size: 0.9em;
    }

  nav a:hover {
    text-decoration: underline;
    }



/* Sections styling */
  section {
    padding: 40px 20px;
    max-width: 90%;
    margin: 0 auto;
    }

  h2 {
    font-family: 'ostrich-regular', sans-serif;
    font-weight: 200;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    }

  h3 {
    font-family: 'Prida36';
    font-weight: 200;
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    }

  h4 {
    font-family: 'Prida36';
    font-weight: 200;
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
    }





/* Portfolio grid */

  #portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 90%; /* adjust as needed */
    margin: 0 auto; /* centers the grid container */
    }




/*#portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    }
*/
  .project {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    }

  .project img {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
    }

  .project-details {
    padding: 10px;
    }

  .project-details h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    }

  .project-details p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
    }









/* Image frame for non-lighting pages */
.image-frame {
  max-width: 70%;
  padding: 10px; /* Optional: adds spacing around the image */
  background-color: #f9f9f9; /* Optional: background color */
  display: inline-block; /* Ensures the container wraps around the image */
}

.image-frame img {
  width: 100%; /* Makes the image scale to fit the container */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Removes bottom space below image */
  border-radius: 4px; /* Optional: rounded corners */
}










/* Footer styling */
  footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    color: #777;
    }
