body{
    margin: 0;
    padding: 0;
    background-color: #cccccc;
    width: 100%;
    min-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;
}
.devis, .factures, .scenarios, .profil{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}
.devis p, .factures p, .scenarios p, .profil p{
    font-size: 16px;
    margin: 2px;
}
.devis h1, .factures h1{
    padding-top: 30px;
    padding-bottom: 0px;
}
h1{
    border-bottom: 2px solid #FB0000;
}
#log button, #sign button, .devis button, .factures button, #logout button, #commande button, .scenarios 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;
    width: fit-content;
    margin-left: 5px;
    margin-right: 5px;
    height: fit-content;
}
#commande button{
    margin-bottom: 10px;
}
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: 14px;
}
#cgv a:hover{
    color: #FB0000;
    text-decoration: underline;
}
#copy p{
    font-size: 10px;
}
#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;
}
#devis, #logadmin, #devisadmin, #log, #sign, #commande{
    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;
}
#commande{
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-items: center;
    justify-content: flex-start;
}
#commande p, #commandealert p, #logalert p{
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 5px;
    margin-top: 10px;
    text-align: center;
}
#devisalert, #commandealert, #logalert{
    font-size: 20px;
    display: flex;
    position: fixed;
    top: 5%;
    left: 30%;
    width: 40%;
    background-color: #2c2c2cf5;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0px 0px 20px black;
    z-index: 220;
    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;
}
#devisalert span, #messalert span, #commande span, #commandealert span, #logalert span{
    position: absolute;
    top: 0px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 600;
    color: white;
    z-index: 230;
}
#devis label, #logadmin label, #devisadmin label, #devis p, #devisalert p, #messalert p, #log label, #sign label{
    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;
}
#contactform label{
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    margin-top: 10px;
    font-size: 18px;
}
#contactform{
    z-index: 10;
    width: 95%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
    height: fit-content;
}
#devis p{
    margin-bottom: 0px;
    padding-bottom: 0px;
}
#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 #voie input, #devis #dept input{
    width: 80%;
}
#commande::-webkit-scrollbar, body::-webkit-scrollbar{
    width: 8px;
}
#commande::-webkit-scrollbar-track{
    background: #e8e8e83d;
    border-radius: 10px;
}
body::-webkit-scrollbar-track{
    background: #e8e8e83d;
    border-radius: 0px;
}
#commande::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb{
    background: #393939;
    border-radius: 10px;
}
#commande::-webkit-scrollbar-thumb:hover, body::-webkit-scrollbar-thumb:hover{
    background: #919191;
}
hr{
    width: 20vw;
    border: 0.5px solid #4e4e4e;
    box-shadow: 0 2px 8px #4e4e4e;
}
#commande input{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    width: 50%;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 5px;
}
#commandep div{
    text-align: center;
    justify-items: center;
    align-items: center;
    justify-content: center;
}
table{
    width: 20%;
    font-size: 14px;
}
#cgv-check {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 25px;
    height: 20px;
    border: 2px solid #FB0000;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    background-color: #919191;
}
#cgv-check:checked::after {
    content: "✔";
    color: #FB0000;
    font-size: 20px;
    position: absolute;
    top: -6px;
    left: 2px;
}
.factures .collapse-btn, .devis .collapse-btn, .scenario-item .collapse-btn{
    top: -20px;
    right: 25%; 
    position: absolute; 
    background: none; 
    color: #000000; 
    border: 1px solid #FB0000;
    background-color: none;
    padding: 2px;
    font-size: 12px;
}
.collapse-content{
    display: none;
    transition: 0.4s;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.2s ease, filter 0.2s ease;
}
.collapse-content.open {
    opacity: 1;
    filter: blur(0);
}
.demandedevis, .scenario-item{
    position: relative;
}
#scenario{
    width: 90%;
}
.btnscenar{
    justify-content: center;
}
#facturesclient, #devisclient, #scenario{
    width: 100%;
}
#profil-container{
    padding: 0px;
}

