*[data-visible="false"]{
  display: none;
}

html, body{
  font-display: swap;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 12pt;
  margin: 0px;
  background-attachment: scroll;
  background-repeat: repeat-y;
  width: 100%;
  min-height: 100%;
  font-weight: 400;
}

body{
  height: auto;
}

body[data-fixednav="true"] nav{
  position: fixed;
  top: 0;
  z-index: 999;
}

a {
  color: #4f94d4;
}

h1, h2, h3, h4, h5, h6, p, ol li {
    margin: 0;
    padding: 0;
    font-weight: 400;
    list-style-type: none;
}

header{
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header h1, header h4{
  margin: 0;
  padding: 0;
  font-weight: 200;
}

header h1{
  font-size: 66px;
  font-weight: 600;
  z-index: 1;
  background: rgba(255,255,255,0.65);
}

header h4{
  font-size: 28px;
  max-width: 650px;
  text-align: center;
  z-index: 1;
  background: rgba(255,255,255,0.65);
}

header p{
  margin-top: 1em;
  font-weight: 600;
}

header canvas#wanderers{
  /* opacity: 0.5; */
  position: absolute;
}

nav{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid white;
  border-width: 1px 0px;
  box-sizing: border-box;
  background: black;
}

nav .site-links{
  width: 1280px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .site-links a{
  flex-grow: 1;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  color: white;
  font-weight: 400;
  text-transform: capitalize;
}

footer{
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background: white;
  padding: 0.5em;
  box-sizing: border-box;
  border-top: solid #000 1px;
}

footer .social-links{
  display: flex;
  align-items: center;
  justify-content: center;
}

footer .social-links a{
  display: block;
  margin-left: 0.5em;
  margin-right: 0.5em;
  height: 25px;
}

footer .social-links a img{
  width: 25px;
}

body[data-fixednav="true"] main{
  margin-top: 40px;
}

main{
	width: 100%;
	max-width: 1000px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2em 2em 15em;
	box-sizing: border-box;
}

main a{
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #4f9fdf;
  background: rgba(79, 159, 223, 0.15);
  padding: 0 0.2em;
  color: black;
  border-radius: 3px 3px 0 0;
}

main img, main iframe, main embed{
	width: 100%;
	margin: 0 2em 2em;
}

main img{
	max-width: 750px;
}

main iframe{
  min-height: 480px;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    margin-bottom: 15px;
	font-weight: 600;
}

main p{
	width: 100%;
	margin-bottom: 1em;
	line-height: 1.6em;
}


@media all and (max-width: 768px){

  header{
    height: 200px;
  }

  header h1{
    font-size: 33px;
    text-align: center;
  }

  header h4{
    font-size: 14px;
    max-width: 80%;
  }

  header p{
    font-size: 12px;
  }

  nav .site-links a{
    font-size: 12px;
  }

  main img{
    max-width: 100%;
    margin: 0;
  }

  main iframe{
    min-height: 100px;
  }

}

@media (prefers-color-scheme: dark) {
  body {
      background-color: #1e2635;
      color: white;
  }

  header h1, header h4{
    background-color: transparent;
  }

  nav{
    border: 1px solid transparent;
    background-color: #111721;
  }
  
  main a{
	  color: white !important;
	}
  
	main a:hover{
	  color: black !important;
    background-color: #e6f1fa;
	}

  footer {
    background: #111721;
  }

  footer .social-links a{
    height: auto;
  }

  footer .social-links a img{
    background: white;
    border-radius: 100%;
    padding: 0.5em;
    overflow: visible;
    height: 18px;
    width: auto;
  }

}