@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
  
    cursor: pointer;
    z-index: 10;
    position: fixed; 
    top: 1rem; 
    left: 1rem; /* position à gauche */
}


.burger-menu div {
    width: 2rem;
    height: 0.3rem;
    background: #f2f2f2;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.3); /* Ajouter cette ligne */
}

.burger-links {
    transform: translateX(-100%);
    height: auto;  /* Change this to auto */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #009999;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 10px 10px;
	z-index: 9999;
}

.burger-links.active {
    transform: translateX(0);
}

.burger-links .burger-item {
    width: 100%;
    border-bottom: 1px solid #fff;
    padding: 1.5rem 0;  /* Adjust this to change the space between each menu item */
    text-align: center; /* Make sure text is centered */
}

.burger-links .burger-item a {
    font-family: 'Montserrat', sans-serif;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 1.2rem; /* Reduce font size */
    transition: color 0.3s linear;
    font-weight: bold;
}

.burger-links .closebtn {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    cursor: pointer;
}

.burger-links .closebtn .cross {
    position: relative;
    width: 22px;
    height: 22px;
}

.burger-links .closebtn .cross span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 3px; /* Increase height for thickness */
    background-color: #f2f2f2;
}

.burger-links .closebtn .cross span:first-child {
    transform: translate(-40%, -50%) rotate(40deg); /* Adjust translation and rotation for asymmetry */
}

.burger-links .closebtn .cross span:last-child {
    transform: translate(-60%, -50%) rotate(-40deg); /* Adjust translation and rotation for asymmetry */
}

.burger-menu.text-top-colorable div {
    background-color: inherit;
}

.closebtn.text-top-colorable .cross span {
    background-color: inherit;
}

@media (max-width: 600px) {
    .burger-menu {
        display: flex;
    }
}

@media (min-width: 600px) {
    .cart-icon {
        display: none;
    }
}

.menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-icon {
    color: #f2f2f2;
    font-size: 24px;
    position: fixed; 
    top: 1rem; 
    right: 1rem; /* position à droite */
}

.cart-icon a {
    color: #f2f2f2;
    text-decoration: none;
}

