/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #2F3336;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
}

/* Header */
.webpage-header {
  background: #26292B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.webpage-header .logo img {
  height: 90px;
  border-radius: 10px;
}
.webpage-header .title {
  text-align: center;
  margin-top: 10px;
}
.webpage-header .title h1 {
  font-size: 24px;
}

#c {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

main {
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

/* Section Containers */
section {
  background: #26292B;
  border: 1px solid #3A3F42;
  border-radius: 10px;
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 20px;
}
section h2 {
  font-size: 22px;
  text-align: center;
}

/* Sub-section titles with divider */
section h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}
section h3::after {
  content: '';
  display: block;
  width: 75%;
  height: 1px;
  background: #3A3F42;
  margin: 8px auto 0;
}

/* Gallery Rows */
.gallery-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 150px;
}
.gallery-item img {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.gallery-item figcaption {
  color: #FFFFFF;
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}
