﻿:root {
    --spacing-sm: .1rem;
    --spacing-md: .25rem;
    --spacing-lg: .5rem;
    --spacing-xlg: 1.2rem;
    --radius-btn: 999px;
    --color-light: #f6d5d5;
    --color-medium: #bc5454;
    --color-heavy: #820a0a;
}

.page {
    padding-left: var(--spacing-xlg);
    padding-right: var(--spacing-xlg);
}

.img-fit {
    width: 100%;
}
.img-round {
    border-radius: 1.25rem;
}

.legend{
    font-size: 3rem;
    animation: change-color linear 240s infinite;
}

@keyframes change-color {
    25% {
        color: darkred;
        border-bottom: 1px solid darkred;
    }

    50% {
        color: skyblue;
        border-bottom: 1px solid skyblue;
    }

    75% {
        color: slategrey;
        border-bottom: 1px solid slategrey;
    }

    100% {
        color: navy;
        border-bottom: 1px solid navy;
    }
}


.round-container {
    border-radius: 1.5rem;
    padding: var(--spacing-xlg);
    margin: var(--spacing-lg);
    background: #fff;
    transition: all;
    box-shadow: 0px 0px 5px 1px rgba(128,128,128,.1);
}

@font-face {
    src: url('../fonts/Nunito-VariableFont_wght.ttf');
    font-family: "Nunito"
}

@font-face {
    src: url('../fonts/Quicksand-VariableFont_wght.ttf');
    font-family: "Quicksand"
}

.button {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 150px;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-btn);
    height: 2.5rem;
}

.button-heavy {
    background-color: var(--color-heavy);
    color: white;
    font-weight: bold;
}

.button-medium {
    background-color: var(--color-medium);
    color: var(--color-heavy);
    font-weight: bold;
}
.button-light {
    background-color: var(--color-light);
    color: initial;
    font-weight: normal;
}

.button-transparent {
    background-color: none;
    color: inherit;
    font-weight: normal;
}
    .button-transparent:focus,
    .button-transparent:active {
        outline: none;
        box-shadow: none;
        border-color: inherit;
    }

a, a:visited {
    color: var(--color-medium);
    text-decoration: none;
}

    a:hover{
        color: var(--color-heavy);
    }

html {
    transition: all 1s;
    font-size: 1rem;
}

body {
    margin: 0;
    padding: 1%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.label-element {
    display: block;
    font-size: smaller;
    margin-bottom: 0;
    font-weight: bold;
    margin-top: 5px;
}

.input-element, .select-element {
    width: 100%;
    padding: var(--spacing-lg);
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-group {
    padding: var(--spacing-lg);
    background-color: rgba(0,0,0,.05);
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}
.text-black{
    color: black;
}
.text-inherit{
    color: inherit;
}
.text-danger {
    color: darkred;
}

.text-success {
    color: green;
}

.text-warning {
    color: orange;
}
.text-info{
    color: aqua;
}

.text-secondary {
    color: gray;
}
.text-gradient {
    background: linear-gradient(to left, var(--color-light), var(--color-heavy));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: fit-content;
}
.thumb-item {
    font-size: smaller;
    transition: all .5s;
}

    .thumb-item:hover {
        box-shadow: 0px 0px 5px 1px var(--color-light);
        transform: scale(1.1);
    }
.accent-danger {
    background: #f9c9c9;
    color: #640707;
}

.accent-success {
    background: lightgreen;
    color: #054a05;
}

.accent-secondary {
    background: #ccc;
    color: #2f2c2c
}

.accent-info {
    background: #c1e7f6;
    color: #071a64
}

.accent-warning {
    background: #f5e1bc;
    color: #584703
}

.message {
    border-radius: 3px;
    padding: 5px;
    margin: auto;
}

.flex, .flex-reverse, .flex-fluid {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    place-content: space-between;
}

    .flex > *, .flex-reverse > *, .flex-fluid > * {
        flex: 1;
        box-sizing: border-box;
    }

.profile-pic, .round-profile-pic {
    width: 150px !important;
}

.round-profile-pic {
    border-radius: 50%;
}

.font-weight-bold {
    font-weight: bold;
}

.font-style-italic {
    font-style: italic
}

.text-decoration-underline {
    text-decoration: underline
}
@media (max-width: 768px) {
    .ten-percent, .tenth,
    .twenty-percent, .one-fifth,
    .twentyfive-percent, .quarter,
    .thirtythree-percent, .third,
    .thirty-percent,
    .forty-percent, .two-fifths,
    .fortyfive-percent, .fortyeight-percent,
    .fifty-percent, .half,
    .sixty-percent, .three-fifths,
    .sixtyseven-percent, .two-thirds, 
    .seventy-percent,
    .seventyfive-percent, .three-quarters,
    .eighty-percent, .four-fifths,
    .ninety-percent, .full {
        flex: 0 0 100% !important;
    }
    .input-group{
        padding-top: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
    }
    .flex-reverse {
        flex-direction: column-reverse !important;
    }
    .flex-fluid{
        flex-direction: column;
    }
}
.tenth, .ten-percent {
    flex: 0 0 10%;
}

.one-fifth, .twenty-percent {
    flex: 0 0 20%;
}

.quarter, .twentyfive-percent {
    flex: 0 0 25%;
}

.thirty-percent {
    flex: 0 0 30%;
}

.third, .thirtythree-percent {
    flex: 0 0 33.3%;
}

.two-fifths, .forty-percent {
    flex: 0 0 40%;
}
.fortyfive-percent{
    flex: 0 0 45%;
}
.fortyeight-percent {
    flex: 0 0 48%;
}
.half, .fifty-percent {
    flex: 0 0 50%;
}

.three-fifths, .sixty-percent {
    flex: 0 0 60%;
}

.two-thirds, .sixtyseven-percent {
    flex: 0 0 67.7%;
}

.seventy-percent {
    flex: 0 0 70%;
}

.three-quarters, .seventyfive-percent {
    flex: 0 0 75%;
}

.four-fifths, .eighty-percent {
    flex: 0 0 80%;
}

.ninety-percent {
    flex: 0 0 90%;
}

.full, .hundred-percent {
    flex: 0 0 100%;
}

.font-nunito {
    font-family: Nunito, sans-serif;
}

.font-quicksand {
    font-family: Quicksand, sans-serif;
}

.font-size-sm {
    font-size: small;
}
.font-size-lg {
    font-size: large;
}
.font-size-normal{
    font-size: 1rem;
}
.font-size-2 {
    font-size: 2rem;
}
.font-size-3{
    font-size: 3rem;
}

.bordered {
    border: 1px solid #ccc;
}
.bordered-accent {
    border: 1px solid var(--color-light);
}

.table {
    width: 100%;
}

.table-border-collapse {
    border-collapse: collapse;
}

.table-striped tr:nth-child(2n+1) {
   background-color: #ccc;
}
.table-striped-accent tr:nth-child(2n+1) {
    background-color: var(--color-light);
}

.money, .money-subtotal, .money-total {
    text-align: right;
}

.money-subtotal {
    border-top: 1px solid #ccc;
}
.money-total {
    border-top: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
}

.flex-end {
    display: flex;
    place-content: end;
    align-items: end;
}