/************** INTRO ***********/

.intro {
	height: 100vh;
	overflow: hidden;
	width: 100%;
}

.intro .img__bg {
	background-repeat: no-repeat;
	width: 100vw;
	height: 90vh;
	border-top: 10vh solid transparent;
	background-size: cover;
	background-position: center;
	margin: 0;
	position: absolute;
	overflow: hidden;
	background-color: #dcdcdc;
}

.intro .bg__credit {
	font-size: 1.3vmin;
	line-height: 1.9vmin;
	color: #fff;
	bottom: 0;
	position: absolute;
	padding-right: 30px;
	right: 0;
	text-align: right;
	z-index: 1;
}

.intro__text {
	width: 100%;
	top: 25vh;
	position: absolute;
	text-align: center;
}

.intro__logo {
	width: 72px;
	height: 70px;
	background-image: url(https://www.historymuseum.ca/roue/assets/img/logo.svg);
	background-repeat: no-repeat;
	margin: auto;
	margin-bottom: 8vh;
}

.intro__title {
	font-family: "Abril Fatface", cursive;
	letter-spacing: normal;
	color: #111;
	font-size: 8vmin;
	margin: auto;
	margin-top: 1.3vh;
}

.intro__sub {
	width: 100%;
	color: #111;
	font-size: 3.2vmin;
	max-width: 40vw;
	margin-left: 5vw;
	line-height: 4.5vmin;
	margin: auto;
}

.intro__text.shrink {
	top: 0;
	-webkit-transition: transform 1s ease-out;
	-moz-transition: transform 1s ease-out;
	-o-transition: transform 1s ease-out;
	transition: transform 1s ease-out;
	position: fixed;
	height: 60px;
	background: #333;
	width: 100%;
	z-index: 3;
	pointer-events: all;
	line-height: 1.2;
}

.intro__text.shrink .intro__title {
	font-size: 2em;
	letter-spacing: 0;
	text-shadow: 0 0 0 #333;
}

.intro__text.shrink .intro__sub {
	font-size: 1em;
	letter-spacing: 0;
	line-height: 1em;
	text-shadow: 0 0 0 #333;
}

.intro .img__bg::after {
	width: 100%;
	height: 110vh;
	background-color: rgba(0, 0, 0, 0.3);
	position: absolute;
	overflow: hidden;
}

/*** BREADMCRUMB ***/

.breadcrumb__wrapper {
	margin: auto;
	display: inline-block;
	margin-left: 30px;
	display: none;
}

.breadcrumb {
	width: fit-content;
	height: 20px;
	background: #dac3b6;
	position: relative;
	padding: 10px;
	padding-left: 0;
	text-transform: uppercase;
	line-height: 22px;
	font-size: 16px;
	color: #903618;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	float: left;
}

.breadcrumb::before {
	content: "";
	width: 0;
	height: 0;
	left: -25px;
	position: absolute;
	top: 0;
	border-bottom: 40px solid #dac3b6;
	border-left: 25px solid transparent;
}

.breadcrumb.tag {
	padding: 10px 30px 10px 20px;
	min-width: 150px;
	margin-left: 3px;
}

.breadcrumb.tag::before {
	content: "";
	width: 0;
	height: 0;
	left: -28px;
	position: absolute;
	top: 0;
	border-bottom: 40px solid #fff;
	border-left: 25px solid transparent;
}

.breadcrumb.tag:first-child::before {
	display: none;
}

.breadcrumb.tag::after {
	content: "";
	width: 0;
	height: 0;
	left: -24px;
	position: absolute;
	top: 0;
	border-bottom: 40px solid #dac3b6;
	border-left: 25px solid transparent;
}

/******** SCROLL DOWN *********/

.scroll-down {
	position: absolute;
	bottom: 100px;
	z-index: 2;
	display: inline-block;
	-webkit-transform: translate(0, -50%);
	-o-transition: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	color: #111;
	font: normal 400 20px/1 sans-serif;
	letter-spacing: 0.1em;
	text-decoration: none;
	transition: opacity 0.3s;
	text-align: center;
	width: 100%;
	font-size: 14px;
}

.scroll-down .arrow {
	position: absolute;
	top: 29px;
	width: 24px;
	height: 24px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	box-sizing: border-box;
	text-align: center;
	display: none;
}

.scroll-fr .arrow {
	margin-left: 75px;
}

.first.row {
	height: inherit;
	margin: inherit;
	margin-top: 15vh;
	margin-bottom: 15vh;
	padding: 0;
}

.first .col__1-2 {
	top: inherit;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	float: none;
	width: 60%;
	max-width: 900px;
}

.first .img__container {
	margin-top: 8vh;
	width: 60vw;
	text-align: center;
}

.first .img__container img {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
}

.first .caption {
	text-align: left;
	width: 60vw;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
}

/*********** WAVE **************/

.wave-top {
	width: 100vw;

	position: absolute;
}

.wave-bg {
	background-image: url(https://www.historymuseum.ca/roue/assets/img/bg-wave-short-2.png);
	display: block;
}

.row.wave-bg {
	background: #fff;
	background-image: url(https://www.historymuseum.ca/roue/assets/img/bg-wave-short-2.png);
}

.wave-bg.half {
	height: 98px;
	width: 100%;
}

.row.wave-bg::before {
	content: "";
	width: 20vw;
	height: 200vh;
	left: 30vw;
	position: absolute;
	margin-top: -20vw;
	box-shadow: 165px 0px 0px 0px #dac3b6;
	border-radius: 58% 42% 84% 16% / 17% 50% 50% 83%;
	transform: rotate(14deg);
	border-right: 400px solid #dac3b6;
}

.row.wave-bg::after {
	content: "";
	width: 30vw;
	height: 100vh;
	position: absolute;
	background: #dac3b6;
	right: auto;
	left: 70vw;
}

.waves {
	bottom: 0;
	position: absolute;
	width: 100%;
	height: 15vh;
	margin-bottom: -7px; /*Fix for safari gap*/
	min-height: 100px;
	max-height: 150px;
}

.content {
	position: relative;
	height: 20vh;
	text-align: center;
	background-color: white;
}

/* Animation */

.parallax > use {
	animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
	animation-delay: -2s;
	animation-duration: 7s;
}
.parallax > use:nth-child(2) {
	animation-delay: -3s;
	animation-duration: 10s;
}
.parallax > use:nth-child(3) {
	animation-delay: -4s;
	animation-duration: 13s;
}
.parallax > use:nth-child(4) {
	animation-delay: -5s;
	animation-duration: 20s;
}
@keyframes move-forever {
	0% {
		transform: translate3d(-90px, 0, 0);
	}
	100% {
		transform: translate3d(85px, 0, 0);
	}
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
	.waves {
		height: 40px;
		min-height: 40px;
	}
	.content {
		height: 30vh;
	}
	h1 {
		font-size: 24px;
	}
}

/*********** navigate **************/

.hamburger {
	display: block;
	top: 80px;
	position: fixed;
	background: #111;
	z-index: 5;
	padding: 20px 25px;
	display: none;
	-webkit-transition: transform 0.3s ease-out;
	-moz-transition: transform 0.3s ease-out;
	-o-transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
}

.hamburger.show {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.navigate {
	bottom: 0;
	position: fixed;
	z-index: 2;
	right: 0;
	opacity: 0;
	width: 100%;
	background: #1b1b1b;
	color: #111;
	text-align: center;
	padding: 18px;
}

.navigate-el a {
	margin: 5vw;
	font-size: 20px;
	font-family: "Roboto", sans-serif;
	color: #fff;
	text-decoration: none;
	padding: 8px;
	cursor: pointer;
}

.navigate-el a:hover {
	opacity: 1;
}

.navigate .active {
	color: #dac3b6;
}

.navigate.show {
	display: block;
}

/*********** ICONS ****************/

.material-icons {
	font-size: xxx-large;
}

/************* CONCLUSION **********/

#conclusion {
	margin-top: 1px;
}

#conclusion .col__1-2 {
	margin-right: 13vw;
}

#conclusion h2 {
	padding: 0 2.5vw;
	font-size: 8vmin;
	line-height: 0.9;
	max-width: 80%;
}

#conclusion p,
body
	> section:nth-child(6)
	> div
	> div.col.col__1-2.slide.t.delay-b.on
	> p:nth-child(1) {
	margin-bottom: 2em;
}

/*********** CONCLUSION *******************/

.end {
	background-image: url(https://www.historymuseum.ca/roue/assets/25.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	width: 100vw;
	height: 100vh;
}

.end p {
	color: #fff;
	width: 80%;
}

.end .center p {
	text-align: center;
	width: 70%;
}

.quote {
	font-size: 4vmin;
	line-height: 6vmin;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	opacity: 0;
	display: none;
}

/************** COMPARE ****************/

.compare__icon {
}

.compare__icon::before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	left: -50%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

.center {
	top: 50%;
	position: relative;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	display: table;
	margin: 0 auto;
	position: relative;
	width: 50%;
	height: 100%;
}

.center .img__icon {
	margin: 0 auto;
	top: calc(50% - 1.5vw);
	border-radius: 50%;
	left: 2vw;
}
