/* CSS File for MuntenHarker */

/* Fonts & Header */
@font-face {
    font-family: 'DunbarTall-bold';
    src: url("../font/DunbarTall-bold.ttf");
}

@font-face {
    font-family: 'DunbarTall-Book';
    src: url("../font/DunbarTall-Book.ttf");
}

@font-face {
    font-family: 'DunbarTall-ExtraBold';
    src: url("../font/DunbarTall-ExtraBold.ttf");
}

@font-face {
    font-family: 'DunbarTall-ExtraLight';
    src: url("../font/DunbarTall-ExtraLight.ttf");
}

@font-face {
    font-family: 'DunbarTall-Hairline';
    src: url("../font/DunbarTall-Hairline.ttf");
}

@font-face {
    font-family: 'DunbarTall-Light';
    src: url("../font/DunbarTall-Light.ttf");
}

@font-face {
    font-family: 'DunbarTall-Medium';
    src: url("../font/DunbarTall-Medium.ttf");
}

@font-face {
    font-family: 'DunbarTall-Regular';
    src: url("../font/DunbarTall-Regular.ttf");
}

@font-face {
    font-family: 'DunbarTall-Ultra';
    src: url("../font/DunbarTall-Ultra.ttf");
}

* {
    font-family: 'DunbarTall-Medium';
    letter-spacing: 1px;
}

html {
    scroll-behavior: smooth;
}

/* End of Fonts & Header  */

/* Logo */

.logo img {
    height: 200px;
}

.logo-nav img {
    height: 100px;
}

/* End of Logo */

.font-size-10 {
    font-size: 10px;
}

.font-size-15 {
    font-size: 15px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-25 {
    font-size: 25px;
}

.font-size-30 {
    font-size: 30px;
}

.font-size-35 {
    font-size: 35px;
}

.font-size-40 {
    font-size: 40px;
}

.font-size-45 {
    font-size: 45px;
}

.font-size-50 {
    font-size: 50px;
}

.red {
    color: red;
}

/* Sidenav */

.sidenav {
    /* flex */
    display: flex;
    flex-direction: column;
    flex-wrap: column;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #F2F2F2;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 4px 4px 4px 16px;
    text-decoration: none;
    font-size: 20px;
    color: #000500;
    display: block;
    transition: 0.3s;
}

.navbottom a {
    padding: 4px 28px 8px 16px;
    text-decoration: none;
    font-size: 19px;
    color: #000500;
    display: block;
    transition: 0.3s;
    margin: 5px;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.openbtn {
    margin-top: 10px;
}

.nav-logo img {
    height: 90px;
}

.navlink {
    font-size: 38px;
    border: #5863F8 3px solid;
    margin: 5px;
    border-radius: 12px;
}

.navlink:hover {
    background-color: #5863F8;
}

.navbottom {
    position: absolute;
    display: flex;
    flex-direction: column;
    bottom: 10px;
}

.navlink-bottom {
    /* position: absolute; */
    font-size: 20px;
    border: #5863F8 3px solid;
    margin: 5px;
    border-radius: 12px;
    /* bottom: 10px; */
}

.navlink-bottom:hover {
    background-color: #5863F8;
}

/* .active a {
    background-color: #5863F8;
} */

/* Error pages */

.errror-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    text-decoration: none;
}

.btn-404 {
    background-color: #f2f2f2;
    border: #5863F8 3px solid;
    border-radius: 12px;
    color: #000500;
    padding: 10px;
    font-size: 20px;
    margin-top: 10px;
}

.btn-404 a {
    padding: 4px 4px 4px 16px;
    text-decoration: none;
}

.btn-404:hover {
    background-color: #5863F8;
    color: #fff;
}

/* testing */

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

th {
    border: 1px solid #000500;
    text-align: left;
    padding: 8px;
}

td {
    /* border: 1px solid #dddddd; */
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}


/* Sidebar */

/* Create two columns/boxes that floats next to each other */
.sidebar {
    float: left;
    position: fixed;
    margin-left: 5%;
    margin-right: 15px;
    width: 20%;
    height: auto;
    color: black;
    padding: 20px;
}

/* Style the list inside the menu */
.sidebar ul {
    list-style-type: none;
    padding: 0;
}

/* Boxes with information on dashboard */
.main {
    justify-content: space-around;
}

.boxes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    color: #f2f2f2;
    transition: 1s;
}

.box-expense {
    padding: 30px;
    background-color: #ff4f4f;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 1s;
}

.box-total {
    padding: 30px;
    background-color: #df8d00;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 1s;
}

.box-income {
    padding: 30px;
    background-color: #5e8c61;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 1s;
}

.boxes-chart {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    color: #f2f2f2;
    transition: 1s;
}

.box-expense-chart {
    padding: 30px;
    background-color: #ff4f4f;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 1s;
}

.expense-chart {
    height: 250px;
    width: 525px;
}

.income-chart {
    height: 250px;
    width: 525px;
}

.box-income-chart {
    padding: 30px;
    background-color: #5e8c61;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 1s;
}

.box-title {
    font-size: 22.5px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 5px;
    transition: 1s;
}

.box-body {
    font-size: 25px;
    text-align: center;
    transition: 1s;
}

.chart {
    border-radius: 10px;
    padding: 10px;
    background-color: #f2f2f2;
    transition: 1s;
}

