*{
    margin:0px;  
    padding:0px;
    font-family: "Cabin", sans-serif;
}

/*HEADER*/

.pc-menu {
    display: none;
}

header {
    background-color: #3e3e3e;
    color: white;
    text-decoration: none;
    width: 100%;
    display: flex;
    height: 60px;
    z-index: 1;
    border-bottom: solid 4px white;
    align-items: center;
    padding: 8px;
}

header li a {
    color: white;
    text-decoration: none;
    margin: 10px;
    font-size: 20px;
}

a:hover {
    color: red;

}

.menu-icon {
    cursor: pointer;
    padding: 15px;
    position: absolute;
    right: 6px;
    z-index: 101;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: 0.4s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 140px;
    height: 100%;
    background-color: #767676;
    z-index: 100;
    overflow-y: auto; 
    transition: 0.4s;   
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 60px 20px 0 0;
    text-align: right;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}

.admin-menu {
    display: flex;
    width: 33%;
    justify-content: space-around;
}

.admin-menu ul {
    display: flex;

}

.admin-menu li {
    list-style: none;
}

/*BODY*/

body {
    background-image: url(../images/bar.jpg);
    background-repeat: no-repeat;
    overflow-x: hidden;
    color: white;
}

h2 {
    margin-bottom: 20px;
}

/*LISTING*/

#bloc {
margin-bottom: 20px;
}

#image {
    margin-right: 30px;
}

/*MAIN*/

main {
    margin-top: 20px;
    margin: 20px;
    color: white;
    min-height: 800px;
}

.text {
    background-color: black;
    opacity: 80%;
    padding: 10px;
}

.retour {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5b5b5b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/*ADMIN*/

.list {
    background: linear-gradient(to bottom, #343434, #2d2d2d);
    color: white;
}

a{
    text-decoration: none;
    color: white;
}

.gestion {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

/*TABLE*/

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(69, 69, 69); /* Fond du tableau gris foncé */
}

td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: white;
}

td a{
    text-decoration: none;
    color: white;
}

tr:hover {
    background-color: #707070;
}


/*FOOTER*/

footer {
    background-color: #3e3e3e;
    border-top: solid 4px white;
    position: relative;
    width: 100%;
    bottom: 0%;
    left: 0%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer ul {
    display: flex;
    flex-direction: row;
    width: 80%;
    align-items: center;
    justify-content: center;
    justify-content: space-around;
    margin-bottom: 6px;
}

footer li {
    list-style: none;
}

footer a {
    text-decoration: none;
    color: white;
}

footer p {
    color: white;
}

/*RESPONSIVE*/

@media screen and (min-width: 480px) {

    footer ul {
        width: 40%;
    }

    .menu-icon {
        opacity: 0%;
        display: none;
    }

    .pc-menu {
        display: flex;
        width: 33%;
        justify-content: space-around;
    }

    .pc-menu ul {
        display: flex;
 
    }

    .pc-menu li {
        list-style: none;
    }

    .menu-icon {
        opacity: 0%;
        display: none;
    }

    header {
        justify-content: space-between;
    }

    body {
        overflow-x: hidden;
    }

    #bloc {
        display: flex;
    }

    #image img {
        width: 200px;
    }
}