/* Hide all tab content by default */
.tab-pane {
  display: none;
  padding: 1rem;
  border-top: 3px solid #939DFC;
  width: 100%;
}

/* Show the active tab content */
.tab-pane.active {
  display: block;
}

/* Style the tab buttons */
.tab-button {
  background-color: #939DFC;
  color: #262C5B;
  border: none;
  cursor: pointer;
  padding: 1rem 1.6rem;
  transition: 0.3s;
  margin: 0;
  font-family: 'Montserrat', arial;
    font-size: 18px;
    font-weight: 600;
}

.tab-menu {
  display: flex;
}

.tab-content {
  display: flex;
  margin-bottom: 2rem;
}

.tab-content div h4 {
 margin-top: 1rem;
}

.tab-button:first-child {
  border-radius: 24px 0  0 0;
  /* margin-right: -5px; */
}

.tab-button:last-child {
  border-radius: 0 24px 0 0;
}

/* Style the active/current tab button */
.tab-button.active {
  background-color: #262C5B;
  color: #f5f5f5;
}

.proj-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-rows: minmax(100px, auto);
  margin-top: 1rem;
  margin-bottom: 4rem;
}

#tab2 a img {
 box-shadow: 0px 0px 8px 0px rgba(38, 44, 91, 0.3);
 transition: 0.3s;
}

#tab1 h4 {
  margin-bottom: 2rem;
}

h5 {
  font-size: 1.2rem;
  font-weight: 600;
}

.tab-pane h5 {
  margin-top: 2rem;
}

 @media only screen and (max-width: 850px) {
    .proj-gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }

   @media only screen and (max-width: 500px) {
    .proj-gallery {
      grid-template-columns: repeat(1, 1fr);
    }
  }