/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher,Jonathan Neal,
 * Kroc Camen,and the H5BP dev community and team.
 */


/* ==========================================================================
 Base styles:opinionated defaults
 ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}


/*
 * Remove text-shadow in selection highlight:h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between images and the bottom of their containers:h5bp.com/i/440
 */

img {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
 Chrome Frame prompt
 ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
 Author's custom styles
 ========================================================================== */

@font-face {
    font-family: 'brandon_grotesquemedium';
    src: url('fonts/brandon_med-webfont.eot');
    src: url('fonts/brandon_med-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/brandon_med-webfont.woff') format('woff'), url('fonts/brandon_med-webfont.ttf') format('truetype'), url('fonts/brandon_med-webfont.svg#brandon_grotesquemedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'fonts/brandon_grotesquelight';
    src: url('fonts/brandon_light-webfont.eot');
    src: url('fonts/brandon_light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/brandon_light-webfont.woff') format('woff'), url('fonts/brandon_light-webfont.ttf') format('truetype'), url('fonts/brandon_light-webfont.svg#brandon_grotesquelight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'brandon_grotesquebold';
    src: url('fonts/brandon_bld-webfont.eot');
    src: url('fonts/brandon_bld-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/brandon_bld-webfont.woff') format('woff'), url('fonts/brandon_bld-webfont.ttf') format('truetype'), url('fonts/brandon_bld-webfont.svg#brandon_grotesquebold') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    overflow: hidden
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none
}

body {
    font-size: 0.625em;
    line-height: 1.4;
    font-family: Arial, Helvetica, sans-serif;
    /* 16x.0,625=10px ;1em = 10px*/
}

.wrapper {
    margin: 0 auto;
    position: relative
}

.section .wrapper {
    margin-top: 190px
}

@media screen and (min-width:1024px) {
    .section .wrapper {
        width: 700px;
        margin-top: 190px
    }
}

.lightFont {
    font-family: 'fonts/brandon_grotesquelight'
}

.lightMed {
    font-family: 'brandon_grotesquemedium'
}

.content {
    overflow: auto;
    height: 100%
}

.header {
    margin: 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9;
    margin: 0 auto
}

.wrapper section {
    position: relative;
    width: 100%
}

.logo {
    float: left;
    width: 276px;
    height: 207px;
    background: url(../img/logo.png) no-repeat 0 0
}

.logoAbout {
    float: left;
    width: 276px;
    height: 207px;
    background: url(../img/visu_About.png) no-repeat 0 0;
    position: absolute;
    left: -89px;
    top: -100px
}

@media screen and (max-width:1024px) {
    .logoAbout {
        left: 0;
        top: -200px;
    }
}

.blocBox1 {
    position: relative;
    left: -1px;
}

.pjs-meta {
    display: none
}

#viewport {
    position: absolute;
    left: 50%;
    margin-left: -250px;
    z-index: 1
}

.intro {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 255px;
    height: 342px;
    background: url(../img/intro.png) no-repeat 0 0;
    /* margin: -170px 0 0 -281px; */
    transform: translate(-50%, -50%);
}

.bloc1 {
    width: 171px;
    height: 171px;
    border: 1px solid #d9d9d9;
    /*float: left;*/
    overflow: hidden;
    padding: 15px;
    background-color: white;
}

.bloc3 {
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    height: 171px
}

.line {
    width: 100%;
    overflow: hidden;
    position: relative;
    top: 1px
}

.line2 {
    top: 0
}

.line3 {
    top: -1px
}

.line4 {
    top: -2px
}

.line5 {
    top: -3px;
    height: 172px;
    overflow: visible;
}

.line6 {
    top: -4px;
    height: 172px;
    overflow: visible;
}

.noDesktop {
    display: none;
}

.line1 .size1of1 {
    flex-shrink: 0;
}

.competences li {
    font-size: 12px;
    margin-bottom: 0;
}

@media screen and (min-width:1024px) {
    .bloc1--size1 {
        height: 300px;
    }
    .competences li {
        font-size: 14px;
        margin-bottom: 6px;
    }
}

@media screen and (max-width:1024px) {
    .noDesktop {
        display: block;
    }
    .line1 {
        margin-top: 260px;
        width: 80%;
        margin: 0 auto;
    }
    .line1 .size1of1,
    .line1 .bloc1 {
        height: auto;
        width: 100%
    }
    .line2,
    .line3,
    .line4,
    .line5 {
        width: 80%;
        margin: 0 auto;
    }
    .noMobile {
        display: none;
    }
    .flex--type1 {
        flex-wrap: wrap
    }
    .flex--type1>div {
        width: 50%;
    }
    .flex--fullWMobile {
        width: 100% !important
    }
    .section .wrapper {
        margin-top: 260px;
    }
    .flex--column-mobile {
        flex-direction: column;
    }
}

.menu {
    padding: 30px 0 15px;
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    top: 0;
    z-index: 99
}

.menu li {
    display: inline-block;
    border-right: 1px solid #d9d9d9;
    width: 33%;
    text-align: center
}

.menu li:last-child {
    border-right: 0
}

.menu a {
    font-size: 2em;
    color: #000;
    font-family: "brandon_grotesquemedium";
}

.blocIntro {
    /* position: absolute;
    top: 50%;
    left: 50%;
    height: 342px;
    margin: -221px 0 0 -120px;
    width: 255px*/
}

#sect1 .wrapper {
    margin-top: 0
}

.nav {
    position: fixed;
    top: 0
}

.navScroll {
    position: fixed;
    left: 78%;
    bottom: 10%;
    background: url(../img/nav.png) no-repeat 0 0;
    width: 42px;
    height: 80px;
    z-index: 99;
}

.navScroll a {
    width: 42px;
    height: 38px;
    overflow: hidden;
    position: absolute;
    display: block;
    text-indent: -999px
}

.navScroll a.top {
    top: 0
}

.navScroll a.bottom {
    bottom: 0
}

.size1of1 {
    width: 171px;
    height: 171px;
}

.size3of1 {
    width: 341px;
}

@media screen and (max-width:1024px) {
    .size3of1 {
        width: 80%;
        margin: 0 auto;
    }
}

.flex {
    display: flex
}

@media screen and (min-width:1024px) {
    .size3of1 {
        width: 516px
    }
    .size1of4 {
        height: 688px
    }
    .size2of1 {
        width: 343px;
    }
}

@media screen and (min-width:1024px) {
    .margL1 {
        margin-left: 171px
    }
    .margL2 {
        margin-left: 341px
    }
    .size1of1.borRightNone {
        width: 171px
    }
}

.floatL {
    float: left
}

.floatR {
    float: right
}

.txtCenter {
    text-align: center
}

.borRightNone {
    border-right: 0 none
}

.res {
    width: 100%;
    height: auto
}

.txt1 {
    font-family: arial;
    font-size: 1.2em
}

.txt2 {
    font-family: arial;
    font-size: 1.2em;
    color: #7a7a7a
}

.title1 {
    font-family: "brandon_grotesquemedium";
    font-size: 2.7em
}

.title2 {
    font-family: "brandon_grotesquemedium";
    font-size: 1.6em
}

.title3 {
    font-family: "brandon_grotesquemedium";
    font-size: 2.0em
}

.visu1 {
    background: url(../img/visu_03.jpg) no-repeat 0 0;
    display: block;
    width: 100%;
    height: 100%
}

.visu2 {
    background: url(../img/visu_03.jpg) no-repeat 0 -172px;
    display: block;
    width: 100%;
    height: 100%
}

.list1 li {
    overflow: hidden
}

.list1 .bloc2 {
    transition: 0.3s;
}

.list1 li:hover .title3 {
    color: #000;
}

.list1 li:hover .bloc2 {
    background-color: #000;
    color: #fff;
}

.list1 li:hover .txt2 {
    color: #fff;
}

.list1 li:hover .bckBlack {
    background-color: #fff;
}

@media screen and (max-width:1024px) {
    .list1 li {
        transform: scale(0.8);
    }
}

.list1 li img {
    float: left
}

.list1 .bloc2 {
    float: left;
    display: table;
    background-color: white;
    width: 175px;
    height: 175px;
}

@media screen and (min-width:1024px) {
    .list1 .bloc2 {
        width: 175px;
        height: 175px;
        float: left;
        display: table;
        background-color: white;
    }
}

.bckBlack,
.bloc2.bckBlack {
    background-color: #000
}

.list1 .title3 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    padding: 0 15px
}

