
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin : 0 ;
    padding : 0 ;
    border : 0 ;
    font-size : 100% ;
    font : inherit ;
    vertical-align : baseline ;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display : block ;
}

body { 
    line-height : 1 ;
    height: auto !important;
    overflow-x: hidden !important;
    z-index: -1;
    position: relative;

}

ol, ul {list-style : none ;}

blockquote, q { quotes : none ;}

blockquote:before, blockquote:after,
q:before, q:after { 
    content : ’’ ; 
    content : none ;
}

table {
border-collapse : collapse ;
border-spacing : 0 ;
}


/* ====== GLOBAL CSS =====*/

.relative {
    position:relative;
}

.absolute {
    position:absolute;
}

#container-all {
    position: relative;
    overflow: hidden;
    --padding-left:83px;
    padding-top: 0;
}

#sideleft-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 81px;
    z-index: 50;
    /* overflow: hidden; */
    background: #d3bd88;
    --background-image: linear-gradient(150deg,#01d2b3,#2e57ec);
    border-right: 1px solid #eeeeee;
}

.homepage-contentHead h1 {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size:90px;
    color:#000000;
}

.homepage-contentHead h2 {
    font-family: 'Kanit', sans-serif;
    font-weight: 200;
    font-size:35px;
    line-height: 40px;
    color:#3c3c3c;
}

.homepage-contentHead hr {
    width: 91px;
    height: 1px;
    display: block;
    margin: auto;
    background-color:#a48f5b;
}

.homepage-contentHead h3 {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size:21px;
    line-height:26px; 
    color:#555;
    padding:0 100px;
}

/* ====== HEADER =====*/

header {
    padding:10px 20px;
    margin:5px 0 55px;
}

.logolittle {
    position:absolute;
    left:25px;
    top:-418px;
}

/* --------- MENU ---------- */

.nav-item {
    padding: 0 10px;
}

.navbar-nav {
    position: absolute;
    right: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color:#000000;
    text-transform:uppercase;
    font-family:brbold;
    font-size:16px;
}

.navbar-dark:hover .navbar-nav:hover .nav-link:hover {
    color:#a48f5b;
    font-weight:bold;
    text-decoration:underline;
}


/* ==================================== */
/*            Navigaton Menu        
/* ==================================== */

.menu-wrap {
    background-color: #000;
    position: fixed;
    top: 0;
    height: 100%;
    width: 280px;
    right:-283px;
    margin-left: -280px;
    font-size: 1em;
    font-weight: 700;
    overflow: auto;
    transition: .25s;
    z-index: 10;
}
.menu-show {
    margin-left: 0;
    right:0;
}
.menu-sidebar {
    margin: 75px 0 80px 10px;
    position: relative;
    top: 70px;
}
.menu-sidebar li {
    padding: 30px 22px 0;
}
.menu-sidebar li > a {
    color: #f3f3f3;
    font-size: 1.78em;
    position: relative;
    font-family: avenir-black;
}
.menu-sidebar li > a:hover {
    text-decoration:none;
    color:#d3bd88;
}
.menu-sidebar li > a::after {
    content: "";
    display: block;
    height: 0.15em;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    background-image: linear-gradient(to right, transparent 50.3%, #d3bd88 50.3%);
    transition: background-position .2s .1s ease-out;
    background-size: 200% auto;
}
.menu-sidebar li > a:hover::after {
    background-position: -100% 0;
}
.menu-sidebar .menu-item-has-children {
    position: relative;
}
.menu-sidebar .menu-item-has-children .sub-menu {
    display: none;
}
.sidebar-menu-arrow::after {
    content: "\f107";
    font-family: avenir-black;
    padding: 10px;
    color: #FFFA3B;
    position: relative;
}
.sidebar-menu-arrow:hover::after {
    cursor: pointer;
    color: #fff;
}
.sidebar-menu-arrow:active::after {
    top: 2px;
}

/*Hamburger Button*/
.toggle-button {
    position: fixed;
    width: 44px;
    height: 40px;
    top: 50px;
    right: 40px;
    padding: 4px;
    transition: .25s;
    z-index: 100;
}
.toggle-button:hover {
    cursor: pointer;
}
.toggle-button .menu-bar {
    position: absolute;
    border-radius: 2px;
    width: 80%;
    transition: .5s;
}
.toggle-button .menu-bar-top {
    border: 4px solid #555;
    border-bottom: none;
    top: 0;
}
.toggle-button .menu-bar-middle {
    height: 4px;
    background-color: #555;
    margin-top: 7px;
    margin-bottom: 7px;
    top: 4px;
}
.toggle-button .menu-bar-bottom {
    border: 4px solid #555;
    border-top: none;
    top: 22px;
}
.button-open {
    right: 25px;
}
.button-open .menu-bar-top {
    border-color: #fff;
    transform: rotate(45deg) translate(8px, 8px);
    transition: .5s;
}
.button-open .menu-bar-middle {
    background-color: #fff;
    transform: translate(230px);
    transition: .1s ease-in;
    opacity: 0;
}
.button-open .menu-bar-bottom {
    border-color: #fff;
    transform: rotate(-45deg) translate(7px, -7px);
    transition: .5s;
}


/* ---------- PORTFOLIO ----------- */

#portfolio {  
    --margin: 1rem 0;
    -webkit-column-count: 3; 
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 0rem;

}

