* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 2rem;
    padding:3rem 2rem;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, #a3d5ff 10%, #048989 90%);
  }
  
  .outerBox {
    background-color: #eaf4f6;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 60px 30px;
    border: 4px solid #0b223b;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 64, 128, 0.3);
    width: 90%;
    max-width: 600px;
  }
  
  .playground {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 120px);
    gap: 20px;
    justify-content: center;
    margin: 1rem auto;
  }
  
  h2, h3 {
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(36, 89, 162, 0.5);
  }
  
  h2 {
    font-size: 36px;
    color: #2d2d2d;
  }
  
  .heading {
    color: #ffffff;
    margin-top: 3rem;
    text-shadow: 0px 0px 10px #1d3648;
  }
  
  h3 {
    font-size: 20px;
    color: #1f1f1f;
  }
  
  .box {
    border: 3px solid #0d2b6b;
    border-radius: 20px;
    height: 100px;
    width: 100px;
    transition: transform 0.2s ease;
  }
  
  .box:hover {
    transform: scale(1.05);
  }
  
  button {
    background-color: #ffffff;
    color: #222;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #0d2b6b;
    transition: all 0.3s ease;
  }
  
  button:hover {
    background-color: #0d2b6b;
    color: #fff;
    box-shadow: 0 0 10px rgba(95, 179, 204, 0.6);
    transform: scale(1.05);
  }
  
  .memoryFlash {
    background-color: white;
    box-shadow: 0 0 10px 5px #d87c12;
  }
  
  .userFlash {
    background-color: black;
    box-shadow: 0 0 10px 5px black;
    height: 95px;
    width: 95px;
  }
  
  .gameOver {
    background-color: #c11a1a;
  }
  
  .scoreFlash {
    color: #0b0606;
    text-shadow: 0px 0px 10px rgb(113, 33, 33);
    font-size: 24px;
  }
  
  .button {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  a {
    text-decoration: none;
    background-color: #d2f1f1;
    color: black;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    font-size: 18px;
    border: 2px solid #0d2b6b;
    cursor: pointer;
    transition: 0.3s;
    margin-top:5rem;
  }
  
  a:hover {
    transform: scale(1.05);
    background-color: #0d2b6b;
    color: white;
  }
  
  .nav-link {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
  }
  
  
  .game-content {
    width: 80%;
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #0c637d;
    padding: 3rem 2rem;
    box-shadow: 0px 0px 10px 4px #0c637d;
    border-radius: 20px;
  }
  
  .game-content h2 {
    text-align: center;
    color: #f1f1f1;
  }
  
  .game-content p,
  .game-content li {
    font-size: 18px;
    color: #e6f2f3;
    text-align: justify;
    margin-bottom: 1rem;
  }
  
  .game-content li {
    list-style: none;
    margin-left: 1rem;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .game-content li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #e6f2f3;
  }
  
  .main-content {
    width: 90%;
    min-height:100vh;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-items: center;
    align-items: center;
    justify-content: center;
  }
  
  @media (max-width: 768px) {
    .outerBox,
    .game-content {
      width: 95%;
      padding: 2rem 1rem;
    }
  
    .playground {
      grid-template-columns: repeat(2, 100px);
      gap: 15px;
    }
  }
  
  @media (min-width: 1024px) {
    .game-content {
      width: 60%;
    }
  }
  