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

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    flex-direction: column;
}

.container {
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    color: #555;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.card {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .caption {
  position: absolute;
  bottom: 10px;
  width: 100%;
  color: #000;
  font-size: 1rem;
  text-align: center;
  text-shadow:
    0 0 5px #fff,
    0 0 10px #fff,
    0 0 15px #fff;
  pointer-events: none;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

footer {
    margin-top: 30px;
    font-size: 1rem;
    color: #777;
}

footer p {
    text-align: center;
}
