*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: 0;
    transition: all 0.5s ease;
}
.header-text P{
    text-align: center;
    font-family:'Times New Roman', Times, serif;
    font-style:initial;
    font-size: 30px;
    font-weight: bold;
    color: #f50b45;
    text-shadow:0 0  2px #59a30a;
}
body{
    font-family: sans-serif;
}
a {
    text-decoration: none;
    color: #fff;
}
body{
    background-color:rgb(19, 1, 18)

}
.container{
    height: 100vh;
    width: 100vw;
    display: grid;
    place-items: center;
}
.calculator{
    position: relative;
    height: auto;
    width: auto;
    padding:20px;
    border-radius:10px;
    box-shadow: 0 0 30px #000;
}
.theam-toggler{
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    cursor:pointer;
    z-index: 1;
}
.theam-toggler.active{
    color: #333;
}
.theam-toggler.active::before{
    background-color: #fff;
}
.theam-toggler::before{
    content: '';
    height: 30px;
    width: 30px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background-color: #333;
    z-index: -1;
}
#display{
    margin: 0 10px;
    height: 150px;
    width: auto;
    max-width: 270px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 30px;
    margin-bottom: 20px;
    overflow-x: scroll;
}
#display::-webkit-scrollbar{
    display: block;
    height: 3px;
}
button{
    height: 60px;
    width: 60px;
    border: 0;
    border-radius: 30px;
    margin: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: all 200ms ease;
}
button:hover{
    transform: scale(1.1);
}
button#equal{
    height: 130px;
}
/*light-theams*/
.calculator#display{
    color: #0a1e23;
}
.calculator button#clear{
    background-color: #ffd5d8;
    color: #fc4552;
}
.caculator button.btn-number{
    background-color: #1797dc;
    color: #000;
}
.calculator button.btn-operator{
    background-color: #ffd0fd;
    color: #f967f3;
}
.calculator button.btn-equal{
    background-color: #adf9e7;
    color:#000;
}
/*dark theam*/
.calculator.dark{
    background-color: #071115;
    color: #fff;
}
.calculator.dark#display{
    color: #f8fafd;
}
.calculator.dark button#clear{
    background-color: #f50b45;
    color: #f9eced;
}
.calculator.dark button.btn-number{
    background-color: #1b2f38;
    color: #f8fafb;
}
.calculator.dark button.btn-operator{
    background-color: #eeeaf1;
    color: #100f10;
}
.calculator.dark button.btn-equal{
    background-color: #05bfe9;
    color: #ffffff;
}