:root {
    --primary-color: #2D75E3;
    --secondary-color: #0E3267;
    --main-bg-color: #F5F5F5;
    --secondary-bg-color: #6c6c6c;
}
@font-face {
    font-family: 'Aptos';
    src: url('fonts/Aptos.ttf');
}
@font-face {
    font-family: 'Aptos-Bold';
    src: url('fonts/Aptos-Bold.ttf');
}
* {
    font-family: 'Aptos';
}
html {
    max-height: 100%;
    min-height: 100%;

}
body {
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    height: 100vh;
    box-sizing: border-box;
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
header {
    background-color: var(--primary-color);
    width: 100%;
    height: 80px;
    display: flex;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}
header * {
    color: var(--main-bg-color);
    font-family: 'Aptos-Bold';
}
header div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 60px 0 60px;
}
header div div.button_menu {
    width: fit-content;
    padding: 0;
}
header div a:hover {
    opacity: 0.7;
    cursor: pointer;
}
header div p {
    color: var(--main-bg-color);
    font-size: 20pt;
    font-weight: bold;
}
div.main-container {
    height: -webkit-fill-available;
    height: -moz-available;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}
div.gantt-container {
    overflow: scroll;
    width: -webkit-fill-available;
    width: -moz-available;
    height: -webkit-fill-available;
    height: -moz-available;
}
.gantt .bar-progress {
    fill: rgba(0, 0, 0, 0.4);   /* Couleur de la ligne (noir semi-transparent) */
    height: 4px;                /* Épaisseur de la ligne */
    ry: 2px;                    /* Arrondit les bouts de la ligne */
    rx: 2px;

    /* Astuce pour centrer la ligne verticalement */
    transform: translateY(8px);
}
.gantt .today-highlight {
    fill: rgba(45, 117, 227, 0.6); !important/* Exemple : un jaune/orange semi-transparent */
}
.gantt .weekend-highlight {
    fill: #f5f5f5; /* Couleur de fond gris clair */
}
.gantt .week-separator {
    stroke: #999;       /* Une couleur grise plus foncée */
    stroke-width: 1px;  /* Une ligne plus épaisse */
}
div.big_menu {
    display: flex;
}
div.big_menu a.element_big_menu {
    width: 220px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--main-bg-color);
    border-radius: 10px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.big_menu a.element_big_menu:hover {
    background-color: var(--primary-color);
    cursor: pointer;
}
div.big_menu a.element_big_menu {
    font-family: 'Aptos-Bold';
    font-size: 14pt;
    text-align: center;
}
footer {
    background-color: var(--primary-color);
    width: 100%;
    height: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

div.machine-planner {
    width: 90%;
}
table.week-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}
table.week-table td, table.week-table th {
    border: 1px solid black;
    padding: 10px;
    vertical-align: top;
    width: 20%;
}