body {
    overflow: hidden;
    color: white;
    margin: 0;
}

.Title {
    background: #7F7FD5;
    background: -webkit-linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
    background: linear-gradient(to right, #91EAE4, #86A8E7, #7F7FD5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5em;
} 

.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#toolbar{
    display: flex;
    flex-direction: row;
    height: 10vh;
    background-color: #202020;
    padding: 1vh;
    justify-content: space-around;
    min-height: 50px;
    width: 100%;
}

#toolbar * {
    margin-bottom: 0px;
}

#toolbar label {
    font-size: 12px;
}

#toolbar input {
    width: 50%;
    height: 100%
}

#action-buttons button {
    background-color: #1565c0;
    border: none;
    border-radius: 4px;
    color: white;
    margin-left: 1vw;
    margin-right: 1vw;
    font-size: 0.5em;
    padding-top: 1vh;
    padding-bottom: 1vh;
}

.column-part {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center; 
    padding-left: 1vw;
    padding-right: 1vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
    width: 37vh;
}

#action-buttons {
    display: flex;
    flex-direction: row;
    
    justify-content: space-between;
    align-items: center; 
}








.drawing-board {
    position: relative; /* Permet à l'image d'être positionnée par rapport à ce conteneur */
    width: 95vw;
    margin-top: 25px;
}

#drawing-board {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    aspect-ratio: 1325/806;
    width: 100%;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none; /* Permet aux clics de passer à travers */
    aspect-ratio: 1325/806;
    width: 100%;
}

/*--------------- 3 buttons size ----------------------*/

#lineWidthButtons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

.lineWidthBtn {
    border-radius: 100%; /* Forme circulaire */
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lineWidthBtn:hover {
    background-color: #ffffff;
}.lineWidthBtn.active {
    background-color: #ffffff;
}

.lineWidthBtn#small {
    aspect-ratio: 50/50;
    width: 20px;
    height: 20px;
}

.lineWidthBtn#medium {
    aspect-ratio: 50/50;
    width: 30px;
    height: 30px;
}

.lineWidthBtn#large {
    aspect-ratio: 50/50;
    width: 40px;
    height: 40px;
}

/* Fond semi-transparent de la popup */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Priorité maximale */
    color: #202020;
}

/* Contenu de la popup */
#popup-content {
    background: rgb(85, 184, 197);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1001; /* Plus haut que tout */
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
}

#popup-content label {
    padding-bottom: 20px;
}
