body {
    background: #0F0F0F;
    color: white;
    font-size: clamp(16px, 1vw, 1em);
    font-family: system-ui;
    margin: 0 auto;
    padding: 0 10px;
    text-align: center;
    max-width: 900px;
    position: relative;
}

#toggle {
    margin: -2em auto 0 auto;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background: none;
    font-size: 2em;
}

main {
    margin: 5em 0 5em 0;
}

.social-links {
    margin: -4em auto 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    width: fit-content;
    height: fit-content;
}

.social-links img {
    clip-path: circle();
    margin: 5px;
    width: 2em;
}

a {
    color: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

main h1,
.job-title,
p {
    margin: 0;
}

.greeting {
    font-size: 1.8em;
    text-wrap: nowrap;
}

.mission-statement {
    margin-top: 1em;
    justify-items: center;
    text-align: left;
}

.profile-picture {
    clip-path: circle();
    /* clamp (min, preferred, max) */
    width: clamp(150px, 17vw, 200px);
    /* I used px rather than vw/em because smallest mobile to optimze for is 300px, 150px works perfectly imo */
}

.job-title {
    color: #a3a3a3;
}

/* ABOUT SECTION */
#about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    text-align: left;
    justify-items: center;
}

.about-1, .about-2 {
    max-width: 90%;

    /* Each row height will follows accordingly. */
    display: grid;
    grid-template-rows: 1fr 1fr;
}

#about p {
    font-size: 16px;
    margin-bottom: 1em;
}

.about-image-wrapper img {
    width: 100%;
}

/* PROJECTS SECTION */
#projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 16px;

    margin: 5em auto 5em auto;
    max-width: 700px;
}

.project-card {
    /* 30% of viewport or max-width (1420px). About 400px on full screen */
    height: auto;

    display: grid;
    grid-template-columns: 1fr;

    text-align: left;
}

.project-image {
    overflow: hidden;
    height: 100%;
    max-width: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
}

.project-body {
    color: black;
    background: #dbdbdb;
    padding: 1em;

    display: grid;
    grid-template-columns: 4fr 1fr;
}

.project-body p {
    text-wrap: nowrap;
    font-weight: 700;
}

.project-card button {
    background: rgb(230, 229, 229);
    margin-top: 1em;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.project-links {
    width: fit-content;
    align-self: end;
    justify-self: end;
}

.project-links img {
    width: 25px;
    height: auto;
}

/* BLOGS SECTION */
#blogs {
    margin: 0 auto;
    max-width: 900px;
}

.blog {
    display: grid;
    grid-template-columns: 2fr 1fr;    
    margin: 0 auto;
    margin-bottom: 1em;
}

.blog a {
    text-decoration: none;
    font-weight: 700;
    text-wrap: nowrap;
    
}

.blog a:hover {
    text-decoration: underline;
}