:root {
  --blue: #32638F;
  --light-blue: #DEF0FF;
  --yellow: #F4CB12;
  --black: #1F3D57;
  --gray: #535353;
  --containerSize: 1000px;
}

/* Base Styles (Mobile First) */
body {
  font-family: "Source Serif 4", serif;
  font-size: 19px;
  color: var(--black);
  margin: 0;
  padding: 0;
  background: white;
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.bg-blue, .bg-blue h2 {
  background: var(--blue);
  color: var(--light-blue);
}

h1, h2, h3, h4, header a {
  font-family: Oswald, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 1rem;
  height: 180px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5svw;
  margin-bottom: 1rem;
  font-size: 3svw;
  font-weight: 200;
  max-width: var(--containerSize);
  margin: auto;
}

nav a {
  flex: 1;
}

.nav .donate {
  color: var(--yellow);
  font-weight: bold;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
}

.logo span {
  background: var(--light-blue);
  color: var(--blue);
  display: inline-block;
  padding: 0.25em 0.5em;
  margin-top: 0.2em;
}

section {
  padding: 2rem;
}

section h2 {
  color: var(--blue);
  margin-bottom: 1rem;
}

.about .content,
.donate .content,
.signup .content,
.board .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.signup .form-container{
  display: flex;
  flex-direction: column;
}

.signup .content {
  gap: 0;
}

.reasons {
  list-style: none;
  padding: 0;
}

.reasons li {
  margin-bottom: 1em;
}

.reasons li input {
  margin-right: 0.75em;
}

.issues .cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  padding: 1rem;
}

.card .img-placeholder {
  height: 120px;
  margin-bottom: 1rem;
  background: #ccc;
}

footer {
  background: #f5f5f5;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Medium Screens (Tablet and up) */
@media (min-width: 768px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5svw;
    margin-bottom: 1rem;
    font-size: 2svw;
    font-weight: 200;
    max-width: var(--containerSize);
    margin: auto;
  }
  .about .content,
  .donate .content,
  .board .content {
    flex-direction: row;
  }

  .signup .content {
    flex-direction: column;
  }

  .signup .form-container {
    display: flex;
    flex-direction: row;
    gap: 5rem;
  }

  .signup .form-container div {
    flex: 1;
  }

  .reasons,
  .form-placeholder,
  .bio-placeholder {
    flex: 1;
  }

  .issues .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .endorsees {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .endorsee {
    min-width: 200px;
  }

  .board .member-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Screens (Desktops) */
@media (min-width: 1200px) {
  
  section, footer {
    padding: 2rem 15%;
  }

  .nav {
    gap: 1.5rem;
    font-size: 16px;
  }

  .logo {
    font-size: 2.5rem;
  }

  .issues .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .board .member-grid {
    grid-template-columns: repeat(6, 1fr);
  }

}
