*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: serif;
  background: #8a8781;
  line-height: 1.6;
}

header {
  background: #8a8781;
  padding: 20px;
  text-align: center;
}

header img {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 10px auto;
}

nav {
  background: #dfd8d6;
  padding: 10px;
  display: flex;
  justify-content: space-around;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
}

nav a:hover {
  background: #beb8af;
}

main {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.col1 {
  background: white;
  padding: 15px;
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col1 h2 {
  margin-top: 0;
  font-weight: normal;
}

.col1 p {
  margin: 0 0 10px 0;
}

.col1 > img {
  max-width: 250px;
  width: 100%;
  height: auto;
  align-self: flex-end;
  margin: 0 0 10px 10px;
  display: block;
}

.photo-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.photo-row img {
  width: 30%;
  max-width: none;
  align-self: auto;
  margin: 0;
}

.col2 {
  background: white;
  padding: 15px;
  flex: 2;
}

.col3 {
  background: white;
  padding: 15px;
  flex: 1;
}

.gallery {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery .photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.gallery img {
  width: 250px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.contact-info {
  font-size: 1rem;
}

.contact-info a {
  color: #8a8781;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  font-family: inherit;
  border: 1px solid #ccc;
}

.contact-form button {
  background: #dfd8d6;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background: #beb8af;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #dfd8d6;
}

thead tr {
  background: #beb8af;
  color: white;
}

th, td {
  padding: 10px;
  border: 1px solid #888787;
}

td img {
  width: 80px;
  height: auto;
}

iframe {
  max-width: 100%;
}

footer {
  background: #888787;
  color: white;
  text-align: center;
  padding: 12px;
  margin-top: 20px;
}

@media (max-width: 510px) {

  nav {
    flex-direction: column;
    text-align: center;
  }

  main {
    flex-direction: column;
  }

  .col1 img {
    align-self: center;
    margin: 0 0 15px 0;
  }

  .photo-row {
    flex-direction: column;
    align-items: center;
  }

  .photo-row img {
    width: 100%;
    max-width: 320px;
  }

  .gallery img {
    width: 100%;
    max-width: 320px;
  }
}
