@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

div#slider { overflow: hidden; }
div#slider figure iframe { width: 20%; float: inherit; height: 100vh; }
div#slider figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: center;
  font-size: 0;
  animation: 30s slidy infinite; 
}

body {
	font-family: Helvetica, Arial, sans-serif;
	
}

.img {
 	max-width: 800px;
 	max-height: 600px;
 	display: block;
 	margin-left: auto;
 	margin-right: auto;
}

.figure {
	border-radius: 8px;
	
}

a:link {
	color: #003366;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #003366;
}
a:hover {
	text-decoration: underline;
	color: #003366;
}
a:active {
	text-decoration: none;
	color: #FFFFFF;
}

/* Style the header with a grey background and some padding */
.header {
  overflow: hidden;
  background-color: rgba(68,69,80,1);
  padding: 20px 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);  
}

/* Style the header links */
.header a {
  float: left;
  color: #fafafa;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

/* Change the background color on mouse-over */
.header a:hover {
  background-color: #6fa0ae;
  color: rgba(225,124,225,0.98);
}

/* Style the active/current link*/
.header a.active {
  background-color: rgba(225,124,225,0.98);
  color: #fafafa;
}

/* Float the link section to the right */
.header-right {
  float: right;
}

/* Footer */

#footer {
	font-weight: bold;
	letter-spacing: 0.1em;
	font-size: 0.7em;
	font-family: Helvetica, Arial, sans-serif;
	clear: left;
	background: rgba(50,43,62,0.69);
	height: 60px;
	border-radius: 12px 
}	
#footer-p {
	padding-left: 30px;
	padding-bottom: 10px;
	padding-right: 10px;
	padding-top: 10px;
}

#footer a {
  	padding: 10px;
	text-decoration: none;
	color: #f8fbff;
	border-radius: 6px;
}

#footer a:hover {
  background-color: #6fa0ae;
  color: rgba(225,124,225,0.98);
  }


/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .header a, #footer{
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
  .img {
  float: none;
  max-width: 400px;  
  }
  #footer-p { 
	  float:none;
	  padding: 15px;
	  display: block;
	  font-size: smaller;
  }
}

