
/* Reset CSS
 * --------------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}
a{
	text-decoration:none;
}
table {
    border-spacing: 0;    
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
	font-weight: bold;
}
ol,ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#444;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}


/* Custom CSS
 * --------------------------------------- */

@font-face {
    font-family: CodeL;
    src: url(../mmd/fonts/CODEL.otf);
}
@font-face {
    font-family: CodeB;
    src: url(../mmd/fonts/CODEB.otf);
}
.ms-section{
    padding: 20px;
}


#logo {
	position : fixed;
	width : 8%;
	z-index: 30;
	top: 40%;
	left: 46%;
    text-align: center;
}
#logo img {
    width: 100%;
}
#logo img:hover {
    cursor:pointer;
}

#page_suivante{
    position : fixed;
    width : 3%;
    z-index: 20;
    bottom: 5%;
    left: 48.5%;
    text-align: center;
}
#page_suivante img {
    width:100%;
}
#page_suivante img:hover{
    cursor:pointer;
}

#menu{
    width: 10%;
    height: 40%;
    z-index:25;
    position:fixed;
    background-color: #dfdede;
    left: 45%;
    top:25%;
    text-align: center;
    vertical-align: middle;
    display:none;
}
.menu_choix{
    height: 10%;
    width: 100%;
    font-family: 'CodeB';
    font-size: 1vw;
}
.menu_choix a{
    width: 100%;
    height: 100%;
    padding: 0;
    margin-top: 20px;
    margin: 0;
    position: relative;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
}
.menu_choix:hover{
    background-color: #29abe2;
}
.menu_choix:hover a p{
    color:white;
}
.menu_choix a p{
    position: relative;
    top: 50%;
    -ms-transform :translateY(50%);
    -webkit-transform :translateY(50%);
    transform: translateY(50%);
    color: #335766;
    padding: 0;
    margin:0;
}
.menu_choix:last-child{
    position: absolute;
    bottom: 0;
}
.menu_choix:nth-last-child(2){
    position: absolute;
    bottom: 10%;
}
.active{
    background-color: #29abe2;
}
.active a p{
    color: white;
}
.hive_top{
    width: 50%;
    position: absolute;
    top:0;
    right: 0;
    opacity :0.10;
    z-index: 1;
}
.hive_bottom{
    width: 50%;
    position: absolute;
    bottom:0;
    left: 0;
    opacity :0.10;
    z-index: 1;
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}


.thin_title{
    font-family: 'CodeL';
    color:white;
    font-size: 8vw;
}
.bold_title{
    font-family: 'CodeB';
    color:white;
    font-size: 8vw;
}
.subtitles{
    font-family: 'CodeL';
    color:white;
    font-size: 2vw;
}
.section_title{
    font-family: 'CodeB';
    font-size: 5vw;
    color: #335766;    
}

.section_pres{
    width: 100%;
}
.section_pres p{
    color: black;
    width: 80%;
    margin-left: 10%;
    margin-top: 50px;
    text-indent: 30px;
    text-align: justify;
    text-justify: inter-word;
    font-family: 'Exo', sans-serif;
    font-size: 1vw;
}

.section_graph{
    width: 100%;
}
.section_graph p{
    color: #335766;
    width: 100%;
    font-family: 'CodeB';
    font-size: 2vw;
    margin-top: 10px;
}
.section_graph img{
    width: 60%;
    margin-left: 10%;
}

.project {
    position: relative;
    float: left;
    width: 150px;
    height: 150px;
    margin: 5px;
    padding: 10px;
    background: #888;

    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.project:hover{
    cursor: pointer;
}
.name{
    width: 114%;
    text-align: center;
    color: white;
    opacity: 0.8;
    height: 25%;
    position: relative;
    top: 40%;
    left:-7%;
    background-color: #313131;
}
.name p{
    position: relative;
    top: 50%;
    -ms-transform :translateY(-50%);
    -webkit-transform :translateY(-50%);
    transform: translateY(-50%);
    font-family: 'CodeB';
    font-size:1vw;
}
.filter{
    background-color: #44768a;
    border:none;
    font-family: 'CodeB';
    margin-left:1px;
}
.filter:hover{
    cursor:pointer;
    background-color: #29abe2;
}

.filter:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
  background-color: #29abe2;
}

.button_group{
    width: 100%;
    height: 5%;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #335766;
}

.button_group *{
    height: 95%;
    width: 15%;
    display: inline-block;
    color: white;
    margin: 0;
    padding: 0;
    font-size: 0.7vw;
    text-align: center;
}
.container{
    width: 90%;
    position: absolute;
    top:20%;
    left: 10%;
    height: 80%;
    padding: 0;
    margin: 0;
}



