body {
    margin: 0px;
    background-color: #F9F6F2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

p {
    margin: 0px;
}

@font-face {
    font-family: 'MarianneB';
    src: local('MaPolice'), url('font/Marianne-Bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MarianneR';
    src: local('MaPolice'), url('font/Marianne-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.flag {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 10px;
}

.flag .blue {
    background-color: #00008F;
    height: 10px;
    flex: 1 1 30%;
    width: 100%;
}

.flag .white {
    background-color: #FFFFFF;
    height: 10px;
    flex: 1 1 30%;
    width: 100%;
}

.flag .red {
    background-color: #E0000F;
    height: 10px;
    flex: 1 1 30%;
    width: 100%;
}

/* ========= CONTAINER ========= */

.body-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 40rem;
    padding: 4rem 0rem 4rem 0rem;
    width: 100%;
}

/* ========= Logo Fate ========= */

.body-container .logo {
    width: 100%;
    max-width: 200px;
}

.logo img {
    height: 100%;
    width: 100%;
}

/* ========= Warn message ========= */

.body-container .warn {
    margin: 2rem 0rem 2rem 0rem;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: solid 2px #B34000;
    background-color: #FFFFFF;
}

.warn .warn_logo {
    display: flex;
    background-color: #B34000;
    width: 35px;
    align-content: center;
    justify-content: center;
}

.warn .warn_logo img {
    width: 60%;
    margin-bottom: 3rem;
    margin: -26px 0px 0px 0px
}

.warn .msg {
    padding: 8px;
    font-family: 'MarianneB';
    font-size: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* ========= Form ========= */

.body-container .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #FFFFFF;
    padding: 2rem 1rem 2rem 1rem;
    font-family: 'MarianneR';
    box-sizing: border-box;
}

.form-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.form-container form {
    width: 100%;
}

/* ========= container Title ========= */

.form #loading {
    border-bottom: 3px transparent black;
}

.form #form {
    border-bottom: 3px solid black;
}

.form .title {
    width: 100%;
    margin-bottom: 2rem;
}

.form .title p {
    text-align: center;
    font-family: 'MarianneB';
    font-size: 2rem;
    margin: 6px;
}

.form .title p {
    text-align: center;
    font-family: 'MarianneB';
    font-size: 2rem;
    margin: 6px;
}

/* ========= Form Fieldset ========= */

.body-container .form .fieldset {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1rem;
}

.body-container .form .fieldset form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.body-container .form .fieldset .field {
    display: flex;
    flex-direction: column;
}

.form .fieldset input {
    background-color: #EEEEEE;
    border-color: black;
    border-width: 0px 0px 2px 0px;
    border-style: solid;
    height: 3rem;
    padding: 0px 10px 0px 10px;
    font-family: 'MarianneR';
    font-size: 1rem;
}

.body-container .form .fieldset .button {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 60%;
    align-self: center;
    padding: 30px;
}

.body-container .form .fieldset button {
    border-color: #000091;
    border-width: 1px;
    border-style: solid;
    padding: 7px;
    margin: 0px 7px 0px 7px;
    width: 6.5rem;
    height: 2.2rem;
    font-family: 'MarianneR';
}

.fieldset .reset {
    border-color: #000091;
    border-width: 1px;
    border-style: solid;
    background-color: white;
    color: #000091;
    cursor: pointer;
    font-size: 0.8rem;

}

.fieldset .submit {
    border-color: #000091;
    border-width: 1px;
    border-style: solid;
    background-color: #000091;
    color: white;
    cursor: pointer;
    font-size: 0.8rem;

}

/* ========= Loading ========= */

.form-container .percentage {
    color: #000091;
    font-family: "MarianneB";
    font-size: 2rem;
}

.form-container .info-chargement {
    color: #000091;
    font-family: "Marianner";
    font-size: 1rem;
    align-self: flex-start;
    padding-bottom: 8rem;
}

progress {
    appearance: none;
    appearance: none;
    width: 100%;
    border-radius: 10px;
}

::-webkit-progress-bar {
    background-color: #f0f0f0; /* Couleur de fond de la barre de progression */
    border-radius: 10px;
    width: 100%;
  }

::-webkit-progress-value {
    background-color: #000091; /* Couleur de la partie remplie de la barre de progression */
    border-radius: 10px;
  }

::-moz-progress-bar {
    background-color: #000091; /* Couleur de fond de la barre de progression */
    border-radius: 10px;
    width: 100%;
  }

/* ========= Form Obseques ========= */

.lien {
    align-self: flex-start;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: #00008F solid 1px;
    font-family: 'MarianneR';
    margin: 5px;
    cursor: pointer;
}

.form-container .info-resultat {
    color: #000000;
    font-family: "MarianneR";
    font-size: 1.1rem;
    align-items: center;
    padding: 1rem 0px 2rem;
}
.form-container .info-resultat .title{
    font-family: "MarianneB";
    margin-bottom: 1rem;
}

.lien img {
    height: 100%;
    margin-right: 7px;
}

a {
    color: #000091;
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

.lien-etude {
    color: #000091;
    text-decoration: none;
    align-self: flex-start;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: #00008F solid 1px;
    font-family: 'MarianneR';
    margin: 5px 0px 5px;
    cursor: pointer;
}

.form .title .hour-result {
    font-family: "MarianneB";
    font-size: 2.8rem;
    margin: 0.4rem;
}