body {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    max-width: 900px;
    margin: auto;
    padding: 20px;
    line-height: 1.6;
}

header h1 {
    display: flex;
    align-items: center;
    gap: 8px;
}

header img {
    height: 50px;
}

.tagline {
    opacity: 0.7;
}

.links a {
    margin-right: 10px;
    text-decoration: none;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.project {
    flex: 1 1 calc(50% - 12px);
    min-width: 240px;
    padding: 12px;
    border-radius: 8px;
}

.cert-container {
    max-width: 900px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fb923c;
}

.cert-container img {
    width: 100%;
}

.cert-heading .cert-lead {
    font-size: 14px;
}

.footer-above-seprater {
    margin-top: 5em;
    height: 5px;
    width: 100%;
    background-color: #e7e5e4;
    border-radius: 1000px;
}

footer * {
    text-align: center;
}

@media (prefers-color-scheme: light) {
    body {
        background: #fff7ed;
        color: #1f2933;
    }

    a {
        color: #ea580c;
    }

    .project {
        background: #fff;
        border: 1px solid #fed7aa;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: #0c0a09;
        color: #e7e5e4;
    }

    a {
        color: #fb923c;
    }

    .project {
        background: #1c1917;
        border: 1px solid #292524;
    }
}

@media (max-width: 600px) {
    body {
        padding: 16px;
    }

    #projects {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 250px;
    }

    .tagline {
        max-width: 280px;
    }

    h1 {
        font-size: 22px;
    }

    .project {
        flex: 1 1 100%;
    }
}

@media (min-width: 1100px) {
    .project {
        flex: 1 1 calc(33.33% - 12px);
    }
}