/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.accent {
    color: #ff8800 !important;
}

#accent {
    color: #ff8800;
}

header {
    background-color: #222;
    color: #fff;
    padding: 20px 0;
    position: fixed; /* Set header to fixed position */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px !important; /* Adjust the height as needed */
    margin-right: 10px; /* Add spacing between logo and text */
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo h2 {
    font-size: 18px;
    font-weight: normal;
}

/* Style the menu icon */
.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Style the mobile dropdown menu */
.top-menu {
    list-style: none;
    padding: 0;
}

.top-menu li {
    display: inline;
    margin-right: 20px;
}

.top-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.top-menu a:hover {
    color: #ff8800;
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

/* Display the menu on wider screens by default */
@media screen and (min-width: 769px) {
    .top-menu {
        display: block !important;
    }
}

/* Media queries for responsive navigation */
@media screen and (max-width: 768px) {
    .mobile-menu-icon {
        display: block;
    }

    .top-menu {
        display: none;
        position: absolute;
        top: 80px; /* Adjust the top position as needed */
        right: 0;
        background-color: #222;
        width: 100%;
        text-align: center;
        z-index: 1;
    }

    .top-menu li {
        display: block;
        margin: 10px 0;
    }

    /* Adjust the font size for the menu icon on smaller screens */
    .mobile-menu-icon {
        font-size: 28px;
    }
}

.main-content {
    flex-grow: 1;
    max-width: 100%;
    margin: 120px auto 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* Style links (anchors) */
a {
    color: #364d66; /* Change the link color to your preferred color */
    text-decoration: none; /* Remove underline by default */
    transition: color 0.3s; /* Add a smooth color transition on hover */
}

a:hover {
    color: #7883a1; /* Change link color on hover */
    text-decoration: underline; /* Add underline on hover if desired */
}

/* ... Your existing CSS ... */

/* Style the project grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Create a responsive grid with minimum item width of 300px */
    gap: 20px; /* Gap between grid items */
    margin-top: 20px;
}

/* Style the project tile */
.project-tile {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style the project cover image */
.cover-image {
    max-width: 100%;
    height: 220px;
    margin-bottom: 10px;
}

/* Style the project images in the gallery */
.project-image {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

/* Style the project details link */
.project-link {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.project-link:hover {
    color: #000000;
    text-decoration: none;
}

/* ... Your existing CSS ... */

/* Style the project grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Style the project tile */
.project-tile {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 440px; /* Set a fixed height for the project tiles */
    overflow: hidden; /* Hide content that exceeds the fixed height */
    display: flex;
    flex-direction: column; /* Align children vertically */
    justify-content: space-between; /* Space between children (title and created on) */
}

.project-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Style the project cover image */
.cover-image {
    width: 100%;
    max-height: 70%;
    object-fit: cover; /* Crop the image to cover the container */
    object-position: center; /* Center the cropped area of the image */
    border-width: 1px;
    border-style: dashed;
    
}

/* Style the project description */
.project-description {
    font-size: 12px;
    font-weight: lighter;
    line-height: 1.4;
    color: #333;
    margin-top: 12px;
}

/* Style the project created date */
.project-created-on {
    font-size: 10px;
    font-style: italic;
    font-weight: lighter;
    color: #777;
    margin-top: auto; /* Push the "Created on" text to the bottom */
}

/* ... Your existing CSS ... */




