* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 18px;
}

nav {
    padding: 1.5em 10em 1.5em;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 1.5rem;

}

nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    text-decoration: underline;
    text-underline-position: under;
}

.line {
    border-bottom: 2px solid #333;
    width: calc(100% - 20%);
    margin: 0 auto;
}

.back-to-main {
    color: rgb(0, 0, 0);
    justify-content: left;
    width: calc(100% - 20%);
    margin: 0 auto;
    padding: 1.5rem 0;
    text-decoration: none;

}

.back-to-main a {
    color: rgb(0, 0, 0);
    text-decoration: none;

}

.back-to-main a:hover {
    text-decoration: underline;
    text-underline-position: under;

}


main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    justify-content: left;
    align-items: left;
    padding: 0.5rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}

.text-block {
    max-width: 600px;   
    text-align: justify;    

}


.text-block p {
    margin-block: 0.5rem;
    margin-block-start: 0;
}

.text-block a{
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.text-block a:hover{
    text-decoration: underline;
    text-underline-position: under;
}

.text-block a.blue {
        color: rgb(25, 106, 193);
        text-decoration: none;
    }

.text-block a.blue:hover{
    text-decoration: underline;
    text-underline-position: under;
}

.logo {
    display: flex;
    gap: 28.5px; /* Space between icons */
    justify-content: left;
    margin-top: 15px; /* Space from text above */
}

.logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.7; /* Slight fade on hover */
}

.logo img {
    width: 32px;
    height: 32px;
    display: block;
}


/* @media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       
        
    }
} */

/*.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero img {
    width: 50%;
    height: 50%;
    margin-top: 1rem;

    display: flex;
    gap: 200px;
    justify-content: center;
    align-items: center;
}

/* .links {
    text-align: center;
    margin-top: 2rem;
}

.links a {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.links a:hover {
    background: #0056b3;
}

.job,
.project {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.project-links a {
    display: inline-block;
    margin-right: 1rem;
    color: #007bff;
    text-decoration: none;
}

.project-links a:hover {
    text-decoration: underline;
} */