:root {
    --couleur-principale: #f7ebc3; /* Variable CSS */
}
table {
  font: bold 12px/1 Arial ; /* style, taille/hauteur de ligne, famille de polices */
}
   a {
 text-decoration: none;
    color: inherit; /* Cette ligne optionnelle permet au lien de prendre la couleur de son parent (h3) */
  }
.colboutons1 button {
    padding: 09px 20px ;
    font-size: 12px;
    border: none;
    background-color: yellow;
    color: black;
    /* cursor: pointer;*/
  /*  transition: background-color 0.3s ease;*/
}

.colboutons2 button {
    padding: 09px 20px ;
    font-size: 12px;
   border: none;
        color: white;
    background-color: #00b0BA; /* #008CBA blue */
    /*cursor: pointer;*/
    /* color: white;*/
  /*  transition: background-color 0.3s ease;*/
}
.colboutons3 button {
    padding: 09px 20px ;
    font-size: 12px;
    border: none;
    color: black;
    background-color: lightpink; /* red; */
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.colboutons4 button {
    padding: 09px 20px ;
    font-size: 12px;
    border: none;
    color: white;
    background-color: #04AA6D; /* Green */
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.colboutons5 button {
     padding: 09px 20px ;
    font-size: 12px;
   border: none;
    background-color: #555555; /* black */
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculatrice {
    width: 300px;
    margin: 50px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #d1dffa;
}

.affichcol {
    padding: 10px;
    
    text-align: left;
    border: 0px solid #ccc;
}

.affichcol input {
    width: 25%;
    padding: 10px;
    font-size: 12px;
    border: 3px solid #ccc;
    background-color: transparent;
    text-align: left;
}

.affichcol2 {
    padding: 10px;
    //background-color: black;
    text-align: left;
    border: 0px solid #ccc;
}

.affichcol2 input {
    width: 25%;
    padding: 10px;
    font-size: 12px;
    border: 3px solid #ccc;
    background-color: transparent;
    text-align: left;
}

.affichage {
    padding: 10px;
    background-color: #d1dffa;
    text-align: right;
    border: 0px solid #ccc;
}

.affichage input {
    width: 90%;
    padding: 10px;
    font-size: 20px;
    border: 3px solid #ccc;
    background-color: transparent;
    text-align: right;
}

.affichage-nbtrains {
    padding: 10px;
    background-color: lightyellow;
    text-align: right;
    border: 0px solid #ccc;
}

.affichage-nbtrains input {
    width: 90%;
    padding: 5px;
    font-size: 16px;
    border: 3px solid #ccc;
    background-color: transparent;
    text-align: right;
}

.boutons {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}


.boutons button {
    padding: 09px 20px ;
    font-size: 10px;
 
    border-style: solid;
    border-radius: 8px;
    background-color: #eee;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boutons button:hover {
    background-color: #ddd;
}

.boutons button:active {
    background-color: #ccc;
}

.boutons-ar {
    display: grid;
    grid-template-columns: repeat(1,1fr);
}

.boutons-ar button {
    padding: 09px 20px ;
    font-size: 10px;
 
    border-style: solid;
    border-radius: 8px;
    background-color: lightblue;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boutons-ar button:hover {
    background-color: #ddd;
}

.boutons-ar button:active {
    background-color: #ccc;
}

.boutons-tr {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.boutons-tr button {
    padding: 8px 08px;
    font-size: 12px;
    border-style: solid;
    border-radius: 8px;
    background-color: var(--couleur-principale); 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.boutons-tr button:hover {
    background-color: #ddd;
}

.boutons-tr button:active {
    background-color: #ccc;
}