body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f9;
  }
  
  .container {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  input[type="number"] {
    padding: 10px;
    font-size: 18px;
    width: 100px;
    margin-right: 10px;
  }
  
  button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #0056b3;
  }
  
  .result {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
  }
  
  .dice-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .dice-container img {
    width: 50px;
    height: 50px;
    margin: 5px;
  }
  
  /* Styling for Dice Buttons */
  .dice-buttons {
    margin-top: 20px;
  }
  
  .dice-buttons button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .dice-buttons button:hover {
    background-color: #218838;
  }
  
  .result.flash {
    animation: flash 0.5s alternate infinite;
  }
  
  @keyframes flash {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {
    .dice-container img {
      width: 40px;
      height: 40px;
    }
  }
  