:root {
    --theme-primary-background-color: #17202a;
    --theme-secondary-background-color: #000000;
    --theme-primary-font-color: #2ecc71;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--theme-primary-background-color);
    color: var(--theme-primary-font-color);
    overflow-y: scroll;
}

.header-nav-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
}

header {
    background-color: var(--theme-secondary-background-color);
    color: var(--theme-primary-font-color);
    text-align: center;
    padding-top: 15px;
}

.my-header {
    font-size: 2.4em;
    font-weight: bolder;
}

.job-title {
    font-family: "Courier New", Consolas, monospace;
    font-size: 20px;
    padding-top: 10px;
}

nav {
    background-color: var(--theme-secondary-background-color);
    text-align: center;
    padding-top: 15px;
    padding-bottom: 10px;
}

nav button {
    background-color: var(--theme-primary-font-color);
    color: var(--theme-primary-background-color);
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    opacity: 0.8;
}

nav button:hover {
    background-color: var(--theme-primary-font-color);
    opacity: 1;
}

.active-nav-button {
    background-color: var(--theme-primary-font-color);
    opacity: 1;
}

.content-wrapper {
    padding-top: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    font-size: 20px;
    display: none; /* Hide sections by default */
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    padding-bottom: 10px;
}

#home {
    display: flex; /* Show this by default */
}

/*#about p {*/
/*    font-size: 23px;*/
/*}*/

#skills {
    flex-direction: column;
}

#skills table td {
    padding: 10px;
    border-bottom: 1px solid var(--theme-primary-font-color);
    border-right: 1px solid var(--theme-primary-font-color);
    width: 50%;
}

#skills table tr:last-of-type td {
    border-bottom: unset;
}

#skills table td:last-of-type {
    border-right: unset;
}

#skills table ul {
    list-style: square;
}

#skills table ul li {
    text-align: left;
}

a {
    color: aqua;
    text-decoration: none;
}

a:hover {
    color: #b0fcfc;
}

/*a:visited {*/
/*    color: rgba(0, 255, 255, 0.44);*/
/*}*/

img {
    cursor: pointer;
}

.photo, .screenshot {
    width: 100%;
}

footer {
    display: flex;
    justify-content: center;
    text-align: center;
    color: var(--theme-primary-font-color);
    margin-top: 5px;
    border-top: 2px solid var(--theme-secondary-background-color);
    /*position: fixed;*/
    width: 95%;
    /*bottom: 0;*/
}

.infinity {
    vertical-align: middle;
    font-size: 26px;
}

@media screen and (max-width: 820px) {
    header {
        padding-top: 10px;
    }

    .my-header {
        font-size: 1.2em;
    }

    .job-title {
        font-size: unset;
        padding-top: 5px;
    }

    nav {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    nav button {
        font-size: 12px;
        padding: 5px;
    }

    .content-wrapper {
        padding-top: 140px;
    }

    section {
        font-size: 12px;
        width: 350px;
    }

    section p {
        width: 350px;
    }

    footer {
        font-size: 10px;
    }

    .infinity {
        vertical-align: unset;
        font-size: 12px;
    }
}

@media screen and (max-width: 820px) and (orientation: landscape) {
    .header-nav-wrapper {
        position: unset;
    }

    .content-wrapper {
        padding-top: unset;
    }

    section {
        width: 700px;
    }

    .photo, .screenshot {
        width: 450px;
    }
}

@media screen and (max-width: 720px) {
    .footer-catch-phrase {
        display: none;
    }
}
