.gallery {
  display:flex;
  flex-wrap:wrap;
  width:800px; /* this can be modified to make the gallery wider */
}

.gallery img {
  width:100px;
  height:100px; 
  object-fit:cover;
  
}

/* this is the div which CROPS every image */
.gallery > div {
  width:100px; /* this should match the image height */
  height:100px; /* this should match the image width */
  margin-right:1px;
  margin-bottom:1px;
}

/* this resizes the image on hover. note that objects in 'portrait'  */
.gallery img:hover {
  transform:scale(2.5); /* this scales up the image when you hover over it */
  object-fit:contain; /* this keeps the aspect ratio of the original images*/
}


body {
                font-family: Arial, sans-serif;
                margin: 0;
                background-color: #000000;
                background-size: 210px;
                color: #fceaff;
                background-image: url("/gr/dblue002.jpg");
            }

body {
                font-family: Arial, sans-serif;
                margin: 0;
                background-color: #000000;
                background-size: 210px;
                color: #fceaff;
                background-image: url("/gr/dblue002.jpg");
            }

#container {
                max-width: 900px;
                /* this is the width of your layout! */
                /* if you change the above value, scroll to the bottom
                 and change the media query according to the comment! */
                margin: 0 auto;
                /* this centers the entire page */
            }

            /* the area below is for all links on your page
             EXCEPT for the navigation */
#container a {
                color: #000000;
                /* if you want to remove the underline
                   you can add a line below here that says:
                   text-decoration:none; */
            }

#header {
                width: 100%;
                background-color: #000000;
                border: 1px solid #ffffff;
                height: 150px;
                /* this is only for a background image! */
                /* if you want to put images IN the header, 
                   you can add them directly to the <div id="header"></div> element! */
                background-image: var(--header-image);
                background-size: 100%;
            }

#navbar {
                height: 40px;
                background-color: #000000;
                border: 1px solid #ffffff;
                width: 100%;
            }

#navbar ul {
                display: flex;
                padding: 0;
                margin: 0;
                list-style-type: none;
                justify-content: space-evenly;
            }

#navbar li {
                padding-top: 10px;
            }

               /* navigation links*/
#navbar li a {
                color: #ffffff;
                /* navbar text color */
                font-weight: 800;
                text-decoration: none;
                /* this removes the underline */
            }

            /* navigation link when a link is hovered over */
#navbar li a:hover {
                color: #4042ec;
                text-decoration: none;
            }

#flex {
                display: flex;
            }

            aside {
                background-color: #000000;
                border: 1px solid #ffffff;
                width: 200px;
                padding: 20px;
                font-size: smaller;
                /*SIDEBAR this makes the sidebar text slightly smaller */
            }


            /* this is the color of the main content area,
    between the sidebars! */
            main {
                background-color: #000000;
                border: 1px solid #ffffff;
                flex: 1;
                padding: 20px;
                order: 2;
            }

            /* what's this "order" stuff about??
    allow me to explain!
    if you're using both sidebars, the "order" value
    tells the CSS the order in which to display them.
    left sidebar is 1, content is 2, and right sidebar is 3! */

            * #leftSidebar {
                order: 1;
            }

            #rightSidebar {
                order: 3;
            }

            footer {
                background-color: #000000;
                /* background color for footer */
                width: 100%;
                height: 40px;
                padding: 10px;
                text-align: center;
                /* this centers the footer text */
            }

            h1,
            h2,
            h3 {
                color: #ffffff;
            }

            h1 {
                font-size: 25px;
            }

            strong {
                /* this styles bold text */
                color: #ffffff;
            }

            /* this is just a cool box, it's the darker colored one */
            .box {
                background-color: #000000;
                border: 1px solid #ffffff;
                padding: 10px;
            }

            /* CSS for extras */

            #topBar {
                width: 100%;
                height: 30px;
                padding: 10px;
                font-size: smaller;
                background-color: #13092D;
            }


            /* BELOW THIS POINT IS MEDIA QUERY */

            /* so you wanna change the width of your page? 
    by default, the container width is 900px.
    in order to keep things responsive, take your new height,
    and then subtrack it by 100. use this new number as the 
    "max-width" value below
    */

            @media only screen and (max-width: 800px) {
                #flex {
                    flex-wrap: wrap;
                }

                aside {
                    width: 100%;
                }

                /* the order of the items is adjusted here for responsiveness!
      since the sidebars would be too small on a mobile device.
      feel free to play around with the order!
      */
                main {
                    order: 1;
                }

                #leftSidebar {
                    order: 2;
                }

                #rightSidebar {
                    order: 3;
                }

                #navbar ul {
                    flex-wrap: wrap;
                }
            }