/* CODED BY RIDLEY */
html {
  margin: 0 auto;
  font-family: "AppleGothic",sans-serif;
}
body {
  margin: 0 auto;
  width: 100%;
}
@font-face {
  font-family: "AppleGothic",sans-serif;
  src: url('fonts/AppleGothic.ttf');
}
div.section {
  margin: 0 auto;
  width: 100%;
}
div#header {
  margin: 0 auto;
  font-size: 12pt;
  text-align: center;
}
img#head-img {
  display: block;
  width: 150px;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
}
div#nav {
  color: #ffffff;
  margin: 0 auto;
  background-color: #85a06c;
  display: inline-block;
  border-radius: 10px;
}
div#main {
  margin: 0 auto;
  width: 1080px;
  font-size: 14pt;
}
div.title {
  background-color: #85a06c;
  color: white;
  margin: 0 auto;
  line-height: 80px;
  text-align: center;
  border-radius: 10px;
}
div.block {
  margin: 0 auto;
  background-color: #85a06c;
  text-align: center;
  padding: 20px;
}
div#join {
  color: #ffffff;
  background-color: #c56636;
  width: 450px;
  padding: 20px;
  border-radius: 10px;
}
div#footer {
  margin: 0 auto;
  width: 1080px;
  color: #fff;
  background-color: #85a06c;
  text-align: center;
  font-size: 12pt;
  padding: 10px 0 10px 0;
  border-radius: 10px;
  margin-bottom:20px;
}
.justify {
  text-align: justify;
}
a {
  text-decoration: none;
}
a:hover {
  color: #4a4a5c;
  text-decoration: underline;
}
a.button {
  color: #ffffff;
  float: left;
  text-decoration: none;
  background-color: #85a06c;
  text-align: center;
  padding: 12px;
  border: none;
  transition: 0.2s;
  font-size: 14pt;
}
a.button:hover {
  background-color: #50775c;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}
a.button:visited {
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}
/* Add a color to the active/current link */
a.active {
  color: #ffffff;
  float: left;
  text-decoration: none;
  background-color: #50775c;
  text-align: center;
  padding: 12px;
  border: none;
  transition: 0.2s;
  font-size: 14pt;
}
a.active:hover {
  color: #ffffff;
  background-color: #50775c;
}
a.active:visited {
  color: #ffffff;
  background-color: #50775c;
}
a#join {
  color: #ffffff;
  background-color: #d3aa4b;
  float: none;
  border-radius: 5px;
  margin-bottom: 50px;
  padding: 10px 20px 10px 20px;
}
a#join:hover {
  background-color: #b98f2d;
}
a#footer {
  padding-left: 5px;
  padding-right: 5px;
  color: #ffffff;
  text-decoration: underline;
}
a#footer:hover {
  color: #4a4a5c;
  text-decoration: underline;
}
p {
  margin: 0 0 15 0;
}
h1 {
  font-size: 30pt;
}
h2 {
  font-size: 20pt;
  margin: 0;
}
ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-inline-start: 30px;

}
.italics {
  font-style: italic;
}
.underline {
  text-decoration: underline;
}
img {
  max-width: 100%;
}
img.review {
  width: 300px;
  float: right;
  padding: 10px 0 0 10px;
}
iframe#calendar {
  margin:20px 0 20px 0;
  width: 100%;
}
#copyright {
  font-size: 10pt;
}
}
.topnav .icon {
  display: none;
  color: #ffffff;
}
.topnav a.icon {
  color: white;
  float: left;
  text-decoration: none;
  background-color: #85a06c;
  text-align: center;
  padding: 12px;
  border: none;
  transition: 0.2s;
  font-size: 14pt;
}
.topnav a.icon:hover {
  background-color: #bdc78f;
  color: white;
  cursor: pointer;
  text-decoration: none;
}
.topnav {
  overflow: hidden;
}
/* The alert message box */
.alert {
 padding: 10px;
 background-color: #f44336; /* Red */
 color: white;
 margin-bottom: 15px;
 text-align:center;
 font-size:18pt;
}

/* The close button */
.closebtn {
 margin-left: 15px;
 color: white;
 font-weight: bold;
 float: right;
 font-size: 22px;
 line-height: 20px;
 cursor: pointer;
 transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {

}
@media screen and (max-width: 760px) {
  body {
    margin: 0 auto;
    width: 100%;
    font-size: 10pt;
  }
  h1 {font-size: 18pt;}
  h2 {font-size: 16pt;}
  a.button {
    font-size: 14pt;
    overflow: auto;
  }
  .topnav {overflow: hidden;}
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: left;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .bars {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .alert {
   padding: 10px;
   background-color: #f44336; /* Red */
   color: white;
   margin-bottom: 15px;
   font-size: 10pt;
  }
  div#header {
    margin: 0 auto;
    text-align:center;
  }
  img#head-img {
    width: 100px;
  }
  div#nav {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    float: none;
    display: block;
    border-radius: 0;
  }
  div.section {
    width:95%;
  }
  div.title {
    border-radius: 0;
    margin: 0 auto;
    line-height: 50px;
  }
  div#main {
    margin: 0 auto;
    width: 95%;
    font-size: 11pt;
  }
  div#links {
    margin: 0 auto;
    width: 100%;
    height: 5%;
    right: 0;
    bottom: 0;
  }
  div#join {
    border-radius: 5px;
    width: 80%;
  }
  div#footer {
    background-color: #85a06c;
    text-align: center;
    font-size: 11pt;
    margin: 0 auto;
    border-radius: 0;
    width: 100%;
  }
  a#footer {
    padding-left: 5px;
    padding-right: 5px;
    color: #ffffff;
    text-decoration: underline;
  }
  a#footer:hover {
    color: #4a4a5c;
    text-decoration: underline;
  }
  #copyright {
    font-size: 8pt;
  }
}
@media(prefers-color-scheme:dark){
  body {background-color: #F4F6EA; color: #000;}
  a {color: #fec842;}
  a:visited {color: #fec842;}
  a:hover {color: #f99928;}
  hr {border-color: #E2E2E2;}
}
@media(prefers-color-scheme:light){
  body {background-color: #f4f6ea; color: #000000;}
  a {color: #50775c;}
  a:visited {color: #50775c;}
  a:hover {color: #4a4a5c;}
}
@media(prefers-color-scheme:no-preference){
  body {background-color: #fec842; color: #0a1351;}
  a {color: #85a06c;}
  a:visited {color: #85a06c;}
  a:hover {color: #50775c;}
}
