.container {
  width: 95%;
  margin: auto;
}

.project-cards-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 160px 20px 160px;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 40px;
}

.description {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.description span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-accent-blue);
  background: rgba(34,197,94,0.1);
  font-size: 15px;
  font-weight: 400;
  align-self: flex-start;
}

.description h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 34px;
  font-weight: 600;
  font-family: var(--evidence-font);
}

.description p {
  margin: 7px 0;
  color: var(--text-disabled);
  font-size: 16px;
}

.description-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.description-bottom ul {
  margin: 0;
  list-style-type: circle;
  padding-left: 25px;
}

.description-bottom li {
  color: var(--text-accent-blue);
  font-size: 15px;
  font-weight: 100;
}

.description-bottom button {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 16px;
  transition: 0.3s ease;
}

.description-bottom button i {
  margin-left: 10px;
}

.description-bottom button:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
}

.image {
  flex: 1.5;
  display: flex;
  align-items: center;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-dark);
}

.project-card-content {
  display: none;
  padding: 40px;
  columns: 3;
  column-gap: 40px;
}

.project-card-content.open {
  display: block;
}

.project-item {
  display: flex;
  flex-direction: column;
  break-inside: avoid;
  margin-bottom: 40px;
}

.project-item-mobile {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.project-item span {
  margin-bottom: 2px;
  margin-left: 5px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 100;
}

.project-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,120,255,.15);
}

.project-item.mobile img {
  max-width: 180px;
  width: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.project-item video{
  width: 100%;
  display: block;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,120,255,.15);
}

/* laptop 1600–1919px */
@media (min-width: 1600px) and (max-width: 1919px) {
  .project-cards-container {
    padding: 60px 60px 20px 60px;
  }

  .description span {
    font-size: 14px;
  }

  .description h3 {
    font-size: 32px;
  }

  .description p {
    margin: 5px 0;
    font-size: 15px;
  }

  .description-bottom {
    margin-top: 25px;
  }

  .description-bottom ul {
    padding-left: 20px;
  }

  .description-bottom li {
    font-size: 14px;
  }

  .description-bottom button {
    font-size: 15px;
  }

  .project-card-content {
    padding: 20px;
  }

  .project-item.mobile img {
    max-width: 160px;
  }
}

/* laptop 1366–1599px */
@media (min-width: 1366px) and (max-width: 1599px) {
  .project-cards-container {
    padding: 50px 20px 20px 20px;
  }

  .project-card-header {
    gap: 30px;
  }

  .description span {
    font-size: 13px;
  }

  .description h3 {
    font-size: 30px;
  }

  .description p {
    margin: 5px 0;
    font-size: 14px;
  }

  .description-bottom {
    margin-top: 20px;
  }

  .description-bottom ul {
    padding-left: 20px;
  }

  .description-bottom li {
    font-size: 13px;
  }

  .description-bottom button {
    font-size: 14px;
  }

  .image {
    flex: 1.2;
  }

  .project-card-content {
    padding: 20px;
    column-gap: 30px;
  }

  .project-item {
    margin-bottom: 30px;
  }

  .project-item.mobile img {
    max-width: 140px;
  }
}

/* laptop 1280–1365px */
@media (min-width: 1280px) and (max-width: 1365px) {
  .project-cards-container {
    padding: 50px 10px 20px 10px;
  }

  .project-card-header {
    gap: 30px;
  }

  .description span {
    font-size: 13px;
  }

  .description h3 {
    font-size: 30px;
  }

  .description p {
    margin: 5px 0;
    font-size: 14px;
  }

  .description-bottom {
    margin-top: 20px;
  }

  .description-bottom ul {
    padding-left: 20px;
  }

  .description-bottom li {
    font-size: 13px;
  }

  .description-bottom button {
    font-size: 14px;
  }

  .image {
    flex: 1.2;
  }

  .project-card-content {
    padding: 20px;
    column-gap: 30px;
  }

  .project-item {
    margin-bottom: 30px;
  }

  .project-item.mobile img {
    max-width: 140px;
  }
}

