@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: rgb(255, 255, 191);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.github-link {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #333;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.github-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.github-link:hover {
    color: #0066cc;
}

.github-link:hover .github-icon {
    transform: scale(1.1) rotate(2deg);
}

.calculator {
    background: #333;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    width: 100%;
}

.display {
    margin-bottom: 15px;
}

#result {
    width: 100%;
    height: 80px;
    background: #222;
    border: none;
    border-radius: 10px;
    font-size: 24px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-align: right;
    padding: 0 20px;
    color: #00ff00;
    outline: none;
    letter-spacing: 2px;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.btn {
    height: 60px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn:hover {
    transform: scale(0.95);
}

.btn:active {
    transform: scale(0.9);
}

.btn.number {
    background: #666;
    color: white;
}

.btn.number:hover {
    background: #777;
}

.btn.operator {
    
    background: #ff9500;
    color: white;
}

.btn.operator:hover {
    background: #ffad33;
}

.btn.equals {
    background: #ff9500;
    color: white;
    grid-row: span 2;
}

.btn.equals:hover {
    background: #ffad33;
}

.btn.clear {
    background: #a6a6a6;
    color: #333;
}

.btn.clear:hover {
    background: #b9b9b9;
}

.btn.zero {
    grid-column: span 2;
}