@import url('https://fonts.cdnfonts.com/css/young-serif');
@import url('https://fonts.cdnfonts.com/css/thegoodmonolith');

body {
  background-color: #534B31;
  font-family: 'TheGoodMonolith', sans-serif;
  font-size: 16pt;
  color: #111819;
}

a:link {
  font-family: 'TheGoodMonolith', sans-serif;
  font-size: 20pt;
  color: #284139;
  text-decoration: none;
}

a:visited {
  color: #202d03;
}

a:hover {
  background-color: #7a4e39;
  color: #c0a889;
}

.ul {
  margin: 0;
  padding: 0;
}

.li {
  list-style-type: none;
  list-style: none;
}


/* this is homepage */

.flex-home {
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.flex-sidebar {
  background-color: #7d8e78;
  padding: 15px;
  flex: 0 1 250px;
}

.flex-content {
  background-color: #7d8e78;
  padding: 15px;
  flex: 1 1 auto;
}

/* this is other pages */

.flex-container {
  display: flex;
  flex-flow: column wrap;
  align-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.flex-child {
  padding: 10px;
  background-color: #a8aa8b;
  flex-grow: 1;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 2fr));
  gap: 16px;
  padding: 16px;
}

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

.scrollbox {
  border: 1px solid black;
  height: 100px;
  overflow: auto;
}

h1 {
  color: #e8e4d6;
  text-align: center;
  font-family: "Young Serif", serif;
  font-size: 60pt;
}

h2 {
  color: #453e23;
  font-family: "Young Serif", serif;
  text-align: center;
  margin: 1%;
  background-color: #e8e4d6;
}

img {
  max-width: 100%;
  height: auto;
}


.page-footer {
  text-align: center;
  padding: 20px;
  font-size: 12pt;
  flex-grow: 0;
  flex-shrink: 0;
}