/* styles.css */
@font-face {
    font-family: 'Montserrat-Regular';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    /* Autres propriétés de la police (poids, style, etc.) */
}
@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
    /* Autres propriétés de la police (poids, style, etc.) */
}
@font-face {
    font-family: 'Montserrat-Bold';
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    /* Autres propriétés de la police (poids, style, etc.) */
}

/* Styles généraux */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding-bottom: 1rem;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 1em;
    margin-top: 1em;
    font-family: 'Montserrat-Bold', sans-serif;
}

h3 {
    font-family: 'Montserrat-SemiBold', sans-serif;
}
.copyright {
    text-align: center;
    margin-top: 6em;
}

/* Formulaire */
#calculator-form {
    background-color: #fff;
    border-radius: 15px;
    padding: 21px;
    padding-right: 40px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}
select {
    width: 104.5%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

/* Résultats */
#result-div {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin-top: 20px;
}

p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}
#calculator-form {
    max-width: 500px;
    margin: 0 auto; /* Centre horizontalement */
    /* Autres styles... */
}
#result-div {
    max-width: 500px;
    margin: 0 auto; /* Centre horizontalement */
    margin-top: 1em;
    /* Autres styles... */
}
.input-field {
    margin-right: 10px; /* Espacement entre les champs */
}
#commander-button {
    display: none;
}

/* CSS */
.commander-button {
  appearance: none;
  background-color: #2ea44f;
  border: 1px solid rgba(27, 31, 35, .15);
  border-radius: 5px;
  box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 6px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
}

.commander-button:focus:not(:focus-visible):not(.focus-visible) {
  box-shadow: none;
  outline: none;
}

.commander-button:hover {
  background-color: #2c974b;
}

.commander-button:focus {
  box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
  outline: none;
}

.commander-button:disabled {
  background-color: #94d3a2;
  border-color: rgba(27, 31, 35, .1);
  color: rgba(255, 255, 255, .8);
  cursor: default;
}

.commander-button:active {
  background-color: #298e46;
  box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

