* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid black; */
}

body {
  font-family: "Poppins", sans-serif;
}
.container {
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(131, 58, 180);
  background: linear-gradient(0deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.container .wrapper {
  border-radius: 1rem;

  width: 33rem;
  min-height: 35rem;
  background-color: rgba(255, 255, 255, 0.6);
}

.container .wrapper .display {
  border-radius: 1rem;
  overflow: hidden;
  margin: 1rem;

  min-width: 90%;
  height: 10rem;
}
.container .wrapper .display .displays {
  font-weight: bold;
  background-color: #fff;
  border: none;
  text-align: right;
  padding: 1rem;
  width: 100%;
  height: 60%;
  font-size: 2rem;
}
.container .wrapper .display .displays_live {
  font-weight: bold;
  border: none;
  text-align: right;
  padding: 1rem;
  padding-top: 0;
  width: 100%;
  height: 40%;
  font-size: 1.5rem;
  font-weight: bold;
  color: grey;
  background-color: #fff;
}
.container .wrapper .calc-buttons {
  padding: 0.5rem;
  margin: 5px;
  min-height: 30rem;
  gap: 10px;
  display: grid;
  place-content: center;
  grid-template-columns: 0.6fr 0.6fr 0.6fr 0.6fr;
  grid-template-rows: 4fr 4fr 4fr 4fr 4fr;
}
.container .wrapper .calc-buttons .buttons {
  border-radius: 0.5rem;

  font-size: 1.5rem;
  font-weight: bold;
  border: none;
}
.container .wrapper .calc-buttons .buttons:hover {
  background-color: #e20a4f;
}
.container .wrapper .calc-buttons .buttons:active {
  background-color: #fff;
}
.container .wrapper .calc-buttons .buttons.equal {
  background-color: #97db4f;
  grid-column: span 2;
}

.container .wrapper .calc-buttons .buttons.delete {
  background-color: #f72c25;
}
.container .wrapper .calc-buttons .buttons.clear {
  background-color: #f7b32b;
}

@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}
/* TABLET */

@media (min-width: 535px) and (max-width: 1024px) {
}

/* MOBILE PHONE */
@media (max-width: 520px) {
  html {
    font-size: 60%;
  }
  .container {
    padding: 1rem;
  }
  .container .wrapper .display .displays {
    font-weight: bold;
    font-size: 2rem;
    padding: 1rem;
  }
  .container .wrapper .display .display {
    height: 10rem;
  }
  .container .wrapper .calc-buttons {
    height: 20rem;
  }
  .container .wrapper .display .displays_live {
    font-size: 1.6rem;

    font-weight: bold;
    padding: 1rem;
    padding-top: 0;
  }
  .container .wrapper .calc-buttons .buttons {
    font-size: 1.5rem;
  }
  .container .wrapper {
    min-height: 50rem;
  }
  .container .wrapper .calc-buttons {
    min-height: 40rem;
  }
  .container .wrapper {
    width: 37rem;
  }
}
