/* Import Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
/*font-family: 'Playfair Display', serif;*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
/*font-family: 'Lora', serif;*/

@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap');
/*font-family: 'Ma Shan Zheng', cursive;*/

/* Global Styles */

*,
*:before,
*:after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
*:focus {
	outline: none;
}

.wrapper {
	max-width: min(1440px, 100%);
}

.fullscreen {
	width: 100%;
	min-height: 100vh;
}

.leaf-stamp{
	fill: var(--red);
	width: min(10vw, 3.6em);
	height: auto;
}

.downwards-arrow-wrapper {
	align-self: flex-end;
	padding-bottom: 4em;
	display: flex;
	justify-content: center;
	width: 100%;
}

.downwards-arrow {
	width: min(10vw, 42px);
	fill: var(--red);
	opacity: .33;
	transition: ease-in 250ms;
}

.downwards-arrow:hover {
	opacity: 1;
}

.back-to-top-wrapper {
	background: var(--white);
	width: 100%;
	text-align: center;
	align-self: flex-end;
	padding-bottom: 4em;
}
.citation {
	padding: 1em;
	font-family: var(--small-serif);
}

.back-to-top {
	display: inline-block;
	padding: 1em;
	background: var(--red);
	opacity: .6;
	transition: opacity 200ms ease-in;
}

.back-to-top:hover {
	cursor: pointer;
	opacity: 1;
}

.back-to-top p {
	color: var(--white);
}

a {
	text-decoration: none;
}

form {
	width: max(400px,20vw);
	display: flex;
	margin-bottom: 2em;
}

input {
	width: 70%;
	font-family: var(--small-serif);
	font-size: 1.2rem;
	padding: 0 1em;

}

form button {
	margin-left: 1em;
	height: 100%;
	background: var(--red);
	cursor: pointer;
	border: none;
	padding: 0 2em;
	font-family: var(--small-serif);
	color: var(--white);
	font-weight: normal;
	font-size: 1.2rem;
	line-height: 2;
}


/* Global Variables */

:root {
	--black: #000000;
	--white: #ffffff;
	--red: #a1021e;
	--grey: #c4c4c4;
	--brown: #e7e5db;

	--big-serif: 'Playfair Display', serif;
	--small-serif: 'Lora', serif;
	--big-ch: 'Ma Shan Zheng', cursive;

	/*scroll-behavior: smooth;*/
	background: var(--white);
}

/* Global Text Styles */

.heading {
	font-family: var(--big-serif);
	color: var(--black);
	font-weight: bold;
	font-size: clamp(1.8rem, 7vw, 5rem)
}

.heading span {
	font-family: var(--big-ch);
}

.title {
	font-family: var(--big-serif);
	color: var(--black);
	font-weight: bold;
	font-size: clamp(1.8rem, 4vw, 4rem);
	text-align: center;
}

