*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  width: 100%;
  min-height: 100vh;
  background-color: #edebde;
}
:root {
  --border-radius-box: 10px;
  --gap-box: 15px;
  --big-gap-box: 10px;
}
.work-section {
}
.our-work-head {
  display: flex;
  place-content: center;
  background-color: #1a1a1a;
  height: 50vh;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.head-text-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.our-work-head h1 {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 120px;
}
.head-text-logo img {
  /* width: 115px; */
}
.ourwork-text-header {
  font-family: "GothamBold", sans-serif;
  font-weight: bold;
  font-size: 100px;
}
.text-header {
  font-family: "GothamBold", sans-serif;
  font-weight: bold;
  font-size: 100px;
}
.text-detail {
  font-family: "GothamBook", sans-serif;
  font-weight: bold;
  font-size: 20px;
}
.work-container {
  display: grid;
  grid-template-columns: repeat(4, 0.1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: var(--gap-box);
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}
.category-btn {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}
.work-btn {
  padding: 5px 20px;
}
.work-btn:nth-child(1) {
  border-right: 1px solid #1a1a1a;
}
.category-btn button,
.work-btn button {
  font-family: "GothamBook";
  background-color: transparent;
  font-weight: bold;
  outline: transparent;
  padding: 3px 30px;
  border-radius: 20px;
  text-transform: capitalize;
  transition: all 0.1s linear;
}
.category-btn button {
  border: 1px solid white;
  color: white;
}

.work-btn button {
  border: 1px solid #1a1a1a;
  color: #1a1a1a;
  font-size: 13px;
}
.work-btn button:hover {
  background-color: #1a1a1a;
  border: 1px solid transparent;
  outline: transparent;
  padding: 3px 30px;
  color: rgb(255, 255, 255);
}
.category-btn button:hover {
  background-color: white;
  border: 1px solid transparent;
  outline: transparent;
  padding: 3px 30px;
  color: rgb(0, 0, 0);
}
.work-item {
  width: 300px;
  height: 300px;
  background: lightgray;
  padding: 20px;
  border-radius: var(--border-radius-box);
  cursor: pointer;
  position: relative;
}
.work-item:hover {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 100%
  );
  transform: scale(1.1);
  transition: all 0.3s linear;
  box-shadow: -2px -1px 14px 3px rgba(83, 79, 79, 0.75);
  -webkit-box-shadow: -2px -1px 14px 3px rgba(83, 79, 79, 0.75);
  -moz-box-shadow: -2px -1px 14px 3px rgba(83, 79, 79, 0.75);
  z-index: 1;
}

.work-img {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  /* border-top: 1.2px solid #ffffff; */
  padding-top: 10px;
  width: 80%;
  transition: opacity 0.2s linear;
  opacity: 0;
  gap: 5px;
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: start;
}
.work-img span:last-child {
  font-size: 10px;
}
.work-item:hover .work-img {
  opacity: 1;
}
.work-img span {
  font-family: "GothamBook", sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  color: white;
}
#work-picture {
  width: 100%;
  height: 100%;
}
.swiper-container.mySwiperWork {
  /* width: 100%;
  padding-top: 50px;
  padding-bottom: 50px; */
}
.mySwiperWork {
  /* width: 50%;
  padding-top: 50px;
  padding-bottom: 50px; */
}
.swiper-container {
  width: 100%;
  /* max-width: 700px; */
  /* height: auto; */
  margin: auto;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
#work-picture h6 {
  font-size: 20px;
}
.popup-work {
  width: 100%;
  height: 100%;
}
.work-text {
  max-width: 100%;
  width: 700px;
  place-self: center;
}
.work-text p {
  font-size: 15px;
}
.workControlBtn.works {
  padding: 0 0;
}
.work-control-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.work-slide {
  width: 700px;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  /* background-color: #000; */
}

.work-video,
.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}
.work-btn button.active {
  background-color: #000;
  color: #fff;
}
