@media (max-width: 700px) {
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 900px;
        top: 400px;
        width: 500px;
        
    }

    .bill {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: auto;
        top: -40px;
        left: 30px;
        height: auto;
    }

    .calculator-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        height: 800px;
    }

    .calculations {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 80%;
        top: 400px;
        left: 40px;
        height: 40%;
    }

    .amount {
        margin-top: 0;
    }

    .total {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .tip-amount input {
        width: 180px;
        height: 40px;
        padding: 20px 0;
        font-size: 25px;
    }

    .tip-amount label {
        width: 180px;
        height: 50px;
        text-align: center;
        line-height: 50px;
        font-size: 25px;
    }

    .reset {
        margin-top: 25px;
    }

    .reset button{
        margin-top: 0;
    }
    .attribution {
        font-size: 10px;
    }

    .footer {
        position: relative;
        bottom: -1073px;
    }
}