body {
    background-color: #f2f3f7;
}

.nav {
    /* border: 4px solid red; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    height: 5.25rem;
    margin-right: 83px;
}

.info {
    display: flex;
    font-size: 23px;
    margin-left: 50px;
    margin-right: 293px;
}

.login {
    display: flex;
}

.login_input {
    border: none;
    /* padding: 0.5rem 2rem; */
    height: 2rem;
    font-size: 1rem;
    text-align: center;
    width: 12rem;
    border-radius: 10rem;
    margin-right: 1rem;
    color: inherit;
    border: 1px solid #fff;
    transition: all 0.3s;
}

/* .login_btn {
    border: none;
    background: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.user {
    display: flex;
    align-items: center;
}

.user input {
    border-radius: 10px;
    border-color: white;
    text-align: center;
    height: 24px;
    width: 84px;
}

.password {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-left: 20px;

}

.password input {
    border-radius: 10px;
    border-color: white;
    text-align: center;
    height: 24px;
    width: 84px;
} */

/* .btn {
    display: inline-block;
    margin-top: 10px;
    position: absolute;
    right: 50px;
    top: 25px;
    cursor: pointer;
} */

/* .arrow {
    border-radius: 10px;
    background-color: gray;
    height: 29px;
    cursor: pointer;
}

.btn :hover {
    background-color: white;
} */

/* .main {
    margin: 108px;
    padding: 60px;
    margin-top: 24px;
    opacity: 0;
    transition: all, 1s;
} */

.main {
    position: relative;
    max-width: 80%;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 4fr 3fr;
    grid-template-rows: auto repeat(3, 15rem) auto;
    gap: 2rem;

    /* NOTE This creates the fade in/out anumation */
    opacity: 0;
    transition: all 1s;
}

/* .balance__label {
    font-size: 26px;
    margin: 0px;
}

.balance__date {
    margin: 0px;
}

.balance__value {
    font-weight: bolder;
    font-size: 26px;
    margin-top: -37px;
    position: absolute;
    right: 290px;
} */

.balance {
    grid-column: 1 / span 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.balance__label {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: -13px;
}

.balance__date {
    font-size: 21px;
    color: #888;
}

.balance__value {
    font-size: 42px;
    font-weight: 400;
}

/* .movements {
    background-color: white;
    border-radius: 15px;
    width: 56%;
    margin-top: 17px;
    height: 425px
}

.movements__row {
    margin: 0px;
    padding: 14px;
    width: 526px;

}

.movements__type {
    display: inline-block;
}

.movements__date {
    display: inline-block;
}

.movements__value {
    display: inline-block;
    position: relative;
    float: right;
}

.movements__type--deposit {
    border-radius: 8px;
    background-color: #29e529;
    font-size: 17px;
    width: 95px;
    text-align: center;
    color: white;

}

.movements__type--withdrawal {
    border-radius: 8px;
    background-color: #bd2683;
    font-size: 17px;
    width: 116px;
    text-align: center;
    color: white;
} */

/* MOVEMENTS */
.movements {
    grid-row: 2 / span 3;
    background-color: #fff;
    border-radius: 1rem;
    overflow: scroll;
}

.movements__row {
    padding: 2.25rem 4rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.movements__type {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    padding: 0.1rem 1rem;
    border-radius: 10rem;
    margin-right: 2rem;
}

.movements__date {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 500;
    color: #666;
}

.movements__type--deposit {
    background-image: linear-gradient(to top left, #39b385, #9be15d);
}

.movements__type--withdrawal {
    background-image: linear-gradient(to top left, #e52a5a, #ff585f);
}

.movements__value {
    font-size: 1.7rem;
    margin-left: auto;
    color: grey;
}

/* SUMMARY */
.summary {
    grid-row: 5 / 6;
    display: flex;
    align-items: baseline;
    padding: 0 0.3rem;
    margin-top: 1rem;
}

.summary__label {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-right: 0.8rem;
}

.summary__value {
    font-size: 2.2rem;
    margin-right: 2.5rem;
}

.summary__value--in,
.summary__value--interest {
    color: #66c873;
}

.summary__value--out {
    color: #f5465d;
}

.btn--sort {
    margin-left: auto;
    border: none;
    background: none;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
}

/* .operation {
    border-radius: 30px;
    width: 392px;
    background-color: #e35353;
    margin-left: 585px;
    padding: 20px;
    margin-top: -430px
}

.form__label {
    display: block;
}

.form__label2 {
    display: inline-block;
}


 .operation_loan {
    border-radius: 30px;
    width: 392px;
    background-color: rgb(221, 221, 36);
    margin-top: 20px;
    margin-left: 585px;
    padding: 23px;
}

.operation__close {
    border-radius: 30px;
    width: 392px;
    background-color: rgb(63, 179, 63);
    margin-top: 20px;
    margin-left: 585px;
    padding: 23px;
}  */
.operation {
    border-radius: 1rem;
    padding: 3rem 4rem;
    color: #333;
}

.operation--transfer {
    background-image: linear-gradient(to top left, #ffb003, #ffcb03);
}

.operation_loan {
    background-image: linear-gradient(to top left, #39b385, #9be15d);
}

.operation__close {
    background-image: linear-gradient(to top left, #e52a5a, #ff585f);
}

.form {
    display: grid;
    grid-template-columns: 2.5fr 2.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.4rem 1rem;
}

.form__input {
    width: 100%;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    text-align: center;
    color: #333;
    /* padding: 0.3rem 1rem; */
    border-radius: 0.7rem;
    transition: all 0.3s;
}

.form__btn {
    border: none;
    border-radius: 10px;
    font-size: 18px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}