.container {
  background-image: url("../images/dark-background.jpg");
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  overscroll-behavior: none;
  height: 100%;
  max-width: fit-content;
  display: flex;
  flex-wrap: nowrap;
  overflow-y: hidden;
}

.overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.overlay.show {
  display: block;
}

.overlay.dark {
  background-image: url("../images/dark-bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.overlay.preview {
  background-color: rgba(77, 73, 69, 0.49);
}

.eyebrow {
  opacity: 0;
}

.content {
  position: relative;
  padding: 2rem;
}

.content-fade-in {
  opacity: 0;
}

.panel {
  position: relative;
  display: flex;
  align-items: center;
  color: #ede9e1;
  padding: 110px 0 0;
  font-weight: 300;
  min-width: fit-content;
  height: 100vh;
  background-color: #FFF;
}

.panel.intro {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-width: 55vw;
    max-width: 55vw;
    flex-direction: column;
}

.panel.intro h1 {
  color: #000000;
  font-size: clamp(30px, 5vw, 84px);
  margin: 0 0 1rem;
  line-height: 1;
font-family: Fraunces !important;
}

.panel.intro p {
    font-size: 21px;
    color: #000;
    font-family: 'Albert Sans';
}

.panel.intro .button {
  margin: 1rem 0 0;
}

.panel.intro .button-round {
  position: relative;
  bottom: 1rem;
}

.panel.story-board {
  padding: 110px 200px 0 0;
}

.panel.story-board .button-round {
  pointer-events: visible;
  right: 50%;
  bottom: 50%;
}

.years {
    list-style: none;
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 220px 0 0;
    border-left: 1px solid #0000006b;
    border-right: 1px solid #0000006b;
}

.year {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 110px;
}

.year.selected h3 {
  height: 125px;
}

.year h3 {
  position: relative;
  margin: 0;
  color: #19b7e9;
  font-size: clamp(18px, 1.5vw, 26px);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95px;
  height: 0;
  overflow: hidden;
  border-top: 3px solid #19b7e9;
  border-bottom: 3px solid #19b7e9;
  transition: height 0.5s;
}

.year h3::before, .year h3::after {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  height: 200%;
  background-color: #3c3a37;
  left: calc(50% - 1px);
  z-index: -1;
}

.year h3::before {
  top: calc(-200% - 2rem);
}

.year h3::after {
  bottom: calc(-200% - 2rem);
}

.year::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  bottom: calc(50% + 1px);
  transform: translateY(50%);
  width: 110px;
  left: 0;
  height: 2px;
  background-image: linear-gradient(to right, #cacaca 40%, rgb(0 0 0 / 0%) 0%);
  background-position: top;
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.year:last-child .story::after {
  width: calc(100% + 320px);
}

.stories {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.stories::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  bottom: 50%;
  transform: translateY(50%);
  width: 100px;
  left: 0;
  height: 2px;
  background-image: linear-gradient(to right, #ede9e1 40%, rgba(255, 255, 255, 0) 0%);
  background-position: top;
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.story {
  position: relative;
  margin-left: 120px;
  min-width: 50px;
  max-width: 350px;
  opacity: 0;
  transition: opacity 0.5s;
}

.story.selected {
  opacity: 1;
}

.story.selected .story-link {
  transform: scaleY(1);
}

.story.selected::before {
  transform: translateY(-50%) scale(1);
}

.story.lodge {
  min-width: 350px;
  transition: opacity 1s;
}

.story.lodge .inner {
background-color: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #f5f5f5;
}

.story.lodge .inner::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  background-color: #fff;
  height: 100%;
  width: 100%;
  top: 100%;
  left: 0;
}

.story.lodge .inner .story-head {
	   position: relative;
		padding: 1rem;
		display: flex;
		justify-content: flex-end;
		flex-direction: column;
		align-items: flex-start;
}

.story.lodge .inner .story-head p {
  margin: 0;
}

.story.lodge .inner .location {
  max-width: 100%;
}

.story.lodge .inner .opened {
  position: absolute;
  right: 50%;
  bottom: 30%;
  display: inline-block;
  transform: rotate(-90deg);
  font-size: clamp(18px, 1.5vw, 22px);
  font-style: italic;
  text-transform: uppercase;
}

.story.lodge .inner .dated {
  position: relative;
  height: 100%;
  margin-top: auto;
}

.story.lodge .inner .date {
  display: block;
}

.story.lodge .inner .date span {
  display: block;
  line-height: 1;
}

.story.lodge .inner .excerpt
 {
    padding: 1rem;
	 color:#000;
}
.story.lodge .inner .excerpt {
    padding: 1rem;
    color: #000!important;
}

.story.lodge .inner .date span:first-child {
  font-size: clamp(17px, 1.5vw, 23px);
}

.story.lodge .inner .date span:last-child {
  font-size: clamp(20px, 2vw, 30px);
}

.story.lodge .inner h5 {
  font-size: clamp(18px, 2vw, 26px);
  margin: 0 0 0.5rem;
  max-width: 100%;
}
.story.lodge .inner .dated span{
    font-size: 18px !important;
    color: #ffffff;
    font-weight: 500;
    text-transform: capitalize;
    background: #19b7e9;
    padding: 3px 7px;
    border-radius: 50px;
	
}

.story.lodge .inner .location {
  display: block;
  font-size: 17px;
  color: #d69677;
}

.story.lodge .inner .story-img {
  padding: 0 !important;
}

.story.lodge .inner .story-img img {
  max-width: 50%;
  margin: 0 auto;
border-radius:10px;
}

.story.lodge .inner .excerpt {
  padding: 1rem;
}

.story::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  bottom: 50%;
  width: calc(100% + 100px);
  left: 9px;
  height: 2px;
  background-image: linear-gradient(to right, #ede9e1 40%, rgba(255, 255, 255, 0) 0%);
  background-position: top;
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.story::before {
  content: "";
  display: block;
  position: absolute;
  left: -10px;
  top: 50%;
  width: 18px;
  height: 18px;
  background-color: #f6f4f0;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  will-change: transform;
  transition: transform 0.5s, background 0.5s;
}

.story:hover::before {
  transform: translateY(-50%) scale(1.3);
  background-color: #19b7e9;
}

.story-link {
  display: flex;
  flex-direction: column;
  width: 250px;
  font-size: 14px;
  margin: 0 0px 33px -11px;
  transform: scaleY(0);
  will-change: transform;
  transition: transform 1s;
}

.story-link::before {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  top: 47px;
  width: 1px;
  height: calc(100% - 16px);
  background-color: #ede9e1;
}

.story-link:hover .story-img img, .story-link:hover .story-img video {
  transform: scale(1.1);
}

.story-date {
  order: 1;
  color: #d69677;
  font-size: 18px;
  padding: 0.25rem 0;
  max-height: 32px;
  max-width: fit-content;
  border-top: 1px solid #d69677;
  border-bottom: 1px solid #d69677;
}

.story-img {
  order: 2;
     margin: 0px 15px 0px 15px;
}

.story-img img, .story-img video {
    pointer-events: none;
    max-width: 120px;
    transition: transform 0.5s;
    max-width: 377px !important;
    /* width: 364px; */
    object-fit: cover;
    height: 196px !important;
}

.story-auth {
  order: 3;
  padding: 0 0 0 30px;
}

.story-auth span {
  color: #f6f4f0;
  display: block;
  line-height: 1.2;
}

.story-auth span:last-child {
  color: #d69677;
}

.story-excerpt {
  order: 4;
  padding: 10px 0 0 30px;
}

.box {
  width: 100px;
  height: 80px;
  text-align: center;
  line-height: 80px;
  background-color: white;
  border-radius: 8px;
  color: #222;
  font-weight: 700;
  margin-left: 20px;
  will-change: transform;
}

.box.active {
  background-color: orange;
  border: 2px solid white;
}

.story-tail {
  padding: 0 0 0 60px;
  min-width: 32vw;
}

.story-tail h2 {
  font-size: clamp(38px, 4vw, 68px);
  max-width: 15ch;
}

.story-tail p {
  font-size: clamp(18px, 1.5vw, 25px);
  max-width: 35ch;
}

.timeline {
  position: relative;
  z-index: 5;
  overflow: hidden;
  width: 100%;
}

.timeline::after {
  content: "";
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: #3c3a37;
  pointer-events: none;
  z-index: -1;
}

.timeline-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 100%;
}

.timeline-marker {
  position: fixed;
  bottom: 20px;
  left: 300px;
  width: 10px;
  height: 10px;
  transform: translate3d(-50%, -50%, 0);
  background: #d69677;
  border-radius: 100%;
  z-index: 3;
}

.timeline-marker::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.2rem);
  right: 100%;
  width: 100px;
  height: 5px;
  background-color: #d69677;
  z-index: -1;
}

.line {
  width: 100%;
  max-width: 800px;
  height: 8px;
  margin: 0 0 10px 0;
  position: relative;
  display: inline-block;
  background-color: rgba(255, 255, 255, 1);
}

@media screen and (min-width: 640px) {
  .panel {
    padding: 100px 0;
  }

  .panel.intro {
    justify-content: center;
    flex-direction: row;
  }

  .panel.intro h1 {
    max-width: 12ch;
  }

  .panel.intro p {
    max-width: 75ch;
  }

  .panel.story-board {
    padding: 100px 100px 0 0;
  }

  .story.lodge .inner .story-head p {
    max-width: 10ch;
  }

  .story.lodge .inner .story-img img {
    max-width: 100%;
    margin: 0 0 0 auto;
	  width:100%;
  }

  .story:not(.lodge) .story-img {
    margin: 8px 0 8px 30px;
  }

  .container {
    overflow-y: unset;
  }

  .stories .story:nth-child(even) .story-link {
    bottom: 50px;
    top: unset;
    transform-origin: bottom;
  }

  .stories .story:nth-child(even) .story-link::before {
    top: 40px;
    bottom: unset;
  }

  .stories .story:nth-child(even) .story-date {
    order: 1;
  }

  .stories .story:nth-child(even) .story-img {
    order: 2;
  }

  .stories .story:nth-child(even) .story-auth {
    order: 3;
  }

  .stories .story:nth-child(even) .story-excerpt {
    order: 4;
  }

  .stories .story:nth-child(odd) .story-link {
    top: 50px;
    bottom: unset;
    transform-origin: top;
  }

  .stories .story:nth-child(odd) .story-link::before {
    top: -24px;
    bottom: unset;
  }

  .stories .story:nth-child(odd) .story-excerpt {
    order: 1;
    padding: 0 0 0 30px;
  }

  .stories .story:nth-child(odd) .story-auth {
    order: 2;
    padding: 10px 0 0 30px;
  }

  .stories .story:nth-child(odd) .story-img {
    order: 3;
  }

  .stories .story:nth-child(odd) .story-date {
    order: 4;
  }

  .stories:not(.has-lodge) .story:nth-child(odd) .story-link {
    bottom: 50px;
    top: unset;
    transform-origin: bottom;
  }

  .stories:not(.has-lodge) .story:nth-child(odd) .story-link::before {
    top: 47px;
    height: calc(100% - 25px);
  }

  .stories:not(.has-lodge) .story:nth-child(odd) .story-excerpt {
    order: 4;
    padding: 0 0 0 30px;
  }

  .stories:not(.has-lodge) .story:nth-child(odd) .story-auth {
    order: 3;
    padding: 10px 0 0 30px;
  }

  .stories:not(.has-lodge) .story:nth-child(odd) .story-img {
    order: 2;
  }

  .stories:not(.has-lodge) .story:nth-child(odd) .story-date {
    order: 1;
  }

  .stories:not(.has-lodge) .story:nth-child(even) .story-link {
    top: 50px;
    bottom: unset;
    transform-origin: top;
  }

  .stories:not(.has-lodge) .story:nth-child(even) .story-link::before {
    top: -24px;
    bottom: unset;
  }

  .stories:not(.has-lodge) .story:nth-child(even) .story-excerpt {
    order: 1;
    padding: 0 0 0 30px;
  }

  .stories:not(.has-lodge) .story:nth-child(even) .story-auth {
    order: 2;
    padding: 10px 0 0 30px;
  }

  .stories:not(.has-lodge) .story:nth-child(even) .story-img {
    order: 3;
  }

  .stories:not(.has-lodge) .story:nth-child(even) .story-date {
    order: 4;
  }

  .stories .story:nth-child(4n + 1) .story-link {
    top: 120px;
  }

  .stories .story:nth-child(4n + 1) .story-link::before {
    height: calc(100% + 55px);
    top: -95px;
  }

  .story-link {
    position: absolute;
    left: -10px;
    z-index: 100;
    margin: 0;
  }
}

@media screen and (min-width: 1024px) {
  .content {
    padding: 0 100px 0 0;
  }

  .story.lodge .inner .story-head {
    padding: 1.5rem 1rem 2rem;
  }
}

@media screen and (min-width: 1280px) {
  .panel.intro .button-round {
    position: absolute;
    right: 10%;
    bottom: 50%;
    transform: translateY(50%);
    transition: right 0.3s;
  }

  .panel.intro .button-round:hover {
    right: calc(10% - 20px);
  }
}


