*{
    margin: 0;
    padding: 0;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.container{
    width: 100%;
    height: 630px;
    color:#fff;
    padding:10px;
    margin: 0px;
    background:linear-gradient(135deg, #4203a9, #90bafc);
}
main{
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    /* background-color: #333; */
}
#parent{
    position: relative;
    height: 100%;
    width: 100%;
    top: -5%;
    bottom: -50%;
    /* background-color: #90bafc; */
}
.calculator{
    position: absolute;
    width:40%;
    height: 100%;
    left: 10%;
    top: 15%;
    /* max-width: 600px;
    margin-left: 10%;
    margin-top: 5%; */
}
.img{
    position: absolute;
    width:20%;
    height: 100%;
    left: 60%;
    top: 10%;
    /* background-color: #fff; */
}
.calculator h1{
    font-size: 60px;
}
.calculator h1 span{
    color: #ffff76;
}
.calculator p{
    font-size: 18px;
}
.calculator p span{
    color: #ffff76;
}
.input-box{
    margin: 40px 0;
    padding: 35px;
    border-radius: 10px;
    background: rgba(255,255,255,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: 5px;
    position: relative;
}
.input-box button{
    background: #ffff76;
    padding: 15px 30px;
    border: 0;
    outline: 0;
    border-radius: 5px;
    font-weight: 500;
    font-size: 18px;
    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: 20px;
}
#result span{
    color:#ffff76;
    font-size: 25px;
    animation: animateResult 2s;
}
@keyframes animateResult {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

 /* Added media query for mobile screen size */
@media (max-width: 480px) {
    .container{
        position: fixed;
        width:100%;
        height: 100%;
        top: 0;
        /* max-width:480px;
        min-width: 360px;
        padding: 10px;
        max-height: 1800px; */
    }
    #parent{
        position: relative;
        height: 120%;
        width: 100%;
        top: -10%;
        bottom: 0%;
        /* background-color: #90bafc; */
    }
    .calculator{
        position: absolute;
        left: 5%;
        top: 10%;
        height: 30%;
        width: 100%;
    }
    .img{
         position: absolute;
         left: 0;
         top:53%;
         height: 40%;
         width: 100%;
    }
    #img{
        /* background-color: #4203a9; */
        position: absolute;
        height: 100%;
        width: 80%;
        left: 10%;
    }
    .calculator h1{
        font-size: 35px;
    }
    .calculator p{
        font-size: 16px;
        position: absolute;
        height: 20%;
        top: 50%;
        left: 6%;
        /* right: 5%; */
        /* background-color: #90bafc; */
        /* margin-right: 30%; */
        width: 70%;
    }
    #result{
        position: absolute;
        top: 100%;
        font-size: 15px;
    }
    .input-box{
        position: absolute;
        top: 65%;
        right: 17%;
        /* height: 50%; */
        width:70%;
        margin: 10px;
    } 
    .input-box input{
        text-align: left;
        font-size: 10px; 
    }
    #date{
        margin-right: 5%;
        padding-left: 7%;
        padding-right: 5px;

    }    

}

@media (max-width: 780px){
    .container{
        width:100%;
        max-width: 1200px;
    }
    .calculator{
        width:100%;
        max-width: 400px;
        max-width: 700px; 
        padding:20px;
        margin-left: 2%;
    }
    .calculator img{
        height: 300px;
    }
    .calculator h1{
        font-size: 35px;
    }
    .calculator p{
        font-size: 14px;
    }
    .input-box{
        margin: 20px 0;
        padding: 10px;
        margin-right: 5%;
        height: 20px;
    }
    #date{
        margin-right: 5%;
        padding-left: 7%;
        padding-right: 5px;
    }
    .input-box input{
         margin-right: 5px; 
        padding: 5px 20px;
        text-align: left;
        font-size: 16px;
    }    
    .input-box button{
        padding: 5px 10px;
        height:30px;
        font-weight: 200;
        font-size: 16px;
    } 
    #result{
        font-size: 15px;
    }
}