*,
::after,
::before {
    -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: rgb(21, 21, 21);
    overflow-x: hidden;
}

header #mmilife {
    position: absolute;
    left: 50%;
    top: 20px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 30vh;
    margin: auto;

}

.menuicon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;
}

.menu {

    background-color: rgb(21, 21, 21);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 20;
}

/*        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;
}

.iconmenu {
    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;
    z-index: 20;
}

/*Contenu principal */

/*
.page {
    height: 100vh;

}
*/

.contenu {
    margin-top: 100px;
    width: 100vw;
}

/*_______________________________________*/
/*scrollbar*/

::-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;
}

/*_______________________________________*/
/* Dropdown Button */
.dropbtn {
    background-color: #fe6f61;
    color: white;
    padding: 8px;
    padding-left: 15px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    width: 120px;
    text-align: left;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

/* Dropdown button on hover & focus */
.dropbtn:hover {
    background-color: #fc9e20;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    top: 40px;
    left: 88%;
/*
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
*/
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fc9e20;
    width: 120px;
    -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 20px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f2f2f2;
    color: #fe6f61;
    border-radius: 20px;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.arrow {
    position: absolute;
    width: 25px;
    top: 52%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-left: 10px;
}

/*_______________________________________*/

article {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.carte {
    margin: 2em;
    width: 16em;
    background-color: white;
    border-radius: 1.125em;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-align: center;
}

.carte:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.carte:hover .photo-etud {
    -webkit-transform: scale(0.97);
    transform: scale(0.97);
}

.photo-etud {
    width: 16em;
    display: block;
    margin: 0;
    border-top-right-radius: 1.125em;
    border-top-left-radius: 1.125em;
  -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

h1 {
    font-family: "Rockwell Nova", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    color: #fc9e20;
    font-weight: normal;
    text-transform: lowercase;
    margin-top: 1rem;
}

p {
    font-family: Arial, sans-serif;
    color: black;
    margin: -1rem;
}

.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;
    padding: 1vh;
    right: 2vh;
    bottom: 1.5vh;
    z-index: 2;
}

@media (max-width:1000px) {
    .dropdown {
    position: relative;
    display: inline-block;
    top: 100px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
}