@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  height: 100vh;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #001134;
}

.container {
  max-width: 1400px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
  overflow-x: hidden;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.col-9 {
  width: calc(8.33% * 9);
  padding: 0 10px;
}
.col-8 {
  width: calc(8.33% * 8);
  padding: 0 10px;
}
.col-4 {
  width: calc(8.33% * 4);
  padding: 0 10px;
}
.col-3 {
  width: calc(8.33% * 3);
  padding: 0 10px;
}
.calc-wrapper {
  min-width: 394.2px;
  height: 831.2px;
  background: url("./assests/dark-bg-img.png") no-repeat center/cover;
  border-radius: 50px;
  padding: 138px 33px 40px;
  border: 10px solid black;
  position: relative;
}

button {
  cursor: pointer;
}
.top-line {
  font-size: 24px;
  font-weight: 400;
  color: #818181;
  margin-bottom: 10px;
  text-align: end;
  height: 37px;
  overflow-x: scroll;
  text-wrap: nowrap;
  max-width: 309px;
  transition: 0.6s ease;
}
#result {
  font-size: 42px;
  text-align: end;
  color: white;
  margin-bottom: 78px;
  height: 72px;
  max-width: 309px;
  overflow-x: scroll;
  text-wrap: nowrap;
}
.row-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: auto;
  border: none;
}
.row-1 {
  margin-bottom: 16px;
}
.row-1-btn {
  max-width: 62px;
  border-radius: 24px;
  text-align: center;
  font-size: 13px;
  height: 40px;
}
.row-2 {
  margin-bottom: 22px;
}
.row-2-btn {
  border-radius: 16px;
  height: 62px;
  max-width: 62px;
}
.black-btn {
  background: #303136;
  color: #29a8ff;
}
.black-btn:active {
  background: #464958;
}
.grey-btn {
  background: #616161;
  color: #a5a5a5;
  font-size: 24px;
  font-weight: 400;
}
.grey-btn:active {
  background: #5e3f3f;
}
.blue-btn {
  background: #005db2;
  color: #339dff;
  font-weight: 500;
  font-size: 32px;
}
.blue-btn:active {
  background: #164066;
}
.backspace-icon {
  height: 24px;
  width: 24px;
}
.row-3 {
  margin-bottom: 16px;
}
.row-3-btn {
  height: 60px;
  max-width: 62px;
  font-size: 32px;
  border-radius: 16px;
}
.row-3 .col-3:last-child .row-3-btn {
  padding-bottom: 5px;
}
.row-btn-4 {
  height: 60px;
  max-width: 62px;
  font-size: 32px;
  border-radius: 16px;
}
.row-bottom > .col-8 > .row-btn {
  max-width: 144px;
}
.row-upper {
  margin-bottom: 16px;
}
.row-middle {
  margin-bottom: 28px;
}
.row-btn-side {
  height: 96px;
  border-radius: 12px;
  margin: 6px 0 26px;
}
.row-main > .col-3 > .row-btn:last-child {
  background: #1991ff;
  color: #b2daff;
}
.top-line > span {
  color: #1991ff;
}
#result > span {
  color: #1991ff;
}
#equals:active {
  background: #8ac7ff;
}

.dynamic-lund {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: 25px;
  width: 90px;
  background: black;
  border-radius: 20px;
}
.messi-edit {
    position: absolute;
    top: 185px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    transition: 0.6s ease;
    opacity: 0;
    border-radius: 10px;
}
.messi-edit.show{
  opacity: 1;
}

@media screen and (max-width: 400px) {
  
}