@import "_normalize.css";
@import "_colors.css";

/* 
 * @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');


h1, h2, h3, h4, h5, h6 {
  margin: 0;
  margin-bottom: 0.5em;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6, p, a, b, div, li, ul, img{
  background: none;
}

html, body {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 1.4;
  margin: 0;
  padding: 0;


  @media(max-width: 1000px) {
    font-size: 1.05em;
  }
  font-size: 1.20em;

}

li {
  text-align: left;
}

.download {
  margin-top: 1em;
  border: 2px solid #1a1a1a;
  padding: 0.5em;
  border-radius: 5px;
  font-size: 0.5em;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  text-decoration: none;
  color: black;
  font-weight: 600;
  opacity: 0.65;

  box-shadow: 3px 3px 5px rgba(0,0,0,0.2);

  & > svg {
    fill: black;
  }

  & > * {
    margin: 0.5em;
  }

  &:hover {
    transform: scale(1.05);
  }

  &:active {
    transform: scale(1.1);
  }

}

header {
  font-size: 1.3rem;
  padding: 1em;
  display: flex;
  position: sticky;
  z-index: 100;
  top: 0;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  background: #FFFFFF;

  & > button {
    padding: 0.5em;
    color: #000000cc;
    text-decoration: none;
    border: 1px solid transparent;
    cursor:pointer;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    background: #eaeaea0d;
    margin: 0 0.5em;
    border: 2px solid #1a1a1a;
    padding: 0.5em;
    border-radius: 5px;
    color: black;
    font-weight: 600;
    opacity: 0.65;


    &:hover {
      transform: scale(1.05) translateY(-2px);
      color: black;
      font-weight: 600;


    }

    &:active {
      color: black;
      transform: scale(1.1) translateY(-2px);
      font-weight: 600;
    }

  }
}

.hero {
  height: 500px;
  overflow: hidden;
  position: relative;
  /* shadow */ 




  & p {
    font-weight: 300;
  }
  /* background: image from PICS/hero.jpg, darken */
  & .blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    filter: blur(5px);

  }
  &#covrt .blur {

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("static/hero.jpg");

    background-size: cover;
    background-position: center;
  }
  &#hovrt .blur {

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("static/11.JPG");

    background-size: cover;
    background-position: center;
  }
  &#team .blur {

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("static/9.jpg");

    background-size: cover;
    background-position: center;
  }
  &#related-work .blur {

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("static/related.jpg");

    background-size: cover;
    background-position: center;
  }


  /* text color white */ 
  & h1, h2, h3, p, a {
    color: white;
    z-index: 10;
  }


  & h1 {
    font-weight: 600;
    font-size: 2.5em;
  }

  font-size: 1.25em;

  min-height: 200px;
  margin: 0 auto;
  display: flex;
  padding: 3rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;


  & h1 {
    margin-bottom: 1em;
  }

  & h1, p {
    max-width: 23em;
  }
}


footer {

  max-width: 70rem;
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


section {
  display: flex;
  flex-direction: column;
  max-width: 60rem;
  justify-content: center;
  align-items: start;
  margin: 0 auto;
  margin-bottom: 6rem;
  padding: 1.5rem;

  & h1, h2, h3, h4, h5, h6 {
    opacity: 0.9;
  }

  & p, a, b, li {
    opacity: 0.88;
  }
}

/* first section */ 
section:first-child {
  margin-top: 2rem;
}

.nopadding {
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 75rem;
}

iframe {  
  width: 100%;
  max-width: 80vw;
  max-width: 850px;;
}


.centered {
  display: flex;
  justify-content: center;
  font-size: 1.4em;
  opacity: 0.95;

  align-items: center;

  & > p {
    text-align: center;
    max-width: 38em;
  }
}



.dual1, .dual2 {
  display: grid;

  > .pic {
    grid-area: pic;

    /* Max width either 500px or 80% of screen */ 
    max-width: min(500px, 80vw);
    max-height: min(400px, 80vh);
    box-shadow: 5px 5px 7px rgba(0,0,0,0.2);

  }

  > .content {
    grid-area: content;
  }

}

.dual1 {
  & .pic {
    margin-right: 5em;
  }
  grid-template-columns: 0.2fr 1fr 2fr;
  grid-template-areas: "space pic content";

  @media(max-width: 1000px) {
    grid-template-columns: 100%;
    text-align: center;
    grid-template-rows: 0fr 1fr 1fr;
    grid-template-areas: "space" "pic" "content";

    & .pic {
      margin: 0;
      margin-bottom: 3em;
      justify-self: center;
    }

  }
}

.dual2 {

  & .pic {
    margin-left: 5em;
  }

  grid-template-columns: 2fr 2fr 0.2fr;
  grid-template-areas: "content pic space";

  @media(max-width: 1000px) {
    grid-template-columns: 100%;
    text-align: center;
    grid-template-rows: 0fr 1fr 1fr;
    grid-template-areas: "space" "pic" "content";
    & .pic {
      margin: 0;
      margin-bottom: 3em;
      justify-self: center;
    }
  }
}

#team, #related-work {
  height: 200px;


  & h1 {
    margin-bottom: 0;
  }
}

.team {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;



  & .member {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1em 0.5em;

    & > h3 {
      margin-bottom: 0;
    }
  }

  & p {
    max-width: 15em;
    text-align: center;
  }

  & .pfp {
    width: 200px;
    height: 200px;
    max-width: 200px;
    max-height: 200px;
    border-radius: 50%;
    background: #eaeaea;
    margin-bottom: 1em;

    /* do not stretch */ 
    object-fit: cover;


  }



  & a {
    font-weight: 600;
    /* decoration no underline */ 
    color: #6666aa;

  }

  /* svg color */
  & svg {
  }

  & .pfp {
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    background: #eaeaea;
  }

  & .pfp:hover {
    transform: scale(1.1);
  }


  & h5 {
    opacity: 0.7;
  }
}

.anecdote {
  display: flex;
  flex-direction: column;
  align-items: center;

  font-size: 1.2em;
  justify-content: center;
  max-width: 60rem;
  max-width: min(50rem, 80vw);

  opacity: 0.7;
  padding-left: 1.5em;

  & > p:first-child:before{
    content: "“";
    line-height: 0;
    font-size: 1.5em;
    opacity: 0.7;
    margin-right: 0.2em;
    margin-top: 0.1em;
  }

  & > p:last-child:after{ 
    content: "”";
    line-height: 0;
    font-size: 1.5em;
    opacity: 0.7;
    margin-left: 0.2em;
    margin-bottom: 0.1em;
  }

}

.related-work {
  li {
    margin-bottom: 0.75em;
  }

  a {
    color: #6666aa;
    font-weight: 600;
  }
}
 
