* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rockwell Nova';
    src: url('../~fonts/RockwellNova.woff2') format('woff2'),
        url('../~fonts/RockwellNova.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-color: #151515;
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
}

header .logo {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 30vh;
    margin: auto;
    top: 20px;
}

.profilicon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 45px;
}

.accueil {
    background-color: rgb(21, 21, 21);
    /*
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -100;

    filter: blur(5px);
*/
}

.menuicon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;
}


.menu {

    background-color: rgb(21, 21, 21);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    /*    background-color: rgba(0, 0, 0, 0.5)*/
}

form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: auto;
}

.bloc {
    margin: 10px;
    margin-top: 2vw;
}

/*        Navigation qui prend toute la page pour pouvoir positionner la boîte "boutons"*/
nav {
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/*        Boite contenant les icones*/
.boutons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 530px;
    min-width: 530px;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
    margin-top: 30px;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 530px;
    height: 160px;
    min-width: 500px;
}

.icon-menu {

    width: 120px;

}



.retour {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;

}

h2 {
    margin: 0;
    margin-top: 5px;
    font-size: 1rem;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: 200;
}

a {
    text-decoration: none;
}

.contact {
    width: 80%;
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding-top: 18vh;
    padding-bottom: 10vh;
}

.champ {
    line-height: 2;
    margin-bottom: 10px;
}

input,
textarea {
    padding: 10px 20px;
    margin-top: 5px;
    width: 100%;
    font-size: 1.15rem;
    border-radius: 30px;
    border: 2px solid white;
    -webkit-transition: 0.25s ease;
    transition: 0.25s ease;
}

textarea {
    border-radius: 20px;
    min-height: 200px;
}

.submit {
    background-color: #fc9e20;
    color: #151515;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    width: 220px;
    padding: 10px 0px;
}

.submit:hover {
    background-color: #dc793e;
    cursor: pointer;
}

textarea {
    resize: vertical;
    font-family: 'Arial', sans-serif;
}

input:focus,
textarea:focus {
    border: 2px solid #fc9e20;
    outline: none;
}

input:required {
    background-image: url('../~img/icons/required.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: right;
}

textarea:required {
    background-image: url('../~img/icons/required.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: top right;
}

input:required:valid {
    background-image: url('../~img/icons/required-ok.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: right;
}

textarea:required:valid {
    background-image: url('../~img/icons/required-ok.png');
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: top right;
}

/*__________________________________________________________*/

body {
    text-align: center;
    color: white;
    background-color: #151515;
    font-family: sans-serif;

}

main {
    /*
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1100px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse;
    flex-flow: row-reverse;
    -ms-flex-line-pack: distribute;
    align-content: space-around;
*/

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1100px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse;
    flex-flow: row-reverse;
}

.mmilife {
    margin-top: 2vh;
    width: 32vh;
    margin-bottom: 100px;
}

.carte {
    margin-top: 8vw;
    width: 16em;
    height: 28em;
    /*            margin-left: 5em;*/
    background-color: white;
    border-radius: 1.125em;

}

.photo-etud {
    width: 16em;
    display: block;
    margin: 0;
    border-top-right-radius: 1.125em;
    border-top-left-radius: 1.125em;
    /*            white-space: nowrap;*/
}

h1 {
    font-family: "Rockwell Nova", Helvetica, Arial, sans-serif;
    color: #fc9e20;
    font-weight: normal;
    text-transform: lowercase;
}

p {
    color: black;
}

a {
    text-decoration: none;
}

.interest {
    margin-bottom: 0;
    font-size: 0.8em;
}

.metier {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1.4em;
}

.icon {
    width: 5em;
    margin-top: 1em;
    padding: 1em;
}

span {
    position: fixed;
    bottom: 0vh;
    background-color: white;
}

@media (max-width:1250px) {
    main {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        max-width: 1100px;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
        flex-flow: column-reverse;
    }

    .bloc {
        margin: 0;
    }

    .carte{
        margin: auto;
    }
    
    form{
        margin-top: 0;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1d1d1d;
}

::-webkit-scrollbar-thumb {
    background: rgb(255, 255, 255);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d1d1d1;
    border-radius: 10px;
}