* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'SF Digital Readout';
    src: url('Font/SFDigitalReadout-Light.woff2') format('woff2'),
        url('Font/SFDigitalReadout-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

body{
    background-image: url("/Background-Images/Argon.png");
    background-repeat: repeat;
    background-size: cover;
}

#calculator{
    height: 500px;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: blueviolet;
    border-radius: 10px;
}

button{
    border-radius: 50%;
    width: 45px;
    height: 45px;
    background-color: rgb(63, 63, 196);
    margin-bottom: 15px;
    margin-left: 10px;
    position: relative;
    top: 60px;
    left: 30px;
    border-style: none;
    color: white;
}

button:hover{
    background-color: white !important;
    cursor: pointer;
    color: black;
    transition: background 0.5s; /* This creates a smooth transition effect when the mouse hovers over the button */
}

#equal-to{
    width: 105px;
    border-radius: 50px;
    background-color: #bb22be;
}

.header{
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    position: relative;
    left: 10px;
    top: 10px;
}

#result{
    width: 250px;
    height: 80px;
    background-color: rgb(63, 63, 196);
    font-size: 50px;
    font-family: 'SF Digital Readout';
    text-align: right;
    display: flex;
    align-items: center;
    position: relative;
    outline: none;
    border: 0;
    color: black;
    left: 25px;
    top: 30px;
}

.first{
    margin-top: 0;
}

h1{
    font-size: 17px;
    font-family: 'Saira Condensed', sans-serif;
    margin: 0px 59px;
    position: relative;
    top: -5px;
    color: white;
}

i{
    margin: 0px 20px;
    color: white;
}

i:hover{
    color: black;
    cursor: pointer;
    transition: background 0.5s; /* This creates a smooth transition effect when the mouse hovers over the button */
}

.fas fa-bars{
    position: relative;
    right: 500px;
}

#c, #back {
    background-color: red;
}

#c:hover, #back:hover{
    background-color: white;
    cursor: pointer;
    color: #011936ff;
    transition: background 0.5s;
}

#divide, #multiply, #add, #subtract, #percentage, #square-root{
    background-color: whitesmoke;
    color: black;
}

.divide, .multiply, .add, .subtract, .percentage, #square-root{
    color: black;
    background-color: white;
}

.divide:hover, .multiply:hover, .add:hover, .subtract:hover, .percentage:hover, #square-root:hover{
    background-color: rgb(63, 63, 196) !important;
}
