<style >

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Empêche le défilement */
    display: flex;
    flex-direction: column;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

#container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#controls {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #eee;
}

#trames {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #eee;
}

#timeline {
    flex: 1;
    display: block; /* Supprime les marges et les bordures par défaut du canvas */
    background-color: #0; /* Couleur d'arrière-plan du canvas */
}

label {
    margin-bottom: 8px;
    color: #555;
}

input {
    padding: 4px;
    margin-bottom: 6px;
    margin-top: 6px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #efe;
}

select {
    padding: 4px;
    margin-bottom: 6px;
    margin-top: 6px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #eef;
}

canvas {
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 6px;
    margin-top: 6px;
    margin-left: 4px;
    margin-right: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#horizontalScroll, #verticalScroll {
    position: absolute;
}

#horizontalScroll {
    left: 0;
    width: calc(100% - 35px); /* 20px reserved for the vertical scrollbar */
}

#verticalScroll {
    right: 8px;
    //width: 200px; /* 20px reserved for the horizontal scrollbar */
    transform: rotate(90deg);
    transform-origin: right bottom;
}

input[type="range"] {
    appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

#contextMenu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 200px;
}

    #contextMenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        #contextMenu ul li {
            padding: 8px 12px;
            cursor: pointer;
        }

            #contextMenu ul li:hover {
                background-color: #f1f1f1;
            }

button {
    width: 10%;
    height: 35px;
    padding: 4px;
    margin-bottom: 16px;
    margin-top: 16px;
    margin-left: 15px;
    margin-right: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #4caf50;
    color: white;
    cursor: pointer;
}

    button:hover {
        background-color: #45a049;
    }

.button-container {
    display: flex;
    gap: -50px; /* Espace entre les boutons */
}

.cut-button {
    width: 35px;
    height: 40px;
    border-radius: 8px;
    background-color: #3498db;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .cut-button:hover {
        background-color: #2980b9;
    }

    .cut-button:active {
        background-color: #2471a3;
        transform: scale(0.95);
    }

    .cut-button .icon {
        font-size: 20px;
        color: #ffffff;
    }

.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.progress-container {
    width: 80%;
    max-width: 500px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin: 10px 0;
}

.progress-bar {
    width: 0;
    height: 30px;
    background-color: #4CAF50;
    border-radius: 5px;
    transition: width 0.5s ease-in-out;
}

#progressText {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-top: 10px;
}

.page_combo {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.3s;
}

</style >
