.work > h1 {
  margin-bottom: 30px;
}
.work_container {
  height: 500px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: start;
}
.work_card {
  width: 100px;
  border-radius: 20px;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  margin: 0 10px;
  display: flex;
  align-items: flex-end;
  transition: 0.6s cubic-bezier(0.28, -0.03, 0, 0.99);
  box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.8);
}
.work_card > .row {
  display: flex;
  flex-wrap: nowrap;
  padding: 10px 0;
  margin-left: 20px;
}
/* .work_card > .row > .work_card_icon {
  background: var(--text-color);
  color: var(--bg-color);
  border-radius: 50%;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
} */
.work_card > .row > .work_card_icon:hover {
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.7);
}
.work_card > .row > .work_card_icon:active,
.description h4 .live:active {
  opacity: 0.5;
}
.work_card > .row > .description {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 100px;
  width: 560px;
  opacity: 0;
  transform: translateY(30px);
  transition-delay: 0.3s;
  transition: all 0.3s ease;
}

.description p {
  color: var(--beige-color);
  font-size: 13px;
  padding-top: 5px;
  max-width: 500px;
}

.description h4 {
  text-transform: uppercase;
  color: var(--beige-color);
  font-size: 18px;
  font-weight: 700;
}
.description h4 .live {
  margin-left: 10px;
  background-color: var(--text-color);
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--bg-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}
.description h4 .live:hover {
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.7);
}
.work input {
  display: none;
}

.work input:checked + label {
  width: 600px;
}

.work input:checked + label .description {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.work_card[for="c1"] {
  background-image: url("../assets/projects/coffeeShop.png");
}
.work_card[for="c2"] {
  background-image: url("../assets/projects/vintage.png");
}
.work_card[for="c3"] {
  background-image: url("../assets/projects/adhan.png");
}
.work_card[for="c4"] {
  background-image: url("../assets/projects/portfolio.png");
}
@media (max-width: 1240px) {
  .description p {
    display: none;
  }
}
@media (max-width: 840px) {
  .description h4 {
    font-size: 14px;
    padding-left: 20px;
    font-weight: 500;
    min-width: 0px;
  }
}
@media (max-width: 650px) {
  .description h4 .title {
    display: none;
  }
}
@media (max-width: 768px) {
  .work_card > .row > .work_card_icon {
    display: none;
  }
}
