body {
    margin: 0;
    padding: 0;
    background-color: #cccccc;
    width: 100%;
    height: 100%;
}
html{
    margin: 0;
    padding: 0;
    height: 100%;
}
.header{
    height: fit-content;
    background-color: #000000;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #F0EEED;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 60px;
    z-index: 95;
}
.header .HEADLOGO{
    padding: 10px;
    width: 80px;
    position: absolute;
    left: 20px;
}
.header a{
    padding: 10px;
    width: 50%;
    position: relative;
    left: auto;
    right: auto;
    cursor: pointer;
}
.header .HEADLOGO2{
    width: 100%;
}
.header .menu{
    padding: 10px;
    transition: max-height 0.2s;
    background: none;
    border: none;
    position: absolute;
    right: 30px;
}
.menu-icon{
    width: 50px;
    cursor: pointer;
}
#navMenu {
    display: none;
    flex-direction: column;
    background-color: #000000;
    height: 100dvh;
    padding: 30px;
    padding-top: 120px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 90;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}
#navMenu.open {
    opacity: 1;
    filter: blur(0);
}
#navMenu a, #navMenu button{
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    margin-top: 10px;
}
#navMenu a:hover, #navMenu button:hover{
    color: #FB0000;
    text-decoration: underline;
}
#navMenu button{
    background: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 0px;
    border: none;
    text-align: left;
    cursor: pointer;
}
.pres{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}
.pres p, .pres h1, .usinage p, .usinage h1, .items p, .items h1, .items2 p, .demandes h1, .demandes p{
    margin-left: 350px;
    margin-right: 350px;
}
.pres h1, .usinage h1, .items h1, .gameapp h1, .items2 h1{
    padding-top: 30px;
    padding-bottom: 0px;
}
.messages h1, .factures h1{
    padding-top: 30px;
    padding-bottom: 0px;
}
.messages h1, .factures h1, .demandes h1{
    border-bottom: 2px solid #FB0000;
}
.pres img{
    width: 50%;
}
h2{
    padding-top: 0px;
    margin-top: 10px;
    font-size: 22px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.pres p, .usinage p, .items p, .items2 p{
    padding-top: 10px;
    padding-bottom: 10px;
}
.demandes p{
    padding: 0;
    padding-top: 5px;
    margin-top: 0;
    margin-bottom: 0;
}
#demandes{
    width: 100%;
}
.usinage, .items, .items2, .demandes{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}
.items ul, .items2 ul{
    margin-left: 350px;
    margin-right: 350px;
    padding-top: 0px;
    padding-bottom: 10px;
    margin-top: 0px;
}
.usinage img, .items img, .items2 img{
    width: 45%;
}
.usinageSlider, .itemSlider, .item1Slider, .item2Slider{
    display: flex;
    align-items: center;
    justify-content: center;
}
.usinageSlider button, .itemSlider button, #item1prev, #item1next, #item2next, #item2prev{
    width: 6%;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.usinageSlider button img, .itemSlider button img, .item1Slider button img, .item2Slider button img{
    width: 100%;
}
.usinage a, .items a, .items2 a{
    background-color: #000000;
    border-radius: 3px;
    padding: 10px;
    margin-top: 5px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}
.items2 button, #devis button, #logadmin button, #demandes button, #factures button, #devisadmin button, #messages button, #log button, #sign button, #logdevisalert button, #popup-suivi button{
    background-color: #FB0000;
    color: white;
    border-radius: 3px;
    padding: 10px;
    margin-top: 20px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
}
footer{
    background-color: #000000;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-top: 20px;
    color: #F0EEED;
    position: relative;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
#insta{
    width: 4vw;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}
#fb{
    width: 4vw;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}
#cgv a{
    color: white;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}
#cgv a:hover{
    color: #FB0000;
    text-decoration: underline;
}
#copy p{
    font-size: 10px;
}
.items2 ul{
    margin-top: 10px;
}
.items2 ul li{
    list-style: none;
}
.items2 ul li::before{
    content: "\2022";
    color: #FB0000;
    position: relative;
    left: 0;
    margin: 7px;
    margin-bottom: 0px;
}
#map{
    z-index: 80;
}
#flou, #floulog{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    z-index: 100;
}
#floualert{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    z-index: 210;
}
#log, #sign{
    font-size: 20px;
    display: flex;
    position: fixed;
    top: 5%;
    left: 30%;
    width: 40%;
    background-color: #2c2c2cf5;
    justify-content: center;
    border-radius: 5px;
    box-shadow: 0px 0px 20px black;
    z-index: 110;
    min-height: 20%;
    max-height: 90%;
    height: fit-content;
    overflow: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}
