*,
::after,
::before {
  box-sizing: border-box;
}

@font-face {
  font-family: Brandon;
  src: url("media/Brandon_bld_it.otf") format("opentype");
}

html {
  overflow-x: hidden;
}

body {
  margin: 0 1.8vw 0 1.8vw;
  font-family: "Barlow", sans-serif;
  color: #333333;
}

/* || main */

.splashCover {
  display: grid;
  position: absolute;
  top: 3%;
  right: -15vw;
  grid-template-columns: repeat(8, 1fr);
  grid-template-areas:
    ". . . . . . . ."
    ". . . . . . . ."
    ". . . i i i i i"
    ". . . i i i i i"
    ". . . i i i i i"
    ". . . i i i i i"
    ". . . . . . . .";

  height: 50vh;
}

.splashCover img {
  grid-area: i;
  max-width: 100%;
}

.landing {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-auto-rows: minmax(50px, 1fr);
  grid-template-areas:
    ". h h h h h h h . . . . . . . ."
    ". h h h h h h h . . . . . . . ."
    ". j j j j j j j j j j j j . . ."
    ". j j j j j j j j j j j j . . ."
    ". p p p p p p p p p p . . . . ."
    ". . . . . . . . . . . . . . . ."
    ". . s s s s s s s s s s s s . ."
    ". . . . b b b b b b b b . . . ."
    ". . . . b b b b b b b b . . . ."
    ". . . . b b b b b b b b . . . ."
    ". . . . . . . . . . . . . . . .";
  height: 90vh;
  background-color: var(--inbetween-darkBlue);
  color: var(--inbetween-yellow);
}

.landing h1,
.landing h2,
.landing p,
.landing span,
.landing button {
  position: relative;
  z-index: 1;
}

.landing h1,
.landing h2 {
  align-self: center;
}

.landing h1 {
  grid-area: h;
  font-family: "Brandon", sans-serif;
  font-size: calc(2rem + 4vw);
}

.landing h2 {
  grid-area: j;
  font-size: calc(0.8rem + 3vw);
}

.landing p {
  grid-area: p;
  font-size: calc(1.5vw + 1vh);
}

.landing .directed {
  grid-area: s;
  color: white;
  font-weight: bold;
  justify-self: center;
  align-self: flex-end;
}

.directed p {
  font-size: calc(2vw + 1vh);
}

.landing button {
  grid-area: b;

  background-color: var(--inbetween-darkBlue);
  border: 2px solid var(--inbetween-yellow);
  border-radius: 15px;
  color: var(--inbetween-yellow);
  text-align: center;
  font-size: calc(0.5rem + 3vw);
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.landing button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.landing button span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
}
.landing button:hover {
  transform: translateY(-2px);
  box-shadow: 0px 15px 20px rgba(255, 255, 255, 0.5);
}
.landing button:hover span {
  padding-right: 40px;
}
.landing button:hover span:after {
  opacity: 1;
  right: 0;
}

/* || question1 */

.marqueeWrapper {
  max-width: 100%;
  overflow: hidden;
}

.marquee1 {
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: marquee 220s linear infinite;
  animation-delay: 5s;
}

.marquee1:hover {
  animation-play-state: paused;
}

.marquee1 p {
  display: inline-block;
  font-weight: bold;
}

.marquee1 p:nth-child(even) {
  color: #cf5c51;
  /* make color in-between yellow? looked a bit jarring though... */
}

.marquee1 p:nth-child(odd) {
  color: var(--inbetween-blue);
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* || the mission */

.mission {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.7385154745491946) 0%,
    rgba(255, 255, 255, 0.9850140739889706) 2%,
    rgba(255, 255, 255, 1) 100%
  );
  color: #252f42;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-areas:
    /* ". h h h h h h h h h h h h h h ."
    ". h h h h h h h h h h h h h h ."
    ". p p p p p p p p p p . . . . ."
    ". p p p p p p p p p p . a a a ."
    ". s s s s s s s s s s . a a a ."
    ". s s s s s s s s s s . . . . ."
    ". . c c c c c c c c c c c c . ." */
    ". h h h h h h h h h h h h h h ."
    ". h h h h h h h h h h h h h h ."
    ". . p p p p p p p p p p p p . ."
    ". . p p p p p p p p p p p p . ."
    ". . s s s s s s s s s s s s . ."
    ". . s s s s s s s s s s s s . ."
    ". . c c c c c c c c c c c c . .";
  position: relative;
  text-align: center;
}

.mission h2 {
  font-size: calc(2rem + 2vw);
  margin: 0;
  grid-area: h;
  font-family: "Brandon", sans-serif;
  align-self: center;
  justify-self: flex-start;
}

.mission p {
  margin: 0;
  font-size: calc(0.8rem + 1vw);
  grid-area: p;
  align-self: center;
  justify-self: flex-start;
  line-height: calc(4vh + 1rem);
  text-align: left;
  padding-bottom: 20px;
}

.mission span {
  grid-area: s;
  align-self: center;
  justify-self: flex-start;
}

.mission h3 {
  margin: 0;
  grid-area: c;
  font-size: calc(0.1rem + 2vw + 2vh);
  color: var(--inbetween-blue);
  font-family: "Brandon", sans-serif;
}

/* || aside */

.asideNav {
  position: fixed;
  right: 0%;
  top: 25%;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  list-style: none;
  padding-left: 0;
}

.asideNav li {
  margin: 1rem;
  margin-right: 0;
  width: 225px;
  text-align: center;
  background-color: #1e3e6780;
  color: var(--inbetween-yellow);
  font-size: calc(0.5rem + 1vw);
  letter-spacing: 2px;
}

.asideNav a {
  display: block;
  padding: 1rem;
}

.asideNav a:link,
.asideNav a:visited {
  color: inherit;
  background-color: inherit;
  text-decoration: none;
}

.asideNav a:hover {
  color: var(--inbetween-darkBlue);
  background-color: var(--inbetween-yellow);
}

@media screen and (max-width: 480px) {
  .hide {
    display: none;
  }

  .asideNav {
    display: none;
  }

  .landing {
    height: unset;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: minmax(50px, 1fr);
    grid-template-areas:
      ". h h h h h h ."
      ". j j j j j j ."
      ". p p p p p . ."
      ". s s s s s s ."
      ". b b b b b b ."
      ". b b b b b b .";
    height: 80vh;
  }

  .landing p {
    grid-area: p;
    font-size: calc(1.5vw + 1vh + 0.5rem);
  }

  .splashCover {
    top: 20%;
    right: 0;
  }

  .marquee1 p:nth-child(odd) {
    color: var(--inbetween-darkBlue);
    /* make color in-between yellow? looked a bit jarring though... */
  }

  .marquee1 {
    animation-delay: 0s;
    animation-duration: 280s;
  }

  .mission {
    display: none;
  }

  .mission h2 {
    font-size: calc(1rem + 1vw);
  }
}
