/* Sidenav menu */
.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -250px;
    background-color: white;
    padding-top: 60px;
    transition: left 0.5s ease;
    display: flex;
    flex-direction: column; /* Updated to a column layout */
    align-items: center; /* Center items horizontally within the sidenav */
}

/* Sidenav menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: grey;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: white;
}

.sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Active class */
.sidenav.active {
    left: 0;
}

/* Close btn */
.sidenav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

/* Icône burger */
.burger-icon span {
    display: block;
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
}

.burger-icon {
    position: absolute;
    top: 50%;
    left: 20px; /* Adjust the left position as needed */
    transform: translateY(-50%);
}

@media only screen and (max-width: 1000px) {
    /* Adjust the max-width as needed based on your mobile breakpoint */

    /* Sidenav menu */
    .sidenav {
        width: 100%; /* Set width to 100% to take up the whole space */
        left: -100%; /* Set left to -100% to hide off-screen initially */
        position: fixed;
        z-index: 1;
        top: 0;
        background-color: white;
        padding-top: 60px;
        transition: left 0.5s ease;
        display: flex;
        flex-direction: column; /* Updated to a column layout */
        align-items: center; /* Center items horizontally within the sidenav */
    }

    .sidenav.active {
        left: 0;
    }

    .sidenav a {
        padding: 15px 8px; /* Increase padding for better touch interaction */
        text-decoration: none;
        font-size: 30px; /* Increase font size for better visibility on mobile */
        color: grey;
        display: block;
        transition: 0.3s;
        text-align: center; /* Center text horizontally */
    }
	.texte {
		font-size: 100px;
	}

	/* Close btn */
	.sidenav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 125px;
}

.burger-icon span {
    display: block;
    width: 70px;
    height: 10px;
    background-color: white;
    margin: 6px 0;
}
}
