
/* 
==================================================
    PHOTOGRAPHY SECTION
==================================================
*/

/* Photography Heading */
#photography h2 {
    margin-top: 20vh;
    font-size: clamp(3rem, 15vw, 8rem);
}
#photography .subtitle{
    margin-top: -2vh;
}

/* Gallery */
#gallery {
    overflow:hidden;
    margin: 5em 0;
}

/* Scrolling Frame */
.gallery-track {
    display: flex;
    width: max-content;
    gap: 3vw;
}

/* Images */
.gallery-track img {
    height: 40vh;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Infinite scroll animation */
.gallery-track:nth-child(1){
    animation: scroll1 30s linear infinite;
}
@keyframes scroll1 {
    from{ transform: translateX(0);     }
    to  { transform: translateX(-50%);  }
}

.gallery-track:nth-child(2){
    animation: scroll2 30s linear infinite;
}
@keyframes scroll2 {
    from{ transform: translateX(-50%);  }
    to  { transform: translateX(0%);    }
}

.gallery-track:nth-child(3){
    animation: scroll3 30s linear infinite;
}
@keyframes scroll3 {
    from{ transform: translateX(-20%);  }
    to  { transform: translateX(-70%);  }
}

