.mobile-menu>ul>li:nth-child(2) {
  border-radius: 50%;
  margin-top: -30px;
  box-shadow: 0 10px 2px black;
  border: 2px dotted black;
  z-index: 9999;
  background-color: var(--accent);
  transition: all .2s ease-in-out;
}

.mobile-menu>ul>li:nth-child(2):hover {
  border-radius: 0;
  margin-top: 0;
}

.mobile-menu>ul>li:nth-child(2) a {
  color: var(--white);
}


.portfolio-section {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;

}

.portfolio-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #969696;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.853);
  transition: transform 0.3s ease;
  height: 250px;
  background-color: var(--background-tertiary);

}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .content {
  margin-top: 5px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 210px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay p {
  font-size: 1.2rem;
  color: #f8f9fa;
}

@media (max-width: 600px) {
  .portfolio-overlay h3 {
    font-size: 1rem;
  }
}