body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}
.h1-div{
    text-align: center;
    margin-top: 110px; /* Spacing below the heading */
}

.h1-div h1 {
    font-size: 2.5em; /* Larger font size for prominence */
    font-weight: bold;
    color: #333; /* Dark color for better readability */
    margin: 0;
    padding: 10px 20px; /* Padding around the heading */
    border-bottom: 3px solid #333; /* Bottom border for emphasis */
    display: inline-block; /* To fit the border nicely */
}

.container {
    display: flex;
    flex-direction: column; /* Default to column layout for smaller screens */
    width: 90%; /* Increase width for better use of space */
    max-width: 1400px; /* Allow more width for larger images */
    margin: auto;
    /* background-color: blue; */
}

.image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 85%;
    /* background-color: black; */
    margin: auto;
    margin-top: 30px;
}

#main-image {
    width: 100%; /* Make image responsive */
    /* max-width: 600px; Maintain max width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Adjusted for better spacing */
    justify-content: center; /* Center thumbnails */
}

.thumbnail {
    width: 120px; /* Slightly larger for better visibility */
    height: 120px; /* Slightly larger for better visibility */
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px; /* Optional: add a border radius for a softer look */
}

.thumbnail:hover {
    opacity: 0.7;
}

.description-section {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 36px; /* Larger arrows for better visibility */
    padding: 15px;
    z-index: 10;
}

.left {
    left: -50px; /* Move arrows to align with the edge of the image */
}

.right {
    right: -50px; /* Move arrows to align with the edge of the image */
}

/* Media Query for screens 900px and below */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .image-section {
        width: 100%; /* Full width for mobile view */
    }

    .description-section {
        margin-top: 20px; /* Add spacing between image and description */
    }

    #main-image {
        max-width: 100%; /* Ensure image fits within the screen width */
        height: auto; /* Maintain aspect ratio */
    }

    .arrow-button {
        position: static; /* Remove absolute positioning */
        display: block; /* Stack arrows vertically */
        margin: 10px 0; /* Add spacing around arrows */
        display: none;
    }

    .left, .right {
        left: auto; /* Reset left positioning */
        right: auto; /* Reset right positioning */
    }
    .h1-div h1{
        font-size: 25px;
    }
}
