:root {
  --mainblock: #363636;
  --bgcolor: #222629;
  --altbgcolor: #2A2A2A;
  --link: #65CCB8;
  --usedlink: #2D785E;
  --hoverlink: coral;
  --mainheader: #36CF9A;
  --subheader: #69AC94;
  --miniheader: #29A177;
  --fontcolor: #ECF1E3;
}
/*Used these because it made changing the colors easier Couldn't find a decent color scheme for a while*/
ul.horizontalList{
    margin-left: 30%;
	list-style:none;
}

ul.horizontalList li {
  display: inline-block;
   min-width: 10rem;
   font-size: 20px;
}

.mainimage img{
	margin-top: 10px;
	display: block;
    margin-left: auto;
	margin-right: auto;
	border: 1px solid #ddd;
	border-radius: 4px;
    padding: 5px;
}
.tableStyle img{
	width: 175px;
	height: 175px;
	
}

.tableStyle {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.tableStyle td, .tableStyle th {
  border: 1px solid #ddd;
  padding: 8px;
}

.tableStyle tr:nth-child(even){
	
	background-color: var(--altbgcolor);
	
	}

.tableStyle tr:hover {background-color: black;}


.tableStyle th {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  background-color: var(--usedlink);
  color: white;
}
/*Didn't want the nav bar to be included in the margin limit Everything below the nav bar is an "element"*/
.elements {
	margin-left: 20%;
	margin-right: 20%;
	background-color: #363636;
	color: #F0F6FD;
}
body{
	background-color: #363636;
}

p {
  margin-top: 10px;
  text-indent: 50px;
  font-size: 17px;
}

h1 {
	color: #36CF9A;
	text-align:center;
	margin-bottom: 30px;
	margin-top: 30px;
}

h2 {
	color: var(--subheader);
}

h4 {
	color: var(--miniheader);
}

a:link {
  color: var(--link);
}

a:visited {
  color: var(--usedlink);
}

a:hover {
  color: var(--hoverlink);
}

ul.navbar {
	position: -webkit-sticky; /*Place I found out how to use sticky said this was required for safari*/
	position: sticky;
    top: 0;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: black;
}

ul.navbar li {
  float: left;
}

ul.navbar a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul.navbar a:hover {
  background-color: var(--bgcolor);
}

.active {
  background-color: var(--usedlink);
}

.flex-container {
	display: flex;
	flex-wrap: wrap;
	margin: -20px;
	background-color: var(--altbgcolor);
	text-align:center;
	font-size:20px;
	margin-bottom: 10px;
}

.flex-container > div {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 450px;
	height: 250px;
	margin: 10px;
}

.flex-container img{
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.numlist li{
	font-size: 18px;
}	

.bottomlinks li{
	font-size: 18px;
}
