.title {
    font-family: fantasy;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
    text-align: center;
}

.title-logo {
    display: block;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

.login-link {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    width:fit-content;
    text-decoration: underline;
    color: blue;
    background-image: linear-gradient(160deg, #d4f4f7, #9db5b7);
    box-shadow: 1px 1px 5px #838383;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
}

.current-budget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5em;
    color: #fff;
    text-shadow: 2px 2px 5px #000;
    margin-left: 5%;
    padding-top: 10px;
}

.func-btn {
    border: 1px solid black;
    padding: 5px 10px 5px 10px;
    border-radius: 15px;
    font-size: 20px;
    margin: 5px;
    background-color: lightblue;
    box-shadow: -1px -1px 3px inset;
    margin-bottom: 10px;
    cursor: pointer;
}

.function-buttons {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.categories > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 49%;
    align-content: flex-start;
}

.categories > div > button {
    font-size: 1.2em;
    text-transform: uppercase;
    width: 100%;
    height: 35px;
    background-color: #9db5b7;
    border-radius: 10px;
    padding: 5px 10px 5px 10px;
    box-shadow: -1px -1px 3px inset;
    cursor: pointer;
}

.collapsible {
    /* Used for JavaScript */
    cursor: pointer;
}

.line-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.line-items > div {
    color: #fdfdfd;
    padding: 0 10px 0 10px;
    font-size: 1.2em;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.line-items .col2 {
    width: 10%;
    text-align: center;
    flex-grow: 1;
}

.line-items .col1 {
    width: 30%;
}

.line-items .col6 {
    flex-grow: 2;
    padding-left: 5px;
}

.available-value {
    color: #ffd902;
}

.header {
    background-color: #05303d;
    border-radius: 5px;
    padding: 0 0 0 5px;
}

.header > p,
.header > h6 {
    font-size: 0.7em;
    text-transform: capitalize;
}

#budget-remaining {
    color: #ff2828;
    font-size: 1.5em;
    font-family: fantasy;
    text-shadow: 2px 2px 5px #000;
    text-align: center;
}

/* Mobile responsive version  */
@media only screen and (max-width: 800px) {

    .title-logo {
        width: 80%;
    }

    main {
        width: 100%;
        margin: 0;
    }

    .current-budget {
        margin-left: 5px;
    }
    
    .categories {
        flex-direction: column;
    }

    .categories > div {
        width: 100%;
    }
    .line-items {
        display: none;
    }

    .line-items > div > button {
        font-size: 16px;
    }

    .line-items > div {
        font-size: 15px;
    }

    .header > p,
    .header > h6 {
        font-size: 12px;
    }

    .goal-value,
    .goal-title {
        display: none;
    }

    .duedate-value {
        background-color: #2f4a5f;
    }
}