@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
margin :0px;
font-size: 12pt;
font-family: "Open Sans", sans-serif;
scroll-behavior: smooth;
/* transition-duration: 0.2s; */
}
html {
    /* background-color: lightgrey; */
    background: linear-gradient(40deg,  lightblue,pink);

}
body {
    background-color:lightgrey;
    background: linear-gradient(40deg,  lightblue,pink);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0px;
}
#body-compte{
    background: linear-gradient(40deg,  lightblue,pink);
}
#body-recherche {
    background: white;
}
/* général */
.section-margin {
    margin-left: 30px;
    margin-right: 30px;
    
}
.section-padding {
    margin: 0px;
    padding: 30px;
}
h1.section-title{
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 20pt;
    /* background-color: red; */
}
h2.section-title{
    margin-top: 20px;
    margin-bottom: 15px;
    font-size: 17pt;
    /* background-color: red; */
}
.grey-line {
    height: 2.5px;
    width: 80%;
    background-color: lightgrey;
    margin-bottom: 10px;
}
.separation-grey-line {
    height: 1pt;
    margin: 0px;
    background-color: lightgrey;
}
.lightblue-line {
    height: 2.5px;
    width: 80%;
    background-color: lightblue;
    margin-bottom: 10px;
}
.foot-note {
    text-align: center;
    color: whitesmoke;
    font-weight: bold;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
}
.link-with-no-style {
    color: unset;
    text-decoration: none;
}
.link-with-no-style:hover {
    text-decoration: underline;
}
.link-with-no-hover-style:hover {
    text-decoration: none;
}
.flex {
    display: flex;
}


.home-button:hover {
    cursor: pointer;
    color: rgb(94, 170, 221);
}
.nav-menu-box {
    background-color: whitesmoke;
    /* position: fixed; */
    height: 60px;
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
    /* z-index: 6; */
    margin:0px;
}
.page-name {
    font-size: 20px;
    padding: 5px 10px;
    font-weight:800;
}
.right-menu-box {
    display: flex;
    position: absolute;
    right: 8px;
    top: 9px;
}
.fa-caret-down, .fa-caret-up {
    cursor: pointer;
    float: right;
    /* right: 10px;
    top: 10px; */
}
.fa-search {
    margin: 10px;
    font-size: 20px;
}

.profile-menu-box {
    background-color: rgb(230, 230, 230);
    border-radius: 15px;
    padding: 5px;
    align-items: center;
    align-content: center;
    /* transition-duration: 01s; */
    min-height: 32px;
}
.profile-box {
    display: flex;
    right: 0;
    align-items: center;
    /* margin-right: 10px; */
    /* margin-left: 10px; */
    

}

.profile-picture {
    /* height: 40px; */
    /* background-color: white; */
    border-radius: 50px;
    display: inline-flex; /*permet d'aligner l'icone au centre verticlement */
    text-align: center;
    align-items: center;
    /* color: lightcoral; */
    cursor: pointer;
}
.profile-name {
    font-size: 20px;
    padding-left: 10px;
    padding-right: 10px;
    text-transform:capitalize;
    text-decoration: none;
    color: black;
    flex: 1;


}
.button-box {
    text-align: end;
    visibility: hidden;
    /* margin-top: 10px; */
    /* margin-bottom: 10px; */
    /* margin: 10px; */
    overflow: hidden;
    height: 0px;
    align-items: center;
    align-content: center;
    transition-duration: 0.2s;
}
#disconnect-button {
    transition-duration: 0.2s;
    width: 0px;
}
#compte-button {
    transition-duration: 0.2s;
    width: 0px;

}
.nav-button-text {
    font-size: 16px;
    color: unset;
    text-decoration: unset;
    text-align: right;
    margin: 10px;
 
}

.nav-button-text:hover {
    text-decoration: underline;
}


