*,
::after,
::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Rockwell';
    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);
}

.accueil {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

header .logo {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 30vh;
    margin: auto;
    top: 20px;
}

.menuicon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 35px;
}


.menu {

    background-color: rgb(21, 21, 21);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;

}

/*        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;
    padding-top: 60px;
}

.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;
}


/*Contenu de la page principale*/



.txtpic {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 90vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 50%;
    margin-left: 50px;
    padding-top: 180px;

}

.txt {

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.txt h1 {

    min-width: 230px;
    color: #dc793e;
    font-family: Rockwell, arial, sans-serif;
    font-weight: 500;
    font-size: 2.4rem;
    margin-bottom: 0;
}

.txt p,
h1 {
    margin-left: 20px;
    -webkit-transition: ease 0.5s;
    transition: ease 0.5s;
}


.pic img {
    width: 285px;
    margin-top: 50px;
    -webkit-transition: ease 0.5s;
    transition: ease 0.5s;
}


.txtpic p {
    width: 400px;
    min-width: 200px;
    text-align: left;
    font-family: helvetica, arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: white;
    margin-top: 0;
}

.equipe {

    position: absolute;
    right: 1%;
    /*    top: 15%;*/
    font-family: 'Rockwell', arial, sans-serif;
    font-size: 2.2rem;
    color: #e65983;
    margin-top: 0;
    margin-right: 20px;
    margin-left: 20px;
    padding-top: 80px;
}

.equipe a {
    color: #e65983;
}

.carte-etu {

    position: relative;
    top: 90px;
    left: 60px;
    height: 85vh;
    width: 40%;

}

.carte {
    position: absolute;
    width: 250px;
    -webkit-transition: ease 0.4s;
    transition: ease 0.4s;
}



.julien {

    top: 35%;
    left: 5%;
    -webkit-transition: ease 0.4s;
    transition: ease 0.4s;
}


.maelle {

    left: 30%;
    top: 9%;
}

.estelle {
    top: 40%;
    right: 9%;
}

.julien:hover,
.maelle:hover,
.estelle:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    z-index: 1;

}

.profil {
    position: absolute;
    top: 83%;
    left: 30%;
}

.profil img {
    width: 50px;
    margin: 0;
}

.plus {
    position: absolute;
    left: -70px;
    width: 190px;
    margin: 0;
    color: #e65983;
    font-size: 1.3rem;
    font-family: 'Rockwell', Arial, sans-serif;
    text-align: center;

}

::-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;
}

.alert {
    display: none;
}

@media (max-width:1350px) {

    .accueil {

        -webkit-box-orient: vertical;

        -webkit-box-direction: normal;

        -ms-flex-direction: column;

        flex-direction: column;
    }


    .carte-etu {

        display: -webkit-box;

        display: -ms-flexbox;

        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        left: 0;
        width: 100%;
        top: 20%;
    }

    .equipe {

        position: relative;
        top: 60px;
        right: 0;
        text-align: center;
        width: 100%;


    }

    .julien,
    .maelle,
    .estelle {

        top: 0;
        right: 0;
        left: 0;
        position: relative;
        padding-top: 20px;
    }

    .julien:hover,
    .maelle:hover,
    .estelle:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        z-index: 0;

    }

    .profil {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .plus {
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        text-align: center;
    }

    .txtpic {
        width: 100%;
        margin-left: 0;
    }

    .alert {
        display: block;
        position: absolute;
        right: 1vh;
        top: 2vh;
        padding: 20px;
        margin-bottom: 15px;
        margin: 2vh;
        background-color: #f44336;
        font-family: Arial, sans-serif;
        font-size: 2rem;
        color: white;
        border-radius: 10px;
        z-index: 50;
    }

    .closebtn {
        margin-left: 15px;
        color: white;
        font-weight: bold;
        float: right;
        font-size: 2rem;
        line-height: 2.5rem;
        cursor: pointer;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }

    .closebtn:hover {
        color: black;
    }
}

@media (max-width:1400px) and (min-width:1350px) {


    .carte {

        width: 225px;
    }
}

@media (max-width:800px) {


    .txtpic p {

        width: 300px;
        font-size: 1rem;
    }

    .pic img {

        width: 185px;
    }

    .txt h1 {

        font-size: 2rem;
    }

}

@-ms-viewport {
    width: device-width;
    /* largeur du viewport */
}

@-o-viewport {
    width: device-width;
    /* largeur du viewport */
}

@viewport {
    width: device-width;
    /* largeur du viewport */
}
