:root {
  --gray: #6e6e6e;
}
body {
  margin: 0;
  background-color: white;
}

/**
 * Hero section
 */

#hero {
  background-image: url('./background.jpg');
  background-size: cover;
  padding: 50px 100px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;

  /* The background image should always be the size of the window,
   * but should also have at least 800px of height. */
  --hero-height: 100vh;
  height: var(--hero-height);
  --hero-min-height: 800px;
  min-height: var(--hero-min-height);
  width:  100vw;
}


#border {
  position: absolute;
  /* The border is inset 10px with regard to the hero section. */
  --border-padding: 10px;
  top: var(--border-padding);
  right: var(--border-padding);
  bottom: var(--border-padding);
  left: var(--border-padding);
  border: 1px solid white;
}

#hero-text {
  /* The text within the hero section is vertically centered. */
  top: 50%;
  transform: translateY(-50%);
  position: relative;
}

#hero-logo {
  width: 962px;
  max-width: 100%;
}

#mission {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

#mission > p {
  flex: 1;
  font-size: max(min(3vw, 35px), 22px);
  font-weight: 300;
  font-family: 'Helvetica';
  color: white;
  margin: 15px 15px 0 15px;
  max-width: 900px;
}

#marquee {
  position: absolute;
  bottom: 20px;
  left: 0;
  font-family: 'Times';
  font-weight: 300;
  font-size: 20px;
  background: white;
  font-style: italic;
  overflow: hidden;
  padding: 9px 0;
  animation: marquee 9s linear infinite;
  margin: 0;
}

a {
  color: inherit;
}

@keyframes marquee {
  from { transform: translateX(0px); }
  to { transform: translateX(-161px); }
}

@media only screen and (max-width: 700px) {
  #hero {
    padding: 40px;
  }
  #mission {
    flex-wrap: wrap;
  }
  #mission > img {
    transform: rotateZ(90deg);
    width: 60px;
    margin-top: 10px;
  }
  #mission > p {
    flex: none;
    width: 100%;
    margin-left: 7px;
  }
}

/* Standard boxed section */
.boxed-section {
  margin: 10px;
  border: 1px solid black;
  position: relative;
  padding: 60px 20px;
}
/* This class centers its contents into a column. */
.centered-area {
  margin: 0 auto;
  position: relative;
  max-width: 800px;
}
h2.section-title {
  margin-top: 120px;
  padding-left: 40px;
  font-size: min(10vw, 85px);
  font-family: 'Times';
  font-weight: bold;
}

#arrow {
  width: 150px;
  bottom: -150px;
  left: 0;
  transform: rotateY(180deg) rotateZ(90deg);
  position: absolute;
}

p.description {
  font-size: max(min(3vw, 35px), 22px);
  box-sizing: border-box;
  padding-left: 80px;
  font-weight: 300;
  font-family: 'Helvetica';
  color: black;
  position: relative;
}
@media only screen and (max-width: 700px) {
  p.description {
    padding-left: 0px;
  }
}

#logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  margin-top: 50px;
  padding: 20px;
}
#logos > a {
  display: inline-block;
}
#logos img {
  margin: 0.5rem;
  align-self: center;
  justify-self: center;
  transition: filter 0.1s linear;
}
#logos img:hover {
  filter: brightness(0.8);
}
#logos > span {
  color: #ccc;
  font-size: 1.5rem;
}


#board-member-picture-area {
  position: relative;
  margin-top: 40px;
}
#board-member-box {
  position: absolute;
  right: 0;
  left: 0;
  top: -40px;
  height: 100%;
  padding: 0;
}
.board-members {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}

.profile {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.headshot {
  width: 100%;
}

p.bio {
  font-size: max(min(2vw, 25px), 13px);
  font-weight: 200;
  font-family: 'Helvetica';
  color: var(--gray);
  margin-top: 0px;
  max-width: 900px;
}

p.name {
  font-size: max(min(4vw, 45px), 30px);
  font-weight: bold;
  font-family: 'Helvetica';
  color: black;
  margin: 15px 0px 0 0;
  max-width: 900px;
}

#border-black {
  position: absolute;
  top: 17vh;;
  right: 10px;
  left: 10px;
  border: 1px solid black;
  height: 30%;
  margin: 30px;
  z-index: -1
}

.button {
  border: 0;
  background-color: black;
  color: white !important;
  font-family: 'Times';
  font-size: min(3.5vw, 30px);
  padding: 20px 30px;
  text-decoration: none;
  display: inline-block;
}
.button:visited {
  color: white !important;
}
#contact-us {
  margin-top: 40px;
  margin-left: 20px;
}

/* How it works steps */
.step {
  background: white;
  border: 1px solid black;
  position: relative;
  --margin: 50px;
  width: calc(100% - 2 * var(--margin));
  margin: var(--margin);
  margin-top: 80px;
  box-sizing: border-box;
  padding: 30px;
  padding-left: 40px;
}
.step:after {
  content: '';
  background: black;
  position: absolute;
  height: 100%;
  width: 100%;
  left: -10px;
  top: 10px;
  z-index: -1;
}
.step:before {
  background: black;
  color: white;
  position: absolute;
  width: 60px;
  height: 60px;
  font-size: 48px;
  left: -30px;
  top: -30px;
  text-align: center;
  padding-top: 5px;
}
.step.one:before { content: "1"; }
.step.two:before { content: "2"; }
.step.three:before { content: "3"; }
.step > .step-title {
  font-size: 3rem;
  font-family: 'Helvetica';
  font-weight: 800;
}
.step > p {
  font-weight: 200;
  font-family: 'Helvetica';
  color: var(--gray);
  font-size: max(min(2vw, 25px), 18px);
}
.step > img {
  position: absolute;
  right: -40px;
  bottom: -70px;
  z-index: -1;
}

/* FAQ */
details {
  border: 4px solid black;
  padding: 20px;
  margin-top: 20px;
  position: relative;
}
summary {
  font-size: 30px;
  font-style: italic;
  cursor: pointer;
}
summary::marker {
  color: white;
}
summary > div {
  padding-left: 4rem;
  margin-top: -2.3rem;
}
details:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 60px;
  z-index: -1;
  background: black;
}
details > p {
  padding-left: 57px;
  font-weight: 200;
  font-size: 20px;
  font-family: 'Helvetica';
  color: var(--gray);
}

#faq {
  margin-top: 8rem;
  padding: 1rem;
}
#faq .button {
  margin-top: 20px;
  margin-left: 20px;
}
.unitalic {
  font-style: normal;
}


#footer-image-container {
  margin-top: 7rem;
  overflow: hidden;
}
#footer-image {
  width: 130%;
  left: -15%;
  height: 200px;
  object-fit: cover;
  margin-bottom: -4px;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  --radius: 68%;
  z-index: -1;
  position: relative;
}

/* footer */
#footer {
  background-color: black;
  padding: 80px 40px;
  width: 100vw;
  color: white;
  font-size: 1.4rem;
  box-sizing: border-box;
}
#footer-logo {
  width: 250px;
  margin-bottom: 10px;
}
#footer .columns {
  display: grid;
  grid-template-columns: auto auto 1fr;
  flex-wrap: wrap;
  margin-top: 4rem;
  gap: 40px;
}
@media only screen and (max-width: 700px) {
  #footer .columns {
    grid-template-columns: auto;
  }
}
#footer .column div:first-child {
  color: rgba(255, 255, 255, 0.6);
}
#footer .column div {
  margin-bottom: 1rem;
}
#footer a {
  text-decoration: none;
  color: white !important;
}
#footer a:visited {
  color: white !important;
}
