:root {
    --main-bg-color: #3e3e3e;
    --font-color: #e0e0e0;
    --link-color: #ffee54;
    --tag-bg: #878787;
}

a {
    all: unset;
    color: var(--link-color);
}

a:hover {
    text-decoration: underline;
}

html {
    font-family: monospace;
    color: var(--font-color);
}

body {
    background-color: var(--main-bg-color);
    height: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}

#header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 1em;
}

#name-header {
    font-size: 5em;
    margin: 0;

    @media screen and (max-width: 500px) {
        font-size: 3em;
    }
}

.imgContainer img {
    margin-top: -35%;
    width: 200px;
    clip-path: circle(35% at 50% 62%);

    @media screen and (max-width: 500px) {
        width: 150px;
    }
}

#main {
    margin-left: 4em;
    margin-right: 4em;

    @media screen and (max-width: 500px) {
        margin-left: 2em;
        margin-right: 2em;
    }
}

.content {
    margin-left: 0.5em;
}

#projects {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;

    @media screen and (max-width: 500px) {
        gap: .5em;
    }
}

.project-img {
    width: 150px;
    margin: .5em;

    @media screen and (max-width: 500px) {
        margin: .2em;
        width: 100px;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    border: .1em solid var(--font-color);
}

.project-card:hover {
    border: solid;
    border-color: var(--link-color);
    border-width: .1em;
}

.project-card-title {
    font-size: 1.2em;
    margin-bottom: .5em;
}

#test {
    text-decoration: none;
}

.tags {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.tag {
    background-color: var(--tag-bg);
    padding: .2em;
    padding-left: .4em;
    padding-right: .4em;
}

ul {
  margin: .2em;
}
ul.dashed {
  list-style-type: none;
}

ul.dashed > li {
  text-indent: -2em;
}

ul.dashed > li:before {
    content: "- ";
    text-indent: 0;
}
