* { box-sizing: border-box; }

body { 
  margin: 0; 
  font-family: serif; 
}

h1, h2 { font-family: "Forum"; }

section { 
  width: 100%; 
  margin: 0 auto; 
  border-bottom: 1px solid #ddd; 
}

.wrapper { 
  max-width: 1280px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  margin: 0 auto;
}

 @media (max-width: 540px) {
    .wrapper {
        width: 100vw;
    }
}

.groups {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding-top: 1em;
        padding-bottom: 1em;
}

 @media (max-width: 540px) {
    .groups {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.group-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.title {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}

figure:hover { 
  background-color: #f6f6f6; 
}

figcaption { 
  text-align: center; 
  margin: 0.4em 0; 
  width: 200px; 
  font-family: "Overlock SC"; 
  font-size: 1.25em; 
}

address { 
  width: 100%; 
  max-width: 1018px; 
  margin: 0 auto; 
}

a { 
  color: black; 
}

figure > a { 
  text-decoration: none; 
}

.back { 
  float: right; 
  font-family: "Overlock SC";
  font-size: 1.15rem;
}
        
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;        
  background: rgba(246, 239, 228, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36, 29, 22, 0.12); 
}

@media (max-width: 540px) {
  .site-header {
    padding: 16px;
  }
}

.header-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;  
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700; 
  text-decoration: none;
  outline: none;
  border: none;
  font-family: Georgia;
  font-size: 1.25em;
}

@media (max-width: 540px) {
  .logo {
    font-size: 0.9rem;
  }
}

.logo-mark {
  width: 50px;
  height: 50px;
}

.logo-mark a {
  text-decoration: none;
  border: none;
  outline: none;
}

nav { display: block; }

.nav { 
  display: flex;
  gap: 24px;
  font-size: 1.25rem;  
  font-family: "Forum";
}

.nav a {
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }
}

.discord-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: #333;
  color: #fff7eb;
  font-family: Georgia;
  font-size: 1.25em;
}

.discord-btn, .primary-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}