@import "https://fonts.google.com/share?selection.family=Tagesschrift";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tagesschrift';
}
body{
    background-color:  #D9C0AA
}

.heading{
    display: flex;
    justify-content: center;
    background-color: #D9C0AA;
    font-size: 60px;
    padding-top: 70px;
    color: black;
}

.container{
    width:100%;
    height: 78vh; 
    background-color: #D9C0AA;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator{
    background-color:  #4e342e;
    padding: 30px;
    border-radius: 35px;
}

.calculator form input{
    border: 0;
    outline: 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1), 5px 5px 15px rgba(0, 0, 0, 0.2);
    background: transparent; 
    font-size: 20px;
    color: #ffedd8;
    cursor: pointer;
    margin: 10px;
}
.calculator form input:hover{
     transform: scale(1.08);
}

form .display{
    display: flex;
    justify-content: flex-end;
    margin: 20px, 0;
}
form .display input{
    text-align: right;
    flex: 1;
    font-size: 45px;
    box-shadow: none; 
}

form input.equal{
    width: 145px;
}

form input.operator{
    color: #ffedd8;
}

.footer{
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding: 20px;
    color: black;
    font-size: 20px;
    position: fixed;
    bottom: 0;
    width: 100%; 
    font-weight: bold;
    background-color: #D9C0AA;
}


a{color: black;}

a:hover{
    color: black;
    text-decoration: none;
}

@media (max-width: 600px) {
    .heading {
        font-size: 40px;
        padding-top: 40px;
        text-align: center;
    }

    .calculator {
        padding: 20px;
        border-radius: 25px;
    }

    .calculator form input {
        width: 45px;
        height: 45px;
        font-size: 16px;
        margin: 8px;
    }

    form .display input {
        font-size: 30px;
    }

    form input.equal {
        width: 100px;
    }

    .footer {
        font-size: 16px;
        padding: 15px;
    }
}
