.projects{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center; */
    /* height: 100vh; */
    width: 100%;
    background-color: #f5f5f5;
    padding: 2rem;
    font-family: "Krub",sans-serif;
    color: rgba(255, 255, 255, 0.737);
    background-color: #0F100F;
    padding: 10vh;
}

.pro-head{
    height: 8vh;
    display: flex;
    align-items: flex-end;
    justify-self: flex-end;
}

.p-l{
    display: flex;
    /* justify-content: flex-start; */
    align-items: baseline;
    font-size: 5rem;
}

.p-l p{
    padding: 0 10px 0 10px;
    font-size: 2rem;
}


.top-projects{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    /* align-items: center; */
    /* margin-top: 5vh; */
    width: 90vw;
    /* height: 180vh; */
    /* background-color: #fff; */
}

.project-list-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 5vh; */
    width: 90vw;
    height: 20vw;
    /* background-color: red; */
}

.project-list-col{
    display: flex;
    height: 18vw;
    width: 33vw;
    /* background-color: #fff; */
    margin: 1rem;
}

/* projects showcase */
.pro-img{
    height: 18vw;
    width: 28vw;
    object-fit: cover;
    border-radius: 1rem;
}


figure {
    display: grid;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
  }
  figure > * {
    grid-area: 1/1;
    transition: .4s;
  }
  figure figcaption {
    display: grid;
    align-items: end;
    font-family: sans-serif;
    font-size: 2.3rem;
    font-weight: bold;
    color: #ffffff00;
    padding: .75rem;
    background: var(--c,#0009);
    clip-path: inset(0 var(--_i,100%) 0 0);
    /* -webkit-mask:
      linear-gradient(#000 0 0),
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    -webkit-mask-clip: text, padding-box; */
    margin: -1px;
  }
  figure:hover figcaption{
    --_i: 0%;
  }
  figure:hover img {
    transform: scale(1.2);
  }
  @supports not (-webkit-mask-clip: text) {
    figure figcaption {
     -webkit-mask: none;
     color: #fff;
    }
  }