.subtitle {
	font-family: var(--big-serif);
	color: var(--black);
	font-weight: bold;
	text-align: center;
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.body {
	font-family: var(--small-serif);
	color: var(--black);
	font-weight: normal;
	font-size: 1rem;
	line-height: 2;
	margin: 1.5em 0;
}

.button-text {
	font-family: var(--small-serif);
	color: var(--white);
	font-weight: normal;
	font-size: clamp(1rem, 2vw, 1.5rem);
	line-height: 2;
}

.caption {
	font-family: var(--big-serif);
	color: var(--white);
	font-weight: 700;
	font-size: clamp(1.2rem, 3vw, 2rem);
}

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


/* Navigation */

	/* Navbar */

header {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

nav {
	position: absolute;
	top: 1em;
	right: 1em;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	z-index: 999;

}

.nav-toggle {
	background: var(--red);
	border: 0;
	padding: 1.3em .5em;
	opacity: .5;
	transition: opacity 250ms;
}

.nav-toggle:hover {
	opacity: 1;
}

.hamburger {
	display: block;
	position: relative;
	opacity: 1;
}

.hamburger,
.hamburger:before,
.hamburger:after {
	width: 2em;
	height: 3px;
	background: var(--white);
	border-radius: .5em ;

}

.hamburger:before,
.hamburger:after {
	content: '';
	position: absolute;
	left: 0;
}

.hamburger:before {
	bottom: 10px;
}

.hamburger:after {
	top: 10px;
}

.nav-list {
	transform: scale(0);
	position: absolute;
	background: var(--red);
	list-style: none;
	transition: transform 200ms 100ms ease-in;
	transform-origin: top right;
}

.nav-list-active {
	transform: scale(1.0);
}

.nav-item {
	opacity: 0;
	text-align: center;
	padding: 2em 4em;
	transition: opacity 200ms 200ms ease-in;
	font-family: var(--small-serif);
	font-size: 1.2rem;
}

.nav-item-active {
	opacity: 1;
}

.nav-item a {
	text-decoration: none;
	color: var(--white);
}

.nav-item a:hover {
	text-decoration: underline;
}

.hidden {
	opacity: 0;
}

.header-fixed {
	position: fixed;
	width: 100%;
	z-index: 2;
}

.nav-fixed {
	background: var(--white);
	width: 100%;
	top: 0;
	right: 0;
	padding: 1em;
}

	/* Back Button */

.back-button-wrapper {
	justify-content: flex-start;
}

.back-button {
	position: absolute;
	width: 80px;
	top: 1em;
	margin-left: 2em;
	border: 0;
	background: var(--red);
	color: var(--white);
	opacity: .5;
	transition: opacity 200ms ease-in;
}

.back-button:hover {
	opacity: 1;
	cursor: pointer;
}

/* Access page */

.access-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-image: url(../img/old_man_opacity.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.access-text {
	width: min(50%, 1280px);
	text-align: center;
	background: var(--white);
	font-size: 3rem;
	font-family: var(--small-serif);
	margin-bottom: 2em;
}

/* Home page */

	/* Landing Section */

.landing-section {
	display: flex;
	flex-wrap: wrap;
	border-top: 5em solid var(--grey);
	border-bottom: 5em solid var(--grey);
	justify-content: flex-start;
}

.landing-elements {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.landing-text-line {
	text-align: center;
	width: 100%;
}

.landing-stamp {
	margin-top: 2em;
	width: auto;
}

.landing-bg {
	position: absolute;
	bottom: 5em;
	right: 0;
	z-index: -1;
	height: 80%;
	width: auto;
}

	/* Intro Video Section */

.intro-video-section {
	background-image: url('../img/watercolor_back.png');
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
}

.intro-video {
	margin-top: auto;
	border: 2px solid black;
	align-self: center;
	width: min(75%, 1280px);
	align-self: center;
	z-index: 1;
}


.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 */
	height: 0;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-stamp {
	background: var(--white);
	position: absolute;
	left: 4em;
	bottom: 6em;
	z-index: 0;
}

	/* Intro Writeup */

.intro-writeup-section {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.intro-writeup-title {
	width: 100%;
	margin-top: 4em;
	padding: 1em;
}

.intro-writeup {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	padding: 2em;
}

.intro-writeup-text {
	text-align: center;
	background: var(--grey);
	padding: 2em 4em;
	width: 80%;
}


.intro-writeup-img {
	text-align: center;
	width: 80%;
}

.intro-writeup-img img{
	width: 70%;
}

@media screen and (max-width: 800px) {
	.intro-writeup {
		flex-direction: column;
		flex-wrap: wrap;
	}
	.intro-writeup-text {
		width: 100%;
	}

	.intro-writeup-img {
		width: 100%;
	}
}

	/* Scroll Journey */

.scroll-journey-section {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.carousel {
	margin-top: auto;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.carousel-timeline-wrapper{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2em;
}

.carousel-timeline {
	width: clamp(200px, 30%, 400px);
	margin-bottom: 2em;
}

.dot {
	transition: all 200ms ease-in;
}

.dot:hover {
	cursor: pointer;
}

.current-dot {
	fill: var(--red);
}

.carousel-title {
	font-family: var(--big-serif);
	font-style: italic;
	font-weight: normal;
	font-size: clamp(2rem, 6vw, 3rem);
	text-align: center;
}

.carousel-button {
	background: none;
	border: 0;
}

.carousel-button-hidden {
	display: none;
}

.carousel-arrow {
	height: min(10vw, 48px);
	fill: var(--red);
	opacity: .33;
	transition: ease-in 250ms;
}


.carousel-arrow:hover {
	opacity: 1;
	cursor: pointer;
}

.carousel-list-container {
	width: min(80%, 1280px);
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
}

@supports not (aspect-ratio: 1 / 1) {
  .carousel-list-container{
  	height: 100vh;
  }
}

.carousel-list {
	width: 100%;
	height: 100%;
	list-style: none;
	transition: transform 500ms ease-in-out;
}

.carousel-item {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;

}

.slide {
	width: 100%;
	height: 100%;

}

.journey-slide {
	overflow: auto;
	margin-top: 2em;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;

}

.slide-text {
	background: var(--grey);
	width: 40%;
	padding: 2em;
	margin-bottom: 4em;
	text-align: center;
	height: max-content;

}

.journey1 {
	background-image: url(../img/carousel/slide1.png);
	background-size: 70% auto;
	background-position: right;

}

.journey2 {
	background-image: url(../img/carousel/slide2.png);
	background-size: 65% auto;
	background-position: right;
	display: flex;
}

.journey3 {
	background-image: url(../img/carousel/slide3.png);
	background-size: 70% auto;
	background-position: left;
	display: flex;
	justify-content: flex-end;
}

.journey4 {
	background-image: url(../img/carousel/slide4.png);
	background-size: 60% auto;
	background-position: left;
	display: flex;
	justify-content: flex-end;
}

	/* Explore Scroll */

.explore-scroll-section {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;

}

.explore-scroll {
	width: 100%;
	display: flex;
	justify-content: space-around;
	background-image: url(../img/explore_the_scroll.jpg);
	background-position: right;
	background-repeat: no-repeat;
	background-size: 80% auto;

}

.white-button {
	align-self: center;
	margin-top: 20em;
	background: var(--white);
	padding: 2em;
}

.white-button p {
	font-weight: bold;
	text-align: center;
}

.explore-scroll-banner {
	background: var(--grey);
	height: 100%;
	width: 30%;
	padding: 2em;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.explore-scroll-banner-title {
	width: auto;
	padding: 1em;
	border-bottom: 2px solid var(--black);
}

.explore-scroll-banner-body {
	margin-top: 2em;
	text-align: center;
}

	/* Explore more */

.explore-more-section {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	background: url(../img/watercolor_back2.jpeg);
	background-size: auto 100%;
	background-position: center;
}

.explore-more {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.explore-more-title-container {
	width: 100%;
	text-align: center;
}

.explore-more-title {
	position: relative;
	display: inline-block;
	padding: 2em;
}

.explore-more-title:before {
	content: "";
	position: absolute;
	left: 20%;
	bottom: 0;
	height: 1px;
	width: 60%;
	border-bottom: 3px solid var(--white);
}

.explore-more-title h1 {
	font-family: var(--big-serif);
	color: var(--white);
	/*text-shadow: -1px -1px 0 var(--black), 1px -1px 0 var(--black), */
					/*-1px 1px 0 var(--black), 1px 1px 0 var(--black);*/
	font-weight: bold;
	font-size: clamp(1.8rem, 4vw, 3rem);
}

.explore-more-card-container {
	width: 100%;
	display: flex;
	justify-content: space-evenly;
}

.explore-more-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	width: 30%;
	background: var(--white);
	box-shadow: -5px 5px 10px var(--black);
}

.explore-more-card a {
}

.explore-more-card h3 {
	text-align: center;
	font-family: var(--big-serif);
	color: var(--black);
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

.explore-more-card img {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 800px) {
	.explore-more-card-container {
		flex-direction: column;
		align-items: center;
		margin-bottom: 2em;
	}

	.explore-more-card {
		width: 40%;
		margin-top: 2em;
	}

}

/* About Page */

.about-section {
	width: 100%;
	display: flex;
	justify-content: center;
}

.about {
	background: url(../img/about-flowers.png);
	background-size: 100% auto;
	background-position: bottom;
	width: min(100%, 1280px);
	height: 100vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

.about-title {
	display: inline-block;
	padding: 2em;
	margin-top: 3em;
	margin-bottom: 2em;
	border-bottom: 3px solid var(--black);
}

.about-content {
	width: 100%;
}

.about-row {
	width: 100%;
	margin-bottom: 5em;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.about-text {
	background: var(--grey);
	padding: 1em;
	width: 60%;
	height: inherit;
	opacity: .8;
	overflow: hidden;
}

.about-text p {
	opacity: 1;
}

.about-img {
	position: relative;
	width: max(300px, 29%);
}

.about-img img {
	width: 100%;
	height: auto;
}

/*
.about-img-1 {
	background-image: url('../img/heidi_stalla.png');
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: right;
}

.about-img-2 {
	background-image: url('../img/the_team.png');
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: center;
}
*/


.about-caption-1 {
	position: absolute;
	right: 5%;
	top: 0;
	z-index: 2;
}

.about-caption-2 {
	position: absolute;
	left: 30%;
	top: 0;
}

/* Private Page Globals */

.title-block {
	padding-top: 4em;
	width: 100%;
	text-align: center;
	margin-bottom: 2em;
}


/* Creating Page */
.creating-section {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.title-block {
	padding-top: 4em;
	width: 100%;
	text-align: center;
	margin-bottom: 2em;
}

.creating-nav {
	width: 100%;
	text-align: center;
}

.creating-nav-list {
	padding: 2em;
	display: inline-block;
	list-style: none;
	border-bottom: 3px solid var(--black);
}

.creating-nav-item {
	display: inline;
	padding: 0 1em;
}

.creating-nav-item-border {
	border-right: 2px solid var(--black);
}

.creating-nav-item a {
	color: var(--black);
	font-family: var(--small-serif);
	font-size: clamp(1rem, 2vw, 1.5rem);
	font-weight: bold;
}

.creating-block {
	margin: 2em;
	padding: 1em;
	flex-grow: 1;
	height: 100%;
	display: flex;
}

.creating-video {
	width: 90%;
	align-self: center;
	z-index: 1;
}

@media screen and (max-width: 800px) {
	.creating-block {
		flex-wrap: wrap;
	}
}

.creating-block-col {
	width: 100%;
	background: var(--grey);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.creating-block-col p {
	align-self: center;
	padding: 2em;
}

.creating-block-col img {
	align-self: center;
	width: 90%;
	height: auto;
}

.creating-block-col .portrait {
		height: 60%;
		width: auto;
		align-self: flex-start;
}

.creating-block-title {
	padding: 1em;
	width: 100%;
	margin-bottom: auto;
	background: var(--white);
}

.creation-end {
	padding: 2em;
	background-image: url(../img/bottom-flowers.png);
	background-position: center;
	background-size: 50% auto;
	background-repeat: no-repeat;
	width: 100%;
	text-align: center;
	align-self: flex-end;
	padding-bottom: 4em;
}

/* Crossing Boundaries */

.crossbound-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-bottom: 2em;
}

.crossbound-intro {
	width: 100%;
	display: flex;
}

@media screen and (max-width: 800px) {
	.crossbound-intro {
		flex-wrap: wrap;
	}
}

.crossbound-audio {
	width: 100%;
	padding: 2em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.crossbound-intro-text {
	width: 100%;
	text-align: center;
}

.poem-img {
	width: 100%;
}

.poem-img img{
	width: 100%;
	height: auto;
}

.crossbound-poems-section {
	width: 100%;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.translation-dropdown {
	background: var(--red);
	border: 0;
	padding: 1em;
	color: var(--white);
}

.translation-block {
	width: 100%;
	display: none;
	flex-direction: column;
	padding: 2em;
}

.translation-title {
	margin-bottom: 1em;
}

.translation-author {
	align-self: left;
	font-family: var(--big-serif);
	font-weight: bold;
	font-size: 1.2rem;
}

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

.translation-img {
	align-self: center;
	width: 50%;
}
.translation-img img{
	width: 100%;
}

#chieng1 {
	display: flex;
}

	/* Translation Dropdown */

.translation-dropdown-wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: flex-end;
}

.translation-dropdown {
	width: max-content;
	top: 1em;
	right: 1em;
	padding: 0;
	z-index: 999;
}

.dropbtn {
  background-color: var(--red);
  opacity: .8;
  color: white;
  padding: 1em;
  font-size: 1rem;
  font-family: var(--small-serif);
  border: none;
  cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
	opacity: 1;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: var(--red);

  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--small-serif);
  padding: 1em;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
	text-decoration: underline;
}

.show {
	display:block;
}


/* Community */

.community-section {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}

.community-content {
	position: relative;
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.community-carousel {
	width: 70%;
}

.mini-carousel-list-container {
	width: max(70%, 300px);
	aspect-ratio:  1 / 1;
	position: relative;
	overflow: hidden;
}

@supports not (aspect-ratio: 1 / 1) {
  .mini-carousel-list-container{
  	height: 50vh;
  }
}

.community-quote {
	font-family: var(--small-serif);
	color: var(--black);
	font-size: 1.1rem;
	line-height: 2;
	font-weight: bold;
	text-align: right;
}

.community-quote-author {
		font-family: var(--small-serif);
	color: var(--black);
	font-size: 1.1rem;
	line-height: 2;
	font-weight: normal;
	text-align: right;
}

.community-quote-author:before {
	content: "—";
}

.community-quote:before {
	content: '"';
}

.community-quote:after {
	content: '"';
}

.quote-slide {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2em;
}

.community-video {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
	width: 40%;
	height: auto;
}
