
.portfolio{
    font-family: 'Roboto', sans-serif;
    width: 100%;
    padding: 30px;
    background-color:white;
    
  }

.portfolio .section-head{
    max-width: 700px;
    margin: 0px auto 25px;
    text-align: center;
  }

.section-head h1{
    position: relative;
    font-size: 32px;
    margin: 10px 0px 30px;
    color: #fe5e00;
  }

.button-group {
  text-align: center;
  margin-bottom: 40px;
}

.button-group .button {
  margin: -20px;
  color: rgb(190, 185, 185); /* Changed text color */
  font-size: 12px; /* Changed font-size from font-style */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s;
  border: none;
  outline: none;
  background: none; /* Removed background */
}

.button-group .button.active {
  color: rgb(190, 185, 185);
}



.button-group .button.active::after {
  content: "";
  display: block;
  border-bottom: 2px solid #fe5e00; /* Added underline for active button */
  margin-top: 4px;  /*Adjusted to align with text */
}

div.gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the flex items horizontally */
  align-items: center; /* Align the flex items to start from the top */
}
@media(min-width: 1025px){
  div.gallery {
    margin-left:60px;
  }
}


div.gallery .item{
  display: flex;
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
  flex-wrap: wrap;
  /* Remove align-items from here */
}

.item img{
  flex-basis: calc(25% - 80px); /* 25% to create 4 columns with margins in between */
  max-width: 280px; /* Limit the width to the specified dimension */
  flex-grow: 1; /* Allow the image to grow to fill the space within the flex container */
  overflow: hidden;
  margin: 20px;
  border-radius: 5px;
  box-shadow: 0 3px 5px rgba(97, 97, 97, 0.2);
}
