/* basics */

@font-face {
    font-family: "Determination";
    src: url("images/DTM-Mono.otf") format("opentype");
}

* {
    scrollbar-width: thin;
    scrollbar-color: #3490D1 #1F1141;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background-color: #3490D1;
}

::-webkit-scrollbar-thumb {
    background-color: #3490D1;
}

/* positions, main, etc */

body {
    margin: 0px;
    padding: 0px;
    background: fixed linear-gradient(#3594D5, #1F1141);
    font-size: 18px;
    line-height: 150%;
    font-family: "Quicksand";
    color: #c5d5e5;
}

#container {
    background-color: #1F1141;
    display: grid;
    margin: 0px auto;
    justify-content: center;
    grid-template-areas: "side" "navi" "main";
    grid-template-columns: auto;
    text-align: center;
    font-size: 1rem;
    max-width: 900px;
    border-left: 1em solid #1F1141;
    border-right: 1em solid #1F1141;
}

side {
    grid-area: side;
    justify-self: center;
}

side img {
    max-width: 100vw;
    height: auto;
    margin: 0 auto; padding: 0;
    justify-self: center;
}

main {
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
    grid-area: main;
    margin-top: -20px;
}

nav {
    width: 100%;
    grid-area: navi;
    display: table;
    box-sizing: border-box;
    border-collapse: separate;
    border-spacing: 5px;
    margin-top: -70px;
}

nav menu {
    display: table-row;
    text-align: center;
}

nav menu a {
    display: table-cell;
    height: 20px;
    padding: 5px;
    font-size: 24px;
    font-family: "Determination";
    vertical-align: middle;
    text-align: center;
    color: #613970;
    text-shadow: 1px 1px 0px #1F1141, -1px 1px 0px #1F1141, 1px -1px 0px #1F1141, -1px -1px 0px #1F1141;
    text-transform: lowercase;
    font-weight: bold;
    border-bottom: 0px;
}

nav menu a:hover {
    color: #3594D5;
}

nav menu a i {
    position: absolute;
    font-size: 20px !important;
    margin-left: -25px;
    margin-top: 7px;
    opacity: 0;
}

nav menu a:hover i {
    opacity: 1;
    color: #9C1646;
}

/* everythang else... */

h1 {
    color: #3B99D7;
    font-family: "Determination";
    font-weight: normal;
    text-transform: uppercase;
    line-height: 20px;
    font-size: 24px;
    border-bottom: 2px solid #302159;
}

h2 {
    color: #3B99D7;
    font-family: "Determination";
    font-weight: normal;
    text-transform: uppercase;
    line-height: 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

h3 {
    color: #613970;
	letter-spacing: 2px;
    font-size: 14px;
    text-align: center;
}

a {
    color: #3B99D7;
	font-weight: bold;
    text-decoration: none;
}
	
main a {
	border-bottom: 1px dotted #6f5ea3;
}

a:hover {
    color: #6f5ea3;
    cursor: crosshair;
}
	
main a:hover {
	border-bottom: 1px dotted #3B99D7;
}
	
#credits {
	text-align: center;
	margin: 15px auto;
	padding: 15px;
	width: 50%;
	border-top: 1px solid #0860BB;
	font-size: 90%;
    line-height: 90%;
}

blockquote {
	font-family: "Determination";
	width: 75%;
	margin: 0px auto;
	border-left: 5px solid #0860BB;
	padding: 15px;
	line-height: 150%;
}
	
blockquote a {
	font-weight: normal;
}

member {
    display: block;
    margin: 10px;
    padding: 10px;
    border: 5px solid #fff;
    background-color: #000;
    color: #fff;
    font-family: "Determination";
    vertical-align: middle;
}

pre {
    white-space: normal;
    max-width: 70%;
}

b {
    color: #9C1646;
    font-family: "Determination";
    font-size: 120%;
    font-weight: normal;
}

/* forms */

form {
    width: 75%;
    margin: 0px auto;
    text-align: center;
}

fieldset {
    border-top: 1px solid #3B99D7;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
    margin: 15px;
}

legend {
    border: 1px solid #3B99D7;
    color: #3B99D7;
    font-family: "Determination";
    font-weight: normal;
    text-transform: uppercase;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
}

label {
    display: block !important;
    float: none !important;
    text-align: center;
    width: 100%;
    margin: 0px auto;
}

select, input, textarea {
    display: block;
    width: 250px;
    margin: 0px auto;
    padding: 5px;
    background-color: #1F1141;
    border: 1px solid #3B99D7;
    color: #c5d5e5;
    border-radius: 10px;
}

select:focus, input:focus, textarea:focus {
	border: 1px solid #6f5ea3;
    color: #3B99D7;
}

option {
    background-color: #1F1141;
}

input[type=password] {
    width: 250px !important;
}

input[type=submit], input[type=reset] {
    width: 150px;
    display: inline;
}

input[type=radio], input[type=checkbox] {
    width: auto;
    display: inline;
}

.codesort p {
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

.codesort ul {
    width: 70%;
    list-style-type: none;
    display: table;
    text-align: center;
    padding: 5px;
    border: 2px solid #302159;
    margin: 0 auto;
}

.codesort li {
    display: table-cell;
    padding: 10px;
}

.codesort img {
    text-align: center;
    margin: 0 auto;
}