@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;

    
}


h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.hero {
    height: 200px;
    background: url('d:\HTML PROJECT\project2 MIDTERM EXAM\Images\Rally.jpg') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-overlay {
    background: rgb(110, 110, 110);
    width: 100%;
    text-align: center;
    padding: 15px 0;
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}

/* Content Layout */
.content-container {
    display: flex;
    padding: 50px;
    gap: 30px;
    justify-content: center;
}

.video-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.description {
    align-items: center;
    flex: 1;
    font-size: 2rem ;
    line-height: 1.6;
}