* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

@media (max-width: 950px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: max-content;
        max-width: 100vw;
        width: 100vw;
        overflow-x: none;
    }
        .navbar {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 70px;
        display: flex;
        flex-direction: row;
        box-shadow: 0px 0px 30px 10px;
        z-index: 2;
        justify-content: space-between;
        background-color: white;
    }
    .research {
        display: none;
        gap: none;
        width: max-content;
    }

    .boxresearch {
        align-content: center;
        display: flex;
        width: 70px;
        height: 70px;
        flex-direction: row;
    }

    .trop {
        
        display: none;
    }

    #see:checked ~ .oui {
        display: none;
    }
    
    #see:checked ~ .non {
        display: block;
    }
    
    #see:checked ~ .options {
        position: absolute;
        left: 0%;
    }
    
    #unsee:checked ~ .oui {
        display: block;
    }
    
    #unsee:checked ~ .non {
        display: none;
    }
    
    #unsee:checked ~ .options {
        position: absolute;
        left: -100%;
    }

    #view:checked ~ .research {
        display: block;
        position: absolute;
        margin-top: 50px;
        margin-left: 7px;
    }

    #quoi {
        margin: 15px;
    }

    #view:checked ~ #quoi {
        display: none;
    }
    #view:checked ~ #feur {
        display: block;
    }

    #feur {
        padding: 15px;
        display: none;
    }

    #unview:checked ~ .fa-solid .fa-magnifying-glass {
        display: none;
    }
    
    #input-box {
        background-color: gray;
        border: black solid 1px;
        z-index: 2;
    }
    .name {
        align-content: center;
        height: cover;
    }

    .rightside {
        display: flex;
        width: 70px;
        height: 70px;
        justify-content: center;
        align-items: center;
    }

    .options {
        display: flex;
        position: fixed;
        color: black;
        top: 70px;
        width: 80vw;
        height: 100vh;
        background-color: rgb(255, 255, 255);
        justify-content: center;
        z-index: 1;
        padding: none;
        overflow: hidden;
        margin: none;
        border-right: 1px solid black;
        border-top: 1px solid black;
        transition: all 0.3s ease;
        list-style: none;
        text-decoration: none;
        left: -100%;
    }

    .h1 {
        color: black;
    }

    ul {
        flex-direction: column;
        display: flex;
        justify-content: space-around;
        text-align: center;
        text-decoration: none;
        list-style: none;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        color: black;
        margin-bottom: 60px;
        align-items: center;
    }

    li {
        color: black;
        list-style: none;
        text-decoration: none;
        flex-direction: row;
        display: flex;
        width: 150px;
        height: 60px;
        padding: 30px;
        font-family: Arial, Helvetica, sans-serif;
        margin-bottom: 30px;
        font-weight: 700;
        text-align: center;
        }

        .outbox {
            display: flex;
            position: absolute;
            align-items: center;
            flex-direction: column;
            bottom: 90px;
            max-height: 50px;
            right: 30px;
        }

    #onclick {
        border: solid 1px black;
        padding: 0;
        height: auto;
        margin: 0;
    }

    .list {
        position: relative;
        display: flex;
        flex-direction: column;
        background-color: white;
        width: auto;
        height: none;
        border: solid 1px black;
        z-index: 2;
    }

    .list li {
        position: relative;
        width: auto;
        height: fit-content;
        color: black;
        margin: 0;
        padding: 2px;
        font-size: 0.8rem;
        border-bottom: solid 2px gray;
    }

    .list li:hover {
        background-color: rgb(255, 170, 170);
    }

    .fa-bars {
        color:rgb(0, 0, 0);
        padding: 15px;
        font-size: 2rem;
    }

    .oui {
        display: flex;
        right: 5px;
    }

    .non {
        color:rgb(0, 0, 0);
        padding: 15px;
        font-size: 2rem;
        display: none;
    }

    .page  {
        background-color: white;
        display: flex;
        position: relative;
        top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2px;
        width: 100vw;
        justify-content: center;
    }

    .hautdelapage {
    position: relative;
    min-width: 100vw;
    width: auto;
    height: 15vh;
    flex-direction: row;
    display: flex;
    align-items: center;
    scroll-behavior: smooth;
    flex-direction: row;
    overflow-y: hidden;
    right: 0;
}

.hautdelapage::-webkit-scrollbar {
    display: none;
}

.ons {
    display: flex;
    position: relative;
    min-width: 100vw;
    overflow-x: hidden;
    overflow-y: none;

}

#boxmd {
    position:absolute;
    display: flex;
    left: calc(50vw - 2rem); 
    top: calc(15vh - 7.5vh - 2rem);
    width: 40px;
    height: 40px;
    background-color: rgb(0, 0, 0);
    border-radius: 50%;
    font-size: 2.5rem;
    width: 4rem;
    height: 4rem;
    justify-content: center;
    align-items: center;
}

