/* --- GLOBAL --- */

* {
    margin: 0;
    padding: 0;
    font-family: 'Gabarito';
    font-size: 1.8rem;
    touch-action: manipulation;
}

body {
    background: #2b2f35;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

main {
    height: 100%;
    padding: 0 2rem;
    overflow: auto;
    flex-grow: 1;
}

footer {
    margin-top: 1rem;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    background: #343a40;
}

footer a {
    color: #fff;
    text-decoration: none;
    text-align: left;
    padding: 0.8rem 3rem;
}

#logout {

}

#backhome {
    color: #008000;
}

nav {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    text-align: left;
    padding: 0.8rem 3rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 4rem;
    line-height: 1.5;
    font-weight: 400;
}

.large-titre {
    font-size: 3.5rem;

}

.qte {
    font-weight: 800;
}

/* table gestion */

.table-gestion {
    border: 0;
    width: 100%;
    background: #343a40;
    text-align: left;
    border-collapse: collapse;
}

.table-gestion thead th {
    padding: 10px 30px;
    border-bottom: 4px solid #2b3035;
    font-weight: 800;
}

.table-gestion tbody td {
    padding: 10px 30px;
    border-bottom: 3px solid #2b3035;
}

/* --- OTHER Table --- */

.table {
    border: 0;
    width: 100%;
    background: #343a40;
    text-align: left;
    border-collapse: collapse;
}

.table thead th {
    padding: 10px 30px;
    border-bottom: 4px solid #2b3035;
    font-weight: 800;
}

.table tbody td {
    padding: 10px 30px;
    border-bottom: 3px solid #2b3035;
}

/* --- FORM ---*/

.liste {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.liste .container {
    background: #1f2326;
    padding: 0.5rem;
    justify-content: space-between;
}

.title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title span {
    font-size: 1.5rem;
    color: #438a46;
}

.number {
    display: flex;
    align-items: center;
    margin-right: 3rem;
    gap: 1rem;
}

.btn-number {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background: #2b2f35;
    border-radius: 25px;
    height: 2.5rem;
    width: 1.5rem;
    cursor: pointer;
}

.value {
    width: 2rem;
    text-align: center;
}

.btn {
    margin: 3rem;
    padding: 1rem;
    background: #1f2326;
    color: #fff;
    border: none;
    cursor: pointer;
}


/* --- RESPONSIVE --- */

/*@media screen and (max-width: 360px) {*/
/*    body {*/
/*        background: #555555;*/
/*    }*/
/*}*/

/*@media screen and (min-width: 360px) {*/
/*    body {*/
/*        background: #93c5fd;*/
/*    }*/
/*}*/


/* COLOR */

.qteLow {
    color: red;
}

.qteMid {
    color: orange;
}

.qteHigh {
    color: green;
}

.bg-blue {
    background: #3b82f6;
}

.bg-green {
    background: green;
}

.bg-red {
    background: red;
}