.gestion {
    display: flex;
    width: 100%;
    color: $blanc;

    .gerer {
        width: 20%;
        min-height: 1080px;
        background-image: url("../img/solid-concrete-wall-textured-backdrop.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        border-right: solid 4px $blanc;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;

        .user {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 30px 10px 10px 10px;
            border-bottom: solid 4px $blanc;
        }

        .boutons {
            display: flex;
            flex-direction: column;
            gap: 40px;
            width: 100%;
            height: 400px;
            margin-top: 200px;
            align-items: center;

            h2 {
                width: 50%;
                padding: 10px;
                border: solid 4px $blanc;
                font-size: 1.5rem;
                background-color: $noir;
                cursor: pointer;

                &:hover {
                    background-color: $gris;
                }
            }

            .titre1 {
                background-color: $orange;
            }
        }

        a {
            font-size: 1.5rem;

            &:hover {
                color: $orange;
            }
        }
    }

    .listes {
        width: 80%;
        background-color: $noir;
        display: flex;
        flex-direction: column;

        h2 {
            padding: 30px 10px 10px 10px;
            width: 100%;
            text-align: center;
            background-image: url("../img/solid-concrete-wall-textured-backdrop.jpg");
            background-repeat: no-repeat;
            background-size: cover;
            border-bottom: solid 4px $blanc;
        }

        div {

            width: 100%;
            margin-bottom: 10px;
            padding: 0 30px;

            h2 {
                width: 100%;
                text-align: center;
                background-color: $noir;
                border: solid 4px $blanc;
                cursor: pointer;
            }

            h3 {
                padding: 10px;
                width: 100%;
                text-align: center;
                background-color: $noir;
                border: solid 4px $blanc;
                font-size: 1.5rem;
                margin-top: 30px;
                cursor: pointer;

                &:hover {
                    background-color: $gris;
                }
            }

            .menu {
                background-color: $noir;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 0;
                width: 100%;
                margin: 0;

                .ajout {
                    border: solid 4px $blanc;
                    border-top: 0;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    padding-top: 50px;

                    form {
                        display: flex;
                        width: 900px;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        gap: 30px;

                        input {
                            width: 80%;
                            padding: 10px;
                            font-size: 1.5rem;
                            text-align: center;
                            border: 1px solid $blanc;
                        }

                        textarea {
                            width: 720px;
                            height: 150px;
                            font-size: 1.5rem;
                        }

                        input[type=submit] {
                            width: 50%;
                            background-color: $orange;
                            color: white;
                            padding: 15px;
                            margin-bottom: 20px;
                            border: none;
                            border-radius: 4px;
                            cursor: pointer;
                            font-size: 1.5rem;

                            &:hover {
                                background-color: $gris;
                            }
                        }

                        .upload {
                            width: 90%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;

                            input[type=file]::file-selector-button {
                                width: 40%;
                                border-radius: 4px;
                                padding: 0 16px;
                                height: 40px;
                                cursor: pointer;
                                background-color: white;
                                border: 1px solid rgba(0, 0, 0, 0.16);
                                box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
                                margin-right: 16px;
                                transition: background-color 200ms;

                                &:hover {
                                    background-color: $gris;
                                }
                            }
                        }

                        .selection {
                            text-align: center;

                            h1 {
                                font-size: 30px;
                                margin-bottom: 1.5rem;
                            }

                            div {

                                display: flex;
                                flex-wrap: wrap;
                                gap: 2rem;

                                .container {
                                    width: 30%;
                                    display: block;
                                    position: relative;
                                    padding-left: 35px;
                                    margin-bottom: 1.5rem;
                                    cursor: pointer;
                                    font-size: 22px;
                                    -webkit-user-select: none;
                                    -moz-user-select: none;
                                    -ms-user-select: none;
                                    user-select: none;

                                    input {
                                        position: absolute;
                                        opacity: 0;
                                        cursor: pointer;
                                        height: 0;
                                        width: 0;

                                        &:checked {
                                            ~ {
                                                .checkmark {
                                                    background-color: $orange;

                                                    &:after {
                                                        display: block;
                                                    }
                                                }
                                            }
                                        }
                                    }

                                    &:hover {
                                        input {
                                            ~ {
                                                .checkmark {
                                                    background-color: #ccc;
                                                }
                                            }
                                        }
                                    }

                                    .checkmark {
                                        &:after {
                                            left: 9px;
                                            top: 5px;
                                            width: 5px;
                                            height: 10px;
                                            border: solid white;
                                            border-width: 0 3px 3px 0;
                                            -webkit-transform: rotate(45deg);
                                            -ms-transform: rotate(45deg);
                                            transform: rotate(45deg);
                                        }
                                    }
                                }

                                .checkmark {
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    height: 25px;
                                    width: 25px;
                                    background-color: $blanc;

                                    &:after {
                                        content: "";
                                        position: absolute;
                                        display: none;
                                    }
                                }
                            }
                        }

                        .option {
                            width: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;
                            font-size: 20px;
                            gap: 40px;

                            select {
                                padding: 12px 50px;
                                border: 1px solid #ccc;
                                border-radius: 4px;
                                resize: vertical;
                                font-size: 20px;
                            }
                        }
                    }
                }


                .categorie {
                    display: flex;
                    width: 80%;
                    gap: 50px;
                    padding-top: 50px;

                    h2 {
                        font-size: 1.5rem;
                        padding: 10px;
                        background-image: none;

                        &:hover {
                            background-color: $gris;
                        }
                    }

                }

                .page {
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    .carte {
                        width: 100%;
                        min-height: 254px;
                        display: flex;
                        justify-content: center;
                        padding: 40px 0;
                        border-bottom: solid 4px $blanc;

                        .image {
                            display: flex;
                            width: 170px;
                            height: 170px;
                            margin: 0 55px;
                            background-color: $gris;
                            padding: 0;

                            img {
                                display: block;
                                min-width: 170px;
                                max-height: 170px;

                            }
                        }

                        .plats {
                            width: 80%;
                            align-items: flex-start;
                            margin: 15px;
                            justify-content: space-between;

                            .nom {
                                font-size: 25px;
                                display: flex;
                                justify-content: space-between;
                                margin-bottom: 40px;
                            }

                            .description {
                                display: flex;
                                justify-content: space-between;
                                font-size: 20px;

                                .tag {
                                    width: 50%;
                                    display: flex;
                                    flex-direction: column;
                                    align-items: end;
                                    justify-content: end;
                                    text-align: center;
                                    gap: 5px;

                                    p {
                                        padding: 5px;
                                        background-color: $bourgogne;
                                        border: solid 1px $blanc;
                                        border-radius: 10px;
                                    }
                                }

                                p {
                                    width: 50%;
                                }
                            }
                        }

                        .icons {
                            width: 20%;
                            font-size: 40px;
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            justify-content: space-between;
                            margin: 0;
                            padding: 1rem 0;

                        }
                    }
                }
            }

            .pageCategorie {
                background-color: $noir;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 0;
                width: 100%;
                margin: 0;
                gap: 1.5rem;

                .ajout {
                    border: solid 4px $blanc;
                    border-top: 0;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    padding-top: 50px;

                    form {
                        display: flex;
                        width: 900px;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        gap: 30px;

                        input {
                            width: 80%;
                            padding: 10px;
                            font-size: 1.5rem;
                            text-align: center;
                        }

                        input[type=submit] {
                            width: 50%;
                            background-color: $orange;
                            color: white;
                            padding: 15px;
                            margin-bottom: 20px;
                            border: none;
                            border-radius: 4px;
                            cursor: pointer;
                            font-size: 1.5rem;

                            &:hover {
                                background-color: $gris;
                            }
                        }

                        .upload {
                            width: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;

                            input[type=file]::file-selector-button {
                                border-radius: 4px;
                                padding: 0 16px;
                                height: 40px;
                                cursor: pointer;
                                background-color: white;
                                border: 1px solid rgba(0, 0, 0, 0.16);
                                box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
                                margin-right: 16px;
                                transition: background-color 200ms;

                                &:hover {
                                    background-color: $gris;
                                }
                            }
                        }

                        .selection {
                            text-align: center;

                            h1 {
                                font-size: 30px;
                                margin-bottom: 1.5rem;
                            }

                            div {

                                display: flex;
                                flex-wrap: wrap;

                                .container {
                                    width: 20%;
                                    display: block;
                                    position: relative;
                                    padding-left: 35px;
                                    margin-bottom: 1.5rem;
                                    cursor: pointer;
                                    font-size: 22px;
                                    -webkit-user-select: none;
                                    -moz-user-select: none;
                                    -ms-user-select: none;
                                    user-select: none;

                                    input {
                                        position: absolute;
                                        opacity: 0;
                                        cursor: pointer;
                                        height: 0;
                                        width: 0;

                                        &:checked {
                                            ~ {
                                                .checkmark {
                                                    background-color: $orange;

                                                    &:after {
                                                        display: block;
                                                    }
                                                }
                                            }
                                        }
                                    }

                                    &:hover {
                                        input {
                                            ~ {
                                                .checkmark {
                                                    background-color: #ccc;
                                                }
                                            }
                                        }
                                    }

                                    .checkmark {
                                        &:after {
                                            left: 9px;
                                            top: 5px;
                                            width: 5px;
                                            height: 10px;
                                            border: solid white;
                                            border-width: 0 3px 3px 0;
                                            -webkit-transform: rotate(45deg);
                                            -ms-transform: rotate(45deg);
                                            transform: rotate(45deg);
                                        }
                                    }
                                }

                                .checkmark {
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    height: 25px;
                                    width: 25px;
                                    background-color: $blanc;

                                    &:after {
                                        content: "";
                                        position: absolute;
                                        display: none;
                                    }
                                }
                            }
                        }

                        .option {
                            width: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;
                            font-size: 20px;
                            gap: 40px;

                            select {
                                padding: 12px 50px;
                                border: 1px solid #ccc;
                                border-radius: 4px;
                                resize: vertical;
                                font-size: 20px;
                            }
                        }
                    }
                }

                div {
                    display: flex;
                    justify-content: center;
                    gap: 2rem;

                    .carteCategorie {
                        display: flex;
                        width: 20%;
                        font-size: 1.5rem;
                        border: solid 2px $blanc;
                        padding: 1rem;
                        margin-top: 20px;

                        .itemCategorie {
                            width: 50%;
                        }

                        .icons {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 50%;
                            gap: 20px;
                        }
                    }
                }

                .carteCategorie {
                    display: flex;
                    width: 20%;
                    font-size: 1.5rem;
                    border: solid 2px $blanc;
                    padding: 1rem;
                    margin-top: 20px;

                    .itemCategorie {
                        width: 50%;
                    }

                    .icons {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 50%;
                        gap: 40px;
                    }
                }
            }

            .employes {
                background-color: $noir;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 0;
                width: 100%;
                margin: 0;

                .ajout {
                    border: solid 4px $blanc;
                    border-top: 0;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    padding-top: 50px;

                    form {
                        display: flex;
                        width: 900px;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        gap: 30px;

                        input {
                            width: 80%;
                            padding: 10px;
                            font-size: 1.5rem;
                            text-align: center;
                        }

                        input[type=submit] {
                            width: 50%;
                            background-color: $orange;
                            color: white;
                            padding: 15px;
                            margin-bottom: 20px;
                            border: none;
                            border-radius: 4px;
                            cursor: pointer;
                            font-size: 1.5rem;

                            &:hover {
                                background-color: $gris;
                            }
                        }

                        .upload {
                            width: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;

                            input[type=file]::file-selector-button {
                                border-radius: 4px;
                                padding: 0 16px;
                                height: 40px;
                                cursor: pointer;
                                background-color: white;
                                border: 1px solid rgba(0, 0, 0, 0.16);
                                box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
                                margin-right: 16px;
                                transition: background-color 200ms;

                                &:hover {
                                    background-color: $gris;
                                }
                            }
                        }

                        .selection {
                            text-align: center;

                            h1 {
                                font-size: 30px;
                                margin-bottom: 1.5rem;
                            }

                            div {

                                display: flex;
                                flex-wrap: wrap;

                                .container {
                                    width: 20%;
                                    display: block;
                                    position: relative;
                                    padding-left: 35px;
                                    margin-bottom: 1.5rem;
                                    cursor: pointer;
                                    font-size: 22px;
                                    -webkit-user-select: none;
                                    -moz-user-select: none;
                                    -ms-user-select: none;
                                    user-select: none;

                                    input {
                                        position: absolute;
                                        opacity: 0;
                                        cursor: pointer;
                                        height: 0;
                                        width: 0;

                                        &:checked {
                                            ~ {
                                                .checkmark {
                                                    background-color: $orange;

                                                    &:after {
                                                        display: block;
                                                    }
                                                }
                                            }
                                        }
                                    }

                                    &:hover {
                                        input {
                                            ~ {
                                                .checkmark {
                                                    background-color: #ccc;
                                                }
                                            }
                                        }
                                    }

                                    .checkmark {
                                        &:after {
                                            left: 9px;
                                            top: 5px;
                                            width: 5px;
                                            height: 10px;
                                            border: solid white;
                                            border-width: 0 3px 3px 0;
                                            -webkit-transform: rotate(45deg);
                                            -ms-transform: rotate(45deg);
                                            transform: rotate(45deg);
                                        }
                                    }
                                }

                                .checkmark {
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    height: 25px;
                                    width: 25px;
                                    background-color: $blanc;

                                    &:after {
                                        content: "";
                                        position: absolute;
                                        display: none;
                                    }
                                }
                            }
                        }

                        .option {
                            width: 50%;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            box-sizing: border-box;
                            font-size: 20px;
                            gap: 40px;

                            select {
                                padding: 12px 50px;
                                border: 1px solid #ccc;
                                border-radius: 4px;
                                resize: vertical;
                                font-size: 20px;
                            }
                        }
                    }
                }

                .carteEmploye {
                    display: flex;
                    width: 50%;
                    font-size: 1.5rem;
                    border-bottom: solid 2px $blanc;
                    padding: 1rem;
                    margin-top: 20px;

                    .compte {
                        display: flex;
                        width: 70%;
                        justify-content: space-between;
                    }

                    .icons {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: 30%;
                        gap: 40px;
                    }
                }
            }
        }
    }
}

.modification {
    min-width: 100vh;
    min-height: 100vh;
    background-image: url("../img/solid-concrete-wall-textured-backdrop.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: $blanc;
    padding: 3rem 0;

    .formulaire {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 40%;
        background-color: $noir;
        border-radius: 30px;
        border: solid 4px $blanc;
        padding: 40px;

        h1 {
            padding-bottom: 20px;
        }

        form {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;

            input {
                width: 70%;
                padding: 15px 20px;
                margin: 8px 0;
                display: inline-block;
                border: 1px solid $blanc;
                border-radius: 4px;
                box-sizing: border-box;
                text-align: center;
                font-size: 1.2rem;
            }

            textarea {
                width: 471px;
                height: 150px;
                font-size: 1.2rem;
                margin: 8px 0;
            }

            label {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: left;
                margin-top: 10px;
                font-size: 1.5rem;
            }

            input[type=submit] {
                width: 60%;
                background-color: $orange;
                color: white;
                padding: 15px 20px;
                margin: 8px 0;
                border: none;
                border-radius: 4px;
                cursor: pointer;
                margin-top: 20px;

                &:hover {
                    background-color: $gris;
                }
            }

            .option {
                width: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                font-size: 20px;
                gap: 40px;

                select {
                    padding: 12px 50px;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    resize: vertical;
                    font-size: 20px;
                    margin: 8px 0;
                }
            }

            .selection {
                text-align: center;

                h1 {
                    font-size: 20px;
                    margin-bottom: 1.5rem;
                }

                div {

                    display: flex;
                    flex-wrap: wrap;

                    .container {
                        width: 25%;
                        display: block;
                        position: relative;
                        padding-left: 35px;
                        margin-bottom: 1.5rem;
                        cursor: pointer;
                        font-size: 20px;
                        -webkit-user-select: none;
                        -moz-user-select: none;
                        -ms-user-select: none;
                        user-select: none;

                        input {
                            position: absolute;
                            opacity: 0;
                            cursor: pointer;
                            height: 0;
                            width: 0;

                            &:checked {
                                ~ {
                                    .checkmark {
                                        background-color: $orange;

                                        &:after {
                                            display: block;
                                        }
                                    }
                                }
                            }
                        }

                        &:hover {
                            input {
                                ~ {
                                    .checkmark {
                                        background-color: #ccc;
                                    }
                                }
                            }
                        }

                        .checkmark {
                            &:after {
                                left: 9px;
                                top: 5px;
                                width: 5px;
                                height: 10px;
                                border: solid white;
                                border-width: 0 3px 3px 0;
                                -webkit-transform: rotate(45deg);
                                -ms-transform: rotate(45deg);
                                transform: rotate(45deg);
                            }
                        }
                    }

                    .checkmark {
                        position: absolute;
                        top: 0;
                        left: 0;
                        height: 25px;
                        width: 25px;
                        background-color: $blanc;

                        &:after {
                            content: "";
                            position: absolute;
                            display: none;
                        }
                    }
                }
            }

            .upload {
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;

                img {
                    width: 170px;
                    height: 170px;
                }

                input[type=file]::file-selector-button {
                    width: 40%;
                    border-radius: 4px;
                    padding: 0 16px;
                    height: 40px;
                    cursor: pointer;
                    background-color: white;
                    border: 1px solid rgba(0, 0, 0, 0.16);
                    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
                    margin-right: 16px;
                    transition: background-color 200ms;

                    &:hover {
                        background-color: $gris;
                    }
                }
            }
        }
    }
}