* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    scroll-behavior: smooth;
}

html,
body{
    width:100%;
    height: 100%;
    background: #ffffff;
    position: relative;
  
}

.calh1{
    height: 40px;
    width: 100%;
    text-align: center;
  
}
.calh1 h1{
    font-size: 40px;
    font-weight: 700;
    color: #0026ff;
  
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    height: 100%;
    gap:30px;
    width: 100%;
}

.maindiv {
    border-radius: 15px;
    border: solid #717377 1px;
    background: #ffffff;
    box-shadow: 0px 3px 15px rgba(113, 115, 119, 0.5);
    width:300px;
    height:450px;
    padding:10px;
    position: relative;
    margin: 0 auto;

}

input {
    border-radius: 10px;
    width: 100%;
    padding:0px 6px;
    height: 70px;
    background: transparent;
    font-size: 35px;
    text-align: right;
    color: #000000;
    letter-spacing: 1px;
    border: solid #717377 1px;
    display: block;
    outline:none;

}

input::placeholder {
    color: #000000;
}

button {
    border: none;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    margin: 10px;
    background: #313131;
    color: #ffff;
    font-size: 18px;
    transition: 0.2s all;
    user-select: none;
}
button:active {
    transform: scale(0.98);
    background: #646464;
   
}

.zero {
    height: 50px;
    width: 120px;
    border-radius: 50px;
    text-align: left;
    padding-left: 25px;
}

#ac,
#del,
#modulus 
 {
    background: #9f9f9f;
    color: #181818;
    font-size: 17px;
    font-weight: 550;
}

#eql,
.operator
{
    background: blue;
    font-size: 30px;
}
#eql:active ,
.operator:active {
    transform: scale(0.98);
    background: rgb(64, 77, 247);
  
   
}


.div1,
.div2,
.div3,
.div4,
.div5 {
    display: flex;
}
.ftr {
    color: #000000b8;
    opacity: 0.8;
    height: 60px;
    text-align: center;
    width: 100%;
}

@media (max-width:371px) {
    .calh1 h1{
        font-size: 25px;
        font-weight: 800;
        color: #0026ff;
      
    }
    
}