body {
    background-color: rgb(219, 221, 216);
}


/*type de texte*/
div.center {
    text-align: center;
}

p {
    font-size: 100%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    color: #498847;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    opacity: 1;
    font-size: 450%;
}

h2 {
    color: #ce5555;
    text-align: center;
    opacity: 1;
    font-size: 300%;
}

h3 {
    color: black;
    opacity: 1;
    font-size: 150%;
}

h4 {
    color: #4f6128;
    font-size: 200%;
    text-align: center;
}

h5 {
    color: black;
    text-align: left;
    opacity: 1;
    font-size: 120%;
}



/*nav bar*/
ul.nav_bar {
    overflow: visible;
    list-style-type: none;
    background-color: rgb(133, 191, 46);
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

li.nav_bar {
    background-color: rgb(76, 113, 20);
    align-items: center;
    float: left;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    margin: 5px;
    margin-right: 0;
    font-weight: 700;
    border-radius: 3px;
}

li.nav_bar_right {
    background-color: rgb(76, 113, 20);
    align-items: center;
    float: right;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    margin: 5px;
    margin-right: 10px;
    margin-left: 0;
    font-weight: 700;
    border-radius: 3px;
}

li a {
    display: inline-block;
    color: black;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
}

li a:hover:not(.active) {
    background-color: white;
}

li a.active {
    background-color: gray;
}



ul.nav_bar_bottom {
    overflow: visible;
    list-style-type: none;
    background-color: rgb(219, 221, 216);
    margin: 0;
    padding: 0;
    position: fixed;
    top: 95%;
    left: 45%;
    width: 100%;
}

li.nav_bar_bottom {
    background-color: rgb(219, 221, 216);
    align-items: center;
    float: bottom;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    margin: 5px;
    margin-right: 0;
    font-weight: 100;
    border-radius: 3px;
}




/*div boutton*/
div.button {
    width: min-content;
    background-color: gray;
    border-radius: 3px;
}

a.button {
    display: block;
    color: black;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    padding: 10px;
    border-radius: 3px;
}

a:hover:not(.buttonactive) {
    background-color: #6d6d6d;
    border-radius: 3px;
}

a.buttonactive {
    background-color: #525252;
}


/*div particulier*/


div.error {
    background-color: red;
    color: white;
    margin: 5px;
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    right: 150px;
    top: 150px;
    position: absolute;
}

form.commande {
    margin: 5px;

}

div.form_command {
    margin: auto;
    width: max-content;
    background-color: #e0e0e0;
    border-radius: 5px;
    padding: 5px;
}

div.contact h3 {
    text-align: center;
    font-size: 200%;
}

/*input bouton*/

input[type=submit] {
    background-color: rgba(20, 167, 62, 1);
    border: none;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    margin: 4px;
}

input[type=submit]:active {
    box-shadow: 0 0.3em 1em -0.5em #14a73e98;
}

input[type=submit]:hover {
    background-color: rgb(161, 48, 48);
    box-shadow: 0 0.3em 1em -0.5em #a7141498;
}

input.disabled {
    background-color: #e7e7e7;
    cursor: default;
}

input.disabled:hover {
    background-color: #e7e7e7;
    cursor: default;
}

input[type=text] {
    width: 300px;
    margin: 5px;
}

input[type=text]:hover {
    border-width: 1px;
    padding: 2px 3px;
    border-color: #5e5e5e;
    border-radius: 2px;
    border-style: groove;
    background-color: #e0e0e0;
}

/*boutique*/
div.all_items {
    text-align: center;
    width: max-content;
    margin: auto;
}

div.divitem {
    display: inline-block;
}

div.desactive_item {
    border: 1px solid #a8a5a5;
    padding: 2px;
    border-radius: 5px;
    width: 200px;
    height: 300px;
    overflow: hidden;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    background: #a8a5a5;
}

div.active_item {
    border: 1px solid #a8a5a5;
    padding: 2px;
    border-radius: 5px;
    width: 200px;
    height: 300px;
    overflow: hidden;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
}

div.item_img img {
    text-align: center;
    width: 190px;
    height: 260px;
}

div.item_action {
    margin-top: -10px;
}

p.nom {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: -20px;
    margin-top: -4px;
}

p.type {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
    margin-top: -4px;
}

p.prix {
    display: inline-block;
    font-size: 18px;
}

/*panier*/
td.article_panier {
    padding: 5px;
    background-color: #c5c5c5;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 3px;
}

div.article_panier {
    background-color: #a7a4a4;
    border-radius: 5px;
    width: max-content;
    margin: auto;
    padding: 10px;
    margin-bottom: 10px;
}

button.btn_ajouter {
    color: white;
    background: linear-gradient(0deg, rgba(20, 167, 62, 1) 0%, rgba(102, 247, 113, 1) 100%);
    border: none;
    border-radius: 20em;
    cursor: pointer;
    vertical-align: middle;
    padding: 0;
    display: inline-block;
}

p.stock {
    font-weight: 900;
    font-size: 20px;
    margin-bottom: -15px;
}

div.panier h1 {
    font-size: 50px;
    color: #f6ac0098;
    margin-top: 10px;
}

div.panier {
    border: 2px solid #f4ba46;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    clear: both;
    left: 50px;
    top: 102px;
    position: fixed;
}

div.panier_item button {
    border: 2px solid #000000;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    vertical-align: middle;
}

div.panier_item {
    font-family: Arial, Helvetica, sans-serif;
    border: 2px solid #b88c35;
    border-radius: 5px;
    width: 276px;
    text-align: left;
    padding: 5px;
    display: inline-block;
}

div.textpanier {
    width: 280px;
    height: 27px;
    overflow: hidden;
}

/*gestion*/
form.gestion {
    display: inline-block;
}

button.btn_mofifier {
    font-family: inherit;
    font-weight: 500;
    font-size: 30px;
    color: white;
    background: linear-gradient(0deg, rgba(20, 167, 62, 1) 0%, rgba(102, 247, 113, 1) 100%);
    border: none;
    width: 130px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    margin-top: 25px;
}

div.commandes tr {
    border: 1px solid #f4ba46;
    border-radius: 5px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    clear: both;
    display: block;
    border-collapse: collapse;
    width: 100%;
}

div.commandes td {
    border: 1px solid #9d8429;
    width: 300px;

}

div.commandes table {
    width: 100%;

}



div.info_frais_port {
    right: -40px;
    top: 102px;
    position: fixed;
}

div.info_frais_port table {
    border-collapse: collapse;
    text-align: center;


}

div.info_frais_port td {
    border: 1px solid rgb(81, 75, 75);
    padding: 20px;
    font-size: 120%;
}

div.info_frais_port tr {
    padding: 10%;
}

/*creation compte*/
div.login {
    padding: 0px;
    text-align: center;
    color: #65a952;
    font-size: 200%;
    font-weight: 600;
}

h2.connect {
    text-align: center;
    color: rgba(20, 167, 62, 1);
    opacity: 1;
    font-size: 200%;
}

form.host {

    padding: 10px;
    margin: auto;
    width: max-content;
    font-family: Arial, Helvetica, sans-serif;
    background-color: lightgray;
    border-radius: 5px;
}

form.host input {
    width: 300px;
    margin: 5px;
}

div.check_mark {
    padding: 0px;
    text-align: center;
    color: #000000;
    font-size: 50%;
    font-weight: 300;
}

#checkout-form {
    margin: 35%;
    margin-top: 0%;

}

div.panel {
    text-align: center;
}
