/* This source code changes/sets the rules and framework for the index webpage of the 'History of Nintendo' website*/
#title
{
	font-family: 'Bitter', serif;
	font-size: 60px;
	text-align: center;
	color: #000000;
}

/*The rule set in the body decloration is meant to keep the background of the webpage in any circumstance, white.*/
body
{
	background-color: white;
}

/*'list-style-type' set to 'none' removes the bullet points in a <ul>/<ol> child element. This is done to help set the navigation bar correctly on the webpage.
Setting the 'margin' and and 'padding' to 0%, removes the spacing between the 'navbar' and the edge of the document.*/
#navbar
{
	list-style-type: none;
	margin: 0%;
	padding: 0%;
	position: fixed;
	overflow: hidden;
	background-color: #000000;
	width: 100%;
	height: 29px;
	top: 0%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.navbar1
{
	float: left;
	margin: 0%;
	padding: 0%;
}

.navbar2
{
	display: inline-block;
	margin: 0%;
	color: #ffffff;
	font-family: 'Arial', sans-serif;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	padding: 6px 20px;
	text-decoration: none;
}

#navbar3
{
	float: right;
}

#navbar4
{
	float: right;
}

.navbar2:hover
{
	background-color: grey;
}

.activenav
{
	background-color: grey;
	display: inline-block;
	margin: 0%;
	color: white;
	font-family: 'Arial', sans-serif;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	padding: 3px 10px;
	text-decoration: none;
}

/*The selectors #navbar, to #activenav help to create the webpages naviagtion bar with all the wanted functions, including selection highlighting*/

/*Changes the Nintendo logo images on the index page to its correct and wanted settings*/
#nintendo
{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: auto;
}

/*Next 2 sections change the way the text is displayed on the index page respectively*/
.intro
{
	text-align: justify;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	margin-left: 50px;
	margin-right: 50px;
}

.extra
{
	text-align: center;
	font-family: 'Hammersmith One', sans-serif;
	font-size: 20px;
	margin-left: 25px;
	margin-right: 25px;
}

#validator
{
	text-align: center;
}

#writer
{
	font-family: 'Ubuntu', sans-serif;
	font-size: 13px;
	text-align: center
}

#MarioCap
{
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
	padding-bottom: 0;
	clear: bottom;
}

#MarioCap1
{
	display: block;
	clear: bottom;
	font-size: 0;
	text-align: center;
}

#CSS
{
	border: 0;
}

/*Changes attributes for video displayed on page*/
#Video
{
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 0;
}

#Video1
{
	width: 96%;
	background-color: red;
	margin-top: 5%;
	margin-bottom: 5%;
	padding: 2%;
}