@font-face {
  font-family: "sina";
  src: url("../fonts/Shabnam-FD.woff2") format("woff2");
}

.galleryContainer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    height: 90vh;
    margin-top: 40px;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.galleyText{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
}

.galleyText h3{
    font-size: 80px;
    color: #1c1814;
}

.galleyText span{
    font-size: 30px;
    color: #fd6a1c;
}

.galleyText button {
    margin-top: 20px;
    padding: 0.8em 1.8em;
    border: 2px solid #fd6a1c;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    transition: .3s;
    z-index: 1;
    /* font-family: inherit; */
    color: #fd6a1c;
}

.galleyText button::before {
    content: '';
    width: 0;
    height: 350%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #fd6a1c;
    transition: .5s ease;
    display: block;
    z-index: -1;
}

.galleyText button:hover::before {
    width: 105%;
}

.galleyText button:hover {
    color: #faf7ef;
}

.gallery {
  --s: 200px; /* control the size */
  --g: 10px;  /* control the gap */
  display: grid;
  /* margin: calc(var(--s) + var(--g)); */
  margin-top: 40px;
  margin-left: 260px;
}

.gallery > img {
  grid-area: 1/1;
  width: var(--s);
  aspect-ratio: 1.15;
  object-fit: cover;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%,75% 100%,25% 100%,0 50%);
  transform: translate(var(--_x,0),var(--_y,0)) scale(var(--_t,1));
  cursor: pointer;
  /* filter: grayscale(50%); */
  transition: .2s linear;
}
.gallery > img:hover {
  filter: grayscale(0);
  z-index: 1;
  --_t: 1.2;
}

.gallery > img:nth-child(1) {--_y: calc(-100% - var(--g))}
.gallery > img:nth-child(7) {--_y: calc( 100% + var(--g))}
.gallery > img:nth-child(3),
.gallery > img:nth-child(5) {--_x: calc(-75% - .87*var(--g))}
.gallery > img:nth-child(4),
.gallery > img:nth-child(6) {--_x: calc( 75% + .87*var(--g))}
.gallery > img:nth-child(3),
.gallery > img:nth-child(4) {--_y: calc(-50% - .5*var(--g))}
.gallery > img:nth-child(5), 
.gallery > img:nth-child(6) {--_y: calc( 50% + .5*var(--g))}

/* ----------------------------------------------------------------------------- */

.carouselMain{
  width: 100%;
  height: 100vh;
  /* background: #1c3138; */
  background-image: url(../img/sss.jpg);
  /* font-family: 'Fira Mono', monospace;
  -webkit-font-smoothing: antialiased; */
  font-size: .88rem;
  color: #f6f6f6;
  /* direction: ltr; */
  overflow: hidden;
}

.content-width {
  width: 86%;
  height: 100vh;
  margin: 0 auto;
  z-index: -1;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.slideshow-items {
  position: relative;
  width: 100%;
  height: 300px;
}

.item {
  position: absolute;
  width: 100%;
  height: auto;
}

.itemText{
  position: absolute;
  color: #000000;
  display: flex;
  flex-direction: column;
  width: 50%;
  top: 150px;
  gap: 45px;
}

.item-image-container {
  position: absolute;
  width: 42%;
  left: 0;
}

.item-image-container::before {
  content: '';
  position: absolute;
  top: -1px;
  right: 0;
  width: 101%;
  height: 101%;
  opacity: 0;
  z-index: 1;
  /* background-color: #f05c0c; */
}

.item-image {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0;
  display: block;
  transition: opacity .3s ease-out .45s;
}

.item.active .item-image {
  opacity: 1;
}

.item.active .item-image-container::before {
  opacity: .8;
}

.namaBTN{
  cursor: pointer;
  width: 150px;
  height: 40px;
  border-radius: 20px;
  border: none;
  background-color: #fd6a1c;
  color: #faf7ef;
  font-size: 16px;
  transform: translateY(100%);
  transition: all 250ms ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.item.active .namaBTN{
  opacity: 1;
  transform: translateY(0px);
  pointer-events: all;
}

.item.active .namaBTN:hover{
  outline: 2px solid #f26b2b;
  outline-offset: 2px;
  padding: 2px;
}

/* .item-description {
  position: absolute;
  top: 182px;
  left: 0;
  width: 50%;
  padding-left: 4%;
  line-height: 1.8;
} */

/* .item-header {
  position: absolute;
  top: 150px;
  right: -1.8%;
  z-index: 10;
} */

.item-header .vertical-part {
  margin: 0 -4px;
  /* font-family: 'Montserrat', sans-serif; */
  /* -webkit-font-smoothing: auto; */
  font-size: 7vw;
  font-family: 'sina';
  /* color: #f4f4f4; */
}

.vertical-part {
  overflow: hidden;
  display: inline-block;
}

.vertical-part b {
  display: inline-block;
  transform: translateY(100%);
}

.item-header .vertical-part b {
  transition: .5s;
}

.item-description .vertical-part b {
  transition: .21s;
}

.item.active .item-header .vertical-part b {
  transform: translateY(0);
}

.item.active .item-description .vertical-part b {
  transform: translateY(0);
}

.controls {
  position: relative;
  text-align: right;
  z-index: 10;
  margin-top: 10px;
}

.controls ul {
  list-style: none;
}

.controls ul li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 3px;
  background:#242a2f;
  cursor: pointer;
}

.controls ul li.active {
  background:#f26b2b;
}

.slideshowContainer {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 125px;
  width: 90%;
  height: 200px;
  border-radius: 20px;
}

.imageSlides {
  background-color: #faf7ef;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: -1;
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* add 'visible' class via Javascript */
.visible {
  opacity: 1;
}

.slideshowArrow {
  font-size: 7em;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}

.slideshowArrow:hover {
  opacity: 0.75;
}

#leftArrow {
  position: absolute;
  left: 6%;
  top: 60%;
  transform: translate(-50%, -50%);
}

#rightArrow {
  position: absolute;
  right: 6%;
  top: 60%;
  transform: translate(50%, -50%);
}

.slideshowCircles {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.circle {
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: solid 2px rgba(255, 255, 255, 0.5);
  transition: 1s ease-in-out;
}

.dot {
  background-color: rgba(255, 255, 255, 0.7);
  border: solid 2px rgba(255, 255, 255, 0.5);
}
