*,
::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);
}


header .logo {
    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;
    /*    background-color: rgba(0, 0, 0, 0.5)*/
}

/*        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;

}

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 {

    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;
}

.retour {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;

}

/*Contenu principal */

.page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.contenu {
    margin-top: 100px;
    width: 100vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}



.col1 {
    width: 30%;
    margin-left: 30px;
    margin-top: 70px;

}

.col1 h2 {
    font-family: Rockwell Nova, arial, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    margin-left: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}


.col2 h1 {
    display: block;
    width: 600px;
    ;
    color: white;
    font-family: Rockwell Nova, arial, sans-serif;
    font-weight: normal;
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 50px;
    text-align: center;

}

.col2 p {
    width: 400px;
    height: 300px;
    color: white;
    font-family: Helvetica, arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.3;
    text-align: center;
    margin: auto;

}

.col3 {
    width: 30%;
    margin-right: 30px;
    margin-top: 50px;
}

.col3 h2 {
    font-family: Rockwell Nova, arial, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: right;
}

/*Couleur des liens */
.m1,
.m7 {
    color: #e781a6;
}

.m2,
.m8 {
    color: #dc793e;
}

.m3,
.m5 {
    color: #e65983;
}

.m4,
.m6 {
    color: #fd8f9c;
}

a {
    text-decoration: none;

}

.lien {
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.lien:hover {
    color: #fe6f61;
    font-size: 3rem;
}

.description {
    color: white;
    font-family: helvetica, arial, sans-serif;
    font-size: 1.4rem;

}

/*dropdown menu fenêtre réduite*/

.dropdown {
    display: none;
}

/*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;
}


@media (max-width:1000px) {

    .col1,
    .col3 {
        display: none;
    }


    /* Dropdown Button */
    .dropbtn {
        background-color: #fe6f61;
        color: white;
        padding: 16px;
        font-size: 1rem;
        font-family: 'Rockwell Nova', arial, sans-serif;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        width: 250px;
        text-align: center;
    }

    /* 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: 20vh;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);

    }

    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #fc9e20;
        width: 250px;
        min-width: 160px;
        -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: 'Rockwell Nova', arial, sans-serif;
        font-size: 1rem;
        text-align: center;
    }

    /* Change color of dropdown links on hover */
    .dropdown-content a:hover {
        background-color: #ddd;
        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: 5px;
    }

}
