/* Main calculator container */
#calculator_container{
    display: flex;  /* Align elements vertically */
    flex-direction: column;
    width: fit-content;
    padding: 20px;
    align-items: center;
    border-radius: 10px;
    margin: 10px auto;
    background-color: hsl(0, 0%, 15%);
}

/* Display area for numbers */
#display_area{
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
    background-color: white;
    height: 70px;
    width: 100%;
    margin-bottom: 15px;
    padding: 5px;
    border: none;
}

/* Button rows */
.calculator_row{
    margin: 5px auto;
}

/* Individual buttons */
.calculator_row button{
    width: 60px;
    height: 60px;
    font-size: 25px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    margin: 5px;
    color: white;
    background-color: hsl(0, 0%, 30%);
}

/* Hover effect for buttons */
.calculator_row button:hover{
    background-color: hsl(0, 0%, 45%);
}

/* Styling for operator buttons */
.calculator_row button.operator {
    background-color: #f39c12;
    color: white;
    font-weight: bold;
}

/* Hover effect for operator buttons */
.calculator_row button.operator:hover {
    background-color: #e67e22;
}
/* Responsive for tablets */
@media (max-width: 600px) {
  .calculator_row button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  #display_area {
    font-size: 22px;
    height: 60px;
  }
}

/* Responsive for mobiles */
@media (max-width: 400px) {
  .calculator_row button {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  #display_area {
    font-size: 20px;
    height: 55px;
  }
}