  
  /* Projects Section Styles */
  .projects {
    padding: 50px 0;
    text-align: center;
  }
  
  .projects h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
  }
  
  .projects hr {
    width: 50px;
    height: 2px;
    background-color: gold;
    border: none;
    margin: 20px auto;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
  }
  
  .project-card {
    background-color: #111;
    border: 1px solid gold;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5); /* Gold shadow */
  }
  
  .project-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .project-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .project-card p {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
  }
  
  .project-links .btn {
    background-color: gold;
    color: black;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin: 0 5px;
    transition: background-color 0.3s ease;
  }
  
  .project-links .btn:hover {
    background-color: #d4af37; /* Slightly darker gold */
  }
  
  section h1 {
    color: gold;
  }

  section #middle-text {
    padding-top: 50px;
    padding-bottom: 50px;
    color: white;
  }

  section a {
    text-decoration: none;
    transition: color 0.3s ease;
  }

  section a:hover {
    color: grey;
  }

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top of everything */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity - The dimming effect */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 800px;
  border-radius: 10px;
  position: relative;
}

/* The Close Button */
.close-btn {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 101; /* Ensure it's on top of the modal content */
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.game-iframe {
  width: 100%;
  height: 600px; /* Adjust as needed */
  border: 1px solid #ccc;
  border-radius: 8px;
}

#gameContainer h3, p {
  color: black;
}
