/* Copyright@ Bradley S. Choiniere2022 */

/*Variables and base styling--------------------------------*/
:root {
	--bgcolor: #ffffff;
	--textcolor: #000000;
	--maincolor: #ffffffE3;
	--secondarycolor: #AEAEAE;
	--accentcolor: #818080;
}
html {
  scroll-behavior: smooth;
}
body {
	color: var(--textcolor);	
	font-family: arial;
	text-shadow: 2px 2px 5px #00000075;
	background-color: var(--bgcolor);
}
a, a:hover, a:active, a:visited {
	color: var(--textcolor);
	text-decoration: none;
}
@font-face {
	font-family: arial;
	src: url(ernon.otf?v=1.0);
	font-display: swap;
}

ul {
	list-style-type: none;
	margin: 0px;
}

button {
	font-family: arial;
	color: var(--textcolor);
	-webkit-appearance: none;
	border-radius: 0;
	font-weight: normal;
}
input, textarea {
	-webkit-appearance: none;
	border-radius: 0;
	font-weight: normal;
}
h1, h2, h3, h4, #menu_icon, button {
	font-weight: normal;
}
/*Nav-------------------------------------------------------*/
nav {
	position: fixed;
	margin: 0px;
	top: 0;
	left: 0;
}
nav li, nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 5vw;
	margin: auto;
}
#mobile_menu li {
	width: 100%;
}
.pages {
	display: none;
	background-color: var(--maincolor);
	position: fixed;
	left: 0;
	padding: 0px;
	animation: 0.3s ease-out 0s 1 slideIn;
}
#mobile_menu {
	top: 10vw;
	width: 100vw;
	flex-direction: column;
}
#menu_icon {
	width: 100vw;
	display: flex;
	align-items: center;
	height: 10vw;
	color: var(--textcolor);
}
#menu_img {
	height: 100%;
	opacity: 0.6;
	-webkit-filter: drop-shadow(2px 2px 1px #00000075);
	filter: drop-shadow(2px 2px 1px #00000075);
}
#menu_exit {
	z-index: -1;
	position: fixed;
	top: 10vw;
	width: 100%;
	height: 100vh;
	opacity: 0.6;
}
.button {
	text-align: center;
	background-color: var(--maincolor);
	padding: 10px;
	border-style: solid;
	border-radius: 5px;
	border-color: var(--accentcolor);
	box-shadow: 2px 2px 5px #00000075;
}
#menu_button:hover, #menu_button:focus, li:hover, a:focus  {
	text-decoration: underline;
	color: var(--textcolor);
}
@keyframes slideIn {
	0% {transform: translatex(-150%);}
}
	
/*Header----------------------------------------------------*/
@keyframes slideInFromBottom {
  0% {
    transform: translatey(150%);
  }
  100% {
    transform: translatey(0);
  }
}
#arrow {
	animation: 1s ease-out 0s 1 slideInFromBottom;
	text-align: center;
	display: block;
	margin-top: 80vh;
	margin-bottom: 30vh;
}
#arrow img {
	width: 6vh;
}
#town_description {
	padding-bottom: 10vh;
}
#description {
	margin-bottom: 70vh;
}
/*Background Slider*/
.slideshow_container {
	z-index: -1;
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
.slideshow_container img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	opacity: 1;
    transition:opacity 1s linear;
}
Fading animation 
.fade {
  animation-name: fade;
  animation-duration: 1s;
}
@keyframes fade {
  from {opacity: .6} 
  to {opacity: 1}
}
#spacer {
	height: 90vh;
}
#heading {
	text-decoration: none;
}
/*Content---------------------------------------------------*/
.wrap {
	margin: auto;
	margin-top: 10vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: normal;
	padding-top: 1%;
	padding-left: 1%;
}
.box {
	padding: 1.5%;
	margin-right: 1%;
	width: 99%;
	border-style: solid;
	border-color: var(--accentcolor);
	border-radius: 3px;
	box-shadow: 2px 2px 5px #00000075;
	-webkit-box-sizing: border-box; /*Border not included in sizing*/
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 10px;
	background-color: var(--maincolor);
}
.mono {
	font-family: courier new;
	line-height: 1.6;
}

/*Footer----------------------------------------------------*/
#footer {
	display: flex;
	z-index: -1;
	background-image: linear-gradient(var(--maincolor),var(--accentcolor));
	position: absolute;
	left: 0;
	height: 50vh;
	width: 100%;
	align-items: center;
	text-align: center;
	justify-content: center;
}

#footer a {
	color: #00000066;
	text-shadow: none;
}

@media screen and (min-width: 600px) {
	/*nav styling*/
	#desktop_menu, .pages {
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 6vw;
		animation: none;
	}
	nav li, nav a {
		height: 6vw;
		font-size: 3vw;
	}
	#nav_mobile {
		display: none;
	}
}

@media screen and (min-width: 768px) {
	.box {
		width: 49%;
	}
	/*nav styling*/
	#desktop_menu, .pages {
		height: 5vw;
	}
	nav li, nav a {
		height: 5vw;
		font-size: 2.5vw;
	}
}

@media screen and (min-width: 1024px) {
	#heading {
		font-size: 3.5vw;
	}
	.wrap {
		width: 80vw;
	}
	/*nav styling*/
	#desktop_menu, .pages {
		height: 4vw;
	}
	nav li, nav a {
		height: 4vw;
		font-size: 2vw;
	}
}


#break {
	width: 99%;
}
.full {
	width: 99%;
}
.half{
	width: 49%;
}
.third{
	width: 32.66%;
}
.thirds{
	width: 65.33%;
}
.narrow {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}
.medium {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}