html {
    margin: 0;
    padding: 0;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    box-sizing: border-box;
}
body {
    background: #010402;
    color: #ffffff;
}
/* header styles intentionally left out; use #header-projects for project header */

.logo {
    width: 140px;
}
.container {
    padding: 10px 10%;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after {
    content: "";
    width: 0;
    height: 3px;
    background: #00ff51;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after {
    width: 100%;
}
.header-text {
    margin: 5% auto;
    font-size: 30px;
}
.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span {
    color: #00ff51;
}
.title {
    font-size: 18px;
}
#body {
    padding: 0 25%;
}
.container-body {
    padding: 5px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 5%;
    outline: 1px solid white;
}
#body a {
    color: inherit;
}
.body {
    color: #00ff51;
}
/*
Projects.html
*/
@media only screen and (max-width: 600px) {
    .logo {
        width: 75px;
    }
    h1 {
        font-size: 24px;
    }
    p {
        font-size: 16px;
    }
    #body {
        margin: auto 0;
        padding: 0px 1em;
    }
    .header-text h1,
    h1 {
        font-size: 34px;
        margin-top: 10px;
    }
    .container {
        padding-bottom: 0;
    }
    nav ul li a {
        font-size: 14px;
    }
    .title {
        border-top: 1px solid white;
        padding-top: 5px;
        margin-bottom: 10px;
    }
}

/* projects.html */
#header-projects {
    padding: 0 1em 0;
    border-bottom: 1px solid;
}
.projects {
    margin: 3em 1em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.project-card:hover,
.project-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    width: 100%;
    height: 18.75rem;
    overflow: hidden;
    background: #0a0b0a;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card h3 {
    margin: 0.75rem 1rem 0.25rem 1rem;
    font-size: 1.1rem;
}
.card-desc {
    margin: 0 1rem 1rem 1rem;
    color: #cfe8d6;
    font-size: 0.95rem;
}

a {
    color: #ffffff;
}
