* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-image: url(img/27409.png);
    background-size: cover;
    background-attachment: fixed;
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 100px 30px;
    padding-bottom: 150px;
}
.header {
    height: 120px;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: center;
    margin:0 auto;
}

.header h1 {
    color: white;
    letter-spacing: 3px;
}
.header p {
    color: white;
    line-height: 32px;
}
.line {
    margin: 5px auto;
    height:2px;
    width: 60px;
    background-color: white;
}
.calculator {
    text-align: center;
    margin: 0 auto;
    padding-top: 20px;
    width: 400px;
}
.calculator-screen {
    width: 100%;
    height: 100px;
    background-color: rgb(255, 255, 255);
    color: rgb(43, 43, 43);
    text-align: right;
    font-size: 2.5rem;
    border-radius: 15px;
    padding: 0 20px;
    border: none;
    box-shadow: 4px 6px 14px rgba(126, 26, 146, 0.645);
    margin-bottom: 30px;
    
}
/* Button hover */
button {
    height: 60px;
    font-size: 24px;
    border: 2px solid rgb(255, 255, 255);
    background-color: rgb(73, 73, 73);
    color: white;
    width: 20%;
    font-weight: bold;
    outline: none;
    border-radius: 5px;
    margin: 5px;
    transition: 0.1s linear;
}
.key {
    background-color: rgb(11, 170, 141);
}
.key:hover {
    background-color: rgb(52, 94, 86);
}
/* Button hover */
button:hover {
    
    cursor: pointer;
    background-color: rgba(75, 75, 75, 0.741);
    
}
.all-clear, .zero-btn {
    width: 42.5%;
}
.row {
    display: flex;
    justify-content: center;
}
.calculator-keys {
    width: 100%;
}

@media (max-width:670px) {
    .calculator {
        width: 300px;
    }
    .container {
        height: 750px;
    }
    .all-clear, .zero-btn {
        width: 43%;
    }
}