#Portfolio {
  padding-top: 80px;
  cursor: url("../images/icons/cursor.svg"), auto !important;
}

.portfolio_content {
  width: 1140px;
  margin: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.portfolio_content .small_title {
  color: blueviolet;
  font-weight: bold;
  text-align: center;
}

.portfolio_content .title {
  padding-top: 25px;
  padding-bottom: 80px;
  font-size: 30px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
}

.work_gallery_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 40px;
}
.work_gallery_buttons > button {
  padding: 8px 16px;
  border-radius: 5px;
}

.work_gallery_buttons > button:focus {
  cursor: default;
}

.work_gallery_buttons > button.active,
.work_gallery_buttons > button:hover {
  background-color: blueviolet;
  color: #fff;
}

.work_gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 0;
}
.gallery_box {
  width: 33.33%;
  transition: all 0.5s;
}

.gallery_box > div {
  padding: 0 20px;
  text-align: center;
}

.gallery_box > div h5 {
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: bold;
}

.gallery_box div small {
  color: #555;
}

.gallery_box div img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  object-position: center center;
}

/* Portfolio Bottom */
.portfolio_bottom {
  position: relative;
  width: 100%;
  height: fit-content;
  padding: 100px 0;
  background: radial-gradient(at top center, #263d81 0%, #000 100%);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 50px 0;
  color: #fff;
  justify-content: center;
  align-items: center;
}
.portfolio_bottom > h2 {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #6ab04c;
  padding: 0px 15px;
}
.portfolio_bottom > h3 {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0px 15px;
  font-size: 35px;
}
.portfolio_bottom button {
  position: relative;
  z-index: 2;
  text-align: center;
  width: fit-content;
  display: block;
  padding: 17px 40px;
  font-size: 16px;
  border-radius: 5px;
  background: #6ab04c;
  color: #fff;
}

.portfolio_bottom_overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  mix-blend-mode: overlay;
  background: url("../images/bg.svg");
  width: 100%;
  height: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  opacity: 0.7;
  transition: background 3s;
  z-index: 1;
}

@media (max-width: 1023px) {
  .gallery_box {
    width: 50%;
  }
  .title {
    font-size: 24px !important;
    line-height: 30px !important;
  }
}

@media (max-width: 640px) {
  .gallery_box {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .portfolio_content {
    width: 92%;
  }
}
