/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

h1 {
  font-family: "freight-big-pro",sans-serif;
  font-size: 48px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h2 {
  font-family: "freight-big-pro",sans-serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: 3px;
}

h5 {
  font-family: 'Montserrat', sans-serf;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  font-size: 1.8rem;
  font-family: "minion pro", serif;
  font-weight: 400;
  line-height: 28px;
  margin-top: 20px;
}

a {
  text-decoration: none;
}
.horizontal_line_dark {
  border-bottom: 4px solid #000;
  width: 35px;
  padding-top: 20px;
}

.horizontal_line_light {
  border-bottom: 4px solid #fff;
  width: 35px;
  padding-top: 20px;
}

/* -------------------------------- 

Button Styles

-------------------------------- */

.btn {
  border: 2px solid #F9BB91;
  font-family: 'Montserrat', sans-serf;
  font-size: 11px;
  color: #F9BB91;
  background: none;
  cursor: pointer;
  padding: 15px 25px;
  display: inline-block;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  outline: none;
  position: relative;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

.btn:hover {
  color: #fff;
  background-color: #F9BB91;
}

/* -------------------------------- 

Menu Style

-------------------------------- */

.cd-header {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  z-index: 3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
    background: transparent;
    box-shadow: none;
  }
}

.cd-primary-nav-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: #243040;
}
.cd-primary-nav-trigger .cd-menu-text {
  font-family: 'Montserrat', sans-serf;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  /* hide the text on small devices */
  display: none;
}
.cd-primary-nav-trigger .cd-menu-icon {
  /* this span is file:///Users/nathanielwang/Desktop/Ruby%20Watercolor%20Website/index.html#0the central line of the menu icon */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: white;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
  /* these are the upper and lower lines in the menu icon */
}
.cd-primary-nav-trigger .cd-menu-icon::before, .cd-primary-nav-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: white;
  right: 0;
  -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
  -moz-transition: -moz-transform .3s, top .3s, background-color 0s;
  transition: transform .3s, top .3s, background-color 0s;
}
.cd-primary-nav-trigger .cd-menu-icon::before {
  top: -5px;
}
.cd-primary-nav-trigger .cd-menu-icon::after {
  top: 5px;
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked {
  background-color: rgba(255, 255, 255, 0);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before, .cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  background-color: white;
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  top: 0;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
@media only screen and (min-width: 768px) {
  .cd-primary-nav-trigger {
    width: 110px;
    padding-left: 2em;
    height: 90%;
    line-height: 72px;
    top: 45%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .cd-primary-nav-trigger .cd-menu-text {
    display: inline-block;
  }
  .cd-primary-nav-trigger .cd-menu-icon {
    left: auto;
    right: 2em;
    -webkit-transform: translateX(0) translateY(-50%);
    -moz-transform: translateX(0) translateY(-50%);
    -ms-transform: translateX(0) translateY(-50%);
    -o-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
  }
}

.cd-primary-nav {
  /* by default it's hidden - on top of the viewport */
  position: fixed;
  left: 50%;
  top: 0;
  height: 100%;
  width: 50%;
  background: #243040;
  z-index: 2;
  padding: 50px 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: auto;
  /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateX(102%);
  -moz-transform: translateX(102%);
  -ms-transform: translateX(102%);
  -o-transform: translateX(102%);
  transform: translateX(102%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.cd-primary-nav a.selected {
  color: #ffffff;
}

@media only screen and (max-width: 768px) {
.cd-primary-nav {
  /* by default it's hidden - on top of the viewport */
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}
}

.cd-primary-nav li {
  font-family: "freight-big-pro",sans-serif;
  font-size: 30px;
  font-style: italic;
  position: relative;
  top: 10%;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-primary-nav a {
  color: rgba(255, 255, 255, 0.3);
  display: inline-block;
  padding: .3em 1em;
  border-radius: 0.25em;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.no-touch .cd-primary-nav a:hover {
  color: #fff;
}

.cd-primary-nav.is-visible {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.contact-info span {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  padding: 1em 2.6em .2em;
}
@media only screen and (min-width: 768px) {
  .cd-primary-nav {
    padding: 80px 0;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-primary-nav li {
    position: relative;
    top: 10%;
    margin-left: 15%;
    font-size: 30px;
    font-weight: 500;
  }
  .contact-info span {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  padding: .5em 2.9em .7em;
}
}

/* -------------------------------- 

Content block

-------------------------------- */

.cd-content-block.is-visible {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-content-block > ul {
  height: 100%;
}
.cd-content-block > ul > li {
  position: absolute;
  height: 100%;
  width: 88%;
  padding: 2em 0 8em 2em;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
}
.cd-content-block > ul > li.is-selected {
  /* this is the selected content */
  position: relative;
  opacity: 1;
  visibility: visible;
  -webkit-overflow-scrolling: touch;
}

.cd-content-block h1{
  font-size: 36px;
  margin-top: 4em;
}

@media only screen and (min-width: 768px) {
  .cd-content-block {
    /* reset style */
    position: static;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  .cd-content-block > ul > li {
    /* reset style */
    opacity: 1;
    visibility: visible;
    padding: 6em 4em;
  }
  .cd-content-block > ul > li.overflow-hidden {
    /* this class is used during the animation (slider change) to hide the scrolling bar */
    overflow: hidden;
  }
}

/* -------------------------------- 

Collection Section (right // left)
Image Block

-------------------------------- */

.right_image-block {
  position: relative;
  margin-bottom: 50px;
}

.right_images-list img {
  height: 100%;
  width: 100%;
  background-size: cover;
  margin-top: 50px;
}

.right_image-block.content-block-is-visible::before {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.right_image-block h2{
    margin-top: .5em;
    padding-left: .5em;
}

  .right_image-block p {
    padding-left: .8em;
}

@media only screen and (min-width: 768px) {
  .right_image-block::before {
    display: none;
  }

  .right_images-list::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'mobile';
    display: none;
  }
  .right_images-list img {
    margin-top: 50px;
    width: 75%;
  }
}

@media only screen and (min-width: 768px) {
  .right_images-list::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

/* ---------------------------------------------- 

Desktop slider - both image and content blocks

---------------------------------------------- */
@media only screen and (min-width: 768px) {
  .cd-content-block {
    /* slider style - desktop version only */
    width: 40%;
    float: left;
    height: 100vh;
    position: fixed;
    overflow: hidden;
  }
  .right_image-block {
    /* slider style - desktop version only */
    width: 60%;
    position: absolute;
    left: 40%;
    margin-bottom: 50px;
  }

  .cd-content-block > ul {
    position: relative;
    height: 100%;
  }
  .cd-content-block > ul > li {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    /* by default, the items are moved to the right - relative to their parent elements */
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    transition: transform 0.5s;
  }

  .cd-content-block > ul > li.is-selected {
    /* this is the visible item */
    position: absolute;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  .cd-content-block > ul > li.move-left,
  .right_image-block > ul > li.move-left {
    /* this is the item hidden on the left */
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  .cd-content-block h1{
    font-size: 48px;
    margin-top: 2em;
  }

  .cd-content-block p {
    max-width: 375px;
    color: #343642;
  }

  .right_image-block h2{
    margin-top: .5em;
    padding-left: .5em;
  }

  .right_image-block p {
    padding-left: .8em;
  }
}