* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font-weight: lighter;
    vertical-align: baseline;
    background: transparent;
}

body, h1, h2, h3, h4, h5, h6, p, button {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

a {
    color: #489fef;
}

strong {
    font-weight: bold;
}

h1, h2 {
    font-size: xx-large;
}

h3, h4 {
    font-size: x-large;
}

h5, h6 {
    font-size: larger;
}

h1, h3, h5 {
    font-weight: bold;
}

button * {
    display: inline;
}

ul {
    margin-left: 2em;
}

#header {
    position: sticky;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    padding: 1.5em 1em;
    background-color: #2f4f4f;
    color: white;
}

@media screen and (max-width: 720px) {
    #header {
        flex-direction: column;
        justify-content: center;
        gap: 0.5em
    }

    #header * {
        text-align: center;
    }
}

#links button {
    color: white;
    font-size: larger;
    padding: 0.5em 1em;
    margin: 0px 0.25em;
    border-radius: 8px;
    transition-property: all;
    transition-duration: 150ms;
}

#links button:hover {
    background-color: #1f2f2f;
    cursor: pointer;
}

#links button.active {
    background-color: #1f2f2f;
    pointer-events: none;
}

@media screen and (max-width: 720px) {
    #about:not(.hidden) {
        display: flex;
        flex-direction: column-reverse;
    }
}

img {
    width: 400px;
}

#about p {
    margin: 1em 0px;
    text-align: justify;
}

#contact {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 1em;
    row-gap: 2em;
}

#contact p {
    margin: 1em 0px;
}

#contact p:first-child {
    margin-top: 0px;
}

#contact p:last-child {
    margin-bottom: 0px;
}

.content {
    margin: 2em;
}

.screenshot-video {
    width: 100%;
}

.screenshot-video-container {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: space-evenly;
}

.screenshot-video-container p {
    text-align: justify;
}

.screenshot-video-container video {
    width: 100%;
}

.content-item {
    margin: 2em 0px;
}

.content-item h1,
.content-item h2,
.content-item h3,
.content-item h4,
.content-item h5,
.content-item h6 {
    margin: 1em 0px;
}

.content-item button:hover {
    text-decoration: underline;
}

.sample-heading {
    margin: 1em 4em 0px 4em;
    max-width: 64em;
}

.sample-heading p {
    text-align: justify;
}

.github-gist {
    position: relative;
    margin: 4px 4em 0px 4em;
    max-height: 28em;
    max-width: 64em;
    overflow-y: scroll;
    outline: 1px solid gray;
    border-radius: 16px;
    transition: max-height 300ms;
}

.github-gist.minimized {
    max-height: 5em;
}

.github-gist div {
    margin: 0px !important;
}

.gist-toggle {
    position: sticky;
    top: 0px;
    z-index: 10;
    padding: 0.25em 1em;
    background-color: rgb(236, 236, 236);
}

.fa {
    font-size: x-large;
}

.hidden {
    display: none;
}

.clickable {
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

.no-margin {
    margin: 0px !important;
}

.flex-placeholder {
    flex-grow: 1;
}

@media screen and (min-width: 721px) {
    .mobile-only { display: none; }
}

@media screen and (max-width: 720px) {
    .desktop-only { display: none; }
}