@charset "utf-8";
/* CSS Document */
/* Gallery grid with uniform thumbnails */


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  animation: fadeIn 0.3s ease-in;
}


.galCard {    
    padding: 0em;
    color: rgba(139,103,103,1.00);
    border-radius: .4em;
    /*transition: box-shadow 0.4s;*/
    border: .01em solid rgba(134,114,114,.9);
    }
.galCard:hover {    
   /* box-shadow: 0px 0px 15px rgba(70,60,60,.3);
    transition: box-shadow 0.4s;*/
    }

.gallery {
}
.gallery a {
    overflow: hidden;
    display: block;
    border-radius: .4em
}
.gallery img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    transition: transform 0.4s;
    border-radius: .4em
}

.gallery a:hover img {
    transform: rotate(1deg) scale(1.2);
}


.gallery_port {
}
.gallery_port a {
    overflow: hidden;
    display: block;
    border-radius: .4em .4em 0 0
}
.gallery_port img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
    transition: transform 0.4s;
    border-radius: .4em .4em 0 0
}

.gallery_port a:hover img {
    transform: rotate(1deg) scale(1.2);

}





 @keyframes fadeIn {
  0% {
    transform:  opacity(1);
    opacity: 0;
  }
  100% {
    transform:  opacity(0);
    opacity: 1;
  }
}



/* Lightbox overlay */
.lightbox {
      display: none;
      position: fixed;
      z-index: 10;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(106,79,79,1);
      justify-content: center;
      align-items: center;
      flex-direction: column;
    
}

    .lightbox:target {
      display: flex;
        
        
    }
    /* Lightbox content: image and description */
    .lightbox-content {
      width: 85vw;
      max-width: 1200px;
      display:block;
      flex-direction: column;
      align-items: center;
        border-radius: .2em;
        animation: 3s fadeIn;
        
    }

/* Disable scrolling on #page when a lightbox is targeted */
    .lightbox:target ~ #page {
      overflow: hidden;
      height: 100vh;
        
}

    /* Container for the image and overlay controls */
    .image-wrapper {
      position: relative;
      width: 100%;
      height: 80vh;
      border-radius: .2em /* Image takes 80% of viewport height */
    }
    .image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
        border-radius: .2em
    }
    /* Overlay controls always visible on the image */
    .image-wrapper .arrow,
    .image-wrapper .close {
      position:fixed;
      z-index: 20;
    }
    /* Close button on the top right */
    .close {
      top: 10px;
      right: 10px;
      font-size: 1.5rem;
      color: rgba(255,255,255,1);
      text-decoration: none;
      background: rgba(255,255,255,0);
      padding: 0 10px;
      border-radius: 4px;
    }
.close:hover {
    color: rgba(70,60,60,1);
    background: rgba(255,255,255,1);
}
    

/* Navigation arrows centered vertically on the sides */
.arrow {
    font-size: 1.8rem;
    color: rgba(255,255,255,1);
    text-decoration: none;
    background: rgba(255,255,255,0);
    padding: 10px;
    border-radius: 4px;
}
      
.arrow:hover {
    color: rgba(70,60,60,1);
    background: rgba(255,255,255,1);
}

.arrow.prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}
    .arrow.next {
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
    }
    /* Description placed under the image */
.description {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    color: rgba(255,255,255,1);
    border-radius: 3px;
    font-family: "Quicksand", sans-serif;
}

