.login-form ,.calcules{
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid blue;
  border-radius: 20px;
  padding: 100;
  box-shadow: 0 0 10px gray;
  box-sizing: border-box;
  height:100%;
  max-height: 600px;
  background-color: rgba(255, 255, 255, 0.85);
}
.login {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
.genre-radio {
  display: flex;
  width: 100%;
  max-width: 400px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
#salut,#hello {
  text-align: center;
}
.genre {
  font-weight: bold;
  margin-right: 10px;
}
label[for="nom"],
label[for="prenom"],
label[for="matricule"] {
  font-weight: bold;
  text-align: left;
  padding: 0;
  margin: 0 0 5px 5px;
  align-self: flex-start;
}
input[type="text"],
input[type="number"] {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: 8px 0 8px 0;
  padding-right: 8px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 0 auto;
  box-sizing: border-box;
  text-indent: 2px;
}
button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  display:block;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 15px;
  width: 150px;
  border-radius: 20px;
}
#btn_result {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: rgb(8, 8, 8);
  background-color: #7bff00d5;
  border: none;
  display:block;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 15px;
  width: 150px;
  border-radius: 20px;
}
body {
  display:flex;
  min-height:90vh;
  align-items: center;
  justify-content:center;
  margin: 0;
  background-image: url("Addimage.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
fieldset {
  border: 2px solid rgb(18, 211, 8);
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 8px;
  box-sizing: border-box;
  gap: 10px;
}
legend {
  font-weight: bold;
}
table {
  width: 100%;
  max-width: 400px;
  height:39px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
thead {
  background-color: #2cf75e;
  text-align: center;
}
th {
  padding: 8px 10px;
  text-align: left;
  font-weight: bold;
}
td {
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.colspan {
  background-color: rgb(165, 248, 165);
  font-size:14px;
  font-weight: bold;
  height:0px;
}
.result {
  width: 100%;
  max-width: 400px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 8px;
  background: white;
  margin: 0 auto;
  padding:10px;
}
.fill {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #eae9e9;
}
.fill label {
  font-weight: bold;
  color: black;
}
.fill input {
  border: 2px solid rgb(255, 149, 0);
  margin-right: 10px;
  width: 80px;
  align-self: right;
}
.average_credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  margin: 10px;
}
.average_credit .average {
  width: 100%;
  max-width: 200px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  background-color: #6cf58e;
  color: blue;
}
.average_credit .credit {
  width: 100%;
  max-width: 80px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  background-color: #6cf58e;
  color: blue;
}
.average_credit_year {
   border-bottom:2px solid rgb(9, 174, 29);
   display: flex; 
  align-self: center;
  justify-content: center;
  gap: 100px;
  margin: 10px;
   padding-bottom: 8px;
  margin-bottom: px; 
}
.average_credit_year .average_year {
  width: 100%;
  max-width: 200px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  background-color: #6cf58e;
  color: blue;
}
.average_credit_year .credit_year {
  width: 100%;
  max-width: 80px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  background-color: #6cf58e;
  color: blue;
}
  .back{
    display:inline-block;
    padding:3px 5px;
    text-decoration: none;
    border:2px solid blue;
    border-radius: 8px;
    width:120px;
    font-weight: bold;
    background-color: rgb(6, 237, 160);
    margin:2px;
  }
  #cordonne{
    display: flex;
    flex-direction: column;
  }