.works {
  background-color: var(--background);
}
@media (min-width: 1024px) {
  .works > section {
    padding: 3.75em;
  }
}
.works .content {
  margin: 6.5em 1em 1em;
  overflow: hidden;
  min-height: 0;
  background-image: none;
  gap: 0;
  gap: 3em;
  text-align: center;
}
.works .content,
.works .content header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.works .content header {
  padding: 0 1em;
  width: 100%;
  gap: 2em;
}
.works .content header .name {
  color: var(--primary);
}
.works .content header .description {
  white-space: wrap;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}
.works .content .cards {
  display: flex;
  flex-direction: column-reverse;
  gap: clamp(1em, 3vw, 2em);
  justify-content: center;
  align-items: center;
  place-content: center;
}
.works .content .cards .column {
  display: flex;
  flex-direction: column;
  gap: clamp(1em, 3vw, 2em);
}
.works .content .cards .wrapper {
  width: 100%;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25em;
}
.works .content .cards .image {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 1.25em;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: 0.3s;
}
.works .content .cards .image img,
.works .content .cards .image source {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.works .content .cards .image:hover {
  box-shadow: var(--shadow-lg);
  transform: translate(-1%, -1%);
}
.works .content .cards .image.unavailable {
  cursor: not-allowed;
}
.works .content .cards .image.unavailable:before {
  position: absolute;
  content: "";
  width: 200%;
  height: 0.6em;
  z-index: 1;
  top: 0;
  left: 0;
  transition: 0.3s;
}
.works .content .cards .image.unavailable:hover:before {
  background: var(--warning-gradient);
  animation: 30s linear infinite loop;
}
.works .content .cards .wrapper .group {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.works .content .cards .wrapper .group .title {
  font-family: Inconsolata, Inter, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
}
.works .content .cards .wrapper .group .status {
  font-size: 1.2rem;
  color: var(--gray-500);
}
.status-live {
  color: var(--green-500);
  font-size: 1.2rem;
}
@media (min-width: 728px) {
  .works .content header {
    max-width: 44em;
  }
  .works .content .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .works .content .cards .wrapper,
  .works .content .cards .wrapper .group {
    max-width: 26em;
  }
  .works .content .cards .image {
    max-height: 28em;
    max-width: 26em;
  }
  .works .content .cards .column:nth-child(2n) {
    margin-top: 1em;
  }
}
.works .content .cards .image .top {
  position: absolute;
  left: 1em;
  top: 1em;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.works .content .cards .image .top .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6em;
}
.works .content .cards .image .top .logo .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5em;
  width: 2.5em;
  padding: 0.5em;
  border-radius: 0.6em;
  box-shadow: var(--shadow-md);
  background-color: var(--gray-50);
}
.works .content .cards .image .top .logo .name {
  font-weight: 500;
}
.works .work-content {
  margin: 6.5em 1em 1em;
  overflow: hidden;
  min-height: 0;
  background-image: none;
  gap: 0;
  gap: 3em;
  text-align: center;
}
.works .work-content,
.works .work-content header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.works .work-content header {
  padding: 0 1em;
  width: 100%;
  gap: 2em;
  max-width: 40em;
}
.works .work-content header .name {
  color: var(--primary);
}
.works .work-content header .description {
  white-space: wrap;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}
.works .work-content .details {
  max-width: 40em;
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
}
.works .work-content .details .group {
  flex: 0 0 33%;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  justify-content: start;
  text-align: left;
}
.works .work-content .details .group .name {
  font-weight: 300;
  color: var(--gray-500);
}
.works .work-content .details .group .value {
  color: var(--gray-700);
}
.works .work-content .details .group .icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.4em;
}
.works .work-content .details .group .icons a {
  display: flex;
  flex-wrap: wrap;
}
.works .work-content .details .icons img {
  border: none;
  outline: none;
  border-radius: 100%;
}
.works .work-content .image {
  box-shadow: var(--shadow-lg);
  border-radius: 0.6em;
}
.works .project-description {
  position: relative;
  display: flex;
  justify-content: center;
}
.works .project-description .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.works .project-description .nav-items {
  position: sticky;
  top: 0.4em;
  left: 0.4em;
  display: none;
  flex-direction: column;
  gap: 1em;
  text-align: left;
}
.works .project-description .group {
  max-width: 42em;
  padding: 2em 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  text-align: start;
}
.works .project-description .group .description {
  line-height: 2em;
}
