body {
    margin: 0;
    padding: 0;
    font-size: small;
    background-color: rgb(255, 255, 255);
    position: relative;
}

html {
    scroll-padding-top: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
    margin: 0px;
}

.phone {
    display: none;
}


main {
    background-image: url("../images/couverture.png");
    min-height: 600px;
    background-size: 23%;
    background-repeat: no-repeat;
    background-attachment: local;
    background-position: top center;
    margin-top: 75px;
}

main .accroche {
    display: flex;
    justify-content: space-between;
}

main .accroche .nom {
    width: 500px;
    margin-left: 50px;
    margin-top: 10px;
    font-size: xx-large;
    font-weight: bold;
    color: rgb(50, 50, 50);
}

main .accroche .nom h1 {
    color: rgb(255, 183, 0);
}

main .accroche .nom h1 span {
    color: black;
    font-size: x-large;
}

main .accroche .nom a {
    color: black;
    font-size: x-large;
    background-color: rgb(255, 183, 0);
    border: none;
    padding: 10px;
    margin-left: 20px;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}

main .accroche .nom a:hover {
    background-color: rgba(234, 181, 36, 0.685);
    cursor: pointer;
}

main div .photo img {
    display: none;
}

main .accroche .geo {
    width: 500px;
    margin-left: 50px;
    margin-top: 100px;
    font-size: medium;
    font-weight: bold;
    color: rgb(50, 50, 50);
}

.description {
    text-align: justify;
    font-weight: normal;
    margin-top: 20px;
    margin-right: 35px;
    background-color: white;
    padding-left: 10px;
}

.tele-cv {
    display: inline-block;
    margin-top: 20px;
    padding: 10px;
    text-decoration: underline;
    color: rgb(255, 183, 0);
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.5s ease-in-out;
}

.tele-cv:hover {
    background-color: rgb(255, 187, 0);
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.section {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.section h1 {
    text-align: center;
    font-size: xx-large;
}

.section .grille {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.formulaire {
    display: flex;
    justify-content: center;
    padding: 30px 20px 30px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
    width: 500px;
    background-color: rgba(128, 128, 128, 0.092);
    box-shadow: 0px 5px 30px rgba(49, 48, 48, 0.273);
}

.formulaire form {
    width: 90%;
}

.formulaire form>div {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    width: 100%;
}

.formulaire form>div span {
    color: red;
}

.formulaire form>div input,
.formulaire textarea {
    padding: 10px;
    border-radius: 10px;
    border: 2px solid rgb(255, 255, 255);
    margin-top: 5px;
    outline: 0;
}

.formulaire form>div input:focus,
.formulaire textarea:focus {
    border: 2px solid rgb(255, 187, 0);
}

.formulaire .button {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.formulaire .button a{
    text-decoration: underline;
    color: gray;
}

.formulaire .button a:hover{
    color: rgb(3, 3, 3);
}

.formulaire .button button {
    background-color: rgb(255, 187, 0);
    color: black;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.formulaire .button button:hover {
    background-color: rgb(255, 210, 0);
}







main .accroche div.socialPhone {
    display: none;
}

@media (max-width: 768px) {
    main {
        background-image: none;
        margin: 0;
        margin-top: 80px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        height: auto;

    }

    .accroche {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0;
    }

    main .accroche .nom {
        max-width: 90%;
        margin: 0;
        font-size: medium;
        font-weight: bold;
    }

    main .accroche .nom h1 {
        color: rgb(255, 183, 0);
        margin: 0;
    }

    main .accroche .nom h1 span {
        color: black;
        font-size: x-large;
    }

    main .accroche div.socialDesktop {
        display: none;
    }

    main div .photo div {
        display: flex;
        justify-content: center;
        justify-items: center;
    }

    main div .photo img {
        display: block;
        width: 265px;
        height: 500px;
        margin: 0 auto;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    main .accroche div.socialPhone {
        display: block;
        margin-top: 30px;
    }

    main .accroche div.socialPhone a {
        color: black;
        font-size: x-large;
        cursor: pointer;
        background-color: rgb(255, 183, 0);
        border: none;
        padding: 10px;
        margin-left: 20px;
        border-radius: 10px;
        transition: all 0.5s ease-in-out;
    }

    main .accroche div.socialPhone a:hover {
        background-color: rgba(234, 181, 36, 0.685);
        cursor: pointer;
    }

    main .accroche .geo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 90%;
        margin: 20px 5px 5px 5px;
        margin-top: 20px;
        font-size: small;
        font-weight: bold;
    }

    main .accroche .geo p.description {
        margin: 15px 20px 20px 20px;
        font-size: small;
    }

    main .accroche .geo .tele-cv {
        margin: 0;
    }

    .section {
        display: flex;
        justify-content: center;
    }

    .formulaire {
        width: 290px;
    }

}