/* General */
html {
    background-color: black;
}

a {
    color: cornflowerblue;
}

body {
    color: white;
    font-family: Arial, sans-serif;
    margin: 0px;
    padding: 0px;
}

h1 {
    margin: 0;
}

h2 {
    margin: 1.33vh;
}

h3 {
    margin: 1.45vh;
}

p {
    margin: 2vh;
    font-size: 18px;
}

.generic-header {
    text-decoration: underline;
}

.imgcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.txtcenter {
    text-align: center;
}

.noselect {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.project-img {
    height: 168px;
    width: auto;
    margin: 20px;
}

/* Header */

.navitem {
    float: left;
    border-right: 1px solid #e4e4e4;
    max-height: 100%;
}

.navitem:last-child {
    border-right: none;
}

.navitem:hover {
    background-color: purple;
    transition: background-color .2s;
}

.navitem:active {
    background-color: rgb(53, 0, 53);
    transition: background-color .1s;
}

.navlink {
    font-size: 130%;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#header {
    display: flex;
    background-color: #09000c;
    border-bottom: 1px solid rgb(20, 20, 20);
}

#header-logo {
    position: relative;
    display: flex;
}

#logo {
    height: 86px;
    width: auto;
    position: relative;
    margin-right: 6px;
}

#logo-onhover {
    height: 86px;
    position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	object-fit: contain;
	opacity: 0;
}

#logo-onhover:hover {
    opacity: 1;
    transition: opacity .1s;
}

#nav {
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0px;
    overflow: hidden;
    flex: 1;
    margin-top: 35px;
}

#this {
    background-color: rgb(53, 0, 53);
    border-bottom: solid white 1px;
}

/* Mobile CSS */

@media screen and (max-width: 600px) {
    /* General */
    
    .project-img {
        max-height: 133px;
        width: auto;
    }

    /* Header */

    .navlink {
        font-size: 100%;
    }

    #logo {
        max-height: 59px;
        width: auto;
    }

    #logo-onhover {
        max-height: 59px;
        width: auto;
    }
}