* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: "Numans", sans-serif;
  min-height: 100vh;
  padding: 30px 15px;
}

.container {
  width: 100%;
  max-width: 1400px;
  padding: 30px;
  background-color: #fcd3a7;
  border-radius: 20px;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  position: relative;
  overflow: hidden;
  flex: 1 1 500px;
  max-width: 680px;
  height: 500px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

.card-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.5);
  display: block;
}

.card-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.card:hover .card-content {
  transform: translateX(0);
}

.card-content h2 {
  font-size: 20px;
  color: #620909;
  font-weight: 700;
}

.card-content h3 {
  font-size: 18px;
  color: #4e0202;
  font-weight: 600;
  margin-top: 4px;
}

.card-content p,
.card-content li {
  font-size: 18px;
  color: #4e0202;
  line-height: 1.7;
  font-weight: 600;
}

.card-content ul {
  list-style: none;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
}

.links {
  margin-top: auto;
  font-size: 18px;
  color: #0a6adf;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-weight: 600;
}

.links a {
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.links .demo {
  color: #02a647;
}

.links .github {
  color: #02a647;
}

@media (max-width: 600px) {
  .container {
    padding: 15px;
    gap: 20px;
  }
  .card {
    flex-basis: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .card-img {
    height: 240px;
  }
  .card-content {
    position: static;
    transform: none;
    padding: 20px;
    background: none;
    overflow: visible;
  }
}
