/** Global styles **/

* {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1.4em;
    vertical-align: baseline;
    text-decoration: none;
    outline: 0;
    }


*, *::after, *::before {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*{
    image-rendering: -webkit-optimize-contrast;
}

body {
    color: #000D6B;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-color: #F9F9F9;
}

.box {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 40px 40px;
    margin-bottom: 3rem;
    color:#000D6B;
    font-weight: 700;
    font-size: 16px;
}

.body-container {
    min-height: calc(100vh - 108px);
}

.font-weight-bold {
    font-weight: 700;
}

/** Navbar **/

.menu {
    background-color: white;
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.14);
    z-index: 999;
}

.menu-link {
    color: #000D6B !important;
    border: 2px solid rgba(255, 255, 255, 0);
    text-transform: uppercase;
    font-weight: 700;
    padding: .4rem 1.3rem .2rem 1.3rem !important;
}

.menu-link:hover {
    border: 2px solid #4FC6A8;
    border-radius: 3px;
}

.menu-link.active {
    border: 2px solid #4FC6A8;
    border-radius: 3px;
}

.menu-link.active:hover {
    background-color: #4FC6A8;
    color: white !important;
}

@media only screen and (max-width: 768px) {
    .menu {
        box-shadow: none;
    }

    .menu-link {
        text-align: center;
        margin-top: 1rem;
    }
}

.navbar-toggler {
    color: #4FC6A8;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.1rem;
}

/** Intro **/

.intro {
    padding-top: 60px;
    padding-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
}

.intro-header {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 16px;
    margin-bottom: 2rem;
}

@media only screen and (min-width: 768px) {
    .intro {
        padding-top: 40px;
        padding-bottom: 20px;
        padding-left: 20%;
        padding-right: 20%;
    }
    
    .intro-header {
        font-weight: 600;
        font-size: 36px;
    }
    
    .intro-text {
        font-size: 18px;
    }
}

/** Registration **/

.form-box {
    background-color: #A5A6F6;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 40px 60px;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 500px;
}

.registration-img {
    width: 115%;
    margin-left: auto;
    margin-right: auto;
}

.registration-header {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 991px) {
    .form-box {
        padding: 40px 40px;
    }

    .registration-header {
        padding-top: 2rem;
    }
}

@media only screen and (min-width: 768px) {
    .form-box {
        padding: 40px 60px;
    }
}

