/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #fdf9ed;
  color: #57523b;
  font-family: Spectral, Serif;
  font-weight: lighter;
  letter-spacing: 0.5px;
}

h1 {
  text-align: center;
  padding: 20px;
}

a {
    text-decoration: none; 
    color: inherit; 
}

.topnav ul{
  list-style: none;
  background: #fdf9ed;
  padding: 0;
  margin: 0;
  text-align: center;
}

.topnav li{
  display: inline-block;
}

.topnav a {
  float: left;
  font-weight: bold;
  color: #57523b;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  padding: 15px 20px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

div.gallery {
  border: 3px solid #596957;
  box-sizing: border-box;
  display: inline-block;
  line-height: 0;
  width: 280px;
  height: auto;
}

div.gallery:hover {
  border: 3.5px solid #596957;
}

div.gallery img {
  width: 100%;
  height: 250px;
  display: block;
}

.title {
  font-weight: bold;
  padding: 10px;
  line-height: normal;
  font-size: 20px;
  text-align: center;
}

.desc {
  padding: 12px;
  color: #57523b;
  line-height: normal;
  font-weight: 100;
  text-align: center;
}


.content-box {
  justify-content: center;
  max-width: 780px;
  margin: 50px auto;
}