html, body {
    background-color: #000000;
}

body {
    font-family: 'Nacelle', sans-serif;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: #000000;
}

.left-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.favicon {
    width: 32px;
    height: 32px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

h1:hover {
    color: navy;
}

nav a {
    text-decoration: none;
    font-size: 18px;
    padding: 8px 8px;
    color: white;
}

nav a:hover {
    text-decoration: underline;
    color: darkred;
}

nav a.active {
    color: darkred;
}

main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 20px;
}

.hero-image {
    grid-column: 1 / -1;
    max-width: 600px;
    max-height: 600px;
    width: fit-content;
    height: auto;
    margin: 0 auto;
    display: block;
}

.section-title {
    grid-column: 1 / -1;
    font-size: 32px;
    margin-top: 20px;
}

/*two columns for about page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.about-grid img {
    width: 70%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 50%;
    justify-self: center;
}

/*projects- three columns */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-item img {
    width: fit-content;
    height: 300px;
    object-position: center;
    border-radius: 25px;
}

.project-item h3 {
    margin-top: 10px;
    font-size: 18px;
}

/*contact two column grid*/
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

footer {
    margin-top: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 75px;
    padding: 20px 0;
}

.social-links a {
    text-decoration: none;
    color: white;
}

.social-links a:hover {
    text-decoration: underline;
    color: darkred;
}