section{
    padding: 2rem 5rem;
    font-family: var(--main-font-family);
}
#projects-header{
    color: var(--main-color);
    text-transform: uppercase;
}
#projects-nav{
    padding: .5rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
#projects-nav > h1{
    font-size: 3rem;
    font-weight: 900;
    width: 30%;
    text-transform: uppercase;
}

/* Basic Layout */
.filter-nav {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.nav-link {
    text-transform: uppercase;
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: white;
    transition: 0.3s;
    font-size: .85rem;
    font-weight: 800;
    color: rgb(10, 10, 10) !important;
}

.nav-link.active {
  background: var(--main-color);
  color: white !important;
  border-color: rgba(0, 0, 0, 0.2);
}

.items-container {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.item{
  width: 31.5%;
  text-transform: uppercase;
  position: relative;
}
.item-div{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  padding: 1.75rem;
  padding-bottom: 3rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
}
.item img{
  max-width: 100%;
}
p.item-title{
  font-size: .75rem;
  color: var(--main-color);
  font-weight: 500;
  margin: 0;
  padding: 0;
}
p.item-name{
  font-size: 1.25rem;
  color: white;
  font-weight: 900;
  margin: 0;
  padding: 0;
}
/* The Magic Class */
.hide {
  display: none;
}
div.project-start a{
    display: block;
    width: 31.5%;
    margin: auto;
    margin-bottom: 5rem;
    text-align: center;
    padding-block: 1rem;
    color: rgb(10, 10, 10);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    border: 2px solid rgb(10, 10, 10);
}
div.project-start a:hover{
    background: rgb(10, 10, 10);
    color: white;
    transition: 0.3s;
}
@media screen and (max-width: 768px) {
  section{
    padding: 2rem 1rem;
  }
  #projects-nav{
    display: block;
    padding: .5rem 1rem;
  }
  .filter-nav{
    flex-wrap: wrap;
    margin-top: 2rem;
  }
  .items-container {
    display: block;
  }
  .item{
    width: 100%;
    margin-bottom: 1rem;
  }
  div.project-start a{
    width: 90%;
  }
}