body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

header {
  background-color: #2517a5;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
}

nav li {
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: #fff;
}

main {
  padding: 50px;
}

section {
  margin-bottom: 50px;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.photo-left {
  float: left;
  margin-right: 20px;
}

.photo-right {
  float: right;
  margin-left: 20px;
}

.image-frame-left {
  border: none;
  padding: 10px;
  float: left;
  margin-right: 20px;
}

.image-frame-right {
  border: none;
  padding: 10px;
  float: right;
  margin-left: 20px;
}

img {
  display: block;
  margin: 0 auto;
  /* max-width: 100%;  disabled was causing issues with popup */
}

.image-caption {
  text-align: center;
  font-size: 14px;
}

/* Flexbox container */
.image-flex-container {
  display: flex;
  justify-content: left;
  align-items: start;
}

/* CSS Grid Container START */
.image-grid-container {
  display: grid;
  /* switching these to inline to retain modular control
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr); */
  gap: 10px;
}

.grid-item {
  position: relative;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item .description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  font-size: 20px;
  text-align: center;
}
/* CSS Grid Container END */

/* Description caption bar used at the bottom of 
   both Flexbox and CSS containers */
.img-container-desc {
  text-align: center;
  font-size: 16px;
  margin-top: 5px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list {
  list-style-type: disc;
  margin-left: 25px;
}

li {
  margin-bottom: 10px;
}

footer {
  background-color: #2517a5;
  color: #fff;
  /*position: fixed;
  bottom: 0; */
  width: 100%;
  padding: 10px;
  text-align: center;
}

/* BEGIN: Image Popup CSS */
.thumbnail {
  position: absolute;
  margin-right: 20px;
  left: 70%;
  /* disabled for above: was insisting on being centered
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;  */
}

.thumb-container-desc {
  position: absolute;
  text-align: center;
  left: 30%;
}

.thumbnail a {
  flex-basis: calc(33.33% - 10px);
  margin-bottom: 20px;
  position: relative;
}

.thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #fff;
  border-radius: 3px;
}

.thumbnail img:hover {
  opacity: 0.7;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 200% !important;
  max-height: 200% !important;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
}

.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 3px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
}

.close:hover {
  color: #ccc;
}

.overlay:target {
  display: block;
}

/* END: Image Popup CSS */

/* START Disabled section for contact form
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 50px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-size: 1.2em;
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1.2em;
  width: 100%;
  margin-bottom: 10px;
}

button[type="submit"] {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

button[type="submit"]:hover {
  background-color: #555;
}

img {
  display: inline-block;
  margin-left: 10px;
  cursor: pointer;
}
END Contact Form CSS Disabled Area*/
