html {
    height: 100%;
}

body {
	background-color:black;
	background-image: linear-gradient(to top, black, blue);
	
	margin:auto;
	margin-top:15px;

	width:750px;
	display:block;
	
	height: 100%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* pre-setup */

h1, h2, h3, h4, b, p, a, i, u, table, help {
	font-family:arial;
	color:white;
	margin: 0;
    padding: 0;
	display:inline;
}

/* Tables */

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  display:table;
  width: 100%;
}

td, th {
  border: 2px dotted white;
  border-right: 2px solid white;
  text-align: left;
  padding: 5px;	
  vertical-align:top;
}

th {
	border: 2px solid white;
}

tr:nth-child(even) {
  background-color: rgba(0,0,0,0.5); 
}


li { /* the <li> element is a bit funky so it has to be seperate */
	font-family:arial;
	color:white;
}

ul {
	display:inline-block;
}

help {
	text-decoration-line: underline;
	text-decoration-style: dotted;	
	cursor: help;
}

a {
	color: rgba(100, 200, 255);
	text-decoration:none;
}

a:hover {
	color: rgba(100, 240, 255);
	text-decoration:underline;
}

hr {
	margin-top:5px;
	margin-bottom:5px;
	border-style:solid;
	color:white;
}

vl {
  border-left:solid 2px;
  color:white;
  height:auto;
}

textarea, input {
	text-align:left;
	resize: none;
	width: 100%;
	box-sizing: border-box;
	
	border-radius:0px;
	border: 1px solid #ccc;
	background-color: #f8f8f8;
	
	font-size:15px;
	font-family:arial;
	color:black;
}

form textarea:disabled, input:disabled, button:disabled {
  opacity: 1;
  cursor: not-allowed;
}




/* <marquee> replacement */

/* To be deprecated */
marquee { 
	background-color: rgba(0,0,0,0.75);
	
	border-color: rgba(50,50,50);
	border-width:3px;
	border-style:solid;
	border-radius:3px;
	
	margin-bottom:10px;
	padding:5px;

	color: black; /* This should only be used for that home page.. Don't use marquee anywhere else! */
	font-size:20px;
	font-family:dotMatrix, arial;
}

/*
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee p {
  color: yellow;
  font-size:20px;
  font-family:dotMatrix, arial; 
}

.marquee {

}

.marquee-container {
  white-space: nowrap;
  position: relative;
  animation: marquee 20s linear infinite;
}

.marquee-content {
  display: inline-block;
}
*/



/* 
Deprecate .buttonA & .buttonB classes.
	Their usage will be replaced with the content below.
*/

button {
	padding:5px 15px;
	
	font-size:15px;
	font-family:arial;
	text-align:center;
	
  border: 2px outset #ffffff;
  border-radius: 0px;
  background-color: #c9c9c9;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.6);
  
  &:active {
    border: 2px inset;
  }
}


/* Custom Fonts */

@font-face {
	font-family: soopafresh;
	src: url(./fonts/soopafre.ttf);
}

@font-face {
	font-family: dotMatrix;
	src: url(./fonts/DOTMBold.ttf);
}



/* ID tags */

#smallBreak {
	margin-top:5px;
}

#subtitle {
	color: rgba(150,150,150);
	font-style: italic;
}

#captionedThumbnail {
	float:right;
	display:block;
	margin:0px 5px 0px 5px;
	
	color: rgba(150,150,150);
	text-align:center;
	font-style: italic;
}

#captionedThumbnail a img {
  color: rgba(150,150,150);
}

/* makes the background of the "fake" body transparent, so it doesnt affect text. */
#mainContent {
	background-color: rgba(0,0,0,0.5);
	padding:15px;
	border-radius:5px;
}

#title a {
	border-width:5px;
	border-style:outset;
	border-color:white;
	
	margin-top:0px;
	margin-bottom:10px;
	padding:5px;
	
	display:flex;
	justify-content: center;
	align-items: center;
	
	background-image: url("../media/banner.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	
	text-shadow: 2px 2px black;
	text-align:center;
	text-decoration: none;
	color:white;
}

#title a h1 {
	font-family:soopafresh, arial;
	font-weight:normal;
	font-size:40px;
	letter-spacing:4px;
}

#footer {
	margin-top:10px;
	text-align:center;
}

#disabled {
  pointer-events: none;
  cursor: not-allowed;
}

/* Text scaling/coloring */

#redImportant {
	display:block;
	text-align:center;
	padding: 5px 0px 5px 0px;
	
	color:red;
	font-weight:bold;
	text-shadow:1px 1px rgba(50,0,0);
}

#small {
	font-size:12.5px;
}

/* classes */

.dimmed {
	position: relative;
}

.dimmed:after {
	content: " ";
	z-index: 10;
	display: block;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
	background-image: url("../media/under-construction.png");
	background-size: 100% 135px;
	background-position: center;
	background-repeat: no-repeat;
}



/* buttons / checkmarks / others */

.checkmarkA {
	position: absolute;
	
	height: 20px;
	width: 20px;
}



.buttonA {
  width:100%; 
  padding:auto;
}

/*
Deprecated, do not use.

.buttonA, .buttonB {
	padding:5px;
	
	font-size:15px;
	font-family:arial;
	text-align:center;
	
  border: 2px outset #ccc;
  border-radius: 0px;
  background-color: #aaa;
	box-shadow:0 8px 16px 0 rgba(0,0,0,0.6);
}*/



/* img classes */

.thumbnail {
	margin:5px 10px 0px 10px;
	display:inline-block;
	
	background-color:lightgrey;
	
	height:auto;
	width:auto;

	border-width:3px;
	border-style:outset;	
}

.projectThumbnail img {
	margin:5px;
	display:inline;
	
	background-color:lightgrey;
	
	height:125px;
	width:125px;

	border-width:3px;
	border-style:outset;
}

.projectThumbnail {
	text-align:center;
	display:block;
}


/* misc. classes */

.content {
	border-width:3px;
	border-style:outset;
	border-color: white;
	padding:7px;
}



/* navbar */

.navbar {
	border-width:3px;
	border-style:outset;
	border-color:white;
	
	padding:5px;
	margin-bottom:10px;
}

.navbar ul {
	width:auto;
	list-style-type: none;
    margin: 0;
    padding: 0;
	overflow: hidden;
	
	display: flex;
	justify-content: center;
}

.navbar li {
	float:left;
	width:100%;
	
	text-align:center;
	display:inline-block;
}

/* Navbar hyperlinks */

.navbar a {
	color:white;
	text-decoration:none;
	width:100%;
}

.navbar a:hover li { /* Why doesn't this work? */
	color:rgba(100, 240, 255);
}


