@import url("https://fonts.googleapis.com/css2?family=Gluten:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Noto Sans, sans-serif;
}

:root {
  --yellow: #ffbd59;
  --yellow-transparent: #ffbd5944;
  --orange: #ff914d;
  --red: #ed4257;
  --beige: #ffe7d1;
  font-size: 16px;
}

body {
  background-color: #000;
  min-height: 100svh;
}

svg {
  width: 100%;
}

main {
  width: 100%;
  background: var(--red);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

nav {
  height: 4rem;
  background: var(--red);
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%
}

nav .nav-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 0.5rem 1rem;
  max-width: 64rem;
  margin: 0 auto;
  height: 100%;
}

nav .nav-logo {
  max-width: 15rem;
  height: 3rem;
}

nav a {
  text-decoration: none;
  color: var(--yellow);
  font-size: 1.5rem;
}

nav a:hover {
  filter: brightness(120%);
}

.grow {
  flex: 1;
}

.gluten {
  font-family: Gluten;
}

article {
  background-color: var(--yellow);
  color: var(--red);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
}
section {
  width: 100%;
  padding: 2rem 1rem;
}
section div {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
}

article .title {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 3px 3px #000;
}

article .title.logo {
  color: var(--red);
  text-shadow: 4px 4px #000;
  font-family: Gluten, sans-serif;
  font-size: 5rem;
  letter-spacing: -0.3rem;
  line-height: 0.75;
  margin: 0.5rem auto;
}

article .body {
  padding: 1rem 0;
  font-size: 2rem;
  color: black;
}

article .body p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

article .body p:last-child {
  margin-bottom: 0;
}

footer {
  padding: 0.5rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  background-color: var(--red);
}

footer * {
  max-width: 3rem;
}

section a {
  color: var(--red);
}

.orange {
  background: var(--orange);
}

.body .job-title {
  font-weight: bold;
  font-family: "gluten";
}

.body .name {
  font-weight: bold;
  font-family: "gluten";
  color: var(--red);
  margin-bottom: 1rem;
}

img.headshot {
  margin-top: 1rem;
  max-width: 16rem;
  border: 0.5rem solid var(--red);
}

.board-img {
  max-width: 100%;
}

.tx-orange {
  color: var(--orange) !important;
}
.tx-red {
  color: var(--red) !important;
}

.small {
  font-size: 1rem !important;
}

.italic {
  font-style: italic;
}

.sign-up {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  font-size: 1.5rem;
  border-width: 0;
  border-radius: 9999px;
  color: var(--yellow);
  background: var(--red);
  font-weight: bold;
  text-decoration: none;
  max-width: max-content;
  margin: 1rem auto;
}

.sign-up:hover {
  filter: brightness(110%)
}

.bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  aspect-ratio: 1;
  min-width: fit-content;
  max-height: 14rem;
  width: 25%;
  font-size: 1.5rem;
  font-style: italic;
  background-color: var(--beige);
  padding: 1.5rem;
}

.grid {
  display: grid;
  grid-template: 
    "title   title title  " auto
    "bubble1 body  none1  " auto
    "none2   body  bubble2" auto
    "bubble3 body  none3  " auto
    / 1fr 2fr 1fr; 
}

.g-title{
  grid-area: title;
}

.g-body {
  grid-area: body;
}

.g-bubble1 {
  grid-area: bubble1;
  align-self: self-end;
}

.g-bubble2 {
  grid-area: bubble2;
  align-self: center;
}

.g-bubble3 {
  grid-area: bubble3;
}

.splash {
  backdrop-filter: blur(4px) brightness(80%);
  -webkit-backdrop-filter: blur(4px) brightness(80%);
  background: var(--yellow-transparent)
}

.splash-img {
  background-image: url("./img/boards/splash.jpg");
  background-size: cover;
  background-position: center;
}


@media (orientation: portrait) {
  .nav-logo {
    width: 100%;
  }

  nav .nav-content {
    gap: 1rem;
    overflow: hidden;
  }

  nav .nav-content a {
    font-size: 1.25rem;
  }

  article .title {
    font-size: 2rem;
  }

  article .title.logo {
    font-size: 3rem;
  }

  article .body p {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .small {
    font-size: 0.75rem !important;
  }

  .sign-up {
    padding: 1rem;
    font-size: 1rem;
  }
}
@media only screen and (max-width: 768px) {
  .grid {
    display: grid;
    grid-template: 
      "title  " auto
      "body   " auto
      "bubble1" auto
      "bubble2" auto
      "bubble3" auto
      / 1fr; 
    gap: 2rem;
  }
}