/* tablet */
@media (min-width: 768px) and (max-width: 1279px) and (orientation: portrait) {
  .project-cards-container {
    gap: 30px;
    padding: 40px 0 20px 0;
  }

  .project-card-header {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .description span {
    font-size: 14px;
  }

  .description h3 {
    font-size: 30px;
  }

  .description p {
    margin: 5px 0;
    font-size: 15px;
  }

  .description-bottom {
    margin-top: 20px;
  }

  .description-bottom ul {
    padding-left: 15px;
  }

  .description-bottom li {
    font-size: 14px;
  }

  .description-bottom button {
    font-size: 15px;
  }

  .image {
    flex: 1;
  }

  .project-card-content {
    padding: 10px;
    columns: 2;
    column-gap: 20px;
  }

  .project-item {
    margin-bottom: 20px;
  }

  .project-item-mobile {
    gap: 15px;
  }

  .project-item span {
    font-size: 12px;
  }

  .project-item.mobile img {
    max-width: 120px;
  }
}
@media (min-width: 768px) and (max-width: 1279px) and (orientation: landscape) {
  .project-cards-container {
    padding: 50px 0 20px 0;
    gap: 30px;
  }

  .project-card-header {
    gap: 30px;
  }

  .description span {
    font-size: 12px;
  }

  .description h3 {
    font-size: 28px;
  }

  .description p {
    margin: 5px 0;
    font-size: 13px;
  }

  .description-bottom {
    margin-top: 20px;
  }

  .description-bottom ul {
    padding-left: 15px;
  }

  .description-bottom li {
    font-size: 12px;
  }

  .description-bottom button {
    font-size: 13px;
  }

  .image {
    flex: 1;
  }

  .project-card-content {
    padding: 20px;
    column-gap: 30px;
  }

  .project-item {
    margin-bottom: 30px;
  }

  .project-item span {
    font-size: 12px;
  }

  .project-item.mobile img {
    max-width: 120px;
  }
}

/* smartphone */
@media (max-width: 767px) and (orientation: portrait) {
  .project-cards-container {
    gap: 30px;
    padding: 20px 0 20px 0;
  }

  .project-card-header {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .description span {
    padding: 4px 8px;
    font-size: 13px;
  }

  .description h3 {
    font-size: 20px;
  }

  .description p {
    margin: 5px 0;
    font-size: 14px;
  }

  .description-bottom {
    margin-top: 15px;
  }

  .description-bottom ul {
    padding-left: 10px;
  }

  .description-bottom li {
    font-size: 12px;
  }

  .description-bottom button {
    font-size: 14px;
  }

  .image {
    flex: 1;
  }

  .project-card-content {
    padding: 0;
    columns: 1;
    column-gap: 0;
  }

  .project-item {
    margin-bottom: 20px;
  }

  .project-item-mobile {
    gap: 10px;
  }

  .project-item span {
    font-size: 12px;
  }

  .project-item.mobile img {
    max-width: 120px;
  }
}
@media (max-width: 767px) and (orientation: landscape) {
  .project-cards-container {
    gap: 30px;
    padding: 20px 0 20px 0;
  }

  .project-card-header {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .description span {
    padding: 4px 8px;
    font-size: 13px;
  }

  .description h3 {
    font-size: 20px;
  }

  .description p {
    margin: 5px 0;
    font-size: 14px;
  }

  .description-bottom {
    margin-top: 15px;
  }

  .description-bottom ul {
    padding-left: 10px;
  }

  .description-bottom li {
    font-size: 12px;
  }

  .description-bottom button {
    font-size: 14px;
  }

  .image {
    flex: 1;
  }

  .project-card-content {
    padding: 0;
    columns: 1;
    column-gap: 0;
  }

  .project-item {
    margin-bottom: 20px;
  }

  .project-item-mobile {
    gap: 10px;
  }

  .project-item span {
    font-size: 12px;
  }

  .project-item.mobile img {
    max-width: 160px;
  }
}
@media (min-width: 768px) and (max-width: 915px) and (max-height: 500px) and (orientation: landscape) {
  .project-cards-container {
    gap: 30px;
    padding: 20px 0 20px 0;
  }

  .project-card-header {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .description span {
    padding: 4px 8px;
    font-size: 13px;
  }

  .description h3 {
    font-size: 20px;
  }

  .description p {
    margin: 5px 0;
    font-size: 14px;
  }

  .description-bottom {
    margin-top: 15px;
  }

  .description-bottom ul {
    padding-left: 10px;
  }

  .description-bottom li {
    font-size: 12px;
  }

  .description-bottom button {
    font-size: 14px;
  }

  .image {
    flex: 1;
  }

  .project-card-content {
    padding: 0;
    columns: 1;
    column-gap: 0;
  }

  .project-item {
    margin-bottom: 20px;
  }

  .project-item-mobile {
    gap: 20px;
  }

  .project-item span {
    font-size: 12px;
  }

  .project-item.mobile img {
    max-width: 200px;
  }
}