/* Sets the qualities of the body of each page */
body {
  background-color: #b7c5b6;
  margin: 0;
  font-family: Georgia, serif;
}

/* Sets the qualities of header1 */
h1 {
  text-align: center;
  color: black;
  float: center;
  font-family: Georgia, serif;
}

/* Sets the qualities of header3 */
h3 {
  text-align: center;
  color: black;
  float: center;
  font-family: Georgia, serif;
}

/* Sets the qualities of paragraphs */
p {
  color: #330A04;
  font-family: Georgia, serif;
}

/* Sets the qualities of top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #330A04;
  font-family: Georgia, serif;
  align-items: center;
  justify-content: center;
}

.topnav-centered a {
  position: relative;
  display: inline-block;
  width: 400px;
  top: 27px;
}

img {
  width: 100%;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  position: relative;
  font-size: 30px;  
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Sets the qualities of home page slideshow */
.mySlides {display: none;}
img {
  vertical-align: middle;
}

.slideshow-container {
  top:20px;
  max-width: 48%;
  position: relative;
  float: right;
}

/* Rearranges slideshow for smaller screens */
@media screen and (max-width: 600px) {
  .mySlides {
    height: 200px;
  }
}

/* Slideshow caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-family: Georgia, serif;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  font-family: Georgia, serif;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
}

.header {
  text-align: center;
  padding: 32px;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 5px;
}

/* Create four equal columns that sit next to each other */
.column {
  -ms-flex: 33.33%; /* IE10 */
  flex: 33.33%;
  max-width: 33.33%;
  padding: 0 5px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  horizontal-align: middle;
  width: 100%;
  border: 20px solid black;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 800px) {
.slideshow-container {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 600px) {
.slideshow-container {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 600px) {
.text-block {
    max-width: 100%;
  }
}

/* Sets the qualities of image captions */
figure {
  border: 1px #cccccc solid;
  padding: 4px;
  margin: auto;
  vertical-align: middle;
}

figcaption {
  background-color: white;
  color: #131a37;
  font-style: italic;
  padding: 2px;
  text-align: center;
}

/* Sets the qualities of contact inputs */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #b1dddf;
  padding: 20px;
  font-family: Georgia, serif;
}

/* Sets the qualities of home page intro */
.text-block {
  position: relative;
  float: left;
  background-color: #BFD5D2;
  color: #330A04;
  padding-left: 20px;
  padding-right: 20px;
  font-family: Georgia, serif;
  max-width: 48%;
  font-size: x-large;
  line-height: 30px;
  overflow: auto;
  box-sizing: border-box;
  min-width: 380px;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive .icon {
    position: fixed;
    right: 0;
    top: 0;
}
  
.topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

/* Sets the qualities of footer */
.navbar {
  overflow: hidden;
  background-color: white;  
  margin-bottom: 0px;
  width: 100%;
  bottom:-200px;
  text-align: center;
  display: inline-block;
  left:0;
  position: relative; 
  margin-top: 40px;
}

.navbar a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
  display: inline-block;
}

/* Resizes footer for smaller screens */
@media screen and (max-width: 600px) {
.navbar.responsive .icon {
    position: absolute;
    right: 0;
    bottom:0;
}
.navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.fa {
  padding: 20px;
  font-size: 80px;
  width: 80px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa-youtube {
  color: black;
  position: relative;
}

.fa-instagram {
  color: black;
  position: relative;
}

/* Sets the double border on images */
.ImageBorder {
  outline: 20px solid white;
  border: 20px solid black;
}
