:root {
	--textcolor: white;
	--textcolorinverted: black;
	--highlightcolor: #8b0000;/*Dark Red Color*/
	--buttoninercolor: white;
	--hovercolor: white;
}
body {
	background-image: url('images/background.jpg');
	display: grid;
	height: 100%;
	grid-template-areas:
		"header header header"
		"nav article article"
		"footer footer footer";
	grid-template-rows: 100px 1fr 75px;
	grid-template-columns: 15% 1fr 1%;
	grid-row-gap: 5px;
	grid-column-gap: 5px;
	margin: 0;
	color: var(--textcolor);
}
#page-container{
	position: relative;
	min-height: 120vh;
}
#content-wrap{
	padding-bottom: 2.5rem
}

header, footer, article, nav, div {
  padding: 1.2em;
  background-color: rgba(0,0,0, 0); /* Change Last 0 to affect black transparency*/
  position: relative;
  }
#pageHeader {
  grid-area: header;
  }
#pageFooter {
  grid-area: footer;
  }
#mainArticle { 
  grid-area: article;
  }
#mainNav { 
  grid-area: nav;
  }

/* Add a card effect for articles */
.card {
    background-color: rgba(0,0,0, .5);
   /* background-color: white;*/
   padding: 20px;
   margin-top: 20px;
   color: var(--textcolor);
}
.button {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}
.button1 {
	background-color: var(--buttoninercolor);
	color: var(--textcolorinverted);
	border: 2px solid var(--highlightcolor);
}

.button1:hover {
  background-color: var(--highlightcolor);
  color: white;
}
* {
	box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
	max-width: 100%;
	position: relative;
	margin: auto;
}
/* Hide the images by default */
.mySlides {
	display: none;
}
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	padding: 16px;
	margin-top: -22px;
	color: red;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}
/* Position the "prev button" to the Left SLIDESHOW FOR LEFT ARROW */
.prev {
	left: 0;
	border-radius: 3px 0 0 3px;
}
/* Position the "next button" to the right SLIDESHOW FOR RIGHT ARROW */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}
	/* On hover, add a black background color with a little bit see-through */
	.prev:hover, .next:hover {
		background-color: rgba(0,0,0,0.8);
	}
/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 0px;
	bottom: 0%;
	background-color: white;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

	.active, .dot:hover {
		background-color: red;
	}

/* Fading animation */
.fade {
	animation-name: fade;
	animation-duration: 1.5s;
}

@keyframes fade {
	from {
		opacity: .8
	}

	to {
		opacity: 1
	}
}

	/* Stack the layout on small devices/viewports. */
	@media all and (max-width: 1460px) {
		body {
			grid-template-areas:
				"header"
				"nav"
				"article"
				"footer";
			grid-template-rows: 100px 0.5fr 100px 0.5fr 50px;
			grid-template-columns: auto;
		}

		img {
			max-width: 100%;
			margin: auto;
		}

		.fakeimg {
			max-width: 100%;
			margin: auto;
		}
	}

	ul {
  list-style-type: none;
  text-align:center;
  margin:auto;
  padding: 0;
  width: 200px;
}
li a {
text-align:center;
  display: block;
  color: var(--textcolor);
  padding: 7px 10px;
  text-decoration: none;
}

/* Change the link color on hover */
li a:hover {
  background-color: var(--hovercolor);
  color: Black;
}
.active {
  background-color: var(--highlightcolor);
}
img {
	max-width:100%;
}
	.faleimg{
	max-width:100%;
	}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
	.prev, .next, .text {
		font-size: 11px
	}
}