/*This is the CSS page for our final template.*/

p {
	font-family: 'Times New Roman', serif;
	font-size: 20px;
}
.footer p { /* This is how you add styles for only the p text within the footer. */
	background-color: #2166ac;
	color: #d1e5f0 ;
	text-align: center;
	font-size: 20px;
	margin-bottom: 0;
}
.header {
	height: auto;
	font-weight: bold;
	font-size: 25px;
	text-align: center;
	font-family: 'Georgia', serif;
	background-color: #2166ac;
	color: #d1e5f0;
}
h2 {
	font-style: italic;
	font-size: 20px;
	font-family: 'Georgia', serif;
}
h3 {
	font-size: 25px;
}

h4 {
	font-size: 20px;
}

.article {
	max-width: 1200px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 22%;
	margin-right: 22%;
	padding-left: 10px;
	padding-right: 10px;
}

/* Medium screens */
@media (max-width: 1200px) {
  .article {
    margin-left: 15%;
    margin-right: 15%;
  }
}

/* Small screens */
@media (max-width: 900px) {
  .article {
    margin-left: 15%;
    margin-right: 15%;
  }
}

/* Extra small screens */
@media (max-width: 700px) {
  .article {
    margin-left: 15%;
    margin-right: 15%;
  }
}

/* Mobile — keep readable but not too wide */
@media (max-width: 500px) {
  .article {
    margin-left: 8%;
    margin-right: 8%;
  }
} 

/* unvisited link */
a:link {
  color: #2166ac;
}

/* visited link */
a:visited {
  color: #d1e5f0;
}

.center-block {
  text-align: center;     /* makes ALL text & image centered */
  max-width: 800px;       /* keeps centered text readable */
  margin: 0 auto;         /* centers the whole block on the page */
}

.center-block img {
  display: block;
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  height: auto;
}
#button {
	text-align: center;
	font-size: 20px;
	background-color: #2166ac;
	color: #d1e5f0;
	font-weight: bold;
	padding: 12px;
	width: 20%;
	margin-left: 42%;
}

.caption {
  font-size: 12px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 5px;
  text-align: right;
     display: flex;
      justify-content: center; /* Horizontally centers content */
    }
}

/*Don't worry about this section yet*/
@media only screen and (max-width: 767px)
{
 .list {
 	float: none;
 	min-width: 90%;
 	margin-left: 10px;
 	margin-bottom: 30px;
 	margin-top: 30px;
 }

  }
}
 iframe {
 	min-width: 90%;
 	margin-right: 10px;
 }

}
img {
	margin-left: 5%;
	margin-right: 5%;
	max-width: 100%;
  
}
}