.pres{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    z-index: 35;
    display:none;
}
.pres_close{
    position: absolute;
    top: 1%;
    right: 1%;
    width: 30px;
    height: 30px;
    background-image: url(../mmd/images/cross.svg);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    z-index: 1000;
}
.pres_illus{
    position: absolute;
    top:0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: white;
    text-align: center;

}
.pres_illus *{
    max-width: 100%;
    max-height: 100%;
}
.pres_desc{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background: -webkit-radial-gradient(#EEEEEE, #929292); /* Safari 5.1 to 6.0 */
    background: -o-radial-gradient(#EEEEEE, #929292); /* For Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(#EEEEEE, #929292); /* For Firefox 3.6 to 15 */
    background: radial-gradient(#EEEEEE, #929292); /* Standard syntax (must be last) */

}

.infos_title{
    color:white;
    font-family: 'CodeB';
    background-color: #29abe2;
    text-align: center;
    height: 12.5%;
    margin:0;
    padding:0;
}

.project_infos{
    width: 100%;
    height: 35%;
    position:absolute;
    top:0;
    left:0;
}
.project_infos *, .project_expl *{
    width: 95%;
    height: 12.5%;
    text-align: center;
    margin-left: 2.5%;
}
.project_expl{
    width: 100%;
    height: 65%;
    position: absolute;
    top: 35%;
    bottom: 0;
    left: 0;
    right: 0;
}
.p_desc{
    width: 80%;
    margin-left:10%;
    margin-top: 20px;
    text-indent: 30px;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1vw;
    font-family: 'Exo', sans-serif;
    height: 80%;
}
.infos_title:first-child{
    width: 100%;
    margin: 0;
    background-color: #335766;
}
.infos_title p{
    position: relative;
    top: 40%;
    -ms-transform :translateY(-50%);
    -webkit-transform :translateY(-50%);
    transform: translateY(-50%);

    margin:0;
    padding:0;
}
.infos_content{
    color: black;
    font-family: 'CodeB', sans-serif;

    margin:0;
    padding:0;
}
.infos_content p{
    position: relative;
    top: 45%;
    -ms-transform :translateY(-50%);
    -webkit-transform :translateY(-50%);
    transform: translateY(-50%);
}
.mobile{
    display: none;
}

@media screen and (max-width: 1024px), only screen and (max-device-width: 1024px){
    #s1_pres p{
        font-size:1.2vw;
    }
    .section_pres p{
        width: 95%;
        margin: 0;
        font-size: 1.5vw;
    }
    .p_desc{
        width: 95%;
        margin-left:2.5%;
        margin-top: 10px;
        font-size: 1.5vw;
    }
    .button_group *{
        font-size: 1vw;
        z-index: 50;
    }
    .name p{
        font-size:1.5vw;
    }
    .container {
        top: 6%;
        height: 94%;
    }
    #contact_infos{
        width: 100%;
        left:0;
        right: 0;
        top:15%;
        height: 80%;
    }
    #contact_infos div{
        width: 30%;
        background: white;
        position: relative;
        left: 50%;
        -ms-transform :translateX(-50%);
        -webkit-transform :translateX(-50%);
        transform: translateX(-50%);
    }
    form{
        display: none;
    }
    

}

@media only screen and (max-width: 480px), only screen and (max-device-width: 480px){
    .ms-section.active{
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right:0;
        bottom: 0;
    }
    .ms-section:not(.active){
        display: none;
    }
    .ms-left{
        display: none;
    }
    #logo{
        top:2%;
        width: 10%;
        left: 45%;
    }
    #page_suivante{
        width: 6%;
        left: 47%;
        bottom: 5%;
        height: auto;
    }

    #menu{
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }
    .menu_choix{
        font-size: 6vw;
    }
    .menu_choix:last-child{
        position: static;
        bottom: auto;
    }
    .menu_choix:nth-last-child(2){
        position: static;
        bottom: auto;
    }
    .menu_choix:first-child{
        margin-top: 20%;
    }

    .thin_title{
        margin-top:15%;
        font-size: 20vw;
    }
    .bold_title{
        font-size: 20vw;
    }
    .subtitles{
        font-size: 6vw;
    }
    .section_title{
        font-size:7vw;
    }

    #s1_pres p{
        font-size:2.8vw;
    }
    .button_group {
        top:15%;
        height: 10%;
    }
    .button_group *{
        font-size:3vw;
        width: 30%;
        height: 42%;
        margin:0;
        padding: 0;
        display: inline-block;
    }
    .filter{
        margin: 0;
        padding: 0;
    }
    .container{
        top:26%;
        height: 74%;
        width:100%;
    }
    .project{
        width: 300px;
        height: 300px;
    }
    .name{
        width: 110%;
        left:-5%;
    }
    .name p{
        font-size: 3vw;
    }

    #contact_infos{
        height: 85%;
        width:100%;
    }
    #contact_infos div{
        height: 350px;
        width:350px;
        font-size: 4vw;
        left: 2%;
        -ms-transform :translateX(0%);
        -webkit-transform :translateX(0%);
        transform: translateX(0%);
    }
    .mobile{
        display: block;
    }

    .pres_illus {
        width: 100%;
        height: 35%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 65%;
    }
    .pres_desc {
        width: 100%;
        height: 65%;
        top: 35%;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .project_infos {
        width: 50%;
        height: 100%;
        top: 0;
        left: 0;
        right: 50%;
        bottom: 0;
    }
    .project_expl{
        width: 50%;
        height: 100%;
        top: 0;
        left: 50%;
        right: 0;
        bottom: 0;
    }
    .infos_title{
        font-size: 3.5vw;
    }
    .infos_content{
        font-size: 3vw;
    }
    .p_desc{
        font-size: 2.5vw;
    }
}