*{
    margin: 0;
    padding: 0;
    font-family: 'poppins' , sans-serif;
    box-sizing: border-box;
}
.container{
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(90deg, #a8ff78, #78ffd6);
    color: #1f0909;
    padding: 10px;
}
.calculator{
    width: 100%;
    max-width: 600px;
    margin-left: 10%;
    margin-top: 10%;
}

.calculator h1{
    font-size: 60px;
}
.input-box{
    margin: 40px 0;
    padding: 35px;
    border-radius: 10px;
    background: rgba(25,55,25,0.3);
    display: flex;
    align-items: center;
}
.input-box input{
    flex: 1;
    margin-right: 20px;
    padding: 14px 20px;
    border: 0;
    outline: 0;
    font-size: 18px;
    border-radius: 10px;
    position: relative;
}
.input-box button{
    background: #ffff76;
    border: 0;
    outline: 0;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}
.input-box input::-webkit-calendar-picker-indicator{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    position: absolute;
    background-position:calc(100% - 10px) ;
    background-size: 30px;
    cursor: pointer;
}
#result{
    font-size: 40px;

}
#result span{
    color: #ffff;


}
@media (max-width: 768px) {
    .calculator {
        max-width: 90%;
        margin: 20px auto;
    }

    .calculator h1 {
        font-size: 40px;
        text-align: center;
    }

    .input-box {
        flex-direction: column;
        padding: 20px;
    }

    .input-box input {
        margin: 0 0 15px 0;
        width: 100%;
        font-size: 16px;
        padding: 12px 15px;
    }

    .input-box button {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
    }

    #result {
        font-size: 28px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .calculator h1 {
        font-size: 32px;
    }

    #result {
        font-size: 24px;
    }
}
