/* COMMON STYLE */
.page-view {
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
}

.page-view .project {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-view .project .text h1 {
  width: 95%;
  color: white;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding:0;
  display: table;
  text-align: center;
  text-shadow: -1px 0 #000, 1px 0 #000, 0 1px #000, 0 -1px #000, 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.page-view .project .text h2 {
  opacity:1;
  width:90%;
  color: var(--naranja24);
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  display: table;
  text-align: center;
  text-shadow: -1px 0 #000, 1px 0 #000, 0 1px #000, 0 -1px #000, 3px 3px 8px rgba(0, 0, 0, 0.8);
}

.page-view .project .text h3 {
  width:90%; 
  color: white;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, -0%);
  transform: translate(-50%, -0%);
  margin: 0;
  display: table;
  text-align: center;
  text-shadow: -1px 0 #000, 1px 0 #000, 0 1px #000, 0 -1px #000, 3px 3px 8px rgba(0, 0, 0, 0.8);
}

/*.page-view .project .text p {
  position: absolute;
  bottom: 55px;
  right: 110px;
  margin: 0;
  text-align: center;
}*/
  
  /*.page-view .project .text p {
    bottom: 49px;
    margin: 0;
    text-align: right;
    width: 96%;
    right: auto;
    font-size: 12px;
  }*/



.page-view .project .text p a:hover img{
	width: 97%;
	margin:auto;
}

.page-view .project:nth-child(1) {
  z-index: 30;
}


.page-view .arrows {
  position: absolute;
  bottom: 2em;
  left: 100px;
  z-index: 120;
}

.page-view .arrows .arrow {
  float: left;
  cursor: pointer;
}

.page-view .arrows .arrow.next {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.page-view .arrows .arrow:hover.previous {
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transform: translate3d(-5px, 0, 0);
          transform: translate3d(-5px, 0, 0);
}

.page-view .arrows .arrow:hover.next {
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transform: translate3d(5px, 0, 0) rotate(180deg);
          transform: translate3d(5px, 0, 0) rotate(180deg);
}

.page-view .arrows .arrow svg {
  /*padding: 2px;*/
}

.page-view .arrows .arrow svg polygon {
  fill: var(--naranja24);
  stroke: #fff;
  stroke-width: 0.1px;
}

.page-view .arrows .arrow {
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
          transition: transform 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
  margin-right: 10px;
}




/* SLIDER */
.sliderPort {
  background: url(../img/urban-sprite.png) no-repeat -9999px -9999px;
  position: absolute;
  z-index: 1;
}

.sliderPort .page-view {
  background: url(../img/urban-sprite-2.png) no-repeat -9999px -9999px;
}



.sliderPort .page-view .project:nth-child(1) {
  background-image: url(../img/port-6.jpg);
}

.sliderPort .page-view .project:nth-child(2) {
  background-image: url(../img/port-2.jpg);
}

.sliderPort .page-view .project:nth-child(3) {
  background-image: url(../img/port-3.jpg);
}

.sliderPort .page-view .project:nth-child(4) {
  background-image: url(../img/port-4.jpg);
}

.sliderPort .page-view .project:nth-child(5) {
  background-image: url(../img/port-5.jpg);
}

.sliderPort .page-view .project:nth-child(6) {
  background-image: url(../img/port-6.jpg);
}

.sliderPort .page-view .project:nth-child(7) {
  background-image: url(../img/port-7.jpg);
}

.sliderPort .page-view .project:nth-child(8) {
  background-image: url(../img/port-8.jpg);
}

/*Efecto de transicion*/
.sliderPort .page-view .project:nth-child(odd).hide {
  -webkit-mask: url(../img/urban-sprite.png);
          mask: url(../img/urban-sprite.png);
  -webkit-mask-size: 3000% 100%;
          mask-size: 3000% 100%;
  -webkit-animation: mask-play 1.4s steps(29) forwards;
          animation: mask-play 1.4s steps(29) forwards;
}

.sliderPort .page-view .project:nth-child(even).hide {
  -webkit-mask: url(../img/urban-sprite-2.png);
          mask: url(../img/urban-sprite-2.png);
  -webkit-mask-size: 7400% 100%;
          mask-size: 7400% 100%;
  -webkit-animation: mask-play 1.4s steps(73) forwards;
          animation: mask-play 1.4s steps(73) forwards;
}

/* Fallback */
.no-cssmask .page-view .project.hide {
  opacity: 0;
  -webkit-transition: opacity 1.4s ease;
          transition: opacity 1.4s ease;
  -webkit-mask: none !important;
          mask: none !important;
}




@-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 screen and (max-width: 640px) {
.page-view .project {
    height: 95%;
}

  .page-view .project .text h1 { 
  width:97%;
  }

  .page-view .project .text h2 { 
  width:97%;
  }

  .page-view .project .text h3 { 
  width:97%;
  }

  .page-view .arrows {
    bottom: 8em;
    left:30px;
    z-index: 120;
  }
  .page-view .arrows .arrow.previous:hover {
    -webkit-transform: none;
            transform: none;
  }
  .page-view .arrows .arrow.next:hover {
    -webkit-transform: translate3d(0, 0, 0) rotate(180deg);
            transform: translate3d(0, 0, 0) rotate(180deg);
  }
}




@media screen and (max-width: 400px) {
.page-view .project {
    height: 95%;
}

  .page-view .project .text h1 { 
  width:97%;
  }

  .page-view .project .text h2 { 
  width:97%;
  }

  .page-view .project .text h3 { 
  width:97%;
  }

  /*.page-view .arrows {
    left: 30px;
    z-index: 120;
  }/*
  .page-view .arrows .arrow.previous:hover {
    -webkit-transform: none;
            transform: none;
  }
  .page-view .arrows .arrow.next:hover {
    -webkit-transform: translate3d(0, 0, 0) rotate(180deg);
            transform: translate3d(0, 0, 0) rotate(180deg);
  }
}
