
	/* CSS Document */

@import url("responsive.css");

@font-face {
  font-family: Initium;
  src: url(../fonts/salopian-intitial.ttf);
}

:root {
  --body-bg: rgba(251,255,245,0.6);
  --body-bg-hover: rgba(24,25,24,0.7);
  --body-text: rgba(24,25,24,0.9);
  --body-text-hover: rgba(249,251,240,0.9);
  --link-text-hover: rgba(54,55,254,0.9);
  --font-main: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --header-img-url: url(../images/cranesfield_header_background.png);
}
.dark-theme {
  --body-text: rgba(249,251,249,0.9);
  --body-text-hover: rgba(31,33,21,0.9);
  --body-bg: rgba(31,33,21,0.7);
  --body-bg-hover: rgba(249,251,249,0.7);
  --link-text-hover: rgba(154,155,254,0.9);
  --font-main: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --header-img-url: url(../images/cranesfield_header_bw_background.png);
}

::selection { background-color: #003d6b; color: #fff; }
::-moz-selection { background-color: #003d6b; color: #fff; }

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    translate: 150vw 0;
    scale: 200% 1;
  }

  to {
    translate: 0 0;
    scale: 100% 1;
  }
}

.fadeIn {
  animation: 0.8s fadeIn;
}
.slideIn {
  animation: 0.8s slidein;
}

*{
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body
{
	position: relative;
	font-size: 18px;
  padding: 0px;
}
#page-container
{
  background-color: var(--body-bg);
  font-family: var(--font-main);
	max-width: 1080px;
	margin: 0px auto;
	background-image: var(--header-img-url);
	background-size: 100%;
	background-repeat: no-repeat;
  min-height: 100vh;
  padding-top: 220px;
}
h1, h2, h3, h4, h5, h6, p
{
	color:  var(--body-text);
	margin: 2px;
}
a, a:link, a:visited, a:hover, a:active, a:focus
{
	text-decoration: none;
  color:  var(--body-text);
}
img {
  width: 88%;
  margin: 5px 6%;
  padding: 0px;
  box-shadow: 8px 8px 16px #ddd, 3px 3px 6px #333;
  border-radius: 16px;
}
a img {
  border: thin solid green;
}
a img:hover {
  border: thin solid blue;
  opacity: 0.9;
}
.fullwidth {
  width: 96%;
  margin: 2%;
}
.flrt {
  float: right;
}
.fllt {
  float: left;
}
header
{
	width: 100%;
	margin: 0px;
	padding: 0px;
  position: absolute;
  top: 0px;
	/* prevent text selection */
	-webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

	header #header-words {
		text-shadow: 0px 0px 6px #FDE482, 3px 3px 6px #222;
		z-index: 2;
		text-align: right;
		color: rgba(20,106,20,1);
		width: 94%;
		position: relative;
	}
	header #header-box {
		width: 100%;
		border: none;
		position: relative;
		margin: 0px;
		padding: 0px;
		font-size: 2vw;
	}
  header #dashboard-link {
    position: absolute;
    user-select: auto;
    bottom: 0px;
    z-index: 500;
  }
  header #dashboard-link a {
    color:  var(--body-text);
    display: block;
  }
  header #dashboard-link a:hover {
    color:  var(--link-text-hover);
  }
  header #theme-button {
    width: 32px;
    height: 32px;
    padding: 0px;
    box-shadow: none;
    border: none;
    border-radius: none;
    color: #000;
    position:absolute;
    user-select:auto;
    top: 5px;
    left: 5px;
    cursor:pointer;
    z-index: 505;
  }
  header #theme-button img{
    box-shadow: none;
    border: none;
    border-radius: none;
    padding: 0px;
    margin: 0px;
  }
#main-body {
  position: relative;
  padding: 5% 0px;
}

#main-body .initial-cap p:first-of-type {
  text-indent: 0px;
}

#main-body .initial-cap p:first-of-type::first-letter{
  font-family: Initium;
  text-shadow: -2px -2px 5px #faefae;
  text-transform: uppercase;
  font-size: 3.2em;
  float: left;
  border: 3px solid var(--body-text);
  padding: 0px;
  margin: 3px 6px;
}
#main-body .page-link:hover {
  color:  var(--link-text-hover);
  cursor: pointer;
}