.list1 .txt2 {
    padding-left: 15px
}

.verticlaAlign {
    display: table-cell;
    vertical-align: middle
}


/* ==========================================================================
 Helper classes
 ========================================================================== */


/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}


/*
 * Hide from both screenreaders and browsers:h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}


/*
 * Hide only visually,but have it available for screenreaders:h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard:h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}


/*
 * Hide visually and from screenreaders,but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix:contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 * `contenteditable` attribute is included anywhere else in the document.
 * Otherwise it causes space to appear at the top and bottom of elements
 * that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 * `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
 EXAMPLE Media Queries for Responsive Design.
 These examples override the primary ('mobile first') styles.
 Modify as content requires.
 ========================================================================== */

@media only screen and (min-width:35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio:5/4),
(-webkit-min-device-pixel-ratio:1.25),
(min-resolution:120dpi) {
    /* Style adjustments for high resolution devices */
}


/* ==========================================================================
 Print styles.
 Inlined to avoid required HTTP connection:h5bp.com/r
 ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    /*
 * Don't show links for images,or javascript/internal links
 */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
        /* h5bp.com/t */
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}

.ft1 {
    font-size: 55px;
    line-height: 93px;
}

.ft2 {
    font-size: 15px;
    position: relative;
    top: -26px;
    text-transform: uppercase
}

.ft3 {
    font-size: 21px;
    position: relative;
    top: -31px
}

.ft4 {
    font-size: 55px;
    line-height: 93px;
}

.ft5 {
    font-size: 15px;
    position: relative;
    top: -35px;
    text-transform: uppercase
}

.ft6 {
    font-size: 21px;
    position: relative;
    top: -44px
}

.ft7 {
    font-size: 42px;
    position: relative;
    color: #000;
    display: block
}

.ft8 {
    font-size: 36px;
    position: relative;
    top: -15px;
    color: #000;
    display: block
}

#sect3,
#sect2 {
    /*display: none;*/
}

.flex {
    display: flex;
}

.fCenter {
    margin: auto
}

.marg1 {
    margin-top: 20px
}

.jobs__img {
    width: 175px
}

.section,
.wrapper--fullH {
    height: 100vh;
    overflow: auto;
    position: relative;
}

.about {
    transform: translateY(-100vh);
    transition: 0.5s ease
}

.work {
    transform: translateY(-200vh);
    transition: 0.5s ease
}

#particles {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    position: absolute;
    /*  left: 50%;
    margin-left: -250px;
     top: 50%;
     transform: translateY(-50%);*/
    left: 0;
    top: 0;
    opacity: 0.3;
}