
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: normal;
  src: local('Open Sans'), local('OpenSans'), url(.././fonts/OpenSans.woff) format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: normal;
  src: local('Open Sans Italic'), local('OpenSans-Italic'), url(.././fonts/OpenSans-Italic.woff) format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(.././fonts/OpenSans-Semibold.woff) format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(.././fonts/OpenSans-SemiboldItalic.woff) format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: bold;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(.././fonts/OpenSans-Bold.woff) format('woff');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: bold;
  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(.././fonts/OpenSans-BoldItalic.woff) format('woff');
}

html {
	overflow-y: scroll;
}

body {
	margin: 0;
	background-color: indianred;
	font-family: "Open Sans", sans-serif;
}

header {
	padding: 7px 15px;
	background-color: black;
	color: white;
	font-size: 0.8em;
}

header span {
	font-size: 1.2em;
	font-weight: bold;
	cursor: default;
}

header p {
	display: inline;
	float: right;
	margin-top: 2px;
	font-weight: 600;
}

header a {
	color: white;
}

main {
	margin: 30px auto;
	padding: 80px 6.5%;
	width: 1020px;
	background-color: snow;
	overflow-x: hidden;
	font-size: 1.1em;
}

ul {
	padding: 0;
	list-style: square;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.center {
	text-align: center;
}

@media screen and (max-width: 1255px) {
	main {
		margin: 2.5% auto;
		padding: 6.5%;
		width: 82.5%;
	}
}

@media screen and (max-width: 700px) {
	body {
		padding-bottom: 70px;
	}

	header {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 15px 0;
		text-align: center;
		z-index: 5;
		-webkit-backface-visibility: hidden;
	}

	header span {
		display: block;
		padding: 0 0 10px 0;

	}

	header p {
		float: none;
		text-align: center;
	}

	main {
		margin: 8% auto 2.5% auto;
		font-size: 0.9em;
	}
	
	ul {
		list-style: none;
	}
}
