@font-face {
	font-family: 'Franklin';
	src: url('franklin-normal-500.woff') format('woff2');
	font-weight: normal;
	font-style: normal;
}

/* ==========================================================================
   Base Styles and Reset
   ========================================================================== */
:root {
  box-sizing: border-box;
}

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

body, html {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Franklin', Times New Roman, Times, serif;
	color: rgb(66, 66, 66);
	overflow-wrap: break-word;
	text-wrap-mode: wrap;
	vertical-align: baseline;
	-webkit-font-smoothing: antialiased;
	-webkit-user-select: text;
	font-size: 28px;
	line-height: 34px;
	text-align: left;
	letter-spacing: normal;
}

/* ==========================================================================
   Typography and Links
   ========================================================================== */
a {
	color: rgb(66, 66, 66);
	text-decoration: none;
	opacity: 1;
	transition: opacity 0.5s ease;
	cursor: pointer;
}

a:hover {
	opacity: 0.68;
}

em {
	font-style: normal;
}

.dash {
	padding: 0 2px;
}

.gray {
	color: #aeaeae;
}

.link {
	border-bottom: 1px solid;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav-container {
	position: fixed;
	width: 100%;
	padding: 10px 10px 15px 10px;
	background-color: white;
	transition: top 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s cubic-bezier(.4,0,.2,1);
	display: grid;
	grid-template-columns: 50% auto;
	gap: 10px;
	top: 0;
	z-index: 1000;
}

.nav-hidden {
	top: -110px !important;
	opacity: 0;
	pointer-events: none;
}

.nav-item {
	display: inline-block;
	cursor: pointer;
}

#nav a {
	transition: color 0.3s ease;
}

.scrolled {
	color: rgb(222, 225, 230);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
/* Remove .main-wrapper rules */

/* Grid Layouts */
.top-images {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	width: 100%;
}

.words {
	padding: 140px 10px 20px 10px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	width: 100%;
}

/* Image Styles */
img {
	border-radius: 0px;
	will-change: transform;
	backface-visibility: hidden;
	transform: translateZ(0);
	-webkit-font-smoothing: subpixel-antialiased;
}

.top-images img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.image-caption {
    font-family: 'Du Nord', Helvetica, Arial, sans-serif;
    font-size: 12px;
    text-align: left;
    /* padding-top: 8px; */
    color: rgb(66, 66, 66);
    letter-spacing: normal;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    transition: none !important;
	display: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-sequence {
	opacity: 0;
	animation: fadeInOut 3s ease-in-out forwards;
	animation-delay: 0.6s;
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
		transform: translateX(0px);
	}
	20% {
		opacity: 1;
		transform: translateX(0);
	}
	80% {
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity: 0;
		transform: translateX(0px);
		visibility: hidden;
	}
}

/* Fade Classes */
.fade-1 {
	opacity: 0;
	animation: fadeIn 1s ease-out forwards;
	animation-delay: 0.0s;
}

.fade-2 {
	opacity: 0;
	animation: fadeIn 1s ease-out forwards;
	animation-delay: 0.2s;
}

.fade-3 {
	opacity: 0;
	animation: fadeIn 1s ease-out forwards;
	animation-delay: 0.4s;
}

.fade-4 {
	opacity: 0;
	animation: fadeIn 1s ease-out forwards;
	animation-delay: 0.6s;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.image-caption {
  margin: 0;
  margin-top: 12px;
  text-align: center;
  opacity: 1 !important;
  transition: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav-link-row {
  display: flex;
  align-items: baseline;
}

.ongoing-label {
  color: #aeaeae;
  font-size: 14px;
  letter-spacing: 0.1px;
  margin-left: 5px;
  font-weight: normal;
  vertical-align: baseline;
  line-height: 1;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */


@media only screen and (max-width: 768px) {
	/* Mobile Layout */
	html, body {
		overflow-x: hidden !important;
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
	
	body {
		font-size: 24px;
		line-height: 30px;
		letter-spacing: normal;
	}
	
	/* Mobile Navigation */
	.nav-container {
		grid-template-columns: 50% auto;
		gap: 0px;
		background-color: white;
	}
	
	#nav-1 {
		display: inline-block;
	}
	
	#nav-2 {
		display: inline-block;
	}
	
	#nav-3 {
		display: inline-block;
	}
	
	#nav-4 {
		display: inline-block;
	}
	
	/* Mobile Layout Adjustments */
	.top-section {
		height: auto;
		padding-top: 0 !important;
		align-items: center;
		position: relative;
	}
	
	.top-images {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.words {
		padding-top: 25vh;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	/* Mobile Home Page Elements */
	#home-1, #home-2, #home-3 {
		position: absolute !important;
		width: 300px;
	}
	
	#home-1 {
		top: 20vh;
		left: 10px;
	}
	
	#home-2 {
		top: 30vh;
		right: 10px;
	}

	#home-4 {
		display: none;
	}
	
	#home-3 {
		top: 40vh;
		margin-left: 10%;
	}
	
	#nav-1 span {
		display: block;
	}

	#nav-2 {
		/* width: 40px; */
	}

	#nav-4 {
		visibility: hidden;
	}
	
	#nav-4 {
		display: inline-block;
	}
	
	.ongoing-label {
		display: none;
	}
	
}

::selection {
  background: #fff;
  color: #222;
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 18vh auto 0 auto;
  padding: 0 0 20px 0;
  opacity: 0;
  animation: gallery-fade-in 0.8s cubic-bezier(.4,0,.2,1) 0.1s forwards;
}

@keyframes gallery-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gallery-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.gallery-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.gallery-image.wide {
  max-width: 900px;
}

.gallery-caption {
  margin-top: 12px;
  font-size: 16px;
  color: #444;
  text-align: center;
  max-width: 90vw;
  line-height: 1.5;
}

@media (max-width: 900px) {

  .gallery-image.wide {
    max-width: 98vw;
  }

}

@media (max-width: 600px) {

  .gallery {
    padding: 0 10px;
  }

  .gallery-image-wrapper {
    margin-bottom: 28px;
  }

  .gallery-image {
    max-width: 98vw;
  }

  .gallery-caption {
    font-size: 15px;
    max-width: 98vw;
  }

}

.top-section {
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  box-sizing: border-box;
}

.coming-soon-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  width: 100vw;
  text-align: center;
}

.coming-soon-center p {
  font-family: 'DuNord Medium', Times New Roman, Times, serif;
  font-size: 20px;
  color: rgb(66, 66, 66);
  font-weight: normal;
  letter-spacing: normal;
  margin: 0;
  padding: 0;
}

.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed !important;
  width: 100vw !important;
}

.gallery-image.fade-in-loaded {
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
  opacity: 1 !important;
}

.fade-in-loaded {
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
  opacity: 1 !important;
}
