/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

@font-face {
 font-family: 'Parisine Std';
    src: url('../fonts/ParisineStd-Regular.woff2') format('woff2'),
         url('../fonts/ParisineStd-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html,body {
    height: 100%;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Global styles
========================================================================== */
body {
  margin: 0;
  background: #FFFAEC;
  color: #0D0802;
  font-size: 14px;
  line-height: 1.4;
  font-family: 'Parisine Std';
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
p {
  margin: 0;
}
.page-wrap {
    padding: 50px 70px;
    display: flex;
    flex-wrap: wrap;
    background: #FFFAEC;
    align-items: flex-start;
    height: 100%;
    align-content: flex-start;
    position: relative;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* ==========================================================================
  Header
========================================================================== */
header {
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    position: absolute;
    left: 70px;
    right: 70px;
}
header .logo {
    flex: 0 0 15%;
    max-width: 15%;
    margin: 0;
}
header .logo img {
    max-width: 100%;
    width: 115px;
}
header.show {
  opacity: 1;
}
header .button {
  text-decoration: none;
  padding: 10px 30px;
  text-transform: capitalize;
  margin-left: auto;
  z-index: 99;
  position: relative;
  background-color: #F5E0BD;
  border-radius: 6px;
  color: #0D0802;
  font-weight: 700;
}

.site-title {
    padding: 0 7px;
    font-size: 14px;
    letter-spacing: 0.31px;
}

.site-title .subtitle {
}

/* ==========================================================================
  Left Menu
========================================================================== */
.menu {
  flex: 0 0 15%;
  max-width: 15%;
  padding-top: 92px;
}
.menu li {
  display: block;
  line-height: 1.85;
  margin-bottom: 15px;
  margin-left: -100px;
  opacity: 0;
  transition-timing-function: linear;
  transition-duration: 0.4s;
  transition-property: opacity, margin-left;
  transition-delay: 0.5s, 0.3s;

  -webkit-transition-timing-function: linear;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-property: opacity, margin-left;
  -webkit-transition-delay: 0.5s, 0.3s;
}
.menu li a {
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    letter-spacing: 0.29px;
    position: relative;
    z-index: 9;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    outline: 0;
}
.menu li a span {
  position: relative;
  display: inline;
}
.menu li a:hover:before,
.menu li.current a:before {
  width: 52px;
}
.menu li a:before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 1px;
    background: #000;
    vertical-align: middle;
    margin-right: 5px;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}
.menu li span:after {
    content: "";
    height: 8px;
    width: calc(100% + 2px);
    background: #BE9B5B;
    display: block;
    position: absolute;
    bottom: 0;
    right: -2px;
    z-index: -1;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    opacity: 0;
}

.menu li a:hover span:after, .menu li.current span:after {
    opacity: 1;
}
.menu li.show {
  margin-left: 0;
  opacity: 1;
}
/* ==========================================================================
  Content item
========================================================================== */
.content {
  flex: 0 0 85%;
  max-width: 85%;
  height: 100%;
  display: flex;
  max-width: 1120px;
  margin-top: 50px;
}
.description {
    clear: both;
    max-width: 420px;
    font-size: 16px;
    letter-spacing: 0.35px;
    line-height: 24px;
    padding: 0 7px;
}
.button {
    display: inline-block;
    color: #000;
    padding: 0 7px;
}
.content .item {
  display: none;
  align-items: center;
  width: 100%;
}
.content .item.active {
  display: flex;
}
.content .item .item-content {
    flex: 0 0 50%;
    max-width: 50%;
}
.content .item .item-content .bounce-item:nth-child(2) {
    margin-top: 10px;
}
.content .item .item-content .bounce-item:nth-child(3) {
    margin: 27px 0 0;
}
.item-image {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    text-align: right;
    margin: 0 -10px;
    overflow: hidden;
}
.item-image img {
    max-width: 100%;

}
.title ul {
  position: relative;
}
.title ul > li:not(:first-child) {
  display: none;
}
.title li {
  position: relative;
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 0.08px;
}
.title li span:before {
    content: "";
    width: 100%;
    height: 24px;
    background: #BE9B5B;
    display: block;
    position: absolute;
    bottom: -7px;
    left: 0;
    z-index: -1;
}

.title li span {
    display: inline-block;
    position: relative;
    line-height: 38px;
    z-index: 9;
    padding: 0 6px;
}
.item-content > .bounce-item > * {
    transform: translateY(-100%);
    transition: all ease-in 0.5s;
    -webkit-transition: all ease-in 0.5s;
}

.item-content > .bounce-item > *.show-in {
    transition: all ease-in 0.5s;
    -webkit-transition: all ease-in 0.5s;
    transform: translateY(0);
}
.item-content > .bounce-item > *.show-out {
    top: 100%;
    transition: all ease-in 0.5s;
    -webkit-transition: all ease-in 0.5s;
}
.item-content > .bounce-item {
  overflow: hidden;
  display: block;
}
.link {
  font-size: 12px;
  letter-spacing: 0.26px;
  line-height: 28px;
  text-decoration: none;
  color: #161616;
  display: flex;
  align-items: center;
  padding: 0 6px;
  line-height: normal;
  transition: 0.3s all;
}
.link:hover {
  text-decoration: underline;
}
.icon {
    width: 20px;
    height: 20px;
    margin-right: 7px;
}
.icon svg {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 4px;
    border: 1px solid #000;
    vertical-align: top;
}
/* ==========================================================================
  Image Style
========================================================================== */
.img-container {
  position: relative;
}
.img-container:last-child {
    padding-left: 5px;
}
.img-container:first-child {
    padding-right: 5px;
}
.img-container:last-child:first-child {
    padding: 0;
}
.img-container .bg-layer,
.img-container .overlay-layer {
  width: 100%;
  height: 100%;
  position: relative;
  margin-left: auto;
  text-align: right;
}
.img-container .overlay-layer {
  z-index: 9;
  position: absolute;
  background: #fff7e5;
}
.img-container.show-in .overlay-layer {
  -webkit-mask: url(../img/nature-sprite-2.png);
  mask: url(../img/nature-sprite-2.png);
  -webkit-mask-size: 7100% 100%;
  mask-size: 7100% 100%;
  -webkit-animation: mask-play 1.4s steps(70) forwards;
  animation: mask-play 1.4s steps(70) forwards;
}
.overlay-layer a {
    display: block;
    width: 100%;
    height: 100%;
}
.ui-loader {
    display: none !important;
}
.img-container.show-out .bg-layer {
  z-index: 99;
  -webkit-mask: url(../img/nature-sprite-2.png);
  mask: url(../img/nature-sprite-2.png);
  -webkit-mask-size: 7100% 100%;
  mask-size: 7100% 100%;
  -webkit-animation: mask-play 1.4s steps(70) forwards;
  animation: mask-play 1.4s steps(70) forwards;
}
@-webkit-keyframes mask-play {
  from {
  -webkit-mask-position: 0% 0;
  mask-position: 0% 0;
  }
  to {
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  }
}

@keyframes mask-play {
  from {
  -webkit-mask-position: 0% 0;
  mask-position: 0% 0;
  }
  to {
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  }
}
@media (min-width: 992px) {
  .mobile-only {
    display: none;
  }
}
@media (max-width: 992px) {
  .page-wrap { padding: 0; }
  header { padding: 0 27px; justify-content: space-between; border-bottom: 1px solid #ebd0ae; position: static; width: 100%; line-height: 55px; }
  header .logo { flex: 0 0 25%; max-width: initial; margin: 0; }
  header .logo img { max-width: 74px; }
  header .button {margin:10px 0; padding: 0 7px;height: 40px;display: block;line-height: 40px;}
  .site-title {font-size: 12px;padding: 0;white-space: nowrap;}
  .menu { flex: 0 0 100%; max-width: 100%; white-space: nowrap; display: block; overflow: auto; padding: 0 27px; border-bottom: 1px solid #ebd0ae; }
  .menu li { display: inline-block; margin: 0 20px 0 0; }
  .menu li a { line-height: 52px; font-size: 14px; }
  .menu li a:before { display: none; }
  .item-image { position: static; flex: 0 0 100%; max-width: initial; padding: 20px 27px 0; margin: 0; justify-content: flex-start; flex-direction: column; }
  .title li { font-size: 34px; }
  .title li span:before { bottom: -5px; }
  .content { max-width: initial; flex: 0 0 100%; height: initial; }
  .content .item { width: 100%; flex-wrap: wrap; justify-content: center; padding: 22px 0; }
  .content .item .item-content {flex: 0 0 100%;width: 100%;max-width: initial;padding: 0 20px;}
  .description { font-size: 14px; line-height: 1.5; }
  .link { font-size: 12px; }
  .link .icon { transform: rotate(-90deg); }
  .img-container { padding: 0; }
  .img-container:first-child, .img-container:last-child { padding: 0 0 10px; }
  .img-container:last-child:not(:first-child) { display: none; }
  .img-container .bg-layer, .img-container .overlay-layer { background-size: cover !important; }
  .item-image img { max-width: 85%; margin: auto; float: none; display: inherit; }
  .desktop-only {
    display: none;
  }
}
@media (min-width: 767px) and (max-width: 992px) {
  .content .item .item-content { flex: 0 0 50%; max-width: 50%; }
  .item-image { flex: 0 0 50%; max-width: 50%; padding: 0 27px 0 0; }
  .content .item { align-items: flex-start; }
  .item-image img { max-height: calc(100vh - 150px); max-width: 100%; }
}
@media (min-width: 993px) and (max-width: 1199px) {
  .page-wrap { padding: 40px 40px; }
  header { left: 40px; right: 40px; }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .img-container .overlay-layer {
    opacity: 0;
  }
  .img-container .bg-layer {
    opacity: 0;
    transition: all ease-in 0.5s;
  }
  .img-container.show-in .bg-layer {
    opacity: 1;
  }
}