/** GLOBAL **/
html {
	scrollbar-color: darkgrey rgba(0,0,0,0);
	scrollbar-width: thin;
}
body {
	background: #0d0d0d;
	color: #fff;
}
body::-webkit-scrollbar {
    width: 5px;
}
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
.hidden {
	display: none;
}
.lang-flags {
	float: right;
	list-style-type: none;
	margin: 5px 5px 0 0;
}
.lang-flags li {
	cursor: pointer;
	display: inline-block;
	margin: 0 2px;
}
.lang-flags li.current {
	cursor: default;
	opacity: 0.5;
}

/** HOME PAGE **/
section {
	padding: 70px 8%;
}
section.top {
	height: 100vh;
	padding: 0;
}
section.top .parallax {
	/*background: url('../img/top-bg.jpg') center center;*/
	background-size: cover !important;
	height: 100% !important;
}
section.top h1 {
	background: rgba(0,0,0, 0.7);
	box-sizing: border-box;
	color: #fff;
	float: right;
	font-size: 5.5rem;
	margin: 0 auto;
	padding: 20px;
	text-align: right;
}
section.top h1 .letter {
	display: inline-block;
	line-height: 1em;
}

.nav {
	align-items: center;
	background: rgba(0,0,0, 0.8);
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: fixed;
	transition: all ease-in-out 0.4s;
	width: 100%;
	z-index: 9;
}
.nav.sticky {
	bottom: 100%;
	transform: translateY(100%);
}
.nav > a {
	color: #fff;
	font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; 
	font-size: 1.8rem;
	margin: 0 5px;
	padding: 21px;
	text-decoration: none;
	transition: opacity ease 0.3s;
}
.nav > a:hover, .nav > a.active {
	opacity: 0.8;
}

.about-us {
	background: url('../img/wooden-bg.jpg') center center;
	background-size: cover;
	box-shadow: 0px -8px 10px 0px rgba(10,10,10,1);
}
.about-us > div {
	background: rgba(0,0,0,0.6);
	border: 20px inset transparent;
	padding: 10px;
	max-height: 60vh;
	overflow: auto;
	scrollbar-color: darkgrey rgba(0,0,0,0);
	scrollbar-width: thin;
}
.about-us > div::-webkit-scrollbar {
    width: 5px;
}
.about-us > div::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.about-us > div::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}
.announcements {
	box-shadow: 0px -8px 10px 0px rgba(10,10,10,1);
}
.announcements .parallax {
	background: url('../img/dark-bg.jpg') center center;
	background-size: cover;
}
.announcement-row {
	margin-bottom: 40px;
}
.announcement-row:last-child {
	margin-bottom: 0;
}
.announcement-row .date {
	font-size: 1.2rem;
}
.announcement-row > p {
	margin: 0;
}
.announcement-row > a {
	font-size: 2.2rem;
	text-decoration: none;
}
.contact {
	background: #0d0d0d;
	text-align: center;
}
.contact form > * {
	color: #0d0d0d;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 400px;
	max-width: 90%;
}
.contact input[type="submit"] {
	color: white;
}
.app-section {
	margin: 4rem 0;
}
.app-section p {
	margin-bottom: 5px;
}
.paypal-section {
	margin-top: 40px;
}
.paypal-section input {
	width: initial;
}

/** ANNOUNCEMENTS PAGE **/
.announcement-content {
	padding: 25px 50px;
}
.attachments {
	margin-top: 50px;
}
.attachments-videos > div {
	display: inline-block;
	margin: 5px;
	text-align: center;
}
.attachments-videos {
	margin-bottom: 2.5rem;
}
.attachments-videos a {
	display: block;
}
.attachments-videos img {
	cursor: pointer;
	max-height: 140px;
}
.attachments-images a {
	margin: 0 auto;
}
.attachments-images img {
	margin: 5px;
	max-height: 140px;
}

/** PARALLAX JS **/
.parallax__container {
	clip: rect(0, auto, auto, 0);
	height: 100%;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -100;
}
.parallax {
	position: fixed;
	top: 0;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	width: 100%;

	/* BG behaviour */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media screen and (max-width: 800px) {
	section.top h1 {
		font-size: 3.5rem;
	}
}
@media screen and (max-width: 600px) {
	section.top h1 {
		font-size: 2.5rem;
	}
	.gslide iframe, .gslide video {
		height: 62vh;
	}
	.nav > a {
		font-size: 1.4rem;
		padding: 21px 7px;
	}
}