.item-portfolio { 
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 350ms ease;
    transition: all 350ms ease;
    padding-left:0px;
    padding-right:0px;
    background-color:#ffffff;
}


.scale-anm {
  transform: scale(1);
}


.item-portfolio div.item-creative {
    --min-height:190px;
    width: 100%;
    height: 100%;
    top: 0;
    display: block!important;
    overflow: hidden;
}

.item-portfolio div.item-creative img {
    width:100%;
    height:100%;
    position: relative;
    transition: transform .5s ease;
}

.item-portfolio:hover div.item-creative img {
    position: relative;
    transform: scale(1.09);
}

.item-filters  {
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    text-decoration: none;
    text-transform:uppercase;
    cursor: pointer;
    display: inline-block;
    line-height: normal;
    padding: .5rem 1rem;
    margin: 0;
    height: auto;
    border: 1px solid;
    vertical-align: middle;
    -webkit-appearance: none;
    color: #555;
    background-color: rgba(0, 0, 0, 0);
    border:0;
    border-bottom:2px solid transparent;

}

.item-filters:hover {
    text-decoration: none;
    border-bottom:2px solid #a48f5b;
    color:#a48f5b;
    font-weight:400;
}

.item-filters:focus {
    outline: none;
    border-bottom:2px solid #a48f5b;
    color:#a48f5b;
    font-weight:400;
}

::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.item-portfolio div.hover-creative, .scale-anm div.hover-creative {
    display:block!important;
    position:absolute;
    background-color:transparent;
    width:100%;
    height:100%;
    transition: background-color 0.4s; 
}

.item-portfolio:hover div.hover-creative{
    display:block;
    position:absolute;
    opacity: 1;
    width: 100%;
    background-color:rgba(0,0,0,0.8);
    height: 100%;
    z-index:100;
    padding:17px 17px 19px;
    cursor:pointer;
}

.scale-anm div.hover-creative .content-hover, .scale-anm div.hover-creative .content-hover div  {
    display:block!important;
    width:100%;
    height:100%;
    top:0;
}

.item-portfolio:hover div.hover-creative .content-hover{
    height:100%;
}

.item-portfolio:hover div.hover-creative .content-hover a{
    height:87%;
    display:block;
    text-align:center;
    text-decoration:none;
    position:absolute;
    width:92%;
    min-height:87%;
}

.item-portfolio:hover div.hover-creative .content-hover a div{
    position:absolute;
    width:100%;
    top:45%;
    left:0;
    right:0;
    margin:auto;
}

.item-portfolio div.hover-creative .content-hover a h4{
    transition: margin-top 0.5s;
    position: relative; 
}

