@font-face {
	font-family: animaFont;
	src: url("../font/alegreyasc-regular-webfont.woff");
}

body,
html {
	background: black;
	min-height: 100%;
	margin: 0px;
	font-family: 'animaFont', sans-serif;
	font-size: 1.1em;
	color: #d7d7d7;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

h1,
h2 {
	color: white;
}

img {
	width: 100%;
	height: 100%;
}

#container {
	max-width: 2000px;
	height: 100%;
	width: 100%;
	margin: auto;
	padding: 0px;
}

#logoContainer {
	width: 100%;
	height: 900px;
	position: relative;
}

#backgroundLogo {
	background-image: url("../img/Filtro.png");
	opacity: 0.4;
	width: 100%;
	max-width: 2000px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}

#logo {
	width: 100%;
	max-width: 650px;
	height: auto;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -40%);
	-webkit-transform: translate(-50%, -40%);
	-moz-transform: translate(-50%, -40%);
	-ms-transform: translate(-50%, -40%);
	-o-transform: translate(-50%, -40%);
}

#logoElement {
	width: 100%;
	text-align: center;
}

.iconContainer {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 10px;
}

.iconContainer img {
	height: 90px;
	width: auto;
}

.staticImage {
	display: none;
	width: 800px;
	height: 100%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}

#logoContainer video {
	object-fit: fill;
	height: 900px;
	width: 100%;
}

@media only screen and (max-width: 1400px) {
	#logoContainer video {
		width: 1400px;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
	}
}

@media only screen and (max-width: 800px) {
	.videoIntro {
		display: none;
	}
	.staticImage {
		display: block;
	}
	#backgroundLogo {
		display: none;
	}
}


/* Gallery --------------------------------------------------*/

#gallery {
	width: 100%;
	overflow: auto;
	background-image: url("../img/GalleryBG.png");
	background-size: 2000px;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-attachment: fixed;
	padding-top: 50px;
	padding-bottom: 100px;
}

.galleryContainer {
	width: 90%;
	max-width: 1300px;
	display: flex;
	overflow: auto;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: auto;
}

.galleryElement {
	width: 320px;
	margin: 20px;
}

.galleryElement:hover {
	cursor: pointer;
}

.galleryElement img {
	width: 100%;
	height: 100%;
}


/* Features --------------------------------------------------*/

.featureContainer {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	padding-top: 50px;
	padding-bottom: 100px;
}

.featureBackground {
	background-size: 1600px;
	background-image: url("../img/IntroBg.png");
	background-position: center top;
	background-repeat: no-repeat;
}

.featureBackground2 {
	background-size: 2000px;
	background-image: url("../img/Top.png"), url("../img/Down.png");
	background-position: center top, center bottom;
	background-repeat: no-repeat, no-repeat;
	background-attachment: fixed;
}

.featureBackground3 {
	background-size: 100%;
	background-image: url("../img/bgitem.png");
	background-position: center top;
	background-repeat: no-repeat;
}

.element {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 5%;
}

#playerButton {
	width: 35px;
	height: 35px;
	position: absolute;
	margin: 7px;
	margin-left: 7px;
	top: 0;
	left: 0;
	z-index: 2;
}

#playerButton:hover {
	cursor: pointer;
}

.imgElement {
	width: 500px;
	height: 450px;
}

.imgElement2 {
	width: 800px;
	height: 450px;
}

.imgElement3 {
	width: 600px;
	height: 450px;
}

.textElement {
	width: 500px;
	height: 450px;
}

.textElement2 {
	width: 500px;
	height: 450px;
}

.textElement3 {
	text-align: left;
	width: 500px;
	height: 450px;
}

.boxShadow {
	box-shadow: 10px 10px 15px black;
}

.element h2 {
	margin: 0px;
	text-align: left;
}

.element p {
	margin: 0px;
	font-size: 1.1em;
	line-height: 1.4;
}

.element p,
.noSelect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.importantText {
	font-weight: bold;
	color: white;
}

.emptySpace {
	display: none;
	width: 600px;
	height: 100px;
	margin: 70px;
	margin-top: 0px;
	margin-bottom: 0px;
}

