@import '../inc/reset.css';
@import '../inc/reset.css';
body {
  font-family: "Lato", sans-serif;
  line-height: 25px;
  background-color: rgba(227, 195, 145, 0.06);
}
body a:hover {
  color: #ff5a5f;
  text-underline: none;
}

nav {
  line-height: 50px;
  background: #7293a8;
  height: 50px;
  width: 100%;
  position: fixed;
  z-index: 10;
}
nav li {
  line-height: 50px;
  float: left;
  font-size: 120%;
  margin: 2px 10px 20px 30px;
}
nav li img {
  margin-top: -10px;
  height: 59px;
}
nav li a {
  line-height: 50px;
  text-decoration: none;
  color: white;
}
nav li a:hover {
  text-decoration: none;
  color: #ff5a5f;
}
nav .contact {
  float: right;
  margin: 2px 10px 20px 30px;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 99999999;
  left: 0;
  top: 0;
  overflow-x: hidden;
  transition: 0.5s;
  background-color: rgba(255, 90, 95, 0.9);
}
.overlay li {
  color: #6b9aad;
}

.overlay-content {
  margin-top: 100px;
  z-index: 9;
  display: block;
}
.overlay-content span {
  margin: 80px;
}
.overlay-content a {
  line-height: 40%;
  font-size: 10vw;
  margin: 25px;
  width: 100%;
  height: auto;
  margin-top: 5%;
  float: left;
  justify-self: center;
  margin-left: 15%;
  text-decoration: none;
  color: white;
}
.overlay-content a:hover {
  color: #548cbe;
}

.close {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}
.close img {
  width: auto;
  height: 150px;
}

@media (min-width: 930px) {
  .on {
    display: none;
  }
}
@media (max-width: 928px) {
  nav {
    line-height: 250%;
    font-size: 150%;
    height: 50px;
  }
  nav li > a {
    line-height: 25px;
    display: none;
  }
  nav li > a span {
    margin: 80px;
  }
  nav img {
    display: none;
  }

  nav .on {
    color: white;
    display: block;
    margin-left: -10px;
    margin-top: 7px;
    cursor: pointer;
  }
}
body {
  display: flex;
  flex-direction: columns;
  justify-content: center;
}
body nav {
  top: 0;
}
body section article {
  width: 70%;
  float: right;
}
body section article p {
  margin-bottom: 2vh;
}
body h1 {
  font-size: 3vw;
  text-align: center;
  margin-bottom: 10%;
}
body main {
  margin-top: 80px;
  width: 60%;
}

@media (max-width: 668px) {
  body main {
    min-width: 400px;
    width: 90%;
  }
  body main .fb-group {
    width: auto;
  }
  body main section {
    display: flex;
    flex-direction: row;
  }
  body main section article {
    width: 100%;
  }
  body main section article p {
    margin-bottom: 2vh;
  }
  body main h1 {
    margin-top: 30px;
    font-size: 8vw;
  }
}
@media (min-width: 670px) and (max-width: 1244px) {
  main {
    width: 100%;
  }
  main .fb-group {
    width: auto;
  }
  main section {
    display: flex;
    flex-direction: row;
  }
  main section article {
    width: 100%;
  }
  main section article p {
    margin-bottom: 2vh;
  }
  main h1 {
    margin-top: 60px;
    font-size: 7vw;
  }
}
@media (min-width: 1246px) {
  main h1 {
    margin-top: 60px;
    font-size: 4vw;
  }
}