* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

/* Header */
.header {
    background: #0ea5e9;
    padding: 20px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo Text */
.logo-text {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 4px;
    color: white;
    text-transform: uppercase;
}


/* Calculator Center */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Calculator Box */
.calculator {
    background: #1e293b;
    padding: 20px;
    border-radius: 15px;
    width: 320px;
}

/* Input */
.calculator input {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    font-size: 26px;
    border: none;
    border-radius: 10px;
    background: #020617;
    color: white;
    text-align: right;
}


/* Button Row */
.row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* Buttons */
button {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    background: #334155;
    color: white;
    transition: 0.3s;
}

button:hover {
    background: #475569;
}

/* Operator */
.operator {
    background: #f59e0b;
    color: black;
}

/* Equal */
.equalBtn {
    background: #22c55e;
    color: black;
}


.footer {
    text-align: center;
    padding: 15px;
    background: #0f8ac4;
    letter-spacing: 3px;
}


.footer-content a {
    text-decoration: none;
    color: #000000;
}

.footer-content p {
    color: #000000;
    font-weight: bold;
}





/* Responsive */
@media (max-width: 500px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-icons {
        margin-top: 8px;
    }
}



/* Responsive */
@media(max-width:400px) {
    .calculator {
        width: 90%;
    }
}