form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

form button {
    margin: 1em;
    outline: none;
    border: none;
    padding: 0.5em;
    background-color: #df0d0d;
}

form .image img {
    width: 8em;
    height: 8em;
    object-fit: cover;
    border-radius: 50%;
}

form .image {
    display: flex;
    position: relative;
}

form .image label i {
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    margin: 3em 0em 0em -1em;
    background: #000;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 10px;
    border: 1px solid #fff;
}

.modify .inputs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modify .inputs .input1 {
    display: flex;
    flex-direction: column;
}

.modify .inputs .input1 input {
    border: 1px solid #df0d0d;
    outline: none;
    padding: 10px;
}

.middle-contents {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.middle-contents .middle-texts {
    width: 45%;
}

.middle-contents .middle-texts h3 {
    border-bottom: 1px solid #707070;
}

.middle-contents .revenu {
    width: 45%;
}

.middle-contents .revenu h3 {
    border-bottom: 1px solid #707070;
}

.middle-contents .border {
    border-right: 1px solid #707070;
    margin: 0.4em;
}


@media (min-width: 300px) and (max-width: 575.98px) {
    .modify .inputs .input1 {
        width: 100%;
    }

    .middle-contents .middle-texts .modify .inputs {
        gap: 0px;
    }

    .middle-contents .middle-texts .texts {
        width: 100%;
    }

    .middle-contents .revenu {
        width: 100%;
    }

    .middle-contents .middle-texts {
        width: 100%;
    }
}