@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.montserrat-100 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    background-color: #080808;
    font-family: "Montserrat", sans-serif;
}


header {
    width: 100%;
    background-color: #1a1a1a;
    padding: 20px 0;    
    position: fixed;
    top: 0;
    z-index: 1000;
    margin-bottom: 50px;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
    background-color: #2b2b2b;
    border-radius: 5px;
    padding: 10px 10px;
}

header nav a:hover {
    color: #ff9800;
}

.separator {
    border: #e2e2e2 solid 1px;
}

#projects {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px; 
    margin: 20px 0;
    margin-top: 100px;
    text-align: center;
}

.project-card {
    display: flex; /* Changed from grid to flex */
    align-items: center;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    color: white;
    min-width: 600px;
    width: 60%;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-img-box {
    flex: 0 0 150px; /* Ensure fixed width for the image box */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin-right: 20px; /* Add spacing between image and text */
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.project-title {
    font-size: 20px;
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-title:hover {
    text-decoration: underline;
}

.project-desc, .project-lang, .project-date {
    font-size: 14px;
    margin: 5px 0;
}

.project-lang {
    color: #03a9f4;
    font-weight: bold;
}

.project-card > div:last-child {
    flex: 1; /* Allow text to take the remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

h2 {
    color: white;
    font-size: 24px;
    text-align: center;
}
