/* Slider Style
--------------------------------------*/

.slider-area{
  position: relative;
}

.cd-slider {
	position: relative;
	width: 100%;
	height: 40rem;
	/* overflow: hidden; */
	/* margin-bottom: 8rem; */
}

.cd-slider li {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	visibility: hidden;
	transition: visibility 0s 0s;
  will-change: visibility;
  list-style: none;
  overflow: hidden;
}


.image {
	position: absolute;
	top: 0;
	left: 0;
	width: 65%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	clip: rect(0, 80rem, 50rem, 80rem);
	transition: clip .5s cubic-bezier(0.99, 0.01, 0.45, 0.9) .5s , all 0.5s ease 0s;
  will-change: clip;
  z-index: 999;
  cursor: pointer;
  transform:scale(1,1);
}

.image:hover{
  /* background-size: 120%; */
  transform:scale(1.1,1.1);
}

.content {
	position: absolute;
	top: 0;
	right: 5rem;
	width: 100%;
	height: 100%;
	padding: 5rem 0 0 2rem;
	/* font-size: 9rem; */
	text-align: right;
  display: grid;
  justify-content: end;
  z-index: 998;
  align-content: center;
}
.content-bg{
  background-image: url(../images/slider-bg.png);
  width: 50em;
  height: 40em;
  position: absolute;
	top: 50px;
	right: 40px;
  background-size: cover;
}

.silder-bg1{
  background-image: url(../images/slider-bg1.png);
  height: 8em;
  position: relative;
  background-size: contain;
  z-index: 999;
  background-repeat: no-repeat;
  background-position: right bottom;
}

.silder-bg2{
  background-image: url(../images/slider-bg2.png);
  height: 4em;
  width: 20rem;
  position: absolute;
  background-size: contain;
  z-index: 999;
  background-repeat: no-repeat;
  right: 28rem;
  bottom: 0;
}

.content h2 {
	/* transform: translateY(-30%); */
	opacity: 1;
	transition: transform .5s, opacity .5s;
  will-change: transform, opacity;
  font-weight: 600;
  font-size: 50px;
  line-height: 64px;
  letter-spacing: 0.12em;
  color: #9E8979;
  text-align: left;
}

.content a {
	display: inline-block;
  padding-top: 10rem;
	opacity: 0;
	transform: translateY(-100%);
	transition: transform .5s .1s, opacity .5s .1s;
  will-change: transform, opacity;
  font-size: 34px;
  line-height: 54px;
  letter-spacing: 0.16em;
  color: #373737;
  font-weight: 600;
  text-align: left;
}

.content span {
  opacity: 1;
	font-weight: 500;
  font-size: 20px;
  color: #9E8979;
  text-align: left;
}

.content h5 {
  opacity: 1;
	font-weight: 500;
  font-size: 20px;
  color: #9E8979;
  text-align: left;
}

.content h6 {
  opacity: 0;
	font-weight: 500;
  font-size: 20px;
  color: #9E8979;
  text-align: left;
  margin-top: 30px;
}

.content .line{
  border: 0.5px solid #96908C;
  position: absolute;
  width: 57%;
  top: 3.5rem;
}
/* Current Slide 
-------------------------------------*/
li.current {
	visibility: visible;
	transition-delay: 0s;
}
li.current .image {
	clip: rect(0, 80rem, 50rem, 0);
}
li.current .content h2 {
	transform: translateY(0);
	opacity: 1;
	transition-delay: 1s;
}

li.current .content h6{
  transform: translateY(0);
  opacity: 1;
	transition-delay: 1s;
}

li.current .content a {
	transform: translateY(0);
	opacity: 1;
	transition-delay: 1.1s;
}
/* Prev Slide 
------------------------------------*/
li.prev_slide .image {
	clip: rect(0, 0, 50rem, 0);
}

nav {
	position: absolute;
	bottom: 8rem;
	right: 0;
	/* background: #fff; */
	z-index: 999;
}
.next, .counter {
	vertical-align: middle;
}
.next {
	position: relative;
	height: 5rem;
	width: 5rem;
  border: 0;
  cursor: pointer;
  background: transparent;
  background-image: url(../images/arrows.png);
  background-size: 100%;
  transition: 2s ease all;
}

.next:hover{
  background-image: url(../images/arrows-hover.png);
}

.counter {
	display: inline-block;
	font-size: 4rem;
	font-family: serif;
	font-style: italic;
}

/* mobile
------------------------------------*/
@media screen and ( max-width: 550px ) {
	.image { width: 100%; }
	.content { padding-right: 2rem; }
	nav { left: auto; right: 2rem; bottom: -1rem; }
}

@media (max-width: 767px){
  .cd-slider {
    height: 35rem;
  }

  .image {
    top: 12rem;
    width: 90%;
    height: 45%;
  }


  .content .line {
    width: 55%;
    top: 3rem;
  }

  /* .content {
    justify-content: start;
    z-index: 999;
  } */

  .content h2 {
    font-size: 40px;
    line-height: 54px;
  }

  .content a {
    padding-top: 20rem;
    font-size: 24px;
    line-height: 30px;
  }

  .content span {
    font-size: 16px;
  }
  

  .content-bg {
    background-image: url(../images/slider-bg.png);
    width: 50em;
    height: 20em;
    position: absolute;
    top: 20rem;
    right: 0;
  }

  .silder-bg3 {
    background-image: url(../images/slider-bg3.png);
    height: 10em;
    width: 20rem;
    position: absolute;
    background-size: contain;
    z-index: 999;
    background-repeat: no-repeat;
    top: -38rem;
    left: 0;
  }

  
}

/* ipad
------------------------------------*/
@media (max-width: 1023px) and (min-width: 768px){
  .cd-slider {
    height: 30rem;
  }

  .next {
    position: relative;
    height: 4rem;
    width: 4rem;
    border: 0;
    cursor: pointer;
    background: transparent;
    background-image: url(../images/arrows.png);
    background-size: 100%;
  }

  .content {
    right: 2.3rem;
    padding: 5rem 0 0 5rem;
  }



  .content h2 {
    font-size: 30px;
    line-height: 40px;
  }

  .content a {
    padding-top: 6rem;
    font-size: 20px;
    line-height: 34px;
  }

  .content span {
    font-size: 16px;
  }

  .content .line{
    top: 2rem;
  }

  .content-bg{
    background-image: url(../images/slider-bg.png);
    width: 50em;
    height: 30em;
    position: absolute;
    top: 50px;
    right: 0;
  }

  .silder-bg1{
    background-image: url(../images/slider-bg1.png);
    height: 6em;
    position: relative;
    background-size: contain;
    z-index: 999;
    background-repeat: no-repeat;
    background-position: right bottom;
  }
  
  .silder-bg2{
    background-image: url(../images/slider-bg2.png);
    height: 3em;
    width: 20rem;
    position: absolute;
    background-size: contain;
    z-index: 999;
    background-repeat: no-repeat;
    right: 18rem;
    bottom: 0;
  }
}


/* ipad pro
------------------------------------*/
@media (max-width: 1200px) and (min-width: 1024px) {
  .content {
    padding: 5rem 0 0 42rem;
    justify-content: start;
  }

  .content h2 {
    font-size: 40px;
  }

  .image {
    width: 60%;
  }
}