*{
  margin: 0;
}

html{
  font-family: "Archivo", sans-serif;
  font-size:14px;
  background-color: #eadbf0;
  overflow-x:hidden; 

}

a:visited{
  color:blue;
}

/* bio and project names */
h2{
  font-size: 1.5rem;
}

.line{
  border-bottom: 2px solid black;
  margin: 0 2rem 0 2rem;
}

.gridparents{
  display:grid;
  grid-template-columns: 0.5fr 0.8fr 1fr 1fr 0.8fr;
  position:relative;
  margin: 0rem 0 2rem 0;
}

.gridparent{
  display:grid;
  grid-template-columns: 0.5fr 0.8fr 1fr 1fr 0.8fr;
  position:relative;
  margin: 0rem 0 4rem 0;
}

.col2{
  grid-column: 2 / span 1;
}

.projinfo{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border-bottom: 2px solid black;
  margin-right: 2rem;
  padding-bottom:2rem;
  z-index:3;
  height:100%;
}

.col3{
  grid-column: 3/ span 2;
}

.gallery{
  width:100vw;
  height:100%;
  display:flex;
  overflow-x:scroll;
  position:absolute;
  z-index:0;
/*   margin: 2rem 0 2rem 0; */
}

.gallery img{
  height:100%;
/*   padding-right: 1rem; */
}

.firstpic {
  margin-left: 32vw;
}

.lastpic {
  margin-right: 20vw;
}

.blur{
  background-color: rgb(234 219 240 / 50%);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 2px rgb(234 219 240 / 90%);
  z-index:2;   
  height:301vh;
  width:100%;
  padding-bottom:10vw;
}

.leftblur{
  position:absolute;
  grid-column:1 / span 2;
}

.rightblur{
  position:absolute;
  grid-column:5; 
}

.lightbox{
/*   animated the opacity here :P */
  transition: opacity .5s ease;
  top:0;
  left:0;
  z-index:1000;
  position:fixed;
  margin:0;
  padding:0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  overflow-x: scroll;
  pointer-events: none;
}

/* this is where you mess w the sizing of lightbox images */
.lightbox img{
  width: auto;
  height: 80%;  
}

.active{
  opacity: 100;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

#links{
  align-self: flex-end;
  white-space: pre-line;
  line-height: 0.6;
}

#bio{
margin-top:2rem; 
}

/* diff image ratios */
.square{
  height: 28rem;
}

.wide{
  height:25rem;
}

.tall{
  height:35rem;
}

@media only screen and (max-width: 926px) {
  html{
    font-size:12px;
  }
}

@media only screen and (max-width: 768px) {
  html{
    font-size:12px;
  }
  
  h2{
    margin-bottom:2rem;
  }
  
  span{
    padding:0;
  }
  
  .blur{
    display:none;
  }
  
  .gridparents{
    display:flex;
    flex-direction: column-reverse;
    margin:2rem 2rem 0 2rem;
  }
  
  #links{
    display: flex;
    margin-bottom:2rem;
  }
  
  #bio{
    margin:0;
  }
  
  .gridparent{
    display:flex;
    flex-direction:column-reverse;
    margin-bottom: 2rem;
  }
  
  .projinfo{
    display:block;
    margin: 0 30rem 0 2rem;
  }
  
  .gallery{
    position:relative;
  }

  img{
    margin-bottom:2rem;
  }
  
  .square, .wide, .tall {height:auto;}
  .square img{width:88vw;height:auto;}
  .wide img{height:50vh;height:auto;}
  .tall img{width:88vw;height:auto;}
  
  .firstpic{margin-left:2rem;}
  .lastpic{margin-right:2rem;} 
}

@media only screen and (max-width: 580px) {
  .projinfo{
    margin: 0 2rem 0 2rem;
  }
}