*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgb(240, 128, 128);
}
.main{
    padding: 2.5rem 1.5rem;
    border-radius: 10px;
    background-color: rgb(255, 203, 203);
    font-size:20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.35rem;
    font-family: cursive;
}
h1{
    font-size: 1.5em;
}
textarea{
    width: 100%;
    height:100px;
    border-radius: 5px;
    border: 2px solid lightgray;
    display: flex;
    padding: 0.5rem;
    font-size: 0.7em;
}
.cal{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.2rem 0.5rem;
    color:gray;
}
.total span{
    color: rgb(135, 37, 255);
}
.remain span{
    color: red;
}

@media screen and (max-width:400px) {
    .main{
        font-size: 15px;
    }
}