/* === Background Styling === */
body {
  background-image: url("https://nlj.gov.jm/wp-content/uploads/2017/08/rippled-flag.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: white;
}
  
  /* === Main Container === */
  section {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid black;
    border-radius: 15px;
    height: auto;
    width: 400px;
    margin: 5% auto;
    padding: 30px 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  }
  
  /* === Headings === */
  h1, h2 {
    text-align: center;
    color: #000;
    text-shadow: 1px 1px 2px #ffd700;
    margin-bottom: 10px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-top: 10px;
  }
  
  /* === Number Inputs === */
  #firstNumber, #secondNumber {
    width: 48%;
    font-size: 1.5rem;
    padding: 10px;
    margin: 10px 1% 20px 1%;
    border-radius: 10px;
    border: 2px solid black;
    background: linear-gradient(to bottom right, #006400, #ffcd00);
    color: #000;
    text-align: center;
  }
  
  input::placeholder {
    color: rgba(0, 0, 0, 0.6);
  }
  
  /* === Calculator Grid === */
  .calculator {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px auto;
    max-width: 100%;
  }
  
  /* === Buttons === */
  .calculator input {
    font-size: 1.2rem;
    padding: 15px;
    border: 2px solid black;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(to bottom, #228b22, #ffcd00);
    color: #000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    transition: transform 0.1s ease;
  }
  
  .calculator input:hover {
    transform: scale(1.05);
    background: linear-gradient(to bottom, #32cd32, #ffd700);
  }
  
  /* === Equal Button Special Style === */
  #equal {
    grid-column: span 4;
    background: linear-gradient(to right, #006400, #ffd700);
    font-weight: bold;
  }
  
  /* === Result Display === */
  .result {
    grid-column: span 4;
    font-size: 1.8rem;
    padding: 10px;
    margin-top: 15px;
    background-color: #f0f0f0;
    color: #000;
    border-radius: 8px;
    border: 2px solid black;
  }
  
  /* === Number Display Styling === */
  .numDisplay {
    border-bottom: 3px solid black;
    height: 50px;
    margin-bottom: 10px;
  }
  