#alert-message-box {
    display: none;
    background-color: orange;
    width: 100%;
    padding: 20px 0px;
    text-align: justify;
}
.alert-message-text-box {
    flex: 1;
    padding: 10px;
    margin: auto;

}
.alert-message-text {
    font-size: 16px;
}
#alert-message-close-button-box {
    flex: 1;
    width: 20%;
    max-width: 30px;
    text-align: center;
    max-height: 30px;;
    border-radius: 50%;
    /* background-color: red; */
    margin: 10px;
}
#close-alert-message-button {
    width: 20vw;
    max-width: 30px;
    flex: 1;
}





/* PAGE PRINCIPALE */
.flex-boxes {
    /* background-color: lightsteelblue; */
    width: 100%;
    /* justify-content: center; */
    display: flex;
    flex-wrap: wrap;
}
.flex-box {
    background-color: white;
    margin: 5px;
    flex: 1;
    text-align: center;
    border-radius: 3px;
    max-width: 300px;
    padding: 10px;
    position: relative;
    transition-duration: 0.2s;
}
.flex-box:hover {
    cursor:pointer;
    background-color: rgb(255, 217, 217);
}
.flex-box:active {
    cursor:pointer;
    background-color: rgb(212, 182, 182);
}

.flex-box-image {
    width: 200px;
    /* min-height: 150px; */
}
.flex-box-title {
    font-weight: 600;
    /* text-transform: uppercase; */
}
.flex-box-description {
    font-weight: 300;
    margin: 5px 0px;
    text-align: justify;
    
}



.product-price {
    position:absolute;
    top: 0;
    right: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    background-color: rgb(255, 119, 119);
    padding: 5px 10px;

    margin: 5px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;

}



/* PAGE PROFIL */
.information-grey-box {
    background-color: whitesmoke;
    padding: 10px;
    border-radius: 20px;
    width: 60%;
    max-width: 700px;
    margin: auto;
    margin-top: 10px;

}
.information-boxes {
    border-radius: 15px;
    padding: 20px 5px;
    margin: auto;
    align-items: center;
}
.information-box {
    display: none;
    width: 80%;
    text-align: center;
    min-height: 30px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}
.information-name-box {
    flex: 1;
    margin: auto;
    font-weight:600;
    text-align: left;
}.information-value-box {
    flex: 1;
    margin: auto;
    font-weight: 400;
    text-align: right;
}
.modify-cookies-button-box {
    text-align: center;

}
.modify-cookies-button {
    text-decoration: none;
}.modify-cookies-button:hover {
    text-decoration: underline;
}












/* PAGE NOTES DE VERSION */
#notes-de-version-body{
    background: white;
}
span.version-number{
    display:inline;
    font-size: inherit;
    background-color: rgba(207, 207, 207, 0.507);
    padding: 3pt 5pt;
    border-radius: 12px;
    margin: 2px 2px 5pt 0px;
    color: rebeccapurple;
}
.version-notes-page {
    text-transform:capitalize;
    font-weight: 900;
    font-size: 16pt;
    color: darkred;
    padding: 20px 0px;
    
}
.simple-text {
    text-align: justify;
    margin-left: 30px;
    margin-right: 30px;
    font-size: 13pt;
    color: darkslategrey;
}
.simple-text strong {
    font-size: 13pt;
    font-weight: 900;
}
section {
    margin-top: 0px;
}



/* PAGE DE RECHERCHE */
#filters-button-placement {
    text-align: right;
    /* background-color: red; */
    color: blue;
    margin: 0 10vw;
}
#search-box {
    background-color: rgba(255, 255, 255, 0.800);
    width: 80vw;
    max-width: 500px;
    margin: auto;
    margin-top: 30px;
    border-radius: 10px;

}
.search-box {
    border: solid  1.5pt;
    border-color: rgba(255, 255, 255, 0);

}
.search-box-top {
    border: solid lightgrey 1.5pt;

}
.search-bar-box {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0px;
}

