/* Global */

:root {
  --main-bg-color: #FEFFF4;
  --text-color: rgba(46, 46, 46, 1);
  --text-highlight-color: #7E2E84;
  --nav-bg-color: transparent;
  --nav-link-color: black;
  --mobile-menu-bg-color: rgba(46, 46, 46, 0.9);
  --mobile-menu-link-color: #FEFFF4;
}

@font-face {
  font-display: swap;
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/cinzel-v23-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/cinzel-v23-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/cinzel-v23-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/LibreBaskerville-Regular.ttf') format('truetype');
}

/* Page Template */

body {
  background-color: var(--main-bg-color);
  color: var(--text-color);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.375em;
  min-width: 320px;
}

.noselect {
  user-select: none;
}

nav {
  position: fixed;
  width: 70%;
  top: 0;
  user-select: none;
}

nav::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--text-color);
  background-color: var(--main-bg-color);
  padding: 5px 0 5px 0;
}

.menu {
  font-family: 'Cinzel', serif;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background-color: var(--main-bg-color);
  padding: 10px 0 5px 0;
}

.menu a {
  font-weight: 600;
  text-decoration: none;
  color: var(--nav-link-color);
  padding: 10px 10px;
}

@media (min-width: 480px) {
  .menu a {
    padding: 10px 20px;
  }
}

footer::before {
  content: "";
  display: block;
  width: 70%;
  border-top: 1px solid var(--text-color);
  background-color: var(--main-bg-color);
  padding: 5px 0 5px 0;
  margin: 0 auto;
  position: relative;
  top: -20px;
}

footer {
  font-family: 'Cinzel', serif;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--main-bg-color);
  padding: 10px 0;
  text-align: center;
}

.social-links a {
  margin: 0 10px;
  color: var(--text-color);
  font-size: 1.5em;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--text-highlight-color);
}

/* Text */

h1 {
  font-weight: 600;
  font-size: 48px;
  line-height: 1.05em;
}

h2 {
  font-weight: 500;
  font-size: 36px;
  line-height: 1.25em;
}

h3 {
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25em;
}

/* Home Page */

.mainContainer {
  display: flex;
  flex-direction: column;
  width: 56%;
  max-width: 600px;
  align-items: center;
  text-align: center;
}

@media (max-width: 480px) {
  .mainContainer {
    width: 70%;
  }
}

.logo {
  width: 100%;
  height: auto;
}

.motto {
  font-family: 'Cinzel', serif;
  display: block;
  width: 100%;
  font-size: 36px;
  color: var(--text-highlight-color);
}

@media (max-width: 768px) {
  .motto {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .motto {
    font-size: 24px;
  }
}

/* Archive Notice */

.archiveNotice {
  width: 100%;
  margin: 0 0 2em 0;
  padding: 0.75em 1em;
  box-sizing: border-box;
  border-left: 3px solid var(--text-highlight-color);
  background: rgba(126, 46, 132, 0.06);
  font-family: 'Libre Baskerville', serif;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.archiveNotice a {
  color: var(--text-highlight-color);
}

/* Team Page */

.sectionHeading {
  font-family: 'Cinzel', serif;
}

.cardImage {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 12px 0 16px 0;
  border-radius: 50%;
  background: #f5f5f5;
}

.partnerImage {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 12px 0 16px 0;
}

.cardName {
  margin: 0 0 0.1em 0;
  font-size: 1.05em;
  text-align: center;
  word-break: break-word;
  line-height: 1.15;
}

.cardRole {
  margin: 0;
  color: var(--text-highlight-color);
  font-size: 0.95em;
  line-height: 1.1;
  word-break: break-word;
}

.teamContainer {
  display: flex;
  flex-direction: column;
  width: 65%;
  max-width: 600px;
  align-items: center;
  text-align: left;
  font-family: 'Libre Baskerville', serif;
  font-size: 14pt;
  margin: 80px 0 20px 0;
}

@media (max-width: 480px) {
  .teamContainer {
    width: 70%;
  }
}

.advisorsContainer {
  display: flex;
  flex-direction: column;
  width: 65%;
  max-width: 800px;
  align-items: center;
  text-align: left;
  font-family: 'Libre Baskerville', serif;
  font-size: 14pt;
  margin: 20px 0 20px 0;
}

@media (max-width: 480px) {
  .advisorsContainer {
    width: 70%;
  }
}

.partnersContainer {
  display: flex;
  flex-direction: column;
  width: 65%;
  max-width: 800px;
  align-items: center;
  text-align: left;
  font-family: 'Libre Baskerville', serif;
  font-size: 14pt;
  margin: 20px 0 120px 0;
}

@media (max-width: 480px) {
  .partnersContainer {
    width: 70%;
  }
}

.teamCard {
  width: 160px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-align: center;
  overflow: hidden;
  padding: 16px 8px;
}

@media (max-width: 480px) {
  .teamCard {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 0 auto;
    padding: 16px 8px !important;
  }
}

.partnerCard {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  text-align: center;
  overflow: hidden;
  padding: 16px 8px;
}

@media (max-width: 480px) {
  .partnerCard {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto 0 auto;
    padding: 16px 8px !important;
  }
}

/* Vision Page */

.visionContainer {
  display: flex;
  flex-direction: column;
  width: 70%;
  max-width: 800px;
  align-items: center;
  text-align: left;
  font-family: 'Libre Baskerville', serif;
  font-size: 14pt;
  padding: 80px 0 80px 0;
}

.visionContainerLogoDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0 5px 0;
}

img.visionContainerLogo {
  max-width: 200px;
  width: 100px;
  height: auto;
}

@media (max-width: 1000px) {
  .visionContainer {
    width: 70%;
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .visionContainer {
    font-size: 15px;
  }
}