::selection {
  background-color: yellow;
  color: black;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  
  background: radial-gradient(circle, rgba(17,17,17,1) 50%, rgba(0,0,0,1) 100%);
}

.wow-card {
  position: relative;
  width: 620px;
  height: 340px;
  border: 1px solid #fff;
  border-radius: 40px;
  background-color: #222;
  background-image: url("https://images.unsplash.com/photo-1755912551960-94053670e35e?q=80&w=1031&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: 100% auto;
  background-position: center;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.6), 0 0 2px #000;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.wow-card .overlay {
  z-index: 3;
  position: relative;
  width: 50%;
  height: 100%;
  padding: 16px 24px;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wow-card::after {
  content: " ";
  z-index: 1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black, black);
  mask-image: linear-gradient(to right, transparent, black, black);
  backdrop-filter: blur(24px);
  transition: all 0.4s ease-in-out;
}

.wow-card:hover {
  background-size: 120% auto;
  background-position: center;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.8), 0 0 2px #000;
}

.wow-card:hover::after {
  backdrop-filter: blur(32px);
  background: rgba(0,0,0,0.2);
}

.wow-card:hover {
  background-size: auto 120%;
  background-position: center;
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.8), 0 0 2px #000;
}

.wow-card:hover::after {
  bottom: 0%;
  backdrop-filter: blur(32px);
  background: rgba(0,0,0,0.2);
}

.anime {
  opacity: 0;
  animation: woila 4s ease-in-out forwards;
}

.anime-1 { animation-delay: 1s; }
.anime-2 { animation-delay: 1.5s; }
.anime-3 { animation-delay: 2s; }
.anime-4 { animation-delay: 2.5s; }

@keyframes woila {
  0% { display: none; opacity: 0; }
  1% { display: block; opacity: 0; }
  100% { display: block; opacity: 1; }
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  background-image: url("car.jpg");
  background-size: 100% auto;
  place-items: center;
  background-color: #f5f5f5;
}