* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#mycontainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Adjust based on screen size */
    gap: 20px; /* Space between images */
    padding: 20px;
    justify-items: center; /* Center images horizontally */
    align-items: center; /* Center images vertically */
}

.image-container {
    width: 100%;
    overflow: hidden; /* Prevents image overflow */
    border-radius: 10px; /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow around images */
}

.image-container img {
    width: 100%; /* Makes images responsive */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures the image covers the entire space */
    border-radius: 8px; /* Optional: adds rounded corners to images */
}
