.bottom-row {
    /*max-height: 30vh;*/
    /*border: 5px solid black;*/
    display: flex;
    flex-direction: row; /* changes gallery to lay vertical */
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    padding-top: 50px;
    overflow-x: auto;
    overflow-y: hidden;
}

.gallery-item {
    aspect-ratio: 3 / 4;
    display: flex;
    flex: 0 0 300px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /*max-height: 50vh;
    max-width: 50vw;*/
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border: 2px ridge indigo;
    box-shadow: 0 5px 15px 5px indianred;
}

#photo-3, #photo-4 {
    object-position: top;
}

#photo-8, #photo-2 {
    object-position: 0% 30%;
}

#photo-9 {
    object-position: 0% 40%; 
}

#photo-10 {
    object-position: 20% 50%;
}

#photo-11, #photo-12 {
    object-position: 0% 30%; 
}

@media only screen and (max-width: 920px) {
    .bottom-row {
        max-width: 80vw;
        scrollbar-width: auto;
        margin: 0 auto;
        /*padding-top: 100px;*/
        /*min-height: 0;*/
    }

    .gallery-item {
        flex: 0 0 250px;
        /*height: 60vw;
        width: 60vw;
        flex-shrink: 0;*/
        max-height: 100%;
    }
    
    .overlay-content {
        grid-template-rows: max-content minmax(0, 1fr);
    }

    .bottom-row::-webkit-scrollbar {
        height: 8px;
    }

    .bottom-row::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.7);
        border-radius: 10px;
    }

    .bottom-row::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.2);
    }
}

/*.gallery-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border: 15px solid black;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.6);
}*/