/** GENERAL **/
* {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}
html, body {
  height: 100%;
}
body {
	display: flex;
	flex-direction: column;
}
/** HEADER + FOOTER **/
header, footer {
	background-color: #162e44;
	color: white;
	max-width: 100%;
}
/** HEADER **/
.backgroundImage { /*banner*/
	transition: .3s;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	display: block;
	height: auto;
}
.backgroundImage:hover { /*banner desktop hover animation*/
	transform: scale(1.2);
}
.desktopNav { /*Desktop navigation bar wrapper*/
	padding: 40px 30px;
}
.siteTitle { /*class of website title after header*/
	margin-bottom: 20px;
	margin-left: 10px;
	margin-right: 10px;
}


/** MAIN CONTENT **/
.main {
	background-color: rgb(240, 240, 240);
	padding: 40px 15%;
	/*padding: 40px 80px;*/
	transition: .3s;
	flex: 1 0 auto;
}

/** FOOTER **/
.footer { /*footer class for bottom sticky*/
	flex-shrink: 0;
}
/* Footer opacity */
.footerContent { /*text content of footer*/
	opacity: 0.5;
	transition: .3s;
}
.footerContent:hover {
	opacity: 1;
}
.hyperlinkFooter { /*hyperlink class for footer hyperlinks*/
	text-decoration: underline;
	color: white;
	cursor: pointer;
	transition: .2s;
}
.hyperlinkFooter:hover {
	color: gray
}
.toTop { /*to top arrow-button wrapper on right bottom corner*/
	position: fixed;
	right: 0;
	bottom: 0;
	margin: 2.5%;
	color: black;
	background-color: hsla(0, 0%, 60%, 0.2);
	border: 2px solid black;
	transition: .3s;
	cursor: pointer;
}
.toTop:hover {
	background-color: hsla(0, 0%, 50%, 1);
}
.toTopImg { /*to top arrow image*/
	transition: .3s;
	display: block;
}
.toTopImg:hover {
	animation: toTopAnim .7s linear 0s 1 alternate;
}


/** MISC **/
.imgWrapper {
	overflow: hidden;
	display: block;
}

.center {
    text-align: center;
}




@keyframes toTopAnim {
	0% {
		transform: translate(0, 0px);
	}
	33% {
		transform: translate(0, 10px);

	}
	66% {
		transform: translate(0, -10px);
	}
	100% {
		transform: translate(0, 0px);
	}
}

/** RESPONSIVE **/
@media screen and (max-width: 1000px) {
	.imgBackgroundWrapper {
		height: 35vw;
	}
	.backgroundImage {
        height: 100%;
        width: auto;
        object-fit: cover;
	}
	.backgroundImage:hover {
		transform: scale(1) translate(0, 0);
	}
	.main {
		padding: 30px 30px;
	}
	.footerContent {
		opacity: 1;
	}
	
}