/* BASE */
html {
	box-sizing: border-box;
	font-size: 62.5%;
}

@media (max-width: 600px) {
	html {
		font-size: 55.5%;
	}
}

*,
*::after,
*::before {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	font-size: 1.6em;
	font-family: 'Lora', serif;
	-webkit-font-smoothing: antialiased;
	color: #333;
}

.visually-hidden {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	padding:0 !important;
	border:0 !important;
	height: 1px !important; 
	width: 1px !important; 
	overflow: hidden;
}



/* GRID */
.row {
	max-width: 1200px;
	padding: 0 30px;
	margin: 0 auto;
}

.d-flex {
	display: flex;
}

.j-between {
	justify-content: space-between;
}

.v-center {
	align-items: center;
}

.d-reverse {
	flex-direction: row-reverse;
}

.col-1-of-2 {
	width: 45%;
}

.m-small {
	margin-bottom: 5rem;
}

.m-medium {
	margin-bottom: 8rem;
}

@media (max-width: 900px) {
	.m-medium {
		margin-bottom: 5rem;
	}
}

@media (max-width: 600px) {
	.m-medium {
		margin-bottom: 2rem;
	}
}

.m-large {
	margin-bottom: 15rem;
}



/* BASE */
img {
	max-width: 100%;
	display: block;
	height: auto;
}

.border-bottom {
	border-bottom: 2px solid #333;
}

@media (max-width: 600px) {
	.border-bottom {
		border-color: transparent;
	}
}

.text-center {
	text-align: center;
}

.text-uppercase {
	text-transform: uppercase;
}

.text-light {
	color: #fff;
}

.text-dark {
	color: #333;
}

.heading-secondary {
	margin-top: 0;
	line-height: 1.5;
	font-size: 8rem;
	letter-spacing: 13px;
	word-spacing: 10px;
	font-weight: 100;
}

@media (max-width: 900px) {
	.heading-secondary {
		font-size: 5rem;
	}
}

@media (max-width: 600px) {
	.heading-secondary {
		font-size: 4.5rem;
		line-height: 1.6;
	}
}

@media (max-width: 400px) {
	.heading-secondary {
		font-size: 3.5rem;
	}
}

/* PAGE-HEADER */
.page-header {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.page-header::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
}

.page-header__video {
	object-fit: cover;
	width: 100vw;
	height: 100vh;
}

@media (max-width: 600px) {
	.page-header::before {
		background: rgba(0, 0, 0, 0.4);
	}
}

.page-header__intro {
	user-select: none;
	position: absolute;
	z-index: 100;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	font-family: Halant, serif; 
	text-align: center;
	color: #fff;
}

.page-header__title,
.page-header__info {
	margin: 0;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
}

.page-header__title {
	margin-bottom: 2rem;
	font-size: 8vw;
	letter-spacing: 1.5rem;
}

.page-header__info {
	font-size: 2.5vw;
	letter-spacing: 1.7rem;
	animation: fadeInBottom 1s ease-in-out 1s;
	animation-fill-mode: backwards;
}

.page-header__ex {
	animation-name: fadeInOut;
	animation-duration: 3s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: backwards;
}

.page-header__ex:nth-child(odd) {
	animation-delay: 2.8s;
}

.page-header__ex:nth-child(even) {
	animation-delay: 2.4s;
}

@media (max-width: 600px) {
	.page-header__info {
		margin-top: 3rem;
		font-size: 2.4rem;
		line-height: 1.5;
		letter-spacing: 1.5rem;
	}
	.page-header__title {
		font-size: 4rem;
	}

}




/* ANIMATION */
@keyframes fadeInOut {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}
@keyframes fadeInBottom {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}




