* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

h1 {
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 2.0rem;
}

.container {
    height: 100vh;
    width: 100%;
    background-color: gray;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.input-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.input {
    width: 135px;
    margin-right: 10px;
    height: 30px;
    border: none;
    outline: none;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

.form-grade {
    height: 30px;
    border-radius: 5px;
    border: none;
    outline: none;
}


.table {
    background-color: silver;
    width: 425px;
    height: 20px;
    display: flexbox;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;

}

.table-text {
    display: inline-table;
    padding-left: 5px;
    justify-content: center;
    width: 350px;
    color: black;
    font-family: monospace;
    font-size: 17px;
}

.tbody {
    display: inline-table;
    width: 350px;
    color: black;
    padding-left: 25px;
    font-family: cursive;
    font-size: 1.1rem;

}

.total {
    color: black;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: bold;
}

.btn-card {
    width: 424px;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-top: 10px;
}

.btn-add {
    background-color: royalblue;
    color: white;
    height: 30px;
    width: 50px;
    margin-left: 20px;
    border: none;
    border-radius: 10px;
}


.btn-cal {
    background-color: green;
    height: 30px;
    width: 80px;
    border: 1px solid silver;
    color: white;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-del {
    margin-left: 20px;
    background-color: red;
    color: white;
    height: 30px;
    width: 70px;
    border: 1px solid silver;
    outline: none;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.9rem;
}

@media (max-width:1023px) {
    .table {
        width: 400px;
    }

    .btn-card {
        margin-left: 30px;
    }

    .input-card {
        margin-left: 20px;
    }

    .input {
        width: 120px;
    }

    .btn-add {
        margin-right: 30px;
        height: 50px;
        font-size: 1.0rem;
    }

    .tbody {
        font-family: monospace;
    }
}

.p-text {
    margin-top: 30px;
    color: goldenrod;
    font-family: monospace;
    font-size: 1.0rem;
    font-weight: bold;
}