@media only screen and (min-width: 991px) {  
    .form-box {
        padding: 40px 60px;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-control-label {
    margin-bottom: .35rem;
    font-weight: 600;
}

.form-control {
    font-size: 14px;
    color: #000D6B;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgb(13 110 253 / 25%);
}

.registration-message {
    font-size: 14px;
    color: #000D6B;
    font-weight: 700;
}

.form-button {
    margin-top: 1rem;
    padding: .6rem 1.5rem;
    width: 100%;
    background-color: #CA2ACD;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

.form-button__secondary {
    margin-top: 1rem;
    padding: .6rem 1.5rem;
    width: 100%;
    background-color: #4FC6A8;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

.form-button:hover {
    border: 2px solid #CA2ACD;
    background-color: #CA2ACD;
}

.form-sm-button {
    margin-top: 1.9rem;
    padding: .45rem 1.2rem;
    width: 100%;
    background-color: #000D6B;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

.form-sm-button:hover {
    color: white;
    background-color: #000D6B;
}

.form-button__secondary:hover {
    border: 2px solid #4FC6A8;
    background-color: #4FC6A8;
    color: white;
}

.registration-statement {
    padding: .5rem 0;
}

/** Footer **/

.site-footer {
    background-color: #000D6B;
    z-index: 999;
}

/** Login **/

.login {
    background-color: #f9f9f9;
    padding-top: 30px;
}

.login-img {
    z-index: 0;
    padding-top: 30px;
    position: relative;
}

@media only screen and (min-width: 768px) {
    .login {
        padding-top: 90px;
        height: calc(100vh - 108px);
    }

    .login-img {
        width: 630px;
        height: auto;
        padding-top: 0;
        position: absolute;
        opacity: 0.5;
        bottom: 53px;
    }
}

@media only screen and (min-width: 991px) {
    .login-img {
        margin-left: 10%;
    }
}

@media only screen and (min-width: 1180px) {
    .login-img {
        width: 750px;
    }
}

/** Menu**/

.user-menu {
    background-color: #A5A6F6;
    padding-top: 30px;
}

.user-menu__img {
    position: relative;
    width: 400px;
    margin-bottom: -9px;
}

.user-menu__box {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    background-color: #f9f9f9;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 40px 40px;
    margin-bottom: 3rem;
}

.user-menu__button {
    background-color: #99DDCC;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
    color: #000D6B;
    font-weight: 700;
    font-size: 16px;
    padding: .6rem 2.5rem;
    transition: .3s ease-in-out;
    text-align: center;
}

.user-menu__button:hover {
    background-color: #4FC6A8;
    color: white;
}

@media only screen and (min-width: 768px) {
    .user-menu {
        padding-top: 30px;
        height: calc(100vh - 108px);
    }

    .user-menu__img {
        right: 100px;
        bottom: 49px;
        position: absolute;
    }
}

@media only screen and (min-width: 991px) {
    .user-menu {
        padding-top: 60px;
        height: calc(100vh - 108px);
    }
    
    .user-menu__img {
        right: 100px;
        bottom: 49px;
        position: absolute;
    }
}

/** Add income/expance **/

.add {
    /**background-color: #A5A6F6;**/

}

.add-header {
    font-size: 36px;
    font-weight: 600;
    padding: 60px 0 30px 0;
}

.add-box {
    background-color: #99DDCC;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 40px 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    color:#000D6B;
    font-weight: 700;
    font-size: 16px;
}

.add-img {
    max-width: 100%;
}

.add .form-check {
    padding-left: 0 !important;
} 

.add-radio__text {
    font-weight: 400;
}

textarea {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}

select {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    color:#000D6B;
    padding: 0.375rem 0.75rem;
}

option:hover {
    background-color: #CA2ACD;
}

input:checked ~ .checkmark {
    background-color: #CA2ACD !important;
}

/** Balance **/

.balance {
    background-color: #A5A6F6;
}

.balance-date__button {
    padding: .8rem 1.5rem .6rem;
    width: auto;
    background-color: #CA2ACD;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

.balance-date__button:hover {
    background-color: #000D6B;
    color: white;
}

.balance-subheader {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

@media only screen and (max-width: 576px) {
    .add-header {
        font-size: 28px;
        padding: 40px 0 20px 0;
    }
}

.balance-box {
    margin-bottom: 60px;
}

.balance-box__item-subheader {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.balance-box__sum {
    background-color: white;
    color:#CA2ACD;
    padding: 15px 25px;
    font-size: 20px;
    text-align: right;
}

.piechrt {
    margin-top: 60px;
}

.piechart__item {
    margin-top: 30px;
    margin-bottom: 60px;
    display: block;
    width: 400px;
    height: 400px;
    border-radius: 50%;
}

@media only screen and (max-width: 576px) {
    .piechart__item {
    width: 300px;
    height: 300px;
    margin-bottom: 30px;
    }
}

.accordion-button {
    background-color: #EAEAEB;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    color: #CA2ACD !important;
    font-weight: 700;
    margin-bottom: .5rem;
}

.accordion-button .collapsed {
    background-color: #000D6B;
}

.accordion-button:hover {
    background-color: #000D6B;
}

.accordion-item {
    background-color: inherit;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: #EAEAEB;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.accordion-body {
    background-color: white;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.accordion-button:hover {
    background-color: #000D6B;
    color: white !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: none;
    transform: scale(1.3);
}

.accordion-button:after {
    background-image: none;
    content: '\002B';
    color: var(--color-accent);
    font-weight: bold;
    float: right;
}

.balance table {
    width: 100%;
}

.balance td {
    border: 2px solid var(--color-light-grey);
    text-align: center;
    justify-content: center;
    padding: 5px 10px;
}

.small-square {
    width: 15px;
    height: 15px;
    margin-right: .5rem;
}

/** About **/

.about-text {
    font-size: 16px;
}

@media only screen and (min-width: 991px) {
    .about-img {
        margin-left: 25%;
        width: 550px;
    }
}

.accordion__bold-text {
    font-weight: 700; 
    text-align: right !important;
}

.accordion__sum {
    color: #CA2ACD;
    font-weight: 700; 
    font-size: 16px;
}

.show-password__btn {
    background-color: white;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 0 3px 3px 0;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-left: 0;
    padding: 3px;
}

.error {
    color: #ad1a3b;
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal-dialog {
    top: 100px;
}

.modal-backdrop {
    z-index: 0 !important;
}

/** Dates **/

.dates-menu {
    background-color: #A5A6F6;
    padding-top: 30px;
    height: calc(100vh - 108px);
}

.dates-header {
    font-weight: 600;
    font-size: 36px;
    padding: 60px 0;
}

.dates-menu__img {
    right: 350px;
    bottom: 30px;
    position: absolute;
}

@media only screen and (max-width: 767px) {
    .dates-menu {
        height: calc(100vh - 108px);
    }

    .dates-menu__img {
        right: 100px;
        bottom: 49px;
        position: absolute;
    }

    .dates-header {
        font-size: 24px;
        padding: 10px 0;
    }
}

@media only screen and (max-width: 1380px) {
    .dates-menu {
        height: 100vh;
    }

    .dates-menu__img {
        right: 100px;
        bottom: -78px;
        position: absolute;
    }

    .dates-header {
        font-size: 24px;
        padding: 10px 0;
    }
}

.alert {
    border: 1px solid #ccc;
    padding: 6px;
}

.alert-info {
    background-color: #c4dae5;
}

.alert-success {
    background-color: #cfebc4;
}

.alert-warning {
    background-color: #e2c3aa;
}

.page {
    margin: auto;
    padding-top: 4rem;
    max-width: 60%;
}

.pg-button {
    margin: 0.5rem 1rem 0.5rem 1rem;
    padding: 0.6rem 1.5rem;
    max-width: 500px;
    background-color: #CA2ACD;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

.pg-button__secondary {
    margin: 0.5rem 1rem 0.5rem 1rem;
    padding: 0.6rem 1.5rem;
    max-width: 500px;
    background-color: #4FC6A8;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-transform: uppercase;
    transition: .3s ease-in-out;
}

.pg-button__small {
    padding: 0.4rem 0.8rem;
    max-width: 500px;
    margin: 0.4rem;
    background-color: #CA2ACD;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    transition: .3s ease-in-out;
}

.pg-button__small-secondary {
    padding: 0.4rem 0.8rem;
    margin: 0.4rem;
    max-width: 500px;
    background-color: #000D6B;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    transition: .3s ease-in-out;
}

.light__box {
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: #f9f9f9;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 40px 40px;
}

.profile-table {
    width: inherit;
}

.profile-tr {
    line-height: 1.8em !important;
    border: solid 1px #212529;
}

.profile-td {
    padding: 0.5rem 1rem;
}

.profile-input {
    max-width: 600px;
    width: 80%;
}