/* GENERIC */

* {
    box-sizing: border-box;
    font-family: sans-serif;
}

/* ELEMENTS */

body {
    margin: 0;
    padding: 8vw;
}

h1 {
    margin: 0;
}

p {
    margin: 10px;
}

h1 + p {
    margin-top: 25px;
}

hr {
    margin-top: 30px;
}

small {
    font-weight: 400;
}

strong {
    font-size: 14px;
}

button, button + button {
    margin-top: 30px;
    margin-left: 10px;
}

/* STYLE FORMULAIRE */

form div {
    padding: 10px 0;
}

input {
    border: none;
    border-bottom: 1px solid black;
}

textarea {
    vertical-align:top;
}

/* CLASS */

.actif {
    display: block;
}

.inactif {
    display: none;
}

.erreur {
    color: red;
}

.erreur input {
    border: none;
    border-bottom: 1px solid red;
}

.revenu input:first-child {
    margin-left: 240px;
}

.revenu{
    display: flex;
    flex-direction: column;
}

ul {
    margin: 0;
}
