html, body { margin: 0; overflow-x: hidden; }

.loading { width: 100vw; height: 100vh; position: fixed; filter: blur(20px); z-index: 1000;}

.panel { height: 100vh; width: 100vw; position: relative; overflow-x: hidden; font-family: "BodoniBook"; }

.intro { display: flex; background-color: #f3e9d5; flex-direction: column; justify-content: center; }
.intro p,
.intro h1 { font-family: "BodoniBook"; color: #be7a04; text-align: center; }
.intro > p.blurb { align-self: center; width: 70%; margin-left: auto; margin-right: auto; line-height: 1.4; font-size: 1.7em; }
.intro h1 { font-size: 3em; margin-top: 0; }
.intro .arrow { color: #be7a04; }

.mahaut1 { display: flex; align-items: center; justify-content: center; }
.mahaut1 .vertical { text-transform: uppercase; font-size: 3em; }
.mahaut1 .blurb { width: 10em; font-size: 1.2em; text-align: center;}
.mahaut1 p { margin: 0 1em; }

.mahaut2 { display: flex; flex-direction: column; }
.mahaut2 img { max-height: 50vh; margin-top: 1em; width: auto; }
.mahaut2 .image_box { align-self: center; }

.mahaut2 .written_content { display: flex; height: 50vh; }
.mahaut2 .written_content div { flex: 1 0 calc(100% / 3); text-align: center; font-family: "BodoniBook"; margin-top: 1em; }
.mahaut2 .written_content div p { max-width: 15em; margin-left: auto; margin-right: auto; }
.mahaut2 .written_content div.middle { align-self: flex-end; margin-bottom: 1em; }

.mahaut3 { text-align: center; }
.mahaut3 .written_content p { text-align: center; }
.mahaut3 img { max-height: 50vh; }

.nick1 { display: flex; align-items: center; justify-content: center; }
.nick1 > p,
.nick1 > .blurb { margin: 0 1em; }
.nick1 .vertical { text-transform: uppercase; font-size: 3em; font-family: "BodoniBook"; width:0.5em; }
.nick1 .blurb { align-self: center; }
.nick1 .blurb p:nth-child(2) { width: 10em; }
.nick1 .blurb p:first-child { text-transform: uppercase; }

.nick { text-align: center; background-color: #e1e2e4; }
.nick img { height: 75vh; }
.nick2 p,
.nick3 p,
.nick4 p { font-size: 2em; text-transform: uppercase; }

.nick .written_content p { background-color: rgba(0, 0, 0, 0.5); display: inline-block; padding: 0.5em; color:#fff; }

.nick2 { /*background-image: url('assets/yeretsian1.jpg');*/ background-size: 100%; }

.nick3 { /*background-image: url('assets/yeretsian2.png');*/ background-size: 100%; }

.nick2 img,
.nick3 img { margin-top: 1em; }
.nick4 img { margin-bottom: 1em; max-height: 60vh; }

.nick4 { /*background-image: url('assets/yeretsian3.jpg');*/ background-size: 100%; }

.hobeika { background-color: #f3e7d4; display: flex; align-items: center; justify-content: center;}
 
.hobeika1 { /*background-image: url('assets/hobeika1.jpg');*/ background-size: 100%; }
.hobeika1 .written_content { height: 50vh; width: 100%; text-align: center; width: 70%; font-family: "BodoniBook"; background-color: rgba(0, 0, 0, 0.5); padding:1em; }
.hobeika1 .written_content h1 { color: #be7a04; font-size: 3em; }
.hobeika1 .written_content p { font-size: 1.2em; color:#fff; }

.hobeika img { height: 50vh; }

.hobeika2 { /*background-image: url("assets/hobeika2.jpg");*/ background-size: 100%; justify-content: center; }
.hobeika2 p { background-color: rgba(0, 0, 0, 0.5); color: #fff; padding: 1rem; font-size: 2em; }

.hobeika3 { /*background-image: url("assets/hobeika3.jpg");*/ background-size: 100%; justify-content: center; }
.hobeika3 p { background-color: rgba(0, 0, 0, 0.5); color: #fff; padding: 1rem; font-size: 2em; }

.hobeika4 { /*background-image: url("assets/hobeika4.jpg");*/ background-size: 100%; justify-content: flex-end; }
.hobeika4 .written_content { background-color: rgba(0, 0, 0, 0.5); color: #fff; padding: 1rem; width: 50vw; margin-right: 1em; }

.hobeika5 { /*background-image: url("assets/hobeika5.jpg");*/ background-size: 100%; justify-content: center; align-items: flex-start; }
.hobeika5 .written_content { background-color: rgba(0, 0, 0, 0.5); color: #fff; padding: 1rem; width: 50vw; margin-top: 1em; }

.fiocco { display: flex;}

.fiocco1 { /*background-image: url("assets/fiocco1.jpg");*/ background-size: 100%; justify-content: center; align-items: center; }
.fiocco1 .written_content { background-color: rgba(0, 0, 0, 0.5); width: 50vw; padding: 1em; }
.fiocco1 h1 { text-align: center; color: #f4cfc0; font-size: 3em; }
.fiocco1 p { text-align: center; color: #fff;}


.fiocco2 { /*background-image: url("assets/fiocco2.jpg");*/ background-size: 100%; justify-content: center; align-items: center; }
.fiocco2 p { background-color: rgba(0, 0, 0, 0.5); padding: 1em; margin: 1em; flex: 0 1 auto; color: #fff; }
.fiocco2 p:first-of-type { align-self: flex-start; margin-top: 10vh; }
.fiocco2 p:last-of-type { align-self: flex-end; margin-bottom: 10vh; }

.houriez { display: flex; background-color: #d29f84; }

.houriez1 { justify-content: center; }
.houriez1 .written_content { text-align: center; width: 50vw; align-self: center; }
.houriez1 h1 { text-transform: uppercase; font-size: 3em; }

.houriez2 { /*background-image: url("assets/houriez1.jpg");*/ background-size: 100%; justify-content: center; align-items: center; }
.houriez2 p { background-color: rgba(0, 0, 0, 0.5);  width: 50vw; color: #fff; padding: 1em; }

.bennatar { background-color: #b6704d; display: flex; }

.bennatar1 { align-items: center; justify-content: center; }
.bennatar1 .written_content { width: 50vw; text-align: center; }
.bennatar1 h1 { font-size: 3em; }

.bennatar2 { align-items: center; justify-content: center; }
.bennatar2 .written_content { width: 70vw; text-align: center; }

.final { background-color: #a06446; display: flex; justify-content: center; align-items: center; }
.final .written_content { text-align: center; width: 30vw; }
.final a { transition: 0.5s; text-decoration: none; border: 3px solid #000; padding: 1rem; color: #000; margin-top: 1em; display: inline-block; font-size: 1.5em; }
.final a:hover { background-color: #000; color: #a06446; }

.vertical { width: 1em; word-wrap: break-word; }

.arrow { position: fixed; right: 1em; cursor: pointer; opacity: 0.5; transition: 0.5s; z-index: 1000; }
.arrow:hover { opacity: 1; }
.arrow.bottom { bottom: 1em; }
.arrow.top { top: 1em; }

.mobile-alt { display: none; }

@media screen and (max-width: 480px) {
	.arrow { right: calc(50% - 1.5em); }
	.arrow.top { top: 0.5em; }
	.arrow.bottom { bottom: 0.5em; }

	.intro > p.blurb { font-size: 1.4em; width: 90vw; }

	.mahaut1 p { margin: 0 0.5em; }

	.mahaut2 { justify-content: center; }
	.mahaut2 img { max-height: 20vh; }
	.mahaut2 .written_content { flex-direction: column; height: auto; }
	.mahaut2 .written_content div p { width: 90%; max-width: 90%; margin-top: 0.5em; margin-bottom: 0.5em;}

	.mobile-alt { display: block; }
	.mahaut2 .middle {display: none; }

	.mahaut3 { justify-content: center; display: flex; flex-direction: column; }
	.mahaut3 img { max-height: 40vh; }

	.nick1 > .blurb, 
	.nick1 > p { margin: 0 0.5em; }
}

@font-face {
    font-family: "BodoniBook";
    src: url("BodoniBook.ttf");
    font-weight:400;
}