@charset "UTF-8";
html {
    background-color:aquamarine
}
body {
    font-family: Verdana, Geneva, sans-serif;
    color: rgb(91, 91, 91);
    background-color: ivory;
    margin: 25px;
}
header {
  text-align: center;
  padding: 20px;
}
h2 {
    font-size: 1.3em;
}
nav {
    background-color:bisque;
    padding: 15px;
    text-align: center;
}
nav a {
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color:beige
}
nav a:hover {
    text-decoration: underline;
    color:aliceblue
}
main {
    padding-left: 20px;
    padding-right: 20px;
}
img {
    width: 25%;
    padding: 25px;
}
body > footer {
    background-color: beige;
    color: rgba(102, 102, 102, 0.6);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}
ul {
    list-style-type: square;
}

@media only screen and (max-width: 768px) {
   .main {width: 100%;
margin: 0px;}
.ul {float:none;
font-size:x-large;
width: 100%;
}
.nav a{
    border-bottom:black;
border-bottom: 1px}
main > img {
width: 90%;
float:none;
}
.gallery-item {
    flex: 0 0 calc(50% - 8px);
  }

}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-item {
  /* Default 1-column layout for small screens */
  flex: 0 0 100%; 
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}


@media only screen and (min-width: 769px) {
.gallery-item {
    flex: 0 0 calc(25% - 12px);
  }
}
