
input[type=number] {
  background-color: #a5ffdea0;
  width: 100%;
  padding: 12px;
  margin: 0;
  box-sizing: border-box;
  border: 4px solid #07774e;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 20px;
  font-weight: bold;
}

input[type=button], input[type=submit], input[type=reset] {
  border: 4px solid #0f885d;
  border-radius: 8px;
  background-color: #04AA6D;
  font-weight: bold;
  color: white;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 20px;
  margin: 10px 0px;
  padding: 16px 32px;
  text-decoration: none;
  width: 100%;

}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  background-color: #bceddb;
  color: #04AA6D;
} 

label {
  display: block;
  padding: 5px;
  margin: 0px;
  width: 100%;
  letter-spacing: 0.1em;
  font-weight: bold;
  color:#08432f;

}



.bloc-stats {
  margin: 20px auto;
  display: flex;
  align-items: stretch; 
  background-color: #c3fee8d1;
  border-radius: 8px;
  padding: 10px 20px;
  width: fit-content;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gauche {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #2c3e50;
  padding: 0 15px;
  background-color: #e0e0e0;
}

.separateur {
  width: 4px;
  background-color: #0f885d;
  margin: 0 15px;
}

.droite {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: flex-start; 
  padding-left: 0; 

}

.info {
  font-size: 14px;
  color: #555;
  margin: 2px 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial;
  margin: 0;
  background-image: url("back.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size:cover;
  background-attachment: fixed;
}

/* Header */
header {
  padding: 10px;
  text-align: center;
  background: #1abc9c81;
  color: white;

}
header h1 {
  margin:0;
}
header p {
  margin: 0;
  text-align: center;
}
/* Top navigation bar */
.navbar {
  display: flex;
  background-color: #33333381;
}

/* Navigation bar links */
.navbar a {
  color: white;
  padding: 7px 10px;
  text-decoration: none;
  text-align: center;
}

/* Change color on hover */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Column container */
.container {  
  display: flex;
  flex-wrap: wrap;
  
}

.main-header{
  flex: 95%;
  padding-left: 5px;
  background-color: #ffffffd4;
}

.main-header h2, .main-header h5{
  margin:0;
}

.main-header h5{
  font-weight: normal;
  font-size: 0.8em;
  color:#444444;
} 

/* Main column */
.main {
  flex: 95%;
  background-color: #ffffff81;
  padding: 20px;
  align-content: center;
  margin: auto;
    padding-bottom: 50px;
}

.main img{
  border-radius: 8px;
  max-width: 100%;
            max-height: 100%;
            min-width: 120px;

}

p{
  font-size: 1em;
  line-height: 1.2em;
  margin: 0;
    text-align: justify;
}
.main-split{
  display: flex;
  justify-content: center; /* ✅ centre horizontalement */
  gap: 20px; /* espace entre les blocs */

}
.main-left{
  display: flex;
  
}
.main-right{
  display: flex;
  text-align: justify;
  max-width: 300px;
}

.main-solo{
    justify-self: center;
  max-width: 600px;

}

.error-message {
  background-color: #9b2b2b9e;
  width:70%;
  margin: 20px auto;
}

.error-message p {
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  margin-top: 10px;
  font-size: 1em;
  padding: 10px;
  margin: 0;
}

/* Footer */
/* Style the footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1d4;
  padding: 8px;
  text-align: center;
  z-index: 1000;
}

footer h2 {
  display: inline;
  margin:auto;
  font-size: 1em;
  color:#444444;
  font-weight: normal;
}

#mention {
  display: inline;
  margin:auto;
  text-decoration: none;
  color: #08432f;
  font-size: 0.8em;
}


.figure {
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Responsive layout - when the screen is less than 300px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 300px) {
  .container, .navbar {   
    flex-direction: column;
  }
}