body {
  background-color: lightblue;
}

h1 {
  color: navy;
  background-color: #80b3ff;
  margin-left: 20px;
 font-family: Garamond, serif;
 font-size: 40px;
}
body{
	font-family: Arial, Helvetica, sans-serif;
	color: #00008B;
	font-size: 15px;
	
}
img{
    border: 5px double red;
  border-radius: 5px;
}
p{
	font-family: "Times New Roman", Times, serif;
}
h2 {
	font-size: 30px;
	font-family: Garamond, serif;
	background-color: #99c2ff;
	font-style: italic;
	letter-spacing: 6px;
}
h3 {
	font-family: "Times New Roman", Times, serif;
	font-size: 20px;
	color: yellow;
	font-style: italic;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333;
}


li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover:not(.active) {
  background-color: #99c2ff;
}

.active {
  background-color: black;
}ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #d27979;
}

li {
  float: left;
}

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

li a:hover {
  background-color: yellow;
}

.active {
  background-color: yellow;
  
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.item {
  width: 30%;
  margin-bottom: 20px;
  position: relative;
}

.item img {
 width:450; 
 height:300;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.item:hover .caption {
  opacity: 1;
}