* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: black;
  width: 100vw;
  height: 100vh;
}

.calc__conclusion input {
  height: 100px;
  width: 100vw;
  text-align: right;
  color: white;
  background-color: black;
  border: none;
  font-family: sans-serif;
  font-size: 40px;
}

.calc__btn {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-self: center;
  width: 30%;
}

.calc__btn>div:not(.btn0) {
  position: relative;
  font-size: 50px;
  font-weight: bold;
  border: none;
  border-radius: 50%;
}

.calc__btn>div:not(.btn0)::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.calc__btn>div:not(.btn0) div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 30px;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.btn0 {
  position: relative;
  grid-column-start: span 2;
  width: 100%;
  height: 100%;
}

.btn0 div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.calc__btn>div {
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.calc__btn>div:hover {
  color: black;
  background-color: #a0a0a0;
}

.btn0 {
  padding-left: 20px;
  text-align: left;
  border-radius: 50px !important;
}

.btn-yellow {
  background-color: #f59906;
  color: #f3f6f7;
}

.btn-black {
  background-color: #313131;
  color: #f3f6f7;
}

.btn-gray {
  background-color: #a0a0a0;
}

.calc__btn .btn-gray:hover {
  color: white;
  background-color: #313131;
}

@media (max-width: 900px) {
  .calc__btn {
    width: 50%;
  }
}

@media (max-width: 500px) {
  .calc__btn {
    width: 100%;
    gap: 10px;
  }
}