
/****** Photo scroll gallery ******/
.photo-scroll-label {
    font-size: 1.5rem;
    font-family: 'Cymbria', cursive;
    text-align: left;
    margin-bottom: 0.3em;
    padding-left: 1em;
}

div.image-scroll-container {
    position: relative;
    height: 55vh; /* Half the screen height */
    align-items: center;
    padding-bottom: 20px;
}

@media (orientation: portrait) {
    div.image-scroll-container {
        height: 35vh; 
    }
}
  
div.horizontal-scroll img {
    padding: 3px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.horizontal-scroll::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 15px; 
}

div.horizontal-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  }

.horizontal-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    display: flex;
    gap: 10px;
    height: 100%;
}

.scroll-item {
    flex: 0 0 auto;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scroll-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow.left-arrow {
    left: 10px;
}

.scroll-arrow.right-arrow {
    right: 10px;
}

.scroll-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