/* SECTION DESCRIPTION */
.section-description {
	padding: 15rem 0;
	padding-top: 12rem;
	color: #333;
	background-image: linear-gradient(to bottom right, #fff, #d6dadb);
}

@media (max-width: 600px) {
	.section-description {
		padding: 5rem 0;
	}
}

.section-description p {
	margin: 0;
	margin-bottom: 3rem;
	font-size: 1.9rem;
	line-height: 1.7;
	font-family: 'Lora', serif;
	text-align: justify;
}

.section-description p:last-of-type {
	margin-bottom: 0;
}

.logo img {
	box-shadow: 5px 5px 10px #0d0c0c36;
}

@media (max-width: 900px) {
	.section-description .v-center {
		align-items: flex-start;
	}

	.section-description  .col-1-of-2 {
		width: auto;
	}

	.section-description .d-flex {
		display: block;
	}

	.section-description .history {
		margin-bottom: 4rem;
	}
}

#tribute-link {
	color: inherit;
	transition: all .2s;
}

#tribute-link:hover,
#tribute-link:focus {
	color: rgba(0,0,0,0.4);
}

#tribute-link:active {
	color: rgba(0,0,0,0.7);
}



/* TIMELINE */
.section-timeline {
	padding: 10rem 0;
	background-color: #040612;
	background-image: 
	linear-gradient(to right, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.76)),
	url(../img/galaxy_bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
	background-attachment: fixed;
	color: rgb(255, 255, 255);
	position: relative;
}

@media (max-width: 600px) {
	.section-timeline {
		padding: 5rem 0;
	} 
}

.timeline {
	margin: 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: 5px;
	background-color: rgb(168, 169, 172);
	transform: translateX(-50%);
}

.timeline__wrapper {
	overflow: hidden;
}

.timeline__item {
	width: 50%;
	position: relative;
	z-index: 3;	
}

.timeline__item::before {
	content: "";
	position: absolute;
	width: 35px;
	height: 35px;
	background-color: rgb(210, 214, 214);
	border: 5px solid rgb(168, 169, 172);
	top: 0;
	border-radius: 50%;
}

.timeline__item--left::before {
	right: 0;
	transform: translateX(50%);
}

.timeline__item--right::before {
	left: 0;
	transform: translateX(-50%);
}


.timeline__item--left {
	padding-right: 50px;
	left: 0;
	text-align: right;
}

.timeline__item--right {
	padding-left: 50px;
	left: 50%;
	text-align: left;
}

.timeline__content {
	margin: 0;
	padding: 0;
	background: rgba(77, 74, 74, 0.58);
	padding: 5rem;
	border-radius: 15px;
}

.timeline__header {
	margin-bottom: 3.5rem;
	font-family: Halant, serif; 
}

.timeline__date {
	margin: 0;
	font-size: 2rem;
	line-height: 1.6;
}

.timeline__name {
	margin: 0;
	padding: 0;
	font-size: 3rem;
	line-height: 1.6;
	font-family: 'Lora', serif;
}

.timeline__description {
	text-align: justify;
	font-family: 'Lora', serif;
	font-size: 2rem;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.timeline__content {
		padding: 2.5rem;
	}
}

@media (max-width: 800px) {
	.timeline::before {
		left: 0;
		margin-left: 0;
	}

	.timeline__item {
		width: auto;
		padding: 0;
		padding-left: 4rem;
		margin-bottom: 4rem;
		text-align: left;
	}
	.timeline__item:last-of-type {
		margin-bottom: 0;
	}
	.timeline__item--left,
	.timeline__item--right {
		left: 0;
	}
	.timeline__item--left::before {
		left: 0;
		transform: translateX(-50%);
	}	
}

@media (max-width: 600px) {
	.timeline__item {
		padding-left: 3rem;
	}
}




