@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
:root {
  --mainbg: rgba(27, 28, 32);
  --bg11: rgb(34, 35, 39);
  --11: rgb(38, 41, 50);
  --equal: rgb(17, 109, 254);
}
body {
  width: 100%;
  height: 100vh;
  background-image: url(/images/2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: multiply;
  overflow: hidden;
}
.wrapper {
  max-width: 1200px;
  margin-inline: auto;
}
main {
  width: 28%;
  height: 93vh;
  background-color: var(--mainbg);

  border-radius: 10px;
  display: grid;
  position: relative;
  top: 20px;
  padding-top: 2rem;
  padding-inline: 2rem;
}
section {
  display: grid;
}
.calc {
  font-size: 1.5rem;
  font-weight: 500;
  color: white;
}
.icon {
  font-size: 2rem;
  color: var(--equal);
  position: absolute;
  left: 310px;
}
.zero {
  display: grid;
  position: relative;
  width: 315px;
  height: 20vh;
  background-color: var(--bg11);
  bottom: 0.5rem;
  border-radius: 5px;
}
.null {
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  right: -17rem;
}
.x_sept {
  width: 315px;
  height: 98%;
  background-color: var(--11);
  border-radius: 5px;
}
.sept {
  color: white;
  font-size: 1.5rem;
  font-weight: 400;
  position: relative;
  right: -17rem;
  bottom: -0.5rem;
}
.btn {
  display: grid;
  grid-template-columns: repeat(4, 75px);
  grid-gap: 2px;
  position: relative;
  bottom: 1.5rem;
}
.btn2 {
  background-color: var(--11);
  font-size: 1.2rem;
  font-weight: 700;
  height: 8vh;
  width: 75px;
  border-radius: 4px;
  color: white;
  border: none;
  cursor: pointer;
}
.btn3 {
  width: 150px;
  background-color: var(--equal);
}
.btn4 {
  background-color: var(--bg11);
}

@media screen and (min-width: 375px) {
  main {
    width: 280px;
    height: 75vh;
    justify-content: center;
    display: grid;
    position: relative;
    top: 70px;
  }
  .zero {
    display: grid;
    position: relative;
    width: 235px;
    height: 15vh;
    background-color: var(--bg11);
    /* bottom: 0.5rem; */
  }
  .null {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    left: 13rem;
    bottom: -0.5rem;
  }
  .x_sept {
    width: 235px;
    height: 98%;
    border-radius: 5px;
  }
  .sept {
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    left: 13rem;
    bottom: -4px;
  }
  .calc {
    font-size: 1.2rem;
    font-weight: 500;
  }
  .icon {
    font-size: 1.5rem;
    color: var(--equal);
    position: absolute;
    left: 14rem;
  }
  .btn {
    display: grid;
    grid-template-columns: repeat(4, 40px);
    grid-column-gap: 1.2rem;
    grid-row-gap: 4px;
    bottom: 1.5rem;
  }
  .btn2 {
    background-color: var(--11);
    font-size: 1rem;
    font-weight: 700;
    height: 6vh;
    width: 55px;
    border-radius: 4px;
    color: white;
  }
  .btn3 {
    width: 115px;
    background-color: var(--equal);
  }
  .btn4 {
    background-color: var(--bg11);
  }
}