.input {
    flex: 1;
    background-color: unset;
    background-color: rgb(230, 230, 230);

    border-radius: 5px;
    border: none;
    width: 100%;
    height: 100%;
    text-align: center;

}
.top-input {
    background-color: white;
}
.input:focus {
    outline: none;
    background-color: rgb(230, 230, 230);
}
.search-bar-input {
    /* background-color: yellow; */
    flex: 1;
    margin: 5px;
    height: 100%;
}

#modif-filters-button {
    background-color: rgb(230,230,230);
}
#modif-filters-button:hover {
    background-color: rgb(210, 210, 210);
}#modif-filters-button:active {
    background-color: rgb(179, 178, 178);
}

/* sugggestions de recherche */
.suggestion-error-menu{
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 20px;
    padding: 15px;
}


.search-suggestion-box:hover {
    background-color: rgba(0, 0, 0, 0.100);
    cursor: pointer;
}
.search-box {
    background-color: rgba(211, 211, 211, 0.9);
}
.suggestion-text {
    /* padding: 0px 10px; */
    flex: 1;
}

.suggestion-title {
    font-weight: 700;
    font-size: 12pt;
}
.suggestion-description {
    font-family: 'Roboto';
    font-weight: 300;
    text-transform: uppercase;
    font-size: 8.5pt;
    color: grey;
    padding-bottom: 2px;
}
.search-button {
    margin: 5px;
    min-width: 40px;
    cursor: pointer;
    /* background-color: blue; */
}
.suggestion-icon {
    font-size: 20px;
    height: 100%;
    color: black;
}
.suggestion-icon-box {
    
    align-items:center;
    text-align: center;
    width: 35px;
}
.suggestion-end-spacer {
    height: 50px;
    background-color: red;
}




/* filtres */






/* SECTION RESULTATS DE RECHERCHE */
#search-results-box {
    background-color: white;
    padding: 20px 5vw;
    /* HAUTEUR MINIMALE à RéGLER */
}
.result-title-box {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 30px;
}
.result-title-text-box {
    flex: 1;
}
.result-title-text {
    font-size: 20pt;
    font-weight: 900;
}
#product-specs{
    color: #656565;
}



.result-title-button {
    color: white;
    font-size: 16pt;
    background-color: black;
    border-radius: 50px;
    padding: 2px 10px;
    margin: 5px;
    transition-duration: 0.2s;
}
.result-title-button:hover {
    cursor: pointer;
    text-decoration: underline;
    background-color: rgb(82, 205, 247);
    color: black;
}
.result-title-button:active {
    cursor: pointer;
    background-color: rgb(62, 161, 194);
}

.result-description-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.result-description-image-box {
    max-width: 250px;
    /* background-color: blue; */
    align-items: center;
    text-align: left;
}.result-description-image {
    max-width: 250px;
}

.result-description-text-box {
    flex: 1;
    min-width: 200px;
    /* background-color: red; */
    padding: 10px;
    align-self: center;
}
.result-description-text {
    font-family: "Roboto";
    font-weight: 300;
    line-height: 1.5;
}
.result-product-specs-box {
    align-items: center;
}
.result-product-specs-table {
    /* background-color: rgb(97, 97, 116); */
    font-family: "Roboto";
    font-weight: 300;
    line-height: 1.5;
    width: 100%;
    max-width: 700px;
    margin: auto;
    border-collapse: collapse;
}
td {
    width: 50%;
    height: 30px;
    padding: 5px;
    border: solid lightgrey 1px;
}
/*recherche par OS */
.result-os-boxes {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center;  */
    /* align-items: center;  */
    height: 100%;  
}
.result-os-box {
    cursor: pointer;
    margin: 10px;
    padding: 10px;
    background-color: whitesmoke;
    border-radius: 3px;
    flex: 1;
    text-align: center;
    /* align-items: right; */
    max-width: 400px;
    transition-duration: 0.2s;
    position: relative;
}

.result-os-box-image {
    max-width: 250px;

}

.result-os-box:hover {
    background-color: lightgrey;
}
.result-os-box:active {
    background-color: rgb(179, 178, 178);
}