@media screen and (max-width: 900px) {
    .header .HEADLOGO{
        width: 40px;
        left: 0px;
    }
    .header a{
        width: 50%;
    }
    .header .menu{
        right: 0px;
    }
    .menu-icon{
        width: 40px;
    }
    .demandes p, .demandes h1{
        margin-left: 20px;
        margin-right: 20px;
    }
    .demandes h1{
        padding-top: 20px;
        font-size: 18px;
    }
    .demandes p{
        padding-top: 0px;
        font-size: 10px;
    }
    .devis p, .factures p, .scenarios p, .profil p{
        font-size: 10px;
    }
    #navMenu button, #navMenu a{
        font-size: 12px;
    }
    .devis h1, .factures h1, .scenarios h1, .profil h1{
        margin-top: 10px;
        padding-top: 10px;
    }
    .demandes button, #logout button, .devis button, .factures button, .scenarios button, .profil button{
        width: fit-content;
        font-size: 12px;
        margin-top: 10px;
        margin-left: 5px;
        margin-right: 5px;
        padding: 5px 5px;
    }
    .demandes button{
        font-size: 14px;
    }
    footer{
        padding-top: 0px;
        padding-bottom: 0px;
    }
    #insta{
        width: 6vw;
    }
    #fb{
        width: 6vw;
    }
    #copy p{
        font-size: 8px;
    }
    #cgv a{
        font-size: 10px;
    }
    #devisalert, #messalert{
        width: 60%;
    }
    #devis input, #commande input, #devis select, #devisadmin label, #devisadmin input, #logadmin label, #logadmin input, #devisalert p, #messalert p, #contactform label, #logform label, #logform p, #signform label, #contactform input, #logform input, #contactform input{
        font-size: 12px;
    }
    #devis input, #logadmin input, #commande input, #devisadmin input, #contactform input, #signform input, #logform input, #contactform textarea{
        width: 70%;
    }
    #commande::-webkit-scrollbar, body::-webkit-scrollbar{
        width: 12px;
    }
    #sign, #log{
        width: 70%;
        left: 15%;
    }
    .scenarios img{
        width: 80px;
        height: 80px;
    }
    #devisalert, #messalert, #logdevisalert, #logalert, #commandealert{
        width: 80%;
        left: 10%;
    }
    #devisalert p, #messalert p, #logdevisalert p, #logalert p{
        margin-left: 10px;
        margin-right: 10px;
    }
    #commande{
        font-size: 20px;
        left: 10%;
        width: 80%;
    }
    #payment-element{
        width: 90%;
        margin-top: 5px;
    }
    #stripe-payment-form{
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    table{
        width: 40%;
        font-size: 12px;
    }
    .factures .collapse-btn, .devis .collapse-btn, .scenario-item .collapse-btn{
        top: -10px;
        right: 10%;  
        padding: 0px 2px;
        font-size: 10px;
    }
}

@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;
    }
    .demandes p, .demandes h1{
        margin-left: 20px;
        margin-right: 20px;
    }
    .demandes h1{
        padding-top: 20px;
        font-size: 18px;
    }
    .demandes p{
        padding-top: 0px;
        font-size: 12px;
    }
    .devis p, .factures p, #navMenu button, #navMenu a, .scenarios p, .profil p{
        font-size: 12px;
    }
    .devis h1, .factures h1, .scenarios h1, .profil h1{
        margin-top: 10px;
        padding-top: 10px;
    }
    .demandes button, #logout button, .devis button, .factures button, .scenarios button, .profil button{
        width: fit-content;
        font-size: 12px;
        margin-top: 10px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .demandes 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;
    }
    #devisalert, #messalert{
        width: 60%;
    }
    #devis input, #commande p, #commande input, #devis select, #devis p, #devisadmin label, #devisadmin input, #logadmin label, #logadmin input, #devisalert p, #messalert p, #contactform label, #logform label, #logform p, #signform label, #contactform input, #logform input, #contactform input{
        font-size: 14px;
    }
    #devis input, #logadmin input, #commande input, #devisadmin input, #contactform input, #signform input, #logform input, #contactform textarea{
        width: 70%;
    }
    #commande::-webkit-scrollbar, body::-webkit-scrollbar{
        width: 12px;
    }
    #sign, #log{
        width: 80%;
        left: 10%;
    }
    .scenarios img{
        width: 80px;
        height: 80px;
    }
    #devisalert, #messalert, #logdevisalert, #logalert, #commandealert{
        width: 80%;
        left: 10%;
    }
    #devisalert p, #messalert p, #logdevisalert p, #logalert p{
        margin-left: 10px;
        margin-right: 10px;
    }
    #commande{
        font-size: 20px;
        left: 10%;
        width: 80%;
    }
    #payment-element{
        width: 90%;
        margin-top: 5px;
    }
    #stripe-payment-form{
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    table{
        width: 70%;
        font-size: 12px;
    }
    .factures .collapse-btn, .devis .collapse-btn, .scenario-item .collapse-btn{
        right: 8px;  
        padding: 0px 2px;
        font-size: 10px;
    }
    hr{
        width: 30vw;
    }
    #cgv-check {
        margin-right: 5px;
    }
    #cgv-check:checked::after {
        top: -10px;
        left: -3px;
    }
    .profil{
        margin: 0px;
    }

}


