body {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.calculator {
    background: #e8e8e8;
    border-radius: 35px;
    padding: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    width: 320px;
}

.display {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.result {
    font-size: 36px;
    color: #333;
    font-weight: 300;
}

.Navigation {
    display: inline-block;
    position: relative;
    width: fit-content;
    height: fit-content;
    text-decoration: none;
}

.toggle {
    width: 50px;
    height: 25px;
    background: #d8e2ee;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 135px;
}

.toggle:hover {
 transform: translateY(-1px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.toggle-circle {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 70px);
    gap: 12px;
}

.button {
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
    outline: none;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}


.number {
    background: #f8f8f8;
    color: #333;
}


.function {
    background: #f8f8f8;
    color: #666;
    font-size: 20px;
}


.equals {
    background: #4a90e2;
    color: white;
    grid-row: span 2;
    border-radius: 35px;
    font-size: 28px;
}


.zero {
    grid-column: span 2;
    border-radius: 35px;
    text-align: left;
    padding-left: 30px;
}



