/* Existing CSS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(24, 24, 24);
}

.calci-main-container {
    height: 100vh;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: rgb(79, 79, 79);
}

.header {
    color: rgb(255, 247, 0);
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    margin: 20px;
    text-decoration: underline;
}

input {
    width: 310px;
    margin: 10px;
    padding: 25px;
    background-color: rgb(20, 20, 20);
    outline: none;
    border: none;
    color: rgb(244, 244, 244);
    border-radius: 10px;
    text-align: right;
    font-size: 45px;
}

input::placeholder {
    color: rgb(138, 138, 138);
}

.content {
    background-color: rgb(9, 9, 9);
    padding: 0 25px 25px 25px;
    border-radius: 20px;
}

button {
    border: none;
    outline: none;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 60px;
    height: 60px;
    font-size: 22px;
    background-color: black;
    color: rgb(78, 58, 254);
    margin: 10px;
    align-items: center;
    font-weight: 600;
    transition: all .1s;
}

button:hover {
    color: rgb(255, 238, 238);
    background-color: rgb(33, 33, 33);
}

.options {
    background-color: rgb(2, 2, 63);
    color: rgb(178, 177, 186);
}

.options:hover {
    color: rgb(255, 255, 255);
    background-color: blue;
}

.equal {
    width: 145px;
    background-color: rgb(0, 0, 67);
    color: rgb(178, 178, 178);
}

.equal:hover {
    color: aliceblue;
    background-color: rgb(0, 0, 206);
}

.clear {
    color: rgb(208, 139, 0);
}

.clear:hover {
    color: rgb(0, 0, 0);
    background-color: gold;
}

/* About Me Button Styling */
.about {
    position: fixed;
    right: 30px;
    bottom: 30px;
    overflow: hidden;
}

.about a {
    background-color: rgb(9, 9, 121);
    color: rgb(255, 255, 255);
    border-radius: 10px;
    display: inline-block;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 10px;
    list-style: none;
    transition: all 0.3s;
}

.about a{
    color: aliceblue;
    text-decoration: none;
}

.about a:hover {
    background-color: rgb(215, 215, 255);
    color: rgb(0, 0, 0);
}

/* Mobile Responsive CSS */
@media (max-width: 480px) {
    .calci-main-container {
        padding: 10px;
    }

    input {
        width: 250px;
        font-size: 35px;
        padding: 15px;
    }

    .content {
        padding: 0 15px 15px 15px;
    }

    button {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin: 5px;
    }

    .equal {
        width: 115px;
    }

    .header {
        font-size: 18px;
        margin: 10px;
    }

    /* Adjust About Me Button for Mobile */
    .about {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
        right: auto;
    }

    .about button {
        width: 100%;
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 320px) {
    input {
        font-size: 30px;
        padding: 15px;
    }

    button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .equal {
        width: 100px;
    }

    .header {
        font-size: 16px;
    }
}
