:root {
    --text-color: beige;
    --payd-green: #00C853;
    --due-red: #e91313;
    --payd-border: linear-gradient(to left, #00C853, #B2FF59);
    --due-border: linear-gradient(to left, #e91313, #fe4a4a);
    --normal-border: linear-gradient(to left, #d1dbd0, #a1fba0);
    --background-black: rgb(29, 29, 29);
}

@font-face {
    font-family: Heaters;
    src: url(./src/Heaters.otf);
}

@font-face {
    font-family: Comforta;
    src: url(./src/Comfortaa.ttf);
}

body {
    height: 60vh;
    background: rgb(64,64,64);
    background: linear-gradient(180deg, rgba(64,64,64,1) 0%, rgb(33, 33, 33) 52%, rgb(18, 18, 18) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Oswald', sans-serif;
    padding-bottom: 500px;
}

a,
a:visited {
    color: var(--text-color);
    text-decoration: none;
}

h2 {
    font-family: Comforta;
    text-decoration: underline;
    text-underline-offset: .15rem;
    text-decoration-color: var(--payd-green);
}

/* ===> BUTTONS <=== */
.btn {
    transition: .5s;
    background-color: var(--background-black);
    color: var(--text-color);
    padding: 6px;
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: var(--normal-border);
}

.btn:hover {
    box-shadow: 0 0 2px #1dd09179, 0 0 3px #1dd0916c, 0 0 4px #1dd09149, 0 0 5px #1dd0917a, 0 0 6px #1dd0916b, 0 0 7px #1dd09159;
}

.btn-p {
    transition: .5s;
    border-image-source: var(--payd-border);
}

.btn-d {
    transition: .5s;
    border-image-source: var(--due-border);
}

.btn_row {
    display: inline;
    padding: 10px;
}

.main_buttons {
    margin-top: 1em;
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    align-items: baseline;
    column-gap: 10px;
    padding-bottom: 20px;
}

.mBtn {
    margin-left: 5px;
}
/* ============================== */
.new_Text {
    font-size: 1.5rem;
    text-align: center;
    color: var(--text-color);
    animation: bounce 1s ease-in-out alternate infinite;
}
.upload {
    padding: 10px;
}

.text__field {
    background-color: var(--background-black);
    color: var(--text-color);
    height: 30px;
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: var(--payd-border);
}

.dateBox {
    height: 31.5px;
}

.current__date {
    position: absolute;
    top: 0;
    left: 5%;
    color: var(--text-color);
    line-height: 0%;
}

.payd_span {
    font-size: 5rem;
    letter-spacing: -8px;
    font-family: Comforta;
    color: var(--payd-green);
}

.topNav {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    background: rgb(34,34,34);
    background: linear-gradient(150deg, rgba(34,34,34,1) 0%, rgba(42,42,42,1) 70%, rgba(52,247,78,1) 94%);
    color: var(--text-color);
    padding-left: 10px;
    padding-bottom: 10px;
    line-height: .5;
    border: 5px solid;
    border-image-slice: 1;
    border-image-source: var(--payd-border);
    box-shadow: 0 10px 10px -4px rgb(0, 0, 0);
}

.input__bills {
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background-black);
    color: var(--text-color);
    text-align:center;
    padding-bottom: 10px;
    border: 5px solid;
    border-image-slice: 1;
    border-image-source: var(--payd-border);
    box-shadow: 0 10px 10px -4px rgb(0, 0, 0);
    width: 50%;
    transition: all .5s;
}

.modal {
    background-color: var(--background-black);
    color: var(--text-color);
    padding: 12px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 25vh 15vw 25vh 15vw;
    border: 5px solid;
    border-image-slice: 6;
    border-image-source: var(--payd-border);
    overflow-y: scroll;
    transition: all 0.5s;
    box-shadow: 0 10px 10px -4px rgb(0, 0, 0);
}

.modal li {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
    list-style-type: "💸: ";
    list-style-position: outside;
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: var(--payd-border);
    margin-bottom: 10px;
    background-image: linear-gradient(150deg, rgba(34,34,34,1) 0%, rgba(42,42,42,1) 70%, rgba(52,247,78,1) 94%);
}

.close_modal {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    width: auto;
    height: 30px;
    cursor: pointer;
  }

.backdrop {
    background-color: rgba(0, 0, 0, 0.468);
    backdrop-filter: blur(4px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 0;
    transition: all 0.5s;
}

.confirm_h3 {
    margin-top: 10%;
}

.confirm_h2,
.btn_confirm,
.confirm_h3 {
    text-align: center;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.bill__list {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    padding: 1rem;
    border: 3px solid rgb(59, 149, 71);
    border-top: 0;
    border-bottom: 0;
}

.list__div {
    margin-right: 40%;
    margin-left: 2%;
    margin-top: 15px;
}

.list__label {
    font-family: Comforta;
    padding-right: 25px;
}

.bill__button-row {
    text-align: right;
}



.bill__item {
    transition: all 1s;
    padding-left: 50px;
    padding-bottom: 10px;
    padding-right: 50px;
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    list-style-type: none;
    line-height: .5;
    color: var(--text-color);
    background: var(--background-black);
    border: 10px solid;
    border-image-slice: 1;
    border-width: 5px;
    border-image-source: var(--normal-border);
    box-shadow: 0 10px 10px -4px rgb(0, 0, 0);
    width: 70%;
}

.bill__item h1 {
    font-family: Comforta;
    text-decoration: underline;
    text-underline-offset: .15rem;
}

.bill_due {
    border-image-source: var(--due-border);
    transition: all .5s ease-in-out;
    color: var(--text-color);
}

.bill_due h1 {
    transition: 1s;
    text-decoration-color: var(--due-red);
}

.payd {
    border-image-source: var(--payd-border);
    transition: all .5s ease-in-out;
    color: var(--text-color);
}

.payd h1 {
    transition: 1s;
    text-decoration-color: var(--payd-green);
}

/* ==> PT SIGNATURE */
.pt_top {
    margin-top: 30vh;
    text-align: center;
    margin-left: 5px;
    color: var(--text-color);
}

.pt_sig {
    font-family: Heaters;
    font-size: 50px;
    text-decoration: none;
    color: var(--text-color);
}
/* ============================== */

@keyframes bounce {
    0% {transform: translateY(0%);}
    100% {transform: translateY(-10%);}
}

::-webkit-scrollbar {
    height: 7px;
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--background-black);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--payd-green);
    border-radius: 30px;
  }

  @media only screen and (max-width: 1000px) {
    .main_buttons {
        display: grid;
        
        margin-top: 1em;
        margin-left: 5%;
        margin-right: 5%;
    }

    .btn {
        transition: .5s;
        background-color: var(--background-black);
        color: var(--text-color);
        padding: 6px;
        border: 2px solid;
        border-image-slice: 1;
        border-image-source: var(--normal-border);
    }
  }