/* -------- loading -------- */

/* progress-bar */

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;

  z-index: 2000;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  width: 200px;
  background: #ccc;
  overflow: hidden;
}

.pace .pace-progress {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);

  max-width: 200px;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: #000;
}

.pace.pace-inactive {
  display: none;
}


/* progress-bg */

#fade {
    width: 100%;
    height: 100%;
    display:block;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0px;
    z-index: 50;
    opacity:1;
    transition: all ease 1.5s;
    transition-delay: 2.8s;
}
body.home #fade {
    transition-delay: 2.8s;
}
body.under #fade {
    transition-delay: 0s;
}

#fade:before {
    content:"";
    position: absolute;
    -webkit-transition: 1s cubic-bezier(.6,0,.25,1);
    transition: 1s cubic-bezier(.6,0,.25,1);
    background-color: #cbc0b9;
    height: 100%;
    width: 0%;
}
#fade:after {
    content:"";
    position: absolute;
    -webkit-transition: 1s cubic-bezier(.6,0,.25,1);
    transition: 1s cubic-bezier(.6,0,.25,1);
    background-color: #fff;
    height: 100%;
    width: 0%;
    transition-delay: 2.7s;
}

body.home.pace-done #fade {
  width: 0%;
  opacity: 1;
  visibility: hidden;
}
body.home.pace-done #fade:before {
  width: 100%;
}
body.home.pace-done #fade:after {
  width: 100%;
}


/* firstCopy */

.firstCopy {
  position: fixed;
  z-index: 2;
  top: 54.6%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color:#fff;
  opacity: 0;
  transition: all ease 1s;
  transition-delay: 0.75s;
}
body.home.pace-done .firstCopy {
  opacity: 1;
  top: 51.2%;
}


.firstCopy span {
  display: block;
}
.firstCopy span.main {
  font-size: 2.75rem;
  font-family:'Levato W01 Medium';
  text-transform: uppercase;
  letter-spacing: 0.175em;
  opacity: 1;
  transition: all ease 0.75s;
  transition-delay: 2s;
  white-space: nowrap;
}
.firstCopy span.sub {
  font-size: 1.4rem;
  font-family:'Avenir LT W01_55 Roman1475520';
  letter-spacing: 0.03em;
  opacity: 0.6;
  margin-top: 12px;
  margin-left: -4px;
  transition: all ease 0.75s;
  transition-delay: 2s;
}

body.home.pace-done span.main {
  margin-top: -28.6%;
  opacity: 0;
  visibility: hidden;
}
body.home.pace-done span.sub {
  opacity: 0;
  visibility: hidden;
}

/* index */






/* under */

.pace-done #fade {
  opacity: 0;
  visibility: hidden;
}


