/* ---- */
.filter__projects{
    cursor: pointer;
}

.filter__projects ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: flex-start;
}

.filter__projects a.active {
    font-weight: bold;
}

.filter__projects a {
    font-weight: normal;
}

.filter__projects li{
    color: #FF6F61;
    font-size: 16px;
    margin-right: 125px;
}

.project-list{
    /* add grid with two fr and gap of 20px */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

}

.project-list img{
    width: 100%;
    border-radius: 10px;
    height: 350px;
}
h2 {
    position: relative;
    cursor:pointer;
  }
  
  .arrow {
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px); /* Start position off to the left */
 
  }

  .project-list__item {
    overflow: hidden; /* Ensures the image stays within the frame */
    display: flex;
    flex-direction: column;
    gap: inherit;
}

.project-list__item img {
    transition: transform 0.3s ease; /* Smooth scaling transition */
}

.project-list__item:hover img {
    transform: scale(1.05); /* Slightly zoom the image within the frame */
}

.project-list__item__image{
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensures the image stays within the frame */
}
@media (max-width: 1024px) {
    .project-list{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

.filter__projects ul {
    display: flex;
    justify-content: space-between;
}
.filter__projects li {
    margin: 0;
}

.filter__projects{
    width: 100%;
}

.project-list{
    grid-template-columns: 1fr;
}
}