.item-portfolio:hover div.hover-creative .content-hover a h4{
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size:38px;
    color:#fff;
    --margin:130px 0 0 0;
    margin-top: -20px;

}

.item-portfolio:hover div.hover-creative .content-hover a p{
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size:20px;
    font-style:italic;
    color:#d3bd88;
}



/* ---------- PREVIEW CREATIVES ----------- */

#creatives-global {
    padding:0;
}

#creatives-global > article {
    margin-top:439px;
}

#creatives-global .headerpreview {
    min-height: 440px;
    position: fixed;
    top:0;
    width: 100%;
    z-index: -1;
}

#creatives-global .headerpreview img.logo {
    margin:34px auto;
    display:block;
}


#creatives-global .headerpreview h1 {
    font-family:itrregular;
    font-size:32px;
    padding:0 25px
}

#creatives-global .headerpreview h2 {
    font-family:avenir-light;
    font-size:22px;
    padding:0 25px
}

.global-preview {
    min-height:500px;
}

.global-preview .container h3 {
    font-family: 'Ruda', sans-serif;
    font-size:17px;
    font-weight:900;
}

.global-preview .container .content-decription {
    font-family:'Didact Gothic', sans-serif;
    font-size:22px;
    line-height:23px;
}

.global-preview .container .content-type ul li {
    float:left;
    background-color:#e6e6e6;
    color:#000000;
    font-family:avenir-black;
    font-size:22px; 
}

.global-preview .container .content-outils ul li {
    float:left;
    color:#000000;
    font-family:avenir-black;
    font-size:14px; 
}

.global-preview .container .content-url {
    font-family:avenir-light;
    font-size:17px;
    background-color: #e6e6e6;
    padding: 9px 10px;
    font-style: italic;
    color:#000000;
}

.global-preview .imagescreatives {
    margin-top:44px;
    overflow: hidden;
}

.global-preview .imagescreatives img {
    width:100%;
    text-align: center;
    vertical-align: top;
}

#creatives-global .contact {
    height:497px;
    bottom:0;
    width: 100%;
}

/* LINK PREV/NEXT PROJECT */

.prevnextproject a {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    color: #000000;
    font-size:40px;
    text-decoration: none;
}

.prevnextproject p {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    color: #888;
    font-size:20px;
    text-decoration: none;
}

/* -------------------------- */

.bloc-contact {
    --background-image: linear-gradient(150deg,#01d2b3,#2e57ec);
    background-color:#222222;
    min-height:384px
}

.bloc-contact h2 {
    font-family:amplesoft;
    font-size:44px;
    font-weight:900;
    color:#d3bd88;
    margin-top:90px;
}

.bloc-contact .rs {
    width:300px;
    display:block;
    margin:auto;
}

.bloc-contact .rs ul li {
    float:left;
    margin:0 5px;
}

.bloc-contact .rs ul li .behance {
    width:89px;
    height:90px;
    background:url('../images/rs.png') no-repeat;
    background-position:left top;
}

.bloc-contact .rs ul li .behance:hover {
    background-position:left bottom;
}

.bloc-contact .rs ul li .dribbble {
    width:89px;
    height:90px;
    background:url('../images/rs.png') no-repeat;
    background-position:-91px top;
}

.bloc-contact .rs ul li .dribbble:hover {
    background-position:-91px bottom;
}

.bloc-contact .rs ul li .linkedin {
    width:89px;
    height:90px;
    background:url('../images/rs.png') no-repeat;
    background-position:right top;
}

.bloc-contact .rs ul li .linkedin:hover {
    background-position:right bottom;
}

@media screen and (max-width: 992px) {
    .homepage-contentHead h1 {
        font-size: 60px;
    }

    .homepage-contentHead h2 {
        font-size: 25px;
        line-height: 27px;
    }

     .homepage-contentHead h2 br {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .homepage-contentHead h1 {
        font-size: 50px;
    }

    .navbar a {
        width: 100%!important;
    }

    .navbar img {
        display: block;
        margin:auto;
        width: 90%;
    }

}