@media screen and (max-width: 1580px) {
	.element {
		margin-top: 0px;
		margin-bottom: 0px;
		justify-content: flex-start;
	}
	.imgElement2 img,
	.imgElement3 img {
		height: auto;
	}
	.imgElement2,
	.imgElement3 {
		height: auto;
	}
	.emptySpace {
		display: block;
	}
	.textElement2 {
		text-align: center;
		height: auto;
	}
	.textElement3 {
		height: auto;
		text-align: center;
		margin-bottom: 40px;
	}
	.element h2 {
		margin-top: 0px;
		text-align: center;
	}
	.emptySpace:nth-child(3) {
		order: 3;
	}
	.emptySpace:nth-child(6) {
		order: 6;
	}
	.element:nth-child(1) {
		order: 1;
	}
	.element:nth-child(2) {
		order: 2;
	}
	.element:nth-child(4) {
		order: 5;
	}
	.element:nth-child(5) {
		order: 4;
	}
	.element:nth-child(7) {
		order: 7;
	}
	.element:nth-child(8) {
		order: 8;
	}
}


/* Bar --------------------------------------------------*/

.bar {
	width: 100%;
	height: 50px;
	overflow: hidden;
	box-shadow: 2px 2px 2px black;
}

.center {
	margin: 0px;
	line-height: 50px;
	text-align: center;
}

h2.center {
	margin: 0px;
	line-height: 20px;
	text-align: center;
}


/* Footer --------------------------------------------------*/

#footer {
	background: black;
	width: 100%;
	overflow: auto;
	text-align: center;
	background-image: url("../img/footer2.png");
	background-size: 100vw;
	background-position: center top;
	background-repeat: no-repeat;
}

#donation {
	width: 100%;
	overflow: auto;
	text-align: center;
	background-image: url("../img/bg.png");
	background-size: 100vw;
	background-position: center top;
	background-repeat: no-repeat;
}

#exiliumLogo {
	height: 70px;
	width: auto;
}

#socialButtons {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100px;
}

.socialButton {
	margin: 30px;
	width: 60px;
	height: 60px;
	float: left;
}

.socialButton:hover {
	width: 65px;
	height: 65px;
	cursor: pointer;
}

.socialButton:active {
	opacity: 0.8;
}

.socialButton img {
	height: 100%;
	width: 100%;
}


/* Gallery Viewer --------------------------------------------------*/

#galleryViewer {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	display: none;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 3;
}

#galleryViewer img {
	width: 80%;
	max-width: 1400px;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 3;
}

@media (min-aspect-ratio: 16/9) {
	#galleryViewer img {
		width: auto;
		height: 80%;
	}
}

#galleryPics {
	top: 50%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

.noSelect {
	user-select: none;
	font-size: 1.5em;
}

.clearBox {
	clear: both;
}


/* Header --------------------------------------------------*/

#header {
	height: 50px;
	width: inherit;
	max-width: inherit;
	position: fixed;
	top: 0px;
	z-index: 2;
	background-image: url("../img/topBar.png");
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

#navBar {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
}

.navButton {
	height: 40px;
	width: 110px;
	margin: 10px;
	text-align: center;
	line-height: 40px;
}

a {
	text-decoration: none;
}

a:link {
	color: white;
}

a:visited {
	color: white;
}

.navButton a:hover {
	font-weight: bold;
}

a:hover {
	color: #ffffff;
	font-weight: bold;
}

a:active {
	color: red;
}

.textHeader {
	width: 100%;
	font-size: 1.8em;
	padding: 0.6em 0 0.6em 0;
	text-shadow: 3px 3px 3px black;
}

.textBloomBlack {
	text-shadow: 2px 2px 2px black;
}

#mail {
	font-size: 1.1em;
	margin-top: -20px;
}

.social {
    padding-left: 0px;
  }
  
#social-test  li {
    color: rgba(255, 255 , 0 , 0.6);
    list-style-type: none;
    display: inline-block;
    font-size: 2em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    padding: 1%;
    border: 2px solid rgba(255, 255 , 0, 0.4);
    cursor: pointer;
    margin-left: 10px;
    transition: ease .3s;
    border-radius: 501px;
}

#social-test  li:hover {
    color: rgba(255, 255 , 0, 1);
    border: 2px solid rgba(255, 255 , 0, 1);
}

.social:hover > li {
  opacity: 0.5;
}

.social:hover > li:hover {
  opacity: 1;
}