*{
    box-sizing: border-box;
}


body {
    font-family: Bahnschrift, Calibri;
    margin: 0;
    padding: 0;
    color: black;
    background-color: #fff;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto;
    margin: 5% auto;
    background-color: #D19233;
    box-shadow: 2px 2px black;
    padding: 20px;
    box-sizing: border-box;
}
h5{
    color: #fff;
    font-size: 40px;
    font-weight: bolder;
    font-style: oblique;
    margin-left: 0%;
    margin-top: 1%;
    margin-bottom: 0%;
}
form .erreur{
    display: none;
    text-align: center;
    height: 25px;
    width: 100%;
    background-color: rgb(181, 71, 71);
}
.button{
    height: 30px;
    width: auto;
    margin-left: 0;
    background-color:#fff ;
    font-size: 20px;
    color: black;
}
.button:hover{
    background-color: #D19233;
    color:#fff; 
    cursor: pointer;
}

input {
    margin: 10px 0;
    padding-left: 30px;
    height: 30px;
    width: 100%;
    box-sizing: border-box;
}
.select-container {
    position: relative;
    width: 100%;
}

select {
    margin: 10px 0;
    height: 30px;
    box-sizing: border-box;
    -webkit-appearance: none; /* Safari et Chrome */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* Standard */
    padding-right:5px; /* Espace pour la flèche */
    padding-left: 25px;
    margin-left: -15px;
}

.select-container::after {
    content: '\25BC'; /* Code Unicode pour une flèche */
    position: absolute;
    right: 10px; /* Positionnement à droite */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Permet de cliquer à travers l'élément */
}
.phone{
    display: flex;
    margin: 10px 0;
    height: 30px;
    width: 100%;
    padding-bottom: 45px;
}
.content{
    position: relative;
    top: 35px;
    left: 5px;
}
.input-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.input-container i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: top 0.3s; /* Transition pour un déplacement en douceur */
}

.input-container input:focus + i {
    top: -20px; /* Déplace l'icône vers le haut quand l'input est focus */
}
.input-error {
            border: 2px solid red;
        }
footer p{
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 25px;
    font-size: 10px;
    color: gray;;
    padding: 10px;
    text-align: center;
}