@import url('https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles&family=Merriweather&family=Montserrat:ital,wght@0,400;1,500&family=Sacramento&display=swap');

:root {
    --primary: #BFDBFE;
    --black: #333333;
    --width-break: 600px;
}

body{
    font-family: 'Fuzzy Bubbles', cursive;
    background-color: #1272c1af;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;

}

.title{
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: auto;
    padding: 2.3rem;
    text-align: center;
    background-color: #12238c9f;
    border-bottom-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    height: 7%;
}

.title p {
    margin: auto;

}

main{
    margin: 0 auto;
    padding: 1rem;
    height: 83%;
    font-size: 1.6rem;
}

.input-sec #bill-input {
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 0.6rem;
    font-size: 1.2rem;
    background-color: #FEE2E2;
}

.input-sec #cash-input {
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 0.6rem;
    font-size: 1.2rem;
    background-color: #FEE2E2;
}

caption {
    padding: 10px;
    background-color: #12238c9f;
    margin: 5px 0;
    border-radius: 1rem;
    border: 2px solid;
}

button {
    background-color: #2b179f;
    border: none;
    margin: 1rem auto;
    padding: 1rem 1rem;
    border-radius: 1rem;
    font-family: 'Roboto', cursive;
    font-size: large;
    width: 40%;
    font-size: 1.3rem;
}

button:hover {
    background-color: #12238c9f;
}
#output {
    box-sizing: border-box;
    width: 100%;
    min-height: 10vh;
    max-height: 20vh;
    overflow: scroll;
    border: 1px solid var(--black);
}

th, td {
    border: 4px solid #2e0505af;
    min-width: 50px;
    border-collapse: collapse;
    padding: 0.4rem;
}
.change-table {
    text-align: justify;
    border-collapse: collapse;
    margin: auto;
    padding: 10px;
}
.input-sec{
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 70%;
    margin: 0 auto;
}
.list-non-bullet{list-style: none;}
.list-item-inline{
    display: inline;
    padding: 0rem 0.5rem;
}

.icons{
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.icons i{
    margin: 0 2rem;
    color: rgb(17, 55, 117);
}

.icons i:hover{
    color: #8b0e0e;
}

.bottom-container{
    background-color: #FEE2E2;
    height: 10%;
    width: 100%;
    margin-top: auto;
    padding: 1rem 0;
}

.footer-link{
    font-size: 1rem;
    display: inline-block;
}

.copyright{
    color: rgb(13, 28, 79);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0.5rem;
}