.fa-eye {
    color: white;
}

    .boxdevices {
        width: 40px;
        height: 40px;
        background-color: gray;
        display: flex;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
    }
   
    .boxstore {
        width: 2rem;
        height: 2rem;
        background-color: rgb(0, 0, 0);
        color: white;
        display: flex;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        margin: 0 1vw 0 1vw;
        position: absolute;
        top: 55px;
        z-index: 3;
    } 

    .numbers {
        width: 1rem;
        height: 1rem;
        border-radius: 50%;
        background-color: red;
        position: absolute;
        display: flex;
        top: 25px;
        left: 15px;
        align-items: center;
        justify-content: center;
    }
    
    #boxmdr {
        display: flex;
        position: absolute;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        width: 4rem;
        height: 4rem;
    
    }
    
    #mdr {
        color: red;
    }
    
    .items {
        width: 49vw;
        min-height: 70px;
        display: flex;
        align-items: center;
        background-color: rgb(255, 255, 255);
        border: solid 1px red;
        flex-direction: column;

    }
    .photo {
        display: flex;
        height: 48vw;
        width: 50vw;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .one {
        width: 48vw;
        height: min-content;
    }

    img {
        width: min-content;
        height: min-content;
    }

    h4 {
        text-align: center;
    }

    .items h2 {
        position: relative;
        padding-top: 3vh;
        color: rgb(0, 0, 0);
    }
    footer {
        background-color: black;
        width: 100%;
        height: 25vh;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        top: 70px;
        display: flex;
    }
    .brands-item {
        width: 100%;
        display: flex;
        flex-direction: row;
        height: min-content;
    }
    .boxofcont {
        width: 20vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        color: rgb(0, 0, 0);
        align-items: center;
    }

    .boxofcont p {
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        max-width: 20vw;
        display: flex;
        font-size: 0.7rem;
    }

    .brands-item .fa-brands {
        font-size: 2rem;
    }
    footer p {
        justify-content: center;
        align-items: center;
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        display: flex;
        position: relative;
        font-size: 1rem;
    }
    div .fa-brands {
        color: rgb(255, 255, 255);
    }
    footer div {
        display: flex;
        justify-content: space-around;

    }
}
@media (min-width: 951px) {
    body {
        display: flex;
        flex-direction: column;
        min-height: max-content;
    }
        .navbar {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 80px;
        display: flex;
        flex-direction: row;
        box-shadow: 0px 0px 30px 10px;
        z-index: 4;
        justify-content: space-between;
        background-color: white;
        border: 1px solid black;
    }
    .research {
        display: none;
        height: auto;
    }

    .boxresearch {
        align-content: center;
        display: flex;
        width: 70px;
        height: 70px;
        flex-direction: row;
    }

    .trop {
        
        display: none;
    }

    #see:checked ~ .oui {
        display: none;
    }
    
    #see:checked ~ .non {
        display: block;
        position: absolute;
        right: 2vw;
    }
    
    #see:checked ~ .options {
        position: absolute;
        z-index: 1;
        top: 70px;
    }
    
    #unsee:checked ~ .oui {
        display: block;
    }
    
    #unsee:checked ~ .non {
        display: none;
    }
    
    #unsee:checked ~ .options {
        position: absolute;
        top: -30vh;
    }

    #view:checked ~ .research {
        display: flex;
        position: absolute;
        margin-top: 50px;
        margin-left: 7px;
    }

    #view:checked ~ #quoi {
        display: none;
    }
    #view:checked ~ #feur {
        display: block;
    }

    #feur {
        padding: 15px;
        display: none;
    }

    #unview:checked ~ .fa-solid .fa-magnifying-glass {
        display: none;
    }
    #input-box {
        background-color: gray;
        border: black solid 2px;
        z-index: 2;
        width: 15vw;
        height: 30px;
        color: yellow;
    }
    
    #onclick {
        border: solid 1px black;
        padding: 0;
        height: 30px;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    ul {
        flex-direction: column;
        display: flex;
        justify-content: space-around;
        text-align: center;
        text-decoration: none;
        list-style: none;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        color: black;
        align-items: center;
    }

    li {
        color: black;
        list-style: none;
        text-decoration: none;
        flex-direction: row;
        display: flex;
        width: 250px;
        height: 40px;
        padding: 45px;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        justify-content: center;
        align-items: center;
        text-align: center;
        }

        .outbox {
            display: flex;
            position: absolute;
            align-items: center;
            flex-direction: column;
            bottom: 10px;
            max-height: 50px;
            right: 30px;
        }

    .name {
        font-size: 2.1rem;
        align-content: center;
        height: cover;
    }

    .rightside {
        display: flex;
        width: 70px;
        height: 70px;
        justify-content: center;
        align-items: center;

    }
    .options {
        display: flex;
        position: absolute;
        color: black;
        border-bottom: solid 1px black;
        border-top: solid 1px black;
        width: 100vw;
        height: min-content;
        background-color: rgb(255, 255, 255);
        justify-content: center;
        padding: none;
        overflow: hidden;
        margin: none;
        transition: all 0.3s ease;
        list-style: none;
        text-decoration: none;
        top: -460px;
        left: 0;
        z-index: 1;

    }

    .h1 {
        color: black;
    }
    .things {
        position: absolute;
        top: 100%;
    }

    ul {
        flex-direction: column;
        display: flex;
        justify-content: space-around;
        text-align: center;
        text-decoration: none;
        list-style: none;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 700;
        color: black;
    }

    .li {
        color: black;
        list-style: none;
        text-decoration: none;
        color: white;
        flex-direction: row;
        display: flex;
        width: 15vw;
        height: 60px;
        padding: 30px;
        margin-bottom: 30px;
        font-family: Arial, Helvetica, sans-serif;

        }
    .listoptions .a {
        color: rgb(0, 0, 0);
        width: 25vw;
        height: 60px;
        padding: 30px;
        margin-bottom: 30px;
        text-decoration: none;
        list-style: none;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-weight: 700;
    }

    .list {
        position: relative;
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 15vw;
        height: none;
        border: solid 1px black;
        z-index: 2;
    }

    .list li {
        position: relative;
        width: auto;
        height: fit-content;
        color: black;
        margin: 0;
        padding: 2px;
        font-size: 0.8rem;
        border-bottom: solid 2px gray;
    }

    .list li:hover {
        background-color: rgb(255, 170, 170);
        width: 15vw;
        display: flex;
        justify-content: center;
    }

    .fa-magnifying-glass {
        padding: 15px;
    }

    .fa-bars {
        color:rgb(0, 0, 0);
        padding: 15px;
        font-size: 2.5rem;
    }

    .rightside .fa-xmark {
        font-size: 2.5rem;
    }

    .oui {
        display: flex;
        position: absolute;
        right: 2vw;
    }

    .non {
        color:rgb(0, 0, 0);
        padding: 15px;
        font-size: 2rem;
        display: none;
    }

    .page  {
        background-color: rgb(233, 233, 233);
        display: flex;
        position: relative;
        top: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2px;
        width: 100vw;
        justify-content: center;
    }
    #boxmd {
        display: none;
    }
    .banprem {
        display: flex;
        position: relative;
        width: 100vw;
        background-color: black;
        }
  
    .hautdelapage {
        position: relative;
        max-width: 60vw;
        height: 15vh;
        flex-direction: row;
        display: flex;
        align-items: center;
        scroll-behavior: smooth;
        flex-direction: row;
        overflow-y: hidden;
        right: 0;
        margin-left: 20vw;
        margin-right: 20vw;
    }
    
    .hautdelapage::-webkit-scrollbar {
        display: none;
    }
    
    .ons {
        display: flex;
        position: relative;
        min-width: 60vw;
        overflow-x: hidden;
        overflow-y: none;
    
    }
    .items {
        width: 25vw;
        min-height: 50vh;
        display: flex;
        align-items: center;
        background-color: rgb(255, 255, 255);
        border: solid 1px red;
        flex-direction: column;

    }
    .photo {
        display: flex;
        width: 25vw;
        height: 25vw;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .one {
        width: 24vw;
        height: min-content;
        overflow: hidden;
    }

    .boxdevices {
        width: 40px;
        height: 40px;
        background-color: gray;
        display: flex;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
    }
    h4 {
        margin-top: 1rem;
        margin-bottom: 1rem;
        font-size:1.5rem;
    }
    h2 {
        font-size: 1.5rem;
        font-family:sans-serif;
        margin-bottom: 2rem;
    }
    footer {
        background-color: black;
        width: 100%;
        height: 25vh;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        display: flex;
        top: 70px;
    }
    .brands-item {
        width: 100%;
        display: flex;
        flex-direction: row;
        height: min-content;
    }
    .boxofcont {
        width: 20vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        color: rgb(0, 0, 0);
        align-items: center;
    }

    .boxofcont p {
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        max-width: 20vw;
        display: flex;
        font-size: 0.7rem;
    }

    .brands-item .fa-brands {
        font-size: 2rem;
    }
    footer p {
        justify-content: center;
        align-items: center;
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        display: flex;
        position: relative;
        font-size: 1rem;
    }
    div .fa-brands {
        color: rgb(255, 255, 255);
    }
    footer div {
        display: flex;
        justify-content: space-around;

    }
}