select {
    background-color: whitesmoke;
    border-color: black;
    outline: none;
    margin: 5px;
    border-radius: 5px;
}

select:focus {
    outline: none;
}

#filters-box {
    margin: 5px;
    /* display: none; */
}
button {
    transition-duration: 0.2s;
    border-radius: 12px;
    min-height: 40px;
    margin: 10px;
    border: none;
    background-color: rgb(43, 108, 230);
    padding: 5px;
    color: white;

}
button:hover {
    background-color: rgb(84, 138, 238);
    padding: 6px;
    cursor: pointer;
    padding:6px;
    height: 42px;
    margin: 9px 10px;
}
button:active {
    background-color: rgb(34, 87, 185);
}
.red-button {
    background-color: whitesmoke;
    color: red;
}
.red-button:hover {
    background-color: rgb(236, 236, 236);
    color: red;
}
.red-button:active {
    background-color: rgb(206, 206, 206);
    color: red;
}






/*
input:hover {
    background-color: #4CAF50; Green
    color: white;
} */
.filter-selector {
    /* width: 100px; */
    /* text-align: right; */
    flex: 1;
    height: 100%;
}
.filter-selector {
    width: 50px;
}
label {
    display: flex;
    
}
#filter-button {
    margin: 5px; 
    border-radius: 12px; 
    background-color: rgb(43, 108, 230); 
    border: none; 
    padding: 8px 10px;
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
    height:unset;
}
#filter-button:hover {
    background-color: rgb(84, 138, 238); 
    cursor: pointer;
    padding: 9px 11px;

}
#filter-button:active {
    background-color: rgb(34, 87, 185); 

}




/* connection 2 */
.connection-error-message {
    /* display:inline-block; */
    min-height: 15px;
}
.connection-input{
    width: -webkit-fill-available;
    border-radius: 10px;
    height: 25px;
    border: none;
    background-color: whitesmoke;
    outline: none;
    padding: 5px;
}
















/* ordinateurs */
@media (min-width:735px) {
    .profile-menu-box {
        min-width: 160px;

    }



    #search-box-top {
        position: absolute;
        background-color: rgb(255, 255, 255);
        position:absolute;
        left: 30vw;
        right: 30vw;
        top: 10px;
        z-index: 1;
        border-radius: 10px;
    }
    #filters-button-placement {
        max-width: 500px;
        margin: auto;
    }
    #search-top-button {
        display: none;
    }
    #filters-box {
        margin: auto;
        padding:  10px;
        max-width: 500px;
    }

    /* alert box 2 */

    #alert-message-box-2 {
        background-color:white; 
        width:45vw;
        /* min-height:35vh;  */
        min-width: 300px;
        max-width: 450px;
        /* max-height: 300px; */
        margin:200px auto; 
        position: relative;
        z-index:1; 
        border-radius: 20px;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    }


    
    #alert-button-box {
        /* position: absolute; */
        bottom: 0px;
    }
    #alert-description-box {
        padding-bottom: 50px;
    }

    /* connexion */
    #connection-menu {
        background-color:white; 
        width:60vw;
        /* min-height:35vh;  */
        min-width: 300px;
        max-width: 600px;
        /* max-height: 300px; */
        margin:20vh auto; 
        position: relative;
        z-index:1; 
        border-radius: 20px;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    }
}











