.portfolio {
    background-color: #f8f8f8;
    padding: 50px 0;
  }
  
  .portfolio h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
  }
  
  .portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .portfolio-item {
    position: relative;
    width: 300px;
    height: 200px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  }
  
  .portfolio-item img {
    width: 100%; /* change this value to make the image bigger */
    height: 200px;
    transition: transform 0.3s ease-out;
  }
  
  
  .portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }

  .portfolio-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .portfolio-item:hover img {
    transform: scale(1.5);
  }
  
  .portfolio-item:hover .overlay {
    opacity: 1;
  }
  