*{
    margin: 0;
    padding: 0;
    font-family: "SamsungOne", sans-serif;
    box-sizing: border-box;
}

body{
    background-color: rgb(56, 73, 80);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container{
    background: #000000;
    padding: 25px;
    width: 350px;
    border-radius: 10px;
}

.calc-text{
     margin-bottom: 20px;
     padding-left: 5px;
}

.calc-text p {
    width: 100%;
    font-size: 3.5rem;
    text-align: end;
    background: transparent;
    color: #fff;
    border: none;
    outline: none;
    word-wrap: break-word;
    word-break: break-all;
}

button {
    background: #252424;
    color: #fff;
    font-size: 1.5rem;
    border:#252424 2px solid;
    border-radius: 70%;
    cursor: pointer;
    height: 65px;
    width: 65px;
}

button:active,
button:focus {
    filter: brightness(120%);
}

.calc-keys {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 10px;
    grid-column-gap: 10px;
}

.key-operate1 {
    background: #5a8805;
}

.key-operate {
    background: #252424;
    color:#91d94c
}

.key-others1{
    background: #252424;
    color: rgb(238, 121, 11);
}
.key-others {
    background: #252424;
    color: #91d94c;
}

.divide {
    font-size: 2.5rem;    
}

.multiply {
    font-size: 2.5rem;
}

.subtract {
    font-size: 2.5rem;
}

.add {
    font-size: 2.5rem;
}

.equal {
    font-size: 2.5rem;
}

.cursor {
  display: inline-block;
  width: 1ch;
  color: #91d94c;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

.calc-menu {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  padding: 0 5px;
}

.backspace-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.backspace-btn .icon {
  width: 24px;
  height: 24px;
  filter: invert(100%); 
}
