html {
    background-image: url("../img/background.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: top;
}
/*.body-bg {
    background-color: rgba(85, 85, 85, 0.7);
}*/
body {
    background-color: rgba(85, 85, 85, 0.7);
    font-family: "Courier New", serif;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    min-height: 100vh;
    /*background-image: url("../img/background.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-position: top;*/
}

header {
    background-color: #000000;
    color: #CA0000;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    /* height: 125px */
    position: sticky;
    /*position: fixed;*/
    width: 100%;
    top: 0;
}
h1 {
    font-family: 'Creepster', cursive;
}
.logo {
    display: flex;
    justify-content: center;
}

header img {
    width: 75px;
    height: 75px;
    margin-right: 3%;
    margin-left: 3%;
    align-self: center;
}

header h1 {
    line-height: 0.5;
}

main {
    max-width: 1200px;
    width: -moz-available;
    flex: auto;
    margin: 1% auto 5%;
}

main h1 {
    padding-left: 2%;
}

.chrome {
    width: -webkit-fill-available;
}
.contents {
    display: contents;
}
nav {
    display: flex;
    width: -moz-available;
    margin: auto;
    max-width: 1200px;
}

.navBtn {
    background-color: #333333;
    color: yellow;
    cursor: pointer;
    padding: 4px 0 4px 0;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: large;
    justify-content: center;
    transition: 0.4s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: none;
    border-top: none;
}

.navBtn:hover {
    background-color: #666666;
}

.disabled, .disabled a {
    color: #A9A9A9;
    pointer-events: none;
}

.disabled:hover {
    background-color: black !important;
}

.disabled:focus {
    background-color: black !important;
}

#dropdownBtn {
    display: flex;
    text-align: center;
}

.dropdown {
    position: absolute;
    background-color: #777777;
    line-height: 2;
    display: none;
    transition: 0.4s;
    margin: auto;
    z-index: -10;
    padding: 2%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: left;
    width: 12%;
    min-width: fit-content;
    min-height: fit-content;
}

.dropdown a {
    padding-top: 2%;
    display: block;
}

.content {
    /*display: flex;
    align-items: stretch;
    column-gap: 2%;*/
}

.list-assiette {
    flex: 3;
}

.commande {
    flex: 2;
    padding: 1%;
    background-color: #F5F5F5;
    margin-top: 5%;
}

.commande .btnCommandeAcc {
    justify-content: flex-start;
    margin-top: 1%;
}
.commande .aSortir {
    margin-bottom: 1%;
}
.article {
    border: 2px solid #F5F5F5;
    padding: 1%;
    margin-bottom: 3%;
    background-color: #808080;
}

.checkboxes {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.checkboxes input[type='checkbox'] {
    width: auto !important;
    margin-right: 5px;
}

#form {
    display: flex;
    justify-content: space-around;
}

form[name = 'table_form'] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid black;
}

form[name = 'table_form'] input {
    width: auto;
}

main h1 {
    margin-top: 0;
}

h3 {
    text-align: center;
}

.list {
    display: grid;
    grid-column-gap: 2%;
    grid-row-gap: 5%;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /*text-align: justify;*/
    margin-bottom: 12%;
    padding: 1%;
}

.list-item {
    border: 1px solid black;
    background-color: rgba(169, 169, 169, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3% 2% 2% 2%;
}

.list-item:hover {
    box-shadow: 0 10px 13px -7px #000000;
}

.list-item form {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.list-entete {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: rgba(169, 169, 169, 0.7);
    padding: 1%;
    border: 1px solid #000000;
}

.list-entete button {
    width: auto;
}

.cuisine {
    text-align: center;
    justify-content: flex-start;
    align-items: inherit;
    font-weight: bold;
    text-transform: uppercase;
}

.cuisine-entete p {
    margin: 0;
}
.cuisine-entete {
    border-bottom: 1px solid #000000;
    margin-bottom: 2%;
    text-align: center;
}

footer {
    text-align: center;
    position: sticky;
    /*position: fixed;*/
    height: 45px;
    bottom: 0;
    width: 100%;
    background-color: #555555;
    padding: 1%;
    box-sizing: border-box;
}

.accordion {
    cursor: pointer;
    /*transition: 0.4s;*/
}

.categorie {
    background-color: #eee;
    color: #444;
    padding: 1%;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: larger;
    display: flex;
    justify-content: space-between;
    margin-top: 1%;
}

.active {
    background-color: #ccc;
}

.categorie:hover {
    background-color: #ccc;
}

.panel {
    display: none;
    background-color: rgba(220, 220, 220, 0.7);
    overflow: hidden;
    border-bottom: 1px solid black;
    padding: 0 18px 1%;
}

.panel-cuisine {
    margin-top: -5%;
    background-color: #F5F5F5 !important;
    justify-content: space-around;
    margin-bottom: 5%;
    padding-top: 1%;
}

.panel-commande {
    display: none;
    flex-direction: column;
    background-color: initial;
}

.panel-commande .btnCommande {
    justify-content: center;
}

.commande-entete {
    display: flex;
    flex-direction: column;
}

.quantity {
    align-items: flex-start;
    justify-content: space-around;
    flex-direction: column;
    padding: 1%;
}

.quantity input {
    width: 75%;
}

.aSortir {
    border-bottom: 12px solid black;
    margin-bottom: 5%;
    padding-bottom: 1%;
}

.enAttente-item {
    background-color: #e0e0e0;
}

.servies .categorie {
    justify-content: center;
}

.arrow {
    width: 15px;
    transform: rotate(0deg);
    align-self: center;
}

.btn {
    width: -moz-available;
    display: flex;
    /*margin: 3%;*/
    justify-content: center;
}

/*.btn:hover {
    box-shadow: 0 2px 1px -1px #000;
}*/

.btnCommande {
    justify-content: space-between;
    margin: 2%;
}

.btnOk {
    width: 25%;
    margin: auto;
    justify-content: center;
}

.btnDelete:hover a, .btnDelete:hover {
    color: #CA0000;
    cursor: pointer;
}

.btnModif:hover, .btnModif:hover a {
    color: #008000;
    cursor: pointer;
}

.btns {
    margin-bottom: 1%;
    margin-top: 1%;
    display: flex;
    justify-content: space-around;
}

.btnsCommande {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}


label, input, select {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 3%;
}

[type="checkbox"] {
    width: auto;
}

nav a {
    text-decoration: none;
    color: #FFFF00;
}

.logo a {
    color: #CA0000;
}

a {
    text-decoration: none;
    color: #000000;
}

.error {
    background-color: #CA0000;
    border: 2px solid #8B0000;
}

.success {
    background-color: #008000;
    border: 2px solid #006400;
}

.notif {
    background-color: #FFFF00;
    border: 2px solid #FFA500;
}

.flash {
    margin-bottom: 1%;
    padding: 1%;
}

.pop-up {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
}
.pop-up-content {
    position: absolute;
    width: 75%;
    height: 75%;
    margin: auto;
    background-color: #777777;
    border: 1px solid black;
    display: none;
}


@media only screen and (max-width : 768px) {

    main h1 {
        font-size: smaller;
    }
    nav {
        font-size: large;
    }
    .navBtn {
        font-size: inherit;
    }

    #dropdownMenu {
        left: 0;
        margin-top: 3%;
    }

    .list {
        grid-row-gap: 1%;
    }
}




