* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

.clearfix {
  content: "";
  display: table;
  clear: both;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: whitesmoke;
}

/****** BODY FADE IN ANIMATION ******/
body {
  -webkit-animation: fadeInAnimation ease 1s;
  animation: fadeInAnimation ease 1s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/****** TOP HEADER ******/
.topheader {
  padding: 5px;
  font-size: xx-small;
  text-align: center;
  letter-spacing: 3px;
  background-color: slategrey;
  color: #fff;
}

.topheader2 {
  padding: 5px;
  font-size: xx-small;
  text-align: center;
  letter-spacing: 3px;
  background-color: slategrey;
  color: #fff;
  display: none;
}

/****** HEADER ******/
.header {
  height: 80px;
  padding-left: 10px;
  background-color: #fff;
  border-bottom: 5px solid #4F608B;
  display: flex;
  justify-content: space-between;
}

.logo img {
  width: 261px;
  height: 80px;
}

/****** NAVIGATION ******/
.nav {
  margin-top: 27px;
  margin-right: 40px;
  overflow: hidden;
}

.nav li {
  display: inline;
  padding: 10px;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: bold;
}

.nav li a {
  padding-bottom: 5px;
  color: #4F608B;
}

.nav li a:hover {
  border-bottom: 3px solid #9D240F;
}

li.currentpage a {
  color: #9D240F;
  border-bottom: 3px solid #9D240F;
}

/* Responsive icon */
.nav .icon {
  display: none;
  font-size: x-large;
}

@media screen and (max-width: 900px) {
  .nav li a {
    display: none;
  }

  .nav {
    margin: 20px 10px 0 0;
  }

  .topheader {
    display: none;
  }

  .topheader2 {
    display: block;
  }

  .nav a.icon {
    float: right;
    display: block;
  }

  .nav a.icon:hover {
    text-decoration: none;
  }
}

@media screen and (max-width: 900px) {
  .nav.responsive {
    position: relative;
  }

  .nav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 376px) {
  .header {
    height: 60px;
  }

  div.logo img {
    width: auto;
    height: 60px;
  }

  .nav li {
    padding: 0;
  }

  .nav {
    margin-top: 11px;
  }

  .nav:hover {
    text-decoration: none;
  }
}

/* The Overlay (background) */
#myNav.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/****** SECTION ******/
h1 {
  padding: 1.5rem 0 0 0;
  font-weight: 300;
  color: #4F608B;
  font-size: 1.5rem;
}

h2 {
  padding: 1rem 0 0 0;
  font-weight: 300;
  color: #4F608B;
  font-size: 1.2rem;
}

p {
  margin: 1rem 0;
}

.section-header h1 {
  font-size: 2rem;
}

section {
  background-color: white;
  width: 90%;
  margin: auto;
}

div.section1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 50px;
}

div.section1 img {
  width: 38vh;
  height: auto;
  margin: auto;
}

div.section2 {
  width: 85%;
  margin: 30px auto 0;
  line-height: 1.6rem;
}

div.section2 ul {
  list-style: disc;
  padding: 0 0 0 2rem;
}

/****** FOOTER ******/
footer {
  display: block;
  background-color: lightslategrey;
  padding: 5px;
  text-align: center;
  font-size: x-small;
  letter-spacing: 1px;
  color: #FCF7F8;
}