
/* --------------------------------
Gallery 
--------------------------------*/

.card-attrs {
  background-color: var(--bg-color);
  position: relative;
  height: auto;
  max-width: 85%;
  border: 3px solid var(--bg-color-secondary);
  z-index: 1;
}
.card-attrs-right{
  left:10%;
}
.card-shot{
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.card-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  object-position: center;
  transform: scale(1);
  transition:transform 1.2s ease-in-out !important;
}

.card-attrs p{
  padding-top: 18px;
}


.card-shot:hover img{

  transform: scale(1.08);
}

.hr-hr {
  color: var(--sc-2);
}

.timeline{
  position: relative;
  animation: slideLeft 1s linear forwards;
  opacity: 0;
}
@keyframes slideLeft {
  0% {
    right: 100%; 
    opacity: 0;
  }
  100% {
    right: 0;
    opacity: 1;
  }
}

.section-time-line {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
}

@media (max-width:844px) and (orientation: portrait) { 
  .section-time-line {
    height: auto;
    min-height: 600px;
    max-height: none;
  }
}

@media (max-width:1024px) and (orientation: landscape) { 
  .section-time-line {
    height: 1000PX;

  }
}


.timeline::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  left:0;
  top: 40vh;
  margin-top: -3px;
  z-index: -1;
}


.time-box {
  padding: 5px;
  width: 100%;
  position: relative;
  border: 3px solid var(--bg-color-secondary);
  border-radius: 8px;
}


.time-box::after{
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--text-color);
  z-index: -1;
}

.time-box-top {
  top:5vh;
  width: 175%;
}

.time-box-bottum {
  top: 55vh;
  width: 165%;
  left: -55%;
}

.time-box-top::after {
  height: 20vh;
  top: 15vh;
  margin-left: 65px;
}

.time-box-bottum::after {
  height: 16vh;
  top: -15vh;
  margin-left: 45px;
}

.time-text{
  padding: 4px 4px;
  background-color: var(--bg-color);
  z-index: 0;
  position: relative;
}

@media (max-width:850px) and (orientation: portrait) { 
  .time-box{
    margin-top: 25px;
  }
  .time-box-top{
    width: 100%;
    height: auto;
    top: 0;
    margin-left: 0;
  }
  .time-box-bottum{
    width: 100%;
    height: auto;
    top: 0;
    margin-left: 50%;
  }
  .timeline::after{
    width: 0;
    height:0;
    top: 0;
  }
  .time-box::after{
    width: 100%;
  }
  .time-box-bottum::after, .time-box-top::after {
    height: 0;
    top: 0;
  }
  .time-box-top::after{
    margin-left:-15px;
  }
  .time-box-bottum::after{
    margin-left:0;
  }
}

@media (max-width:1024px) and (orientation: landscape) { 
  .time-box{
    margin-top: 25px;
  }
  .time-box-top{
    width: 100%;
    height: auto;
    top: 0;
    margin-left: 0;
  }
  .time-box-bottum{
    width: 100%;
    height: auto;
    top: 0;
    margin-left: 50%;
  }
  .timeline::after{
    width: 0;
    height:0;
    top: 0;
  }
  .time-box::after{
    width: 100%;
  }
  .time-box-bottum::after, .time-box-top::after {
    height: 0;
    top: 0;
  }
  .time-box-top::after{
    margin-left:-15px;
  }
  .time-box-bottum::after{
    margin-left:0;
  }
}

.icons-gal {
  position: absolute;
  top: -15px;
  width: 50px;
  right: 10px;
  z-index: 3;
}

.next-book {
  position: relative;
  color: var(--mc-3);
  top:-155px
}

.gal-title {
  height: 60px;
}

.next-gal {
  position: relative;
  color: var(--mc-3);
  top:10px
}

.next-book:hover, .next-gal:hover{
  color: var(--mc-4);
  transition: all 1s ease-in-out;
}

@media (max-width:820px) and (orientation: portrait) {

  .sub-height{
    height: 100vh;
  }

  .next-book {

    top:5px
  }
}

@media (max-width:1024px) and (orientation: landscape) {

  .next-book {
    left: 10%;
    top:5px;
  }
}
/*-------------------------------/

sub gallery view 

/-------------------------------*/
.gal-hero {
  position: relative;
  overflow: hidden;
  max-height: 82vh;
  padding: 10px;
}

.gal-hero-image{
 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  height: 80vh;

}



.gal-hero-box {
  top: 75%;
  left: 25%;
  position: absolute;
  padding: 15px 25px;
  background-color: #2d2b33b9;
  width: 60%;
}

.gal-hero-text{
  z-index: 3;
}
.gal-hero-text::after {
  content: '';
  top: 15%;
  right:28%;
  position: absolute;
  background-color: #f1a9e5;
  width: 1px;
  height: 90%;
  z-index: -1;
}


@media (max-width:820px) and (orientation: portrait) {
  .gal-hero-box {
    top: 55%;
    left: 0;
    width: 100%;
    margin: auto;
  }
}

@media (max-width:1024px) and (orientation: landscape) {
  .gal-hero-box {
    top: 10%;
    left: 10%;
    width: 85%;
    margin: auto;
  }
}

.gal-roller {
  background-color: #71717250;
  position: relative;
  padding: 25px;
}


.sub-gal-img{
  max-height: 50vh;
  cursor: pointer;
  width: auto;
  object-fit: cover;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  height: 100vh;
  overflow: auto;
  background-color: black;
}


.modal-content {
  position: relative;
  display: block;
  background-color: var(--bg-color);
  margin: auto;
  padding: 0;
  height: 90vh;
}
.modal-content img{
  position: relative;
  max-height: 85vh;
}

.close {
  position: absolute;
  top: 5px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.gal-slide{
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  z-index: 999;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;

}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}