:root {
    --couleur-principale: #194152;   /* Bleu vif pour évoquer la confiance et la stabilité */
    --couleur-secondaire: #ffaa00;  /* Jaune énergique pour stimuler l'enthousiasme */
    --couleur-accents: #194152;      /* Vert frais pour évoquer la croissance et la nature */
    --couleur-fond: #f5f5f5;         /* Gris clair pour un fond neutre et propre */
  }

body {
    height: 100vh;
    margin: 0;
    font-family: 'Economica', sans-serif;
    background-color: var(--couleur-fond);
}

#container {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    height: 100%;
}

main {
    padding: 1vh;
    flex: 1;
    overflow: auto;
}

section {
    text-align: center;
    height: 100%; 
}

#parameters {
    display: inline;
    flex: 1 2 auto;
    padding-top: 2vh;
}

#visualization {
    flex: 2 1 auto;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

label {
    font-family: 'Economica', sans-serif;
    font-size: x-large;
}

input {
    font-family: 'Economica', sans-serif;
    font-size: x-large;
    text-align: center;
    width: 175px
}

button {
    background-color: var(--couleur-accents); /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    font-size: 16px;
    margin: 1vh;
    min-width: 30vh;
    font-family: 'Economica', sans-serif;
    font-size: x-large;
}

header {
    padding-top: 32px !important;
	padding-bottom: 32px !important;
    color: white;
    background-color: #194152;
    text-align: center;
}

header > h1 {
    font-size: 400%;
    margin: auto;
}

header > h2 {
    font-size: 200%;
    margin:auto;
}

.handwriting {
    font-family: 'Homemade Apple', cursive;
}

footer {
    height: 2vh;
	padding-bottom: 2vh;
    color: white;
    background-color: var(--couleur-secondaire);
    text-align: center;
}

.line {
    display: none;
    position: absolute;
    width: 900px;
    height: 2px;
    background-color: #333;
    margin-top: 5vh;
    left: 50%;
    /*top: 50%;*/
    transform: translate(-50%,-50%);
}

.marker {
    position: absolute;
    width: 2px;
    height: 5px;
    background-color: #333;
    top: -5px;
}

.marker-min {
    position: absolute;
    width: 5px;
    height: 20px;
    background-color: var(--couleur-secondaire);
    top: -10px;
}

.label {
    position: absolute;
    width: 5px;
    height: 10px;
    top: -70px;
    font-size: xx-large;
}

.marker-max {
    position: absolute;
    width: 5px;
    height: 20px;
    background-color: var(--couleur-secondaire);
    top: -10px;
}

.marker-input {
    position: absolute;
    width: 5px;
    height: 20px;
    background-color: green;
    top: -5px;
    transition: all .5s ease-in-out;
}

.label-value {
    position: absolute;
    width: 5px;
    height: 10px;
    top: 20px;
    transition: all .5s ease-in-out;
    font-size: xx-large;
}

.caption {
    display: none;
    font-size: xx-large;
}
