* {
  box-sizing: border-box;
}


html{
  --scrollbarBG: #FA2211;
  --thumbBG: #00FF02;

  --header-nav-height: 50px;

  background: #ffffff;
  overflow-x: auto;
  overflow-y: auto;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body{
  color: #091626;
  font-family: 'Athiti', sans-serif;
  font-size: 16px;
  line-height: 1.42857143;

  background: #ffffff;

  /* background: linear-gradient(270deg, #c9c9c9, #ffffff); /* firebrick */
  /* background-size: 400% 400%;
  animation: bg 26s ease infinite; */
}
/*
body{
  scrollbar-width: auto;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar {
  width: 11px;
}
body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG) ;
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}
*/









a {
  color: #a32918;
  transition: color .175s cubic-bezier(.4,0,.2,1);
}

a:hover,
a:focus {
  color: #60180e;
}





h1 {
  font-size: 2.2em;
  color: firebrick;
}

h2 {
  margin-top: 2.85em;
  font-size: 1.45em;
}





main {
  max-width: 64rem;
  margin: 4.2rem auto 6.2rem auto;
  padding: 0 2px;
}





nav{
  background-color: rgba(255,255,255,1);
  border-bottom: 1px solid black;
  display: block;
  max-width: 84rem;
  margin: 0 auto;
}

nav > ul, nav > ul > li {
  display: inline;
}

nav > ul {
 margin: 17px 0 0 0;
 padding: 5px;
 list-style-type: none;
 background-color: transparent;
 }

nav > ul > li {
  float: right;
  padding: 0 0 0 42px;
}

nav > ul > li.left {
  color: firebrick;
  float: left;
  font-size: 1.6rem;
  font-weight: bold;
  padding-left: 0;
}


 nav > ul > li > a,
 .smallnav > ul > li > a {
   color: #000000;
   display: inline-block;
   height: var(--header-nav-height);
   line-height: var(--header-nav-height);
   text-decoration: none;
   width: auto;
 }

nav > ul > li > a:hover {
 color: #696969;
}

nav > ul > li > a.active {
  color: firebrick;
  font-weight: bold;
}





footer {
  background-color: #f8f8f8;
  background: linear-gradient(180deg, rgba(248, 248, 248, 1) 0%, rgba(248, 248, 248, 1) 62%, rgba(248, 248, 248, 0) 100%);
  border-top: 1px solid #696969;
  padding: 1.2rem 2px 4.2rem 2px;
}

footer > p {
  max-width: 84rem;
  margin: 0 auto;
}





.clearfloat:after {
  content: "";
  display: table;
  clear: both;
}





@keyframes bg {
   0%{background-position:0% 50%}
   50%{background-position:100% 50%}
   100%{background-position:0% 50%}
}

/* text-shadow: 2px 2px 2px rgba(150, 150, 150, 1); */






/* Fix Font Flickering On Load When Using Google Fonts */
html.wf-loading * {
  opacity: 0;
}



#ulregerror {
  color: firebrick;
  margin-bottom: 2.4rem;
}



input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="submit"], textarea {
  appearance: none;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  width: 100%;
  max-width: 500px;

  background-color: #eeeeee;
  border: none;
  padding: 10px 11px 11px 11px;
  border-radius: 3px;
  box-shadow: none;
  outline: none;
  margin: 0;
  box-sizing: border-box;
}

input[type="submit"]{
  cursor: pointer;
  border: 1px solid #999999;
  max-width: 300px;
  transition: background-color .175s cubic-bezier(.4,0,.2,1);
}

input[type="submit"]:hover{
  background-color: #d9d9d9;
}

input::placeholder, textarea::placeholder  {
  color: #a9a9a9;
}

input:focus::placeholder, textarea:focus::placeholder  {
  color: transparent;
}

input:invalid {
  background-color: pink;
}

input:invalid::placeholder {
  color: firebrick;
}

input:focus:invalid::placeholder {
  color: transparent;
}

/*
#canvas{
  width: 100%;
  height: 100%;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -9999;
}
*/