#logalert{
    font-size: 20px;
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 5%;
    left: 30%;
    width: 40%;
    background-color: #2c2c2c;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 0px 20px black;
    z-index: 1020;
    min-height: 20%;
    max-height: 90%;
    height: fit-content;
}
#log form, #sign form{
    width: 95%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    z-index: 120;
    padding-top: 10px;
    padding-bottom: 10px;
    height: fit-content;
}
#log span, #sign span{
    position: absolute;
    top: 0px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 600;
    color: white;
    z-index: 200;
}
#logalert span{
    position: absolute;
    top: 0px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 600;
    color: white;
    z-index: 230;
}
#log label, #sign label, #logalert p{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin-top: 10px;
    font-size: 18px;
}
#log p{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin-top: 20px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    font-size: 18px;
}
#log input, #sign input, #sign select{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 3px;
    width: 50%;
    border-radius: 5px;
}
#adresse, #dep{
    display: flex;
    flex-direction: inline-block;
    width: 100%;
}
#numero, #post{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 0px;
    padding-right: 0px;
}
#voie, #dept{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0px;
    padding-left: 0px;
}
#devis::-webkit-scrollbar, body::-webkit-scrollbar{
    width: 8px;
}
#devis::-webkit-scrollbar-track{
    background: #e8e8e83d;
    border-radius: 10px;
}
body::-webkit-scrollbar-track{
    background: #e8e8e83d;
    border-radius: 0px;
}
#devis::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb{
    background: #393939;
    border-radius: 10px;
}
#devis::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover{
    background: #919191;
}

@media screen and (max-width: 660px) {
    #navMenu{
        padding-top: 80px;
    }
    .header .HEADLOGO{
        width: 45px;
        left: 0px;
    }
    .header a{
        width: 65%;
    }
    .header .menu{
        right: 0px;
    }
    .menu-icon{
        width: 40px;
    }
    .pres img{
        width: 90%;
    }
    .pres p, .pres h1, .usinage p, .usinage h1, .items p, .items h1, .items2 h1{
        margin-left: 50px;
        margin-right: 50px;
    }
    .items2 p, .items2 ul{
        margin-left: 30px;
        margin-right: 30px;
    }
    .items2 ul{
        padding: 0px;
    }
    .items2 button, #logdevisalert button{
        width: fit-content;
        font-size: 12px;
    }
    #logdevisalert button{
        margin-top: 10px;
    }
    #logdevisalert p{
        margin-bottom: 0px;
        margin-top: 20px;
    }
    .devis p, .factures p, .demandes p, .messages p{
        font-size: 12px;
        margin: 0px;
    }
    .devis button, .factures button, .demandes button, .messages button, #demandes button, #factures button, #messages button{
        font-size: 12px;
    }
    .devis h1, .factures h1, .demandes h1, .messages h1{
        margin-top: 10px;
        padding-top: 10px;
    }
    #sliderItems1, #sliderItems2, #sliderItems, #sliderUsinage, #sliderMap{
        width: 80%;
    }
    #item1prev, #item1next, #item2next, #item2prev, #itemprev, #itemnext, #usiprev, #usinext, #mapprev, #mapnext{
        width: 8%;
        padding: 0px;
    }
    .pres h1, .usinage h1, .items h1, .gameapp h1, .items2 h1, .items2 h2, .demandes h1{
        padding-top: 20px;
        font-size: 18px;
    }
    .pres p, .usinage p, .items p, .items2 p, .items ul, .items2 ul, .dmandes p{
        padding-top: 0px;
        font-size: 12px;
    }
    .usinage a, .items a, #navMenu a, .items2 a, #navMenu button{
        font-size: 12px;
    }
    .usinageSlider button, .itemSlider button{
        width: 10%;
    }
    .gameapp select{
        font-size: 14px;
    }
    #logadmin button, #devisadmin button, #popup-suivi button{
        font-size: 14px;
    }
    footer{
        padding-top: 0px;
        padding-bottom: 0px;
    }
    #insta{
        width: 8vw;
    }
    #fb{
        width: 8vw;
    }
    #copy p{
        font-size: 8px;
    }
    #cgv a{
        font-size: 10px;
    }
    #devis, #logadmin, #devisadmin, #popup-suivi{
        width: 90%;
        left: 5%;
        top: 5%;
    }
    #devis, #logadmin, #devisadmin{
        max-height: 80%;
    }
    #devisalert, #messalert, #logdevisalert, #logalert{
        width: 80%;
        left: 10%;
    }
    #devisalert p, #messalert p, #logdevisalert p, #logalert p{
        margin-left: 10px;
        margin-right: 10px;
    }
    #devis input, #devis select, #sign select, #devis p, #devisadmin label, #devisadmin input, #logadmin label, #logadmin input, #devisalert p, #logdevisalert p, #messalert p, #contactform label, #logform label, #logform p, #signform label, #contactform input, #logform input, #contactform input, #popup-suivi label, #popup-suivi input{
        font-size: 14px;
    }
    #devis input, #logadmin input, #devisadmin input, #contactform input, #signform input, #logform input, #contactform textarea, #popup-suivi input{
        width: 70%;
    }
    #devis label{
        font-size: 13px;
    }
    #devis textarea, #contactform textarea{
        height: 120px;
    }
    #devis::-webkit-scrollbar, body::-webkit-scrollbar{
        width: 12px;
    }
    #sign, #log{
        width: 80%;
        left: 10%;
    }
    #map{
        height: 400px;
    }
    table{
        width: 80%;
        font-size: 12px;
    }
    #factures .collapse-btn, #demandes .collapse-btn, #messages .collapse-btn{
        right: 8px;  
        padding: 0px 2px;
        font-size: 10px;
    }
    #factures hr, #demandes hr, #messages hr{
        width: 30vw;
    }
    #devis #spanmodel{
        font-size: 10px;
    }

}
