
@import url("https://use.typekit.net/akg2ajp.css");

body {
  background-color: #ffffff;
  color: #16161d;
  margin: 0px;
  font-family: "corbel";
  font-weight: normal;
  font-size: 20px;
  text-decoration: none; 
  height: 100%; 
  overflow: hidden
}

  h1, h2, h3, h4, h5, h6 {
    cursor: default;
  }

  h3 {
  font-family: "corbel";
  font-weight: normal;
  font-size: 20px;
  }

.container {
  display: grid;
  grid-template-columns: 2fr 1fr 5fr 2fr;
  margin-top: 5vh;
  margin-bottom: 5vh;
  
  /* start animation */
  opacity: 0;
  animation-name: onOpen;
  animation-duration: 2.25s;
  animation-fill-mode: forwards;
}

    @keyframes onOpen {
      15% {
        opacity: 0;
      }
      
      100% {
        opacity: 1;
      }
    }

.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column-start: 2;
  margin-right: 12.5%;
}

button {
  background-color: transparent;
  cursor: crosshair;
  width: 95%;
  border: none;
  padding: 5px;
  outline: none;
  font-family: "corbel";
  font-weight: normal;
  font-size: 20px;
  text-align: left;
  text-decoration: none;
}

.gallery {
  grid-column-start: 3;
}



/* begining of project gallery styles */

.projectGallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 25px;
  overflow-y: scroll;
  height: 90vh;
  -mask-image: linear-gradient(to top, transparent, black),
  linear-gradient(to left, transparent 30px, black 30px);
  -mask-size: 100% 20000px;
  -mask-position: left bottom;
  -webkit-mask-image: linear-gradient(to top, transparent, black),
  linear-gradient(to left, transparent 30px, black 30px);
  -webkit-mask-size: 100% 20000px;
  -webkit-mask-position: left bottom;
  transition: 0.2s ease-in-out;
}

.projectGallery:hover {
  -webkit-mask-position: left top;
}

.project {
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
}

.project img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: crosshair;
  transition: opacity 0.3s ease;
}

.project:hover img{
  opacity: 0.55;
}

.project .title{
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
  pointer-events: none;
  transition: 0.2s ease-in-out;
}

.project:hover .title{
  opacity: 1;
}

@media(max-width:575px){
  .project-gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}