@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

header {
  background-color: #111;
  padding: 1rem;
  display: flex;
  align-items: center;
}

header img {
  height: 50px;
  margin-right: 20px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ff6f00;
}

.container {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3 {
  color: #ff6f00;
  margin-bottom: 1rem;
}

.card {
  background-color: #111;
  border: 1px solid #ff6f00;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

footer {
  background-color: #111;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.game-item {
  width: 200px;
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.game-item:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.game-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}


.game-item:nth-child(1) {
  background-image: url('../images/Call_Of_Duty_2003.jpg');
}
.game-item:nth-child(2) {
  background-image: url('../images/call-of-duty-2.jpg');
}
.game-item:nth-child(3) {
  background-image: url('../images/call-of-duty-3.jpg');
}
.game-item:nth-child(4) {
  background-image: url('../images/Call_of_Duty_4_Modern_Warfare.jpg');
}
.game-item:nth-child(5) {
  background-image: url('../images/WAW_Cover_Art.jpg');
}
.game-item:nth-child(6) {
  background-image: url('../images/premier-mw2.png');
}
.game-item:nth-child(7) {
  background-image: url('../images/CoD_Black_Ops-1.png');
}
.game-item:nth-child(8) {
  background-image: url('../images/premier-mw3.png');
}
.game-item:nth-child(9) {
  background-image: url('../images/Call_of_Duty_Black_Ops_II.png');
}
.game-item:nth-child(10) {
  background-image: url('../images/Call_of_duty_ghosts.jpg');
}
.game-item:nth-child(11) {
  background-image: url('../images/call-of-duty-advanced-warfare.jpg');
}
.game-item:nth-child(12) {
  background-image: url('../images/Black_Ops_3.jpg');
}
.game-item:nth-child(13) {
  background-image: url('../images/call-of-duty-infinite-warfare.jpg');
}
.game-item:nth-child(14) {
  background-image: url('../images/cod-ww2.jpg');
}
.game-item:nth-child(15) {
  background-image: url('../images/Call_of_Duty_Black_Ops_4.jpg');
}
.game-item:nth-child(16) {
  background-image: url('../images/Call_of_Duty_Modern_Warfare.jpg');
}
.game-item:nth-child(17) {
  background-image: url('../images/warzone.jpg');
}
.game-item:nth-child(18) {
  background-image: url('../images/cold-war.avif');
}
.game-item:nth-child(19) {
  background-image: url('../images/vanguard.jpeg');
}
.game-item:nth-child(20) {
  background-image: url('../images/Call_of_Duty_Modern_Warfare_II_remastered.jpg');
}
.game-item:nth-child(21) {
  background-image: url('../images/warzone-2.jpg');
}
.game-item:nth-child(22) {
  background-image: url('../images/cod-mw3.jpeg');
}
.game-item:nth-child(23) {
  background-image: url('../images/bo6.png');
}

.responsive-image {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 5px;
  }

  .warzone-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 5px; 
  }