body {
  background-color: black;
  color: white;
  font-family: 'Roboto', Arial;
  padding-left: 20px;
}

.title {
  position: relative;
  background-color: black;
  z-index: 100;
  
  display: flex;
  justify-content: center;
  align-items: center;
  
  font: 700 34px 'Roboto';
  margin-top: -10px;
}

.title-text {
  margin-right: 20px;
}

.calculator-outer {
  margin-top: 22px;
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;;
}

.calculator-middle {
  display: table-cell;
  vertical-align: middle;
}

.calculator-inner {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  width: 350px;
  position: relative;
  padding: 95px 10px 10px 10px;
  border: 3px solid white;
  border-radius: 20px;
}

.calculation-text {
  display: flex;
  justify-content: end;
  font-size: 64px;
  position: absolute;
  top: 90px;
  right: 20px;
  width: 370px;
}

.bottom-div {
  border-bottom: 2px solid white;
  padding: 45px;
  padding-top: 20px;
  border-radius: 120px;
  width: 280px;
  margin-left: -10px;
  margin-bottom: -10px;
}

.top-div {
  border-top: 2px solid white;
  border-radius: 40px;
  padding: 45px;
  padding-top: 20px;
  padding-bottom: 30px;
  margin-top: -75px;
  width: 280px;
  margin-left: -10px;

  display: flex;
  align-items: start;
}

button {
  background-color: rgb(51, 51, 51);
  color: white;
  border: none;
  border-radius: 80px;
  padding: 16px 27.25px;
  font-size: 35px;
  cursor: pointer;
  margin: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s;
}

button:active {
  background-color: rgba(255, 255, 255, 0.4);
}

.container {
  margin-top: 15px;
  display: grid; 
  grid-template-columns: 264px 85px;
}

.number-container {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  column-gap: 10px;
}

.row-1, .row-2, .row-3, .row-4 {
  display: grid;
  grid-template-columns: 88px 88px 88px 88px;
}

.row-1 button{
  background-color: rgb(157, 157, 157);
  color: black;
}

.row-1 button:active {
  background-color: rgba(255, 255, 255, 0.85);
}

.row-5 {
  width: 255px;
  display: grid;
  grid-template-columns: 176px 88px;
}

.operators {
  display: flex;
  flex-direction: column;
  width: 88px;
}

.operators button {
  background-color: rgb(254, 160, 10);
}


.operators button:active {
  background-color: rgba(254, 255, 255, 0.75);
  color: white;
}

.zero-btn {
  justify-content: start;
}

.is-toggled {
  background-color: white !important;
  color: rgb(254, 160, 10);
}

.copy-img {
  width: 30px;
}

.copy-div {
  background-color: black;
  display: flex;
  align-items: center;
  margin-top: -5px;
  margin-right: 200px;
  margin-left: -30px;
}

.copy-btn {
  background-color: black;
  font-size: 16px;
  padding: 2px;
}

.history-div img {
  width: 40px;
}

.history-div {
  margin-top: 5px;
  display: flex;
  justify-content: end;
  position: relative;
}

.history-btn {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

.history-tooltip {
  position: absolute;
  white-space: pre;
  background-color: black;
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.7);
  padding: 30px 20px;
  left: 75px;
  opacity: 0;
  overflow: scroll;
  max-height: 200px;
  max-width: 300px;
}

.history-tooltip-toggled {
  opacity: 1;
}

#history-clear-button {
  padding: 8px 12px;
  font-size: 16px;
  margin-top: -15px;
  margin-left: -5px;
}

.img {
  width: 85px;
  height: 85px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-image: url("images/github.png");
  background-size: contain;
}

a {
  width: 85px;
  height: 85px;
  border-radius: 50%;
}

.tooltip {
  color: white;
  font-size: 16px;
  position: absolute;
  top: 100px;
  background-color: black;
  border: 2px solid rgb(102, 86, 86);
  padding: 4px 8px;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.img:hover .tooltip{
  opacity: 1;
}