#main-body .page-link {
  color:  var(--body-text);
  text-transform: uppercase;
  display: inline-block;
  line-height: 1.7em;
  vertical-align: middle;
  margin: 2px 8px;
}
#main-body .page-link a {
  color:  var(--body-text);
  display: block;
}

footer::before {
  clear: both;
}
  footer {
    float: none;
    min-height:150px;
    max-width: 1080px;
    width: 100%;
    background-color: rgba(141,141,141,0.2);
    text-align: center;
    position: absolute;
    bottom: 0px;
  }
  footer p {
    color:  var(--body-text);
  }
  footer .footer-links a {
    color:  var(--body-text);
  }
  footer .footer-links a img {
    width: 42px;
  }
  footer .footer-links a:hover {
    color:  var(--body-text);
    text-shadow: -2px -2px 5px #FFEfA5;
  }

.cloak-form {
  text-align: center;
  max-width:420px;
  border-radius: 10px;
  border: 2px solid #ccc;
  padding: 10px 40px 25px;
  margin: 0px auto;
  background-color: rgba(255,255,222,0.4);
}
.cloak-form p {
  text-align: center;
}

.cloak-form .message{
border-radius: 10px;
font-weight: bold;
font-size: 28px;
background-color: var(--body-bg);
color:  var(--body-text);
text-align: center;
margin: 15px 0px;
}

.cloak-form input[type=text],input[type=password], input[type=email]{
width:99.5%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ccc;
padding-left: 5px;
background-color: var(--body-bg);
color:  var(--body-text);
border-radius: 10px;
}

.cloak-form button[type=submit]{
background-color:#7667ad;
color: white;
border: 2px solid #7667ad;
padding: 10px;
margin: 12px auto;
font-size:20px;
cursor:pointer;
border-radius: 10px;
}
.cloak-form button[type=submit]:hover{
  background-color:#7667ad;
  color: #000;
}
.cloak-form hr {
  line-height: 40px;
  margin: 24px;
}
.cloak-form .cloak-link {
  background-color:#7667ad;
  color: white;
  text-align: center;
  text-transform: uppercase;
  display: block;
  line-height: 1.7em;
  vertical-align: middle;
  margin: 2px 8px;
  border-radius: 10px;
}
.cloak-form .cloak-link:hover {
  background-color:#7667ad;
  color: #000;
}

	@media only screen and (min-width:1080px) {
	header #header-words {
			width: 1015px;
		}
	header #header-box {
			font-size: 22px;
		}
	}
	#body {
		margin: 0px;
		padding: 0px;
		display: table;
		position: relative;
		width: 100%;
		animation: fadein 1.5s;
	}
	p {
		text-align: justify;
		padding: 5px;
		text-indent: 15px;
	}
	h1 {
		font-size: 240%;
		text-align: center;
		text-transform: capitalize;
	}
	h2 {
		font-size: 150%;
		text-align: center;
	}
	h3 {
		font-size: 120%;
		text-align: center;
	}
	h4 {
		font-size: 100%;
		text-align: center;
		margin: 0px auto;
	}
  a .in-link {
    color: green;
    background-color: gold;
  }
code {
		font-family: Consolas, Monaco, Courier New, Courier, monospace;
		font-size: 14px;
		text-align: left;
		background-color: #f9f9f9;
		border: 1px solid #D0D0D0;
		color: #002166;
		display: block;
		margin: 0px 5% ;
		padding: 12px 10px 12px 10px;
		width: 90%;
	}
	.footer {
	min-height: 200px;
	text-align: center;
	border: 0px;
	display: table;
	width: 100%;
	margin: 0px;
	padding-top: 40px;
	padding-right: 0px;
	padding-bottom: 30px;
	padding-left: 0px;
	border-top: 1px solid #D0D0D0;
	}

	.footer p {
	text-align: center;
}
	#extras {
	text-align: center;
	padding-right: 50px;
	padding-left: 50px;
	font-size: 14px;

	}

	.ftbtn {
	cursor: pointer;
	margin: 2px;
	padding: 0px;
	text-align: center;
	font-family: Consolas, Monaco, Courier New, Courier, monospace;
	font-size: 14px;
	}

	a.xtr_link {
	display: block;
	text-decoration: none;
	text-align: center;
	line-height:30px;
	border-top: none;
	color:  var(--body-text);
	background-color: white;
	text-transform: uppercase;
	font-size: 18px;
	width: 200px;
	padding: 0px;
	margin: auto;

	}
	a.xtr_link:hover {
	color: white;
	background-color: green;
	}
