* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: black;
  color: white;
}
.parent {
  width: 100%;
  font-size: 20px;
}
.calculator {
  width: 50%;
  margin: 30px auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  border: 2px solid blue;
  padding: 1rem;
}
.calculator p {
  padding: 10px;
}
.calculator-sec {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  justify-content: space-evenly;
}
.input-sec {
  width: 40%;
  display: flex;
  flex-direction: column;
}
input {
  width: 100%;
  outline: none;
}

button {
  width: 40%;
  padding: 5px;
  font-size: 20px;
  margin-top: 20px;
  cursor: pointer;
  border: 1px solid white;
}

@media only screen and (max-width: 600px) {
  .parent {
    width: 100%;
    font-size: 1rem;
  }
  .calculator {
    width: 80%;
    display: flex;
    flex-direction: column;
  }
  .calculator-sec {
    width: 80%;
    flex-direction: column;
  }
  .input-sec {
    width: 100%;
    display: flex;
  }
  .input-sec div {
    width: 100%;
    display: flex;
    margin: 1rem;
  }
  .input-sec div span {
    width: 50%;
  }
  .show-data {
    width: 100%;
  }
  .show-data p {
    width: 80%;
  }
  input {
    width: 80%;
  }
}
