body {
    background-color: #000000;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 125%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-attachment: fixed;
    background-size: contain;
    scroll-behavior: smooth;
    scrollbar-base-color: #000000 !important;
    scrollbar-face-color: #ffffff !important;
    scrollbar-track-color: #000000 !important;
    scrollbar-arrow-color: #ffffff !important;
}

body * {
    font-weight: normal;
    overflow-x: hidden;
}

footer {
    border: solid #016bff 5px;
    position: fixed;
    top: 15vh;
    right: 5vw;
    width: auto;
    padding: 0;
}

footer nav {
    width: 100%;
    height: auto;
    margin: 0;
}

footer nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding: 0 0.5em;
}

footer nav ul li {
    display:inline-flex;
}


h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

header {
    background-color: #000000;
    border-bottom: solid #016bff 5px;
    font-size: 14px;
    position: fixed;
    padding: 1.0em;
    left: 0vw;
    height: 11vh;
    width: 100vw;
    z-index: 999;
}

header img {
margin: 0 1em;
height: 8vh;
}


header nav {
    width: 100%;
    height: 10vh;
    position: fixed;
    top: 0;
    overflow: hidden;
}

header nav ul {
    position: absolute;
    right: 0;
    top: 1.0em;
    list-style: none;
    display: flex;
    height: 100%;
    padding: 2.0em;
    margin: 0;
}

header nav ul li {
    margin-right: 1em;
}

ion-icon {
    color: #ffffff;
    font-size: 26px;
    margin: 0 0.5em;
}


nav ul li a,
nav ul li a:hover,
nav ul li a:visited {
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff !important;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.5s ease-in-out;
    position: relative;
}


section {
    display: table;
    padding: 0 10vh;
    padding-top: 20vh;
    width: 70%;
    height: 80vh;
}

section#projects img {
    width: 18vw;
    height: 11vw;
    margin: 10px 20px 10px 0;
    border: solid 1px #377fa6;
}

.bold,
.strong {
    font-weight: bold;
}

.content_wrapper {
    display: table-cell;
    padding: 2rem;
    min-height: 85vh;
    width: 79.5vw;
    vertical-align: middle;
    overflow: hidden;
}

.flex {
    float: left;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none;
}

.title {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.smalltext {
        font-size: 0.7em;
}

.specialheading {
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 0;
}

.subheading {
    margin-top: -2.5vh;
    font-size: 90%;
}

.specialheading,
.subheading a {
    text-decoration: none;
    text-transform: uppercase;
}

.specialheading,
.subheading,
.subheading a, 
.subheading a:hover, 
.subheading a:visited {
    color: #00aaff;
}

/* Hide desktop content on small screens */
.site-content {
    display: block;
}

.desktop-message {
    display: none;
}

/* When the screen width is 768px or less, hide the main content and show the message */
@media (max-width: 768px) {
    body {
        background-image: none;
        overflow-x: hidden;
    }

    footer {
        position: absolute !important;
        top: 43vh;
        border: none;
        margin: 0 auto;
        height: 10vh;
        width: 100vw;
    }

    footer nav {
        width: 30vw;
        height: auto;
        margin: 0 auto;
        padding-left: 1.0em;
    }

    footer nav ul {
        list-style: none;
        display: flex;
        flex-direction: row;
    }

    footer nav ul li {
        display: inline-flex;
    }


    header {
        background-color: #000000;
        border-bottom: solid #016bff 5px;
        position: fixed;
        top: 0;
        left: 0vw;
        width: 100vw;
        height: 10vh;
        z-index: 999;
    }

    header img {
        margin: 1em;
    }

    header nav {
        display: none;
    }

    ion-icon {
        color: #ffffff;
        font-size: 36px;
        margin: 0 0.5em;
    }


    .site-content {
        display: none;
    }

    .desktop-message {
        display: block;
        text-align: center;
        padding-top: 20vh;
        font-size: 1.2em;
        color: #ffffff;
    }
}
