@charset "UTF-8";
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #222831;
  margin: 0;
  color: white;
  overflow-x: hidden;
}

ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
  gap: 2rem;
  list-style: none;
  padding: 1rem;
  margin: 2rem auto;
  justify-content: center;
  width: 100%;
  max-width: 1300px;
}
@media (max-width: 768px) {
  ul {
    grid-template-columns: 1fr;
  }
}

li {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  display: grid;
  align-items: center;
  padding: 15px;
}

li:hover {
  transform: translateY(-10px);
}

img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

a {
  display: inline-block;
  margin-top: auto;
  text-decoration: none;
  font-weight: bold;
  color: black;
}

.pointer {
  cursor: pointer;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

i {
  font-size: 1.3rem;
}

.btn {
  background-color: #1a1a1a;
  color: white;
  padding: 1rem 1rem;
  text-decoration: none;
  border-radius: 15px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #000;
  transform: scale(1.05);
}

.wave-text {
  display: flex;
  justify-content: center;
  gap: 2px;
  font-size: 2rem;
}
.wave-text span {
  display: inline-block;
  color: #000;
  font-size: 2rem;
  font-weight: bold;
  animation: wave-bounce 1.5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .wave-text span {
    font-size: 1.4rem;
    animation: wave-bounce-mobile 1.5s ease-in-out infinite;
  }
}

.wave-text span:nth-child(1) {
  animation-delay: 0.07s;
}

.wave-text span:nth-child(2) {
  animation-delay: 0.14s;
}

.wave-text span:nth-child(3) {
  animation-delay: 0.21s;
}

.wave-text span:nth-child(4) {
  animation-delay: 0.28s;
}

.wave-text span:nth-child(5) {
  animation-delay: 0.35s;
}

.wave-text span:nth-child(6) {
  animation-delay: 0.42s;
}

.wave-text span:nth-child(7) {
  animation-delay: 0.49s;
}

.wave-text span:nth-child(8) {
  animation-delay: 0.56s;
}

.wave-text span:nth-child(9) {
  animation-delay: 0.63s;
}

.wave-text span:nth-child(10) {
  animation-delay: 0.7s;
}

.wave-text span:nth-child(11) {
  animation-delay: 0.77s;
}

.wave-text span:nth-child(12) {
  animation-delay: 0.84s;
}

.wave-text span:nth-child(13) {
  animation-delay: 0.91s;
}

.wave-text span:nth-child(14) {
  animation-delay: 0.98s;
}

.wave-text span:nth-child(15) {
  animation-delay: 1.05s;
}

.wave-text span:nth-child(16) {
  animation-delay: 1.12s;
}

.wave-text span:nth-child(17) {
  animation-delay: 1.19s;
}

.wave-text span:nth-child(18) {
  animation-delay: 1.26s;
}

.wave-text span:nth-child(19) {
  animation-delay: 1.33s;
}

.wave-text span:nth-child(20) {
  animation-delay: 1.4s;
}

.wave-text span:nth-child(21) {
  animation-delay: 1.47s;
}

.wave-text span:nth-child(22) {
  animation-delay: 1.54s;
}

.wave-text span:nth-child(23) {
  animation-delay: 1.61s;
}

.wave-text span:nth-child(24) {
  animation-delay: 1.68s;
}

.wave-text span:nth-child(25) {
  animation-delay: 1.75s;
}

.wave-text span:nth-child(26) {
  animation-delay: 1.82s;
}

.wave-text span:nth-child(27) {
  animation-delay: 1.89s;
}

.wave-text span:nth-child(28) {
  animation-delay: 1.96s;
}

.wave-text span:nth-child(29) {
  animation-delay: 2.03s;
}

.wave-text span:nth-child(30) {
  animation-delay: 2.1s;
}

@keyframes wave-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
    color: white;
  }
}
@keyframes wave-bounce-mobile {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
    color: white;
  }
}
.header_1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: white;
}

.project-card {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.img-disabled-wrapper {
  display: block; /* Zmień z inline-block na block */
  width: 100%; /* Wymuś pełną szerokość */
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.img-disabled-wrapper img {
  width: 100%; /* Obrazek musi wypełniać wrapper */
  display: block;
  height: 180px;
  object-fit: cover;
}

.img-disabled {
  display: block;
  filter: grayscale(100%) opacity(0.6);
  width: 100%;
}

.img-disabled-text {
  visibility: hidden;
  width: 120px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding-left: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}

.img-disabled-wrapper:hover .img-disabled-text {
  visibility: visible;
  opacity: 1;
}

.tech-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  width: 100%;
  padding: 10px 0;
}

li.project-card {
  max-width: 350px; /* Twoja wymarzona szerokość */
  width: 100%; /* Ale niech będzie elastyczna do tego limitu */
  margin: 0 auto; /* To usunie ten "margin-right" i wyśrodkuje kartę */
  color: white;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.code {
  color: white;
}

.back_home {
  width: 3rem;
  height: 3rem;
  border-radius: 0 0 50% 0;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 1rem;
  margin: 0;
  top: 0;
  left: 0;
  position: fixed;
}
