@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0px;
    padding: 0px;
    border: 0px;
    font-family: 'Poppins', sans-serif;
    background-color: #000000; /* Black background like the image */
    color: rgb(8, 8, 8);
}

.navbar {
  display: flex;
  justify-content: space-between; /* This creates the gap */
  align-items: center;           /* Centers items vertically */
  padding: 10px 20px;
  background-color: #09ff00;
}


.logo {
    font-size: 2.1rem;
    font-weight: 1000;
}

.nav-links {
  display: flex;                 /* Makes the list horizontal */
  list-style: none;
  gap: 20px;                     /* Space between Home and About */
}

.nav-links a {
    font-size: 1;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-links :hover,
.nav-links a.active {
    transform: scale(1.1);
    transition: smooth;
}

.navbar a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.ritem {
    width: 350px;
    height: 400px;
    cursor: pointer;

    
}

.words{
  justify-content: center;
  align-items: center;

}

h1 {
    text-align: center;
    color: #04f504;
    font-size: 3rem;
    margin-bottom: 30px;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Space between cards */
}

/* Individual Cards */
.card {
    width: 350px; /* Adjust based on preference */
    background-color: #000000;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #04f504;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05); /* Slight pop out effect on hover */
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Keeps images from looking stretched */
}

.card-footer {
    background-color: #04f504; /* Red footer on the cards */
    padding: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}