@media screen and (max-width: 1220px) {
    .boxes-chart {
        display: flex;
        flex-direction: row;
        flex-flow: column wrap;        
        justify-content: space-between;
        position: relative;
        margin: 50px;
        color: #f2f2f2;
        transition: 1s;
    }

    .boxes {
        display: flex;
        flex-direction: row;
        flex-flow: row wrap;
        justify-content: space-between;
        position: relative;
        margin: 50px;
        color: #f2f2f2;
        transition: 1s;
    }

    .expense-chart {
        height: 250px;
        width: 1030px;
    transition: 1s;

    }
    
    .income-chart {
        height: 250px;
        width: 1025px;
    transition: 1s;

    }
}

@media screen and (max-width: 1190px) {
    .expense-chart {
        height: 250px;
        width: 930px;
    }
    
    .income-chart {
        height: 250px;
        width: 930px;
    }
}

@media screen and (max-width: 1110px) {
    .expense-chart {
        height: 250px;
        width: 730px;
    }
    
    .income-chart {
        height: 250px;
        width: 730px;
    }
}

@media screen and (max-width: 1035px) {
    .boxes {
        display: flex;
        flex-direction: row;
        flex-flow: column wrap;
        justify-content: space-between;
        position: relative;
        margin-bottom: 25px;
        color: #f2f2f2;
        transition: 1s;
    }
}

@media screen and (max-width: 910px) {
    .expense-chart {
        height: 250px;
        width: 530px;
    }
    
    .income-chart {
        height: 250px;
        width: 530px;
    }
}

@media screen and (max-width: 710px) {
    .expense-chart {
        height: 250px;
        width: 230px;
    }
    
    .income-chart {
        height: 250px;
        width: 230px;
    }
}

/* transactions styling boxes and forms*/

.lineheight-12 {
    line-height: 12px;
}

.lineheight-20 {
    line-height: 20px;
}

.transactions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    /* line-height: 1px; */
    transition: 1s;
}

.transactions-left {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    /* margin-right: 100px; */
    transition: 1s;
    color: #000500;
    min-width: 655px;
    width: auto;
    max-width: 690px;
    height: auto;
}

.transactions-right {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    /* margin-left: auto; */
    transition: 1s;
    width: 500px;
    height: 450px;
    min-height: 450px;
    height: auto;
    max-height: 550px;
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    text-align: left;
    /* margin-bottom: 50px; */
    /* color: #f2f2f2; */
    transition: 1s;
}

.form-control {
    background-color: #c2c2c2;
    color: #000500;
    margin-bottom: 5px;
    border: none;
    border-radius: 10px;
}

.form-control::placeholder {
    color: #737373;
}

.btn-transactions {
    font-size: 20px;
    border: #5863F8 3px solid;
    margin-top: 5px;
    border-radius: 12px;
    transition: 0.5s;
}

.btn-transactions:hover {
    color: #f2f2f2;
    background-color: #5863F8;
    transition: 0.5s;
}

/* Categorien btn and boxes */

.categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    /* line-height: 1px; */
    transition: 1s;
}

.categories-left {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    /* margin-right: 100px; */
    transition: 1s;
    color: #000500;
    width: 655px;
}

.categories-right {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    /* margin-left: auto; */
    transition: 1s;
    width: 500px;
    min-height: 375px;
    height: auto;
    max-height: 550px;
}

.btn-categories {
    font-size: 20px;
    border: #5863F8 3px solid;
    margin-top: 5px;
    border-radius: 12px;
    transition: 0.5s;
}

.btn-categories:hover {
    color: #f2f2f2;
    background-color: #5863F8;
    transition: 0.5s;
}

/* Spaardoelen */

.spaardoelen {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    /* line-height: 1px; */
    transition: 1s;
}

.spaardoelen-left {
    /* padding: 30px; */
    background-color: transparent;
    border-radius: 10px;
    transition: 1s;
    color: #000500;
    width: 675px;
}

.spaardoelen-right {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    /* margin-left: auto; */
    transition: 1s;
    width: 500px;
    min-height: 485px;
    height: auto;
    max-height: 610px;
}

.spaardoelen-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.box-spaardoel {
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    margin-right: 15px;
    margin-bottom: 10px;
    width: 210px;
}

.spaardoel-name {
    font-size: 22px;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.spaardoel-value {
    font-size: 20px;
    margin-bottom: 5px;
}

.spaardoel-expired {
    font-size: 18px;
    /* margin-bottom: 5px; */
    color: #ff0000;
}

.btn-spaardoelen {
    font-size: 20px;
    border: #5863F8 3px solid;
    margin-top: 5px;
    border-radius: 12px;
    transition: 0.5s;
}

.btn-spaardoelen:hover {
    color: #f2f2f2;
    background-color: #5863F8;
    transition: 0.5s;
}

.spaardoel-x {
    float: right;
    font-size: 20px;
    /* margin-top: 5px; */
    /* margin-bottom: 5px; */
    color: #ff0000;
}

.spaardoelen-none {
    /* Center box in the middle of the div */
    display: flex;
    flex-direction: column;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;

}

/* Alerts */

.alert {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px
}

.alert-success {
    color: #f2f2f2;
    background-color: #339900;
    /* border-color: #d6e9c6 */
}

.alert-info {
    color: #004085;
    background-color: #cce5ff;
    /* border-color: #b8daff; */
}

.alert-danger {
    color: #f2f2f2;
    background-color: #cc3000;
    /* border-color: #ebccd1 */
}

.alert-warning {
    color: #f2f2f2;
    background-color: #df8d00;
    /* border-color: #faebcc; */
}

/* Rest */

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background-color: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: #F2C774;
    border-radius: 20px;
    /* border: 3px solid orange; */
}

body {
    overflow: overlay;
}