/* Sets the font and background color */
body {
	font-family: 'Lato', sans-serif;
	background-color: black;
	color: white;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
/* Navigation Bar */
nav {
	position: absolute;
	width: 100%;
	z-index: 1;
}
nav a, nav a:hover, nav a:active, nav a:visited, nav a:link {
	text-decoration: none;
	color: white;
}
/* Adds line on hover */
nav a:hover {
	border-bottom: 3px solid white
}
/* Adds line to current page */
ul li:nth-child(3) a {
	border-bottom: 3px solid white;
	pointer-events: none;
   	cursor: default;
}
.navigation {
	list-style-type: none;
	font-weight: 500;
	font-size: 18px;
	float: right;
	margin-top: 30px;
}
nav li {
	display: inline-block;
	padding-right: 40px;
}
/* Logo placement */
.logo {
	float: left;
	width: 10%;
	padding-left: 40px;
	margin-top: 22px;
}
/* Header (top) page */
header {
	background-image:url(../images/events.png);
	background-repeat: no-repeat;
	width: 100%;
    overflow: hidden;
    height: 100vh;
}
/* Header text */
.events {
	position: absolute;
	bottom: 0;
	margin-left: 30px;
	margin-bottom: 30px; 
}
.events h1 {
	font-weight: bold;
	font-size: 25px;
	margin: 0;
	margin-bottom: -20px;
}
.events h2 {
	font-weight: bold;
	font-size: 140px;
	margin: 0;
}
.events h3 {
	font-size: 25px;
	font-style: italic;
	font-weight: 100;
	margin: 0;
}
/* Social media links */
.social a:nth-child(2) img, .social a:nth-child(3) img{
	margin-left: 15px;
}
.social a:nth-child(2) img {
	height: 26px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.social img {
  	border: 2px solid white;
	background-color: transparent;
	padding: 10px 10px 10px 10px;
	margin-top: 15px;
	width: 30px;
	height: 30px;
}
/* Sponsors */
.spon {
 height:100vh; 
 line-height: 100vh;
 float: right;
 margin-right: 30px;
}
.spon img {
 vertical-align: middle;
  margin-bottom:0.25em;
  width: 100px;
}
/* White bar */
.bar {
	width: 100%;
	height: 26px;
	background: #FFF;
	position: absolute;
}
/* Explore (bottom) page */
.explore {
	background-image:url(../images/bg.png);
	background-repeat: no-repeat;
	overflow: hidden;
	margin-top: -37px;
	margin-bottom: 2px;
	padding: 100px 100px 100px 30px;
}
.explore div {
	width: 1350px;
	float: left;
	margin-top: 0;
	line-height: 50px;
}
.explore ul {
	padding-top: 73px;
	font-weight: 300;
	position: absolute;
	right: 0;
	margin-right: 30px;
	list-style: none;
	text-align: right;
}
.explore ul li{ 
	padding-top: 10px;
}
.explore ul h4 {
	font-weight: bold;
	font-size: 20px;
	margin-bottom: -5px;
}
.explore h1 {
	font-size: 60px;
	margin-bottom: 0;
	margin-left: 0;
}
.explore p {
	width: 800px;
	font-weight: 300;
	font-size: 22px;
}
/* Events button */
#button {
	background-color: white;
	border: none;
	padding: 10px 30px;
	color: black;
	font-weight: 400;
	font-size: 16px;
	text-align: center;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    cursor:pointer;
}
#button:hover, .social img:hover {
	background-color: #E3E3E3;
}
/* Bottom image slider */
.slideshow {
  position: relative;
  overflow: hidden;
}
.slideshow img {
	left: 0;
    top: 0;
    height: 100%;
    animation: slideshow 40s linear infinite;
}
@keyframes slideshow {
	0%{ 
		margin-left: 0px;
	}
	100%{ 
		margin-left: -100%;
	}
}
/* Footer bar */
footer {
	display: block;
	bottom: 0;
	height: 32px;
	font-size: 12px;
	text-decoration: none;
}
footer p:first-child {
	left: 0;
	margin-top: 15px;
	margin-left: 30px;
}
footer p:nth-child(2) {
	text-align: center;
	margin-top: -28px;
}
footer a {
	color: grey;
}
@media (min-width: 950px) and (max-width: 1040px) {
	.explore p {
	width: 500px;
	}
	.explore {
		margin-bottom: 3px;
	}
}