/* MOBILES et petits écrans */
@media (max-width:735px) {
    /* general */

    .section-margin {
        margin-left:2vw;
        margin-right: 2vw;
    }

    .information-grey-box {
        margin: 0px;
        width:-webkit-fill-available;
        max-width: unset;
        border-radius: unset;
        padding: 20px;
        height: -webkit-fill-available;
        background-color: unset;

    
    }
    .profile-menu-box {
        min-width: 50px;
        
    }
    .profile-name {
        display: none;
    }
    .fa-caret-down,.fa-caret-up {
        margin: 5px 0px;
    }
    .arrows-box {
        flex: 1;
    }
    /* PAGE PRINCIPALE */
    .flex-box {
        background-color: white;
        margin: 5px;
        flex: 1;
        text-align: center;
        border-radius: 3px;
        max-width: unset;
        /* padding: 0px; */
        /* height: 100%; */
        position: relative;
    } 
    .suggestion-box {
        padding: 0px;
        margin: 5px;
        height: 100%;
    }


    #search-box-top {
        display: none;
    }
    #search-top-button {
        display: unset;
    }

    /* barre de recherche */
    #body-recherche, #body-compte {
        background: white;
    }
    #search-box {
        background-color: white;
        width: unset;
        max-width: unset;
        margin: auto;
        margin-top: 0px;
        padding-top: 30px;
        border-radius: unset;
        /* padding-left: 5vw; */
        /* padding-right: 5vw; */
        /* height: 90vh; */
    
    }
    #search-bar-box {
        max-width: 450px;
        margin: auto;
        
    }
    #input {
        height: 30px;
        border-radius: 10px;
    }



    /* filtres */



    #filters-box {
        margin: auto;
        padding: 30px 3vw;
        max-width: 500px;
    }
    /* .filters-button-box { */
        /* display: none; */
    /* } */

    /* RESULTATS DE RECHERCHE */
    /* fiche produit */
    .result-description-image-box {
        max-width: unset;
        /* background-color: blue; */
        text-align: center;
        flex: 1;
    }
    .result-description-image {
        max-width: 80vw;
    }

    .result-description-text-box {
        flex: 1;
    }
    .result-os-boxes {
        justify-content: center; 
    }

    /* alert box 2 */

    #alert-message-box-2 {
        background-color:white; 
        width:90vw;
        /* height:45vh;  */
        min-width: 200px;
        /* max-height: 300px; */
        margin: 35vh auto; 
        position: relative;
        z-index:1; 
        border-radius: 20px;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    }
    #alert-description-box {
        padding-bottom: 30px;
    }




    /* connection */
    /* #connection-menu { 
        background-color:white; 
        width:90vw;
        min-height:35vh; 
        min-width: 200px;
        max-width: 600px;
        max-height: 300px;
        min-height: unset;
        margin:20vh auto; 
        position: relative;
        z-index:1; 
        border-radius: 20px;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    } */

    #connection-menu {
        background-color:white; 
        width:100vw;
        height: 100%;
        min-width: 300px;
        /* padding-top: 5vh; */
        margin-bottom: auto;
        position: relative;
        z-index:1; 
    }


}