/* FOOTER */
.page-footer {
	padding: 2rem 0;
	background-image: linear-gradient(to bottom, #e4e4e4, #bdbdbd);
	color: #333;
}

.author,
.copyright {
	margin: 0;
	color: #333;
}

.author {
	margin-bottom: 1rem;
}

.author a {
	color: inherit;
	font-size: 1.7rem;
	font-weight: bold;
	color: rgb(39, 9, 68);
}





/* NAVIGATION */
.navigation {
	overflow: hidden;
}

.navigation__checkbox {
	display: none;
}

.navigation__button {
	position: fixed;
	z-index: 1000;
	top: 2rem;
	right: 2rem;

	width: 55px;
	height: 45px;
	border-radius: 3px;
	cursor: pointer;

	background-color: rgba(169, 169, 169, 0.7);
}

.navigation__button::before,
.navigation__button::after {
	position: absolute;
	content: "";
	left: 5px;
	width: 45px;
	height: 5px;
	background-color: rgb(255, 255, 255);
	transition: all .5s ease-out, box-shadow .001ms ease-in, top .2s, bottom .2s;
}

.navigation__button::before {
	top: 7px;
	box-shadow: 0 13px rgb(255, 255, 255);
}

.navigation__button::after {
	bottom: 7px;
}

.navigation__button:hover::before,
.navigation__button:focus::before {
	top: 10px;
	box-shadow: 0 10px rgb(255, 255, 255);
}

.navigation__button:hover::after,
.navigation__button:focus::after {
	bottom: 10px;
}

.navigation__checkbox:checked ~ .navigation__site {
	opacity: 1;
	right: 0;
	bottom: 0;
}

.navigation__checkbox:checked ~ .navigation__button::before,
.navigation__checkbox:checked ~ .navigation__button::after {
	box-shadow: 0 0 transparent;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.navigation__checkbox:checked ~ .navigation__button::before {
	transform: translate(-50%, -50%) rotate(-135deg);
}

.navigation__checkbox:checked ~ .navigation__button::after {
	transform: translate(-50%, -50%) rotate(135deg);
}

.navigation__site {
	position: fixed;
	right: -100%;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to right, #485563, #29323c);
	z-index: 200;
	opacity: 0;
	transition: all .6s ease-in-out;
}

.navigation__list {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 0;
	padding: 0;
	transform: translate(-50%, -50%);
	list-style: none;
	text-align: center;
}

.navigation__list li {
	margin-bottom: 4rem;
}

.navigation__list li:last-of-type {
	margin-bottom: 0;
}

.navigation__item a {
	position: relative;
	overflow: hidden;
	display: inline-block;
	padding: 10px 15px;
	font-size: 5rem;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	letter-spacing: 5px;
	font-family: Halant, serif; 
}

.navigation__item a::after {
	position: absolute;
	content: "";
	left: 0;
	top: -100%;
	width: 100%;
	height: 100%;
	background-color: rgba(29, 25, 25, 0.89);
	transition: all .3s ease-out, border-radius .1s ease-in;
	z-index: -1;
	border-radius: 10px;
}

.navigation__item a:hover::after,
.navigation__item a:focus::after {
	top: 0;
}

.navigation__item--active a::after {
	top: 0;
}


@media (max-width: 600px) {
	.navigation__item a {
		font-size: 3rem;
		letter-spacing: 3px;
	}
}

/* JS ANIMATION */
.fade-out {
	opacity: 0;
	transform: translateY(5.5rem);
}

.fade-out-appear {
	transform: translateY(0);
	transition: all 1s ease-out;
	opacity: 1;
}

.fade-left {
	opacity: 0;
	transform: translateX(-4rem);
	transition: all 1.2s ease-in-out;
}

.fade-right {
	opacity: 0;
	transform: translateX(4rem);
	transition: all 1.2s ease-in-out;
}

.fade-horizontal-appear {
	opacity: 1;
	transform: translateX(0);
}

.fade-rotate {
	opacity: 0;
	transform: rotateY(-55deg);
	transform-origin: left bottom;
}

.fade-rotate-appear {
	opacity: 1;
	transform: rotateY(0);
	transform-origin: left bottom;
	transition: all 1.2s ease-out;
}