/* CUSTOM VARIABLE */
/*TRANSITION*/
/*BREAKPOINT*/
.firstSection {
  background-color: #F7F7F7;
  padding: 72px 0;
}

@media screen and (min-width: 1600px) {
  .firstSection {
    padding: 100px 0;
  }
}

@media screen and (max-width: 1200px) {
  .firstSection {
    padding: 50px 0;
  }
}

@media screen and (max-width: 767px) {
  .firstSection {
    padding: 40px 0;
  }
}

.firstSection .inner {
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .firstSection .inner {
    margin-bottom: 30px;
  }
}

.firstSection .inner .dropdown {
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
  display: none;
  margin-bottom: 5%;
}

@media screen and (max-width: 767px) {
  .firstSection .inner .dropdown {
    display: block;
  }
}

.firstSection .inner .dropdown button {
  width: 100%;
  height: 40px;
  border: 1px solid #004821;
  border-radius: 5px;
  background-color: #004821;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 16px;
  position: relative;
}

.firstSection .inner .dropdown button i {
  position: absolute;
  right: 15px;
  top: 11px;
  font-size: 18px;
}

.firstSection .inner .dropdown button.active {
  border-radius: 5px 5px 0 0;
  border-bottom: 0.5px solid #FFF;
}

.firstSection .inner .dropdown .drop-mobile {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  background: #004821;
  z-index: 1;
  display: none;
  border-radius: 0 0 5px 5px;
}

.firstSection .inner .dropdown .drop-mobile li a {
  text-align: center;
  width: 100%;
  color: #FFF;
  padding: 7.5px 5px;
  display: block;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 0.5px solid #FFF;
}

.firstSection .inner .listCategory {
  margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
  .firstSection .inner .listCategory {
    display: none;
  }
}

.firstSection .inner .listCategory ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.6%;
}

.firstSection .inner .listCategory ul li {
  width: 23%;
  margin-bottom: 15px;
}

.firstSection .inner .listCategory ul li a {
  width: 100%;
  height: 37px;
  background-color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border: 1px solid;
  transition: all 0.3s ease;
}

@media screen and (min-width: 1600px) {
  .firstSection .inner .listCategory ul li a {
    height: 50px;
    font-size: 20px;
  }
}

.firstSection .inner .listCategory ul li a:hover {
  border: 1px solid #004821;
  background-color: #004821;
  color: #FFF;
}

.firstSection .inner .listCategory ul li a.active {
  border: 1px solid #004821;
  background-color: #004821;
  color: #FFF;
}

.firstSection .inner .listPortfolio {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
  .firstSection .inner .listPortfolio {
    justify-content: space-between;
  }
}

.firstSection .inner .listPortfolio li {
  width: 31.64%;
  margin-right: 2.54%;
  margin-bottom: 3.27%;
}

@media screen and (max-width: 767px) {
  .firstSection .inner .listPortfolio li {
    margin-right: 0;
    width: 47.5%;
    margin-bottom: 5%;
  }
}

.firstSection .inner .listPortfolio li:nth-child(3n) {
  margin-right: 0;
}

.firstSection .inner .listPortfolio li a {
  display: block;
  position: relative;
  transition: all 0.3s ease;
  top: 0;
}

.firstSection .inner .listPortfolio li a .img {
  width: 100%;
  height: 16.4vw;
  margin-bottom: 13px;
  overflow: hidden;
}

@media screen and (max-width: 1000px) {
  .firstSection .inner .listPortfolio li a .img {
    height: 22vw;
  }
}

@media screen and (max-width: 767px) {
  .firstSection .inner .listPortfolio li a .img {
    height: 33.5vw;
    margin-bottom: 5px;
  }
}

.firstSection .inner .listPortfolio li a .img div {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  transform: scale(1);
}

.firstSection .inner .listPortfolio li a h2 {
  font-weight: bold;
  transition: all 0.3s ease;
}

@media screen and (min-width: 1600px) {
  .firstSection .inner .listPortfolio li a h2 {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .firstSection .inner .listPortfolio li a h2 {
    font-size: 13px;
  }
}

.firstSection .inner .listPortfolio li a:hover {
  top: 5px;
}

.firstSection .inner .listPortfolio li a:hover .img div {
  transform: scale(1.05);
}

.firstSection .inner .listPortfolio li a:hover h2 {
  color: #004821;
}

.firstSection .inner .pagination .page-item {
  margin: 0 5px;
}

.firstSection .inner .pagination .page-item .page-link {
  border: 1px solid #004821;
  color: #004821;
}

.firstSection .inner .pagination .page-item .page-link:hover {
  border-color: #004821;
  background-color: #004821;
  color: #FFF;
}

.firstSection .inner .pagination .page-item:first-child .page-link, .firstSection .inner .pagination .page-item:last-child .page-link {
  border-radius: 0;
}

/*# sourceMappingURL=portfolioList.css.map */