@import url("https://cdn.jsdelivr.net/gh/jgthms/minireset.css@master/minireset.min.css");
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #f4e1b2;
            font-family: 'Inter', sans-serif;
            overflow: hidden; /* Prevent body scroll */
            color: #043b22;
        }

        .thumbnail-image {
            width: 70px;
            height: 50px;
            padding: 1px;
            cursor: pointer;
            object-fit: cover;
            transition: transform 0.2s ease-in-out;
        }

        .thumbnail-image:hover {
            transform: scale(1.1);
        }

        .thumbnail-image.active {
            border: 2px solid #043b22;
            box-shadow: 0 0 8px rgba(4, 59, 34, 0.6);
        }

        .thumbnail-container {
            height: 60px;
            width: auto;
            display: flex;
            position: absolute;
            justify-content: center;
            align-items: center;
            background-color: #f4e1b2;
            padding-left: 5px;
            padding-right: 5px;
            border-radius: 2px;
            overflow: scroll;
            z-index: 100;
            bottom: 3vh;
            left: 50%;
            backdrop-filter: blur(5px);
            transform: translateX(-50%);
        }
#large-image-container {
            width: 100vw;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        #large-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

            #image-title {
            position: absolute;
            bottom: 120px; /* Position above the thumbnail container */
            left: 50%;
            transform: translateX(-50%);
            z-index: 101;
            font-size: 2.5rem;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adds readability */
            transition: color 0.4s ease-in-out;
            text-align: center;
            }

button {
            border: 1px solid rgb(1, 45, 1);
            border-radius: 100%;
            background-color: rgb(1, 39, 1);
            color: rgba(255, 255, 255, 0.679);
            padding: 6px 10px;
            z-index: 100;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
        }
        
        button:hover {
            background-color: rgba(0, 0, 0, 0.3);
            color: rgba(255, 255, 255, 1);
        }

        button#next {
            position: absolute;
            top: 50vh;
            right: 5vw;
        }

        button#prev{
            position: absolute;
            top: 50vh;
            left: 5vw;
        }


        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
        }

        .hidden {
            bottom: -60px; /* Moves the container off-screen */
        }  
 /* For desktop */
        @media (width >= 600px) {
            .thumbnail-container {
                flex-direction: row;
                flex-wrap: nowrap;
                height: 90px;
                width: 400px;
                position: absolute;
                top: 3vh;
                left: 50%;
                bottom: auto;
                overflow: scroll;
                transform: translate(-50%);
                /* transition: left 0.4s ease-in-out; */
            }


            .thumbnail-image {
                width: 110px;
                height: 75px;
                padding: 1px;
                cursor: pointer;
                flex-shrink: 0;
            } 
            
        

            .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            border: 0;
            } 
        }
