@keyframes fadeIn {
    from { opacity: 0; }
    to {opacity: 1; }
}

#image-track > .image {
    width: 40vmin;
    height: 56vmin;
    object-fit: cover;
    object-position: 100% 50%;
    /* box-shadow: 1px 8px 12px rgba(0, 0, 0, 0.8); */

    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#image-track {
    display:flex;
    gap: 3vmin;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(0%, -50%);
    animation: fadeIn 1s ease-in;
    user-select: none;
}

#image1, #image2, #image3, #image4 , #image5, #image6 , #image7, #image8 {
    transition: transform 0.3s ease; /* Smooth transition for hover effects */
}

#image1:hover, #image2:hover, #image3:hover, #image4:hover, #image5:hover, #image6:hover, #image7:hover, #image8:hover {
    transform: scale(1.1);
}

.image-text {
    position: absolute;
    font-family: 'Outfit Medium';
    color: white;
    font-size: 2rem;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10; /* Ensure text is above other content */
    user-select: none;
}

#introText1 { top: 2%; left: -13%; }
#introText2 { top: 8%; left: -13%; }
#introText3 { top: 14%; left: -13%; }
#introText4 { top: 20%; left: -13%; }
#introText5 { top: 26%; left: -13%; }
#introText6 { top: 32%; left: -13%; }
#introText7 { top: 44%; left: -13%; }
#introText8 { top: 50%; left: -13%; }
#introText9 { top: 56%; left: -13%; }
#introText10 { top: 62%; left: -13%; }

#text1 { top: -12%; left: 4.5%; }
#text2 { top: -12%; left: 17%; }
#text3 { top: -12%; left: 29.5%; }
#text4 { top: -12%; left: 42%; }
#text5 { top: -12%; left: 54.5%; }
#text6 { top: -12%; left: 67%; }
#text7 { top: -12%; left: 79%; }
#text8 { top: -12%; left: 92%; }

#image-track .image {
    cursor: pointer;
}