html {
  height: 100%;
}

body {
  background-color: rgb(223, 221, 221);
  position: relative;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

main {
  padding: 0 20px 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* CSS for navigation bar */

.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 7%;
  z-index: 10;

  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  background-color: rgb(107, 165, 112);
  color: white;
  padding: 0px 0px;

  /* Debug border */
  /* border: solid red; */
}

.nav-list {
  display: flex;
  flex-direction: row;
  position: relative;
  right: 30px;
  list-style: none;
}

.navbar a {
  color: rgb(38, 41, 38);
  font-weight: bold;
  margin: 0 12px;
  text-decoration: none;
  letter-spacing: 2px;
}

/* CSS for page footer */

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
}

.about-title {
  color: black;
  font-family: helvetica;
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-info {
  border: 2px solid black;
  border-radius: 12px;
  padding: 10px 24px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: min(900px, 100%);
  margin-top: 20px;
}

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

.about {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 900px;
}

.about-image img {
  display: block;
  max-width: 300px;
  height: auto;
}

.about-text {
  flex: 1;
}

@media (max-width: 700px) {
  .about {
    flex-direction: column;
  }
}
