/* General Styles */
  main.calculator-container {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

.calculator-container {
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.calculator {
  width: 100%;
  max-width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#display {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
  text-align: right;
  padding: 10px;
  font-size: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

button {
  padding: 20px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #ddd;
}

button.equals {
  grid-column: span 4;
  background-color: #28a745;
  color: white;
}

button.equals:hover {
  background-color: #218838;
}

/* Responsive Design */
@media (max-width: 400px) {
  h1 {
    font-size: 1.5rem;
  }

  .calculator {
    padding: 10px;
  }

  button {
    padding: 15px;
    font-size: 1rem;
  }
}

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  text-align: left;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
}

.menu-toggle {
  display: none;
}

.hamburger {
  font-size: 24px;
  cursor: pointer;
  display: inline-block;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  top: 40px;
  right: 0;
  background: #333;
  border: 1px solid #444;
}

.menu li {
  padding: 10px 20px;
}

.menu a {
  color: #fff;
  text-decoration: none;
}

.menu-toggle:checked ~ .menu {
  display: block;
}

main {
  padding: 20px;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}
