


body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-image: linear-gradient(100deg, #575656, #062e3f);
    color: #ffdfdb;
    transition: 0.3s linear;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Header Styling */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo{
    margin: 10px;
    color: #ffdfdb;
    font-size: 25px;
    text-decoration: none;
    font-weight: bolder;
    border: 2px solid #ffdfdb;
    border-radius: 20px;
    padding: 7px;
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
}

.logo:hover{   
        background-color:#ffdfdb ;
        color: rgb(0, 0, 0) ;
        border: none;
        padding: 9px;
        box-shadow:0 0 10px white;
       }

.header h1 {
    font-size: 2rem;
    color: #ffdfdb;
}

.header p {
    font-size: 1rem;
    color: white;
}

button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2c3e50;
    font-size: 20px;
    color: #f4f4f9;
    border: none;
    justify-content: center;
    align-content: center;
    padding: auto;
    font-weight: bold;
    cursor: pointer;
}

button:hover{
    opacity: 70%;
}

#keys{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 25px;
}

.calculator{
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
    text-align: center;
    overflow: hidden;
}

#display{
    width:100%;
    height: 50px;
    border: none;
    background-color: #2c3e5021;
    text-align: left;
    color: #1b2835;
    font-size: 20px;
    
}

.operator{
    background-color: #6f720b;
}


.clear{
    background-color: #1d78e0;
}

 /* Footer Styling */
.footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
}



.view-my-p{
    position: relative;
    color: #ffdfdb;
    text-decoration: none;
    
}

.view-my-p::after{
    content: "";
    position: absolute;
    width: 0;
    background-color: #ffdfdb;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: width 1s ease;
    -webkit-transition: width 1s ease;
    -moz-transition: width 1s ease;
    -ms-transition: width 1s ease;
    -o-transition: width 1s ease;
}


.view-my-p:hover::after{
    width: 100%;
}

.delete{
    background-color: #610a0a;
}