* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  max-width: 2000px;
  margin: auto;
}

.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a,
.topnav h1 {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav h1 {
  padding: 10px 16px 0px 16px;
  font-size: 27px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: lightgray;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

main>h2 {
  text-align: center;
  margin: 8px;
}

main>article {
  text-align: center;
  margin: 8px;
}

main>div>section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main>div>section>img {
  width: 100%;
  height: 100%;
}

main>div>section,
main>div>section>h3,
main>div>section,
main>div>section>p {
  padding: 2px 12px;
}

main>div>section>h4,
main>div>section>p#prov {
  text-align: center;
}

main>section {
  padding: 5px;
  margin: auto;
  text-align: center;
}

footer {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: rgb(247, 239, 229);
}

footer>section {
  width: 49%;
  padding: 25px;
}

footer>section>h5 {
  font-size: 18px;
}

footer>section#copy {
  padding: 20px;
}

footer>p {
  text-align: center;
  padding: 5px;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  main>h2 {
    text-align: center;
    margin: 8px;
  }

  main>article {
    text-align: center;
    margin: auto;
    max-width: 600px;
    padding-bottom: 20px;
  }


  main>div.imagesection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  main>div.imagesection>section {
    max-width: 350px;
  }



  main>section {
    max-width: 600px;
  }

  main>section>h4 {
    padding-top: 10px;
  }

  main>div>section,
  main>div>section>h3,
  main>div>section,
  main>div>section>p {
    padding: 2px 12px;
  }
}