/*----------------------------------------------------------------Média Queries----------------------------------------------------------------*/

@media screen and (max-width:950px) {
    /*------------------------Header--------------------------*/
    .cityAccount{
        display: none;
    }
    .search{
        width: 50%;
        margin-left: 80px;
    }
    .searchBar{
        width: 100%;
    }
    .blocAccount{
        width: 5%;
        margin-right: 50px;
        margin-left: 0%;
        padding-left: 25px;
    }
    .blocAccount a{
        font-size: 12px;
    }
    .dropdown span{
        top: 32px;
        right: 100%;
        font-size: 8px;
        padding: 1px 4px;
        border-radius: 50%;
    }
    .icoPanier{
        width: 30px;
        top: 40px;
        right: 100%;
    }
    .dropdown p{
        font-size: 12px;
    }
    .text{
        margin-left: 0%;
    }
    .firstAccueil .text{
        margin-top: 0%;
        margin-bottom: 20px;
        width: 100%;
    }
    .firstImage{
        margin-bottom: 20px;
        margin-right: 0px;
    }
    .secondImage{
        margin-bottom: 20px;
    }
    .logoFooter{
        width: 80px;
        max-height: auto;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 15%;
        border-radius: 30%;
    }


    /*------------------------section--------------------------*/
    .cardImage2{
        width: 300px;
    }
    .localCard{
        text-align: center;
        width: 300px;
    }
    .livraisonCard{
        text-align: center;
        width: 300px;
    }
    #menuLeft{
        display: none;
    }
    
}

@media screen and (max-width:550px) {
        /*------------------------Header--------------------------*/
    nav .navbar{
        display: none;
    }
    header{
        display: block;
        height: 450px;
    }
    .blocLogo{
        width: 40%;
        margin-left: 30%;  
        margin-bottom: 20px;  
    }
    .search{
        width: 80%;
        margin-left: 50px;
        margin-bottom: 20px;
    }
    .blocAccount{
        margin-left: 30%;
    }
    .blocAccount a{
        font-size: 20px;
    }
    .dropdown{
        margin-left: 50%;
    }
    .dropdown span{
        top: 15px;
        right: 95%;
        font-size: 12px;
        padding: 1px 6px;
        border-radius: 50%;
    }
    .icoPanier{
        width: 60px;
        position: absolute;
        top: 20px;
        right: 100%;
    }
    .dropdown p{
        font-size: 20px;
    }

        /*------------------------section--------------------------*/
    .firstAccueil{
        display: block;
        flex-wrap: wrap;
        margin: 0 0%;
        text-align: center;
    }
    .firstImage{
        width: 250px;
        margin-bottom: 20px;
        margin-right: 0px;
    }
    .secondImage{
        width: 250px;
    }
   

        /*------------------------footer--------------------------*/
    .blocFooter{
        display: block;
        text-align: center;
        gap: 5%;
    }
    .aPropos{
        margin-left: 0%;
    }
    .blocSocial{
        margin-left: 25%;
        gap: 20%;
    }
    .blocFooter h4{
        margin-bottom: 20px;
    }
    .logoFooter{
        width: 25%;
        margin-left: 0%;
        margin-top: 5%;
        border-radius: 30%;
        margin-left: 60px;
    }

    /* ------------------------------------Menu burger------------------------------------ */


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


.navbarBurger {
    display: block;
    width: 100%;
    background-color: rgb(30 30 30);
}
.container {
    width: 100%;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbarBurger .menu-items {
    display: flex;
}
.navbarBurger .nav-container a {
    text-decoration: none;
    color: rgb(255,153,0);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.7rem;
}
.navbarBurger .nav-container a:hover{
    font-weight: bolder;
}
.nav-container {
    display: block;
    position: relative;
    height: 60px;
}

.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}
.nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: rgb(255,153,0); 
}
.nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}
.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}
.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}
.navbarBurger .menu-items {
    padding-top: 80px;
    background-color: rgba(30, 30, 30,0.9);
    height: 70vh;
    width: auto;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
}
.navbarBurger .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
}
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
}
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}
.nav-container input[type="checkbox"]:checked ~ .logo{
    display: none;
}

}