/* UNIVERSAL */
@font-face {
    font-family: "firacode";
    src: url(Fira_Code/FiraCode-VariableFont_wght.ttf)
}

* {
    font-family: "firacode";
    color: #e9e9e9;
    margin: 0;
    padding: 0;
}

ul {
    list-style: inside;
}

section {
    padding: 2em 10em 2em 10em;
}

/* HEADER */
header {
    background-color: #004e4e;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0.5em 10em 0.5em 10em;
}

h1 {
    justify-self: start;
}

nav {
    justify-self: end;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main {
    background-color: #343636;
}

/* HOME */
#introduction {
    background-image: url(/img/main/yellow-mountains-md.jpg);
    background-position: center;
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-items: center;
}

#casualpic {
    border-radius: 10px;
}

#intro-text {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1em;
}

#years {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    gap: 1em;
}

.yearcard {
    background-color: rgb(29, 29, 29);
    border: 4px solid #004e4e;
    border-radius: 10px;
    padding: 1em;
}

/* RESUME */
#summary {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    /* justify-items: center; */
    /* align-items: center; */
}

#statement {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

#propic {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    justify-self: center;
    align-self: center;
}

#education {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

table {
    width: 70%;
    margin: auto;
    text-align: center;
}

td {
    background-color: rgb(29, 29, 29);
    border-radius: 5px;
    height: 2em;
    width: 20%;
}

.basic {
    height: .75em;
    width: .75em;
    background-color: #92ff44;
    border-radius: 50%;
    display: inline-block;
}

.inter {
    height: .75em;
    width: .75em;
    background-color: #f3ff4d;
    border-radius: 50%;
    display: inline-block;
}

.advan {
    height: .75em;
    width: .75em;
    background-color: #ff6262;
    border-radius: 50%;
    display: inline-block;
}

#key {
    margin-top: 1em;
    text-align: center;
}

#projects {
    display: grid;
    gap: 1em;
}

.projcard {
    background-color: rgb(29, 29, 29);
    border: 4px solid #004e4e;
    border-radius: 10px;
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    justify-items: center;
}

.projcard img {
    height: 18em;
    width: 90%;
    border-radius: 10px;
}

/* CLASSWORK */
#classwork-hero {
    background-image: url(/img/main/yellow-mountains-md.jpg);
    background-position: center;
    background-size: cover;
    display: grid;
    justify-items: center;
}

#classwork-hero h2 {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 1em;
}

#hands-on li,
#labs li,
#projects li {
    padding: .5em;
}

/* FOOTER */
footer {
    background-color: #004e4e;
    text-align: center;
    padding: 0.5em 8em 0.5em 8em;
}