@media (prefers-color-scheme: dark){
    *{
        /* color: rgb(44, 39, 39); */
    }
    body{
        background: linear-gradient(180deg,  rgb(41, 121, 148),rgba(129, 70, 80, 0.63));
    }
    #body-recherche{
        background: #393E46;
    }
    

    .section-title{
        color: rgb(44, 39, 39);
    }




    .flex-box, .result-os-box{
        background-color: rgba(0, 0, 0, 0.200);
        color: rgb(168, 168, 168);
        transition-duration: 0.4s;
    }
    .flex-box:hover, .result-os-box:hover{
        background-color: rgba(255, 255, 255, 0.300);
        color: rgb(0, 0, 0);
    }
    .flex-box:active, .result-os-box:active{
        background-color: rgba(255, 255, 255, 0.15);
        color: rgb(0, 0, 0);
    }
    .suggestion-box{
        /* color: white; */
    }
    .flex-box-description, .flex-box-title{
        color: inherit;
    }
    /* barre supérieure */
    .nav-menu-box{
        background-color: rgba(0, 0, 0,0.4);
        background-color: #222831;
        color: #B2B1B9;
    }
    .profile-menu-box{
        background-color: #393E46;
    }
    #profilename{
        color: #B2B1B9;

    }


    /* RECHERCHE */
    /* barre de recherche supérieure */
    #search-box-top{
        /* background-color: rgb(107, 105, 105); */
        background-color:#393E46;
        border: solid rgba(255, 255, 255, 0) 1.5pt;
    }
    .top-input::placeholder{
        color: #393E46;
    }
    .top-input{
        background-color: #ffffff64;
        color: #393E46;
        
    }
    .top-input:focus{
        background-color: #B2B1B9;
    }
    /* barre de recherche page recherche */
    @media (min-width:735px) {
        body, #body-compte{
            background: linear-gradient(180deg,  rgb(41, 121, 148),rgba(129, 70, 80, 0.63));
        }
        #search-box{
            background:#393E46;
            color: #B2B1B9;
        }
        .search-bar-search-button{
            color: #B2B1B9;
        }
        .input{
            background-color: #B2B1B9;
            color: #393E46;
        }
        .input:focus{
            /* background-color: lightgrey; */
            /* box-shadow: rgba(73, 73, 73, 0.473) 1pt 1pt 1pt 1pt; */
        }

    
        .filter-selector{
            background-color: rgba(245, 245, 245, 0.5);
        }

    }
    @media (max-width:735px) {
        .body-recherche, #body-compte{
            background: #393E46;
        }
        #search-box{
            background:unset;
            color: #B2B1B9;
        }
        .input{
            background-color: #B2B1B9;
            color: #393E46;
        }
        .input::placeholder{
            color: #393E46;
        }
        .filter-selector{
            background-color: rgba(245, 245, 245, 0.5);
        }

    }



    .suggestion-icon{
        color: #B2B1B9;

    }
    .suggestion-title{
        color: lightgrey;
    }
    .suggestion-description{
        color: grey;
    }

    .search-suggestion-box:hover{
        background-color: rgba(0, 0, 0, 0.200);
    }
    .search-suggestion-box:active{
        background-color: rgba(0, 0, 0, 0.300);
    }


    .suggestion-icon-box{
        color: black;
    }
    .separation-grey-line{
        background-color: rgb(87, 74, 74);
    }

    .product-price{
        background-color: rgb(177, 83, 83);
        color: black;
    }
    .product-price p{
        color: inherit;
    }

    /* BOUTONS */
    button {
        transition-duration: 0.2s;
        border-radius: 12px;
        min-height: 40px;
        margin: 10px;
        border: none;
        background-color: rgb(29, 72, 151);
        padding: 5px;
        color: whitesmoke;
    
    }
    button:hover {
        background-color: rgb(70, 116, 201);
        padding: 6px;
        cursor: pointer;
        padding:6px;
        height: 42px;
        margin: 9px 10px;
    }
    button:active {
        background-color: rgb(29, 75, 160);
    }
    .red-button {
        background-color: rgb(196, 196, 196);
        color: darkred;
    }
    .red-button:hover {
        background-color: rgb(223, 223, 223);
        color: darkred;
    }
    .red-button:active {
        background-color: rgb(167, 167, 167);
        color: darkred;
    }
    #filter-button{
        background-color: rgb(37, 96, 204);
    }


    /* CONNEXION */
    #connection-menu{
        background-color: #222831;
        color: lightgrey;
    }
    .connection-input{
        background-color: #393E46;
        color: lightgrey;
    }

    /* SUGGESTION ERROR MENU */
    .suggestion-error-menu{
        color: lightgrey;
        background-color: #393E46;

    }

    /* MESSAGE D'ALERTE */
    #alert-message-box-2{
        background-color: #222831;
        color: lightgrey;
    }


    /* PAGE COMPTE */
    .information-grey-box {
        background-color: #393E46;
        color: #B2B1B9;

    }
    .compte-box-title{
        color: lightgrey;
    }
    .modify-cookies-button{
        color: rgb(93, 93, 253);
    }

    /* RECHERCHE - PAGES DE RESULTATS */
    #search-results-box{
        background-color: transparent;
        color: #B2B1B9;
        height: 100%;

    }
    #search-results-placement{
        min-height: -webkit-fill-available;
        /* min-height: 95vh; */
        /* background-color: #393E46; */
    }
    #product-specs,#notre-avis{
        color: lightgrey;
    }



}