@font-face {
    font-family: roboto;
    src: url("/fonts/Roboto-Light.ttf");
}

@font-face {
    font-family: roboto-blk;
    src: url("/fonts/Roboto-Black.ttf");
}

.content
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 87vh;
}

body
{
    margin: 0;
    font-family: roboto;
    height: 100vh;
    overflow: hidden;
}

nav
{
    background-color: #00BEFF;
    display: flex;
    justify-content: center;
    padding: 0.75em 0 0.75em 0;
}

nav>img
{
    height: 3em;
}

main
{
    display: flex;
    flex-direction: column;
    height: 80%;
}

.count
{
    margin: 1em 0 1em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #00DB00;
}

.count-amount
{
    font-size: 2.5em;
    font-family: roboto-blk;
}

.count-text
{
    font-size: 1.25em;
}

.transactions
{
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    overflow: auto;
    height: 100%;
}

.transaction
{
    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: var(--color);
    margin: 0 1em 0 1em;
    padding: 0 0.5em 0 0.5em;
    height: 3em;
    min-height: 3em;
    border-radius: 0.4em;
}

.transaction:hover
{
    background-color: var(--color-hover);
}

.transaction-title
{
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.transaction-icon
{
    width: 2em;
}

.add
{
    display: flex;
    justify-content: center;
}

.add img
{
    width: 5em;
}

.transaction-page
{
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%;
    transition: top 0.5s;
}

.transaction-page[open=true]
{
    top: 0;
}

.transaction-page-nav
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: #FFB647;
    height: 4em;

}

.transaction-page-nav>img
{
    height: 80%;
}

.transaction-page-count
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #00DB00;
    height: 12em;
}

.transaction-page-money-block
{
    margin-top: 0.75em;

    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 5em;
    overflow: hidden;

    justify-content: center;
    align-items: center;
    align-content: center;
}

.transaction-page-money-dollarsign
{
    display: inline;
    font-family: roboto;
    font-size: 3em;
    width: 0.75em;
    text-align: center;
}

.transaction-page-money
{
    display: inline-block;
    
    width: 4em;
    font-family: roboto;
    font-size: 3em;

    background-color: inherit;
    border: none;
    outline: none;

    text-align: center;

}

.transaction-page-name
{
    margin-top: 1em;
    background-color: inherit;
    width: 15em;
    border: none;
    text-align: center;
    padding-bottom: 0.5em;
    border-bottom: 0.15em black solid;
    color: gray;

    font-size: 1em;
    font-family: roboto;
    outline: none;
}

.transaction-page-bins
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 1.5em;
    gap: 2em;
    
    overflow: auto;
    height: 22em;
}

.transaction-page-bin
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #FFB647;
    width: 8em;
    height: 8em;
}

.transaction-page-bin-img
{
    height: 5em;
}

.transaction-page-bin-name
{
    font-size: 1.5em;
}