@font-face {
    font-family: 'helvetica_neueregular';
    src: url('fonts/helveticaneue-roman-webfont.woff2') format('woff2'),
         url('fonts/helveticaneue-roman-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'HelveticaNeue LT 45';
    src: url('fonts/HelveticaNeueLT-LightItalic.woff2') format('woff2'),
        url('fonts/HelveticaNeueLT-LightItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'designer_semibold';
    src: url('fonts/designer_semiboldsemibold.woff2') format('woff2'),
        url('fonts/designer_semiboldsemibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'designer_medium';
    src: url('fonts/designer_mediumRegular.woff2') format('woff2'),
        url('fonts/designer_mediumRegular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}





body {
    font-family: 'helvetica_neueregular', 'Helvetica Neue', sans-serif!important;
}

a:hover {
    text-decoration: underline!important;
}

u {
  font-weight: bold!important;
}

.font-body {
    font-size: 12px;
    line-height: 15px;
}

.boxgrid {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    width: 100%;
}

.boxgrid li {
    position: relative;
    float: left;
    width: 16.6666667%;
    /* Fallback */
    width: -webkit-calc(100% / 6);
    width: calc(100% / 6);
}



.bg {   
    background: #000;
}


.company-logo {
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.company-logo img {
    width: 100%;
    padding: 40px;
}

.back-content {
    background: #000;
    width: 100%;
    height: 215px;
    padding: 30px 20px 20px 20px;
    color: #fff;
    overflow: hidden;
    font-weight: 300;
    font-size: 13px;
    line-height: 18px;
}

.back-content span {}

.back-content h2 {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.img-bgback {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0.4;
    z-index: 1
}

.link-to-p {
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0;
}






.boxgrid li .boxctrl {
    width: 100%;
    height: 215px;
}
@media screen and (max-width: 500px) {
    .boxgrid li .boxctrl {
        height: 140px;
    }    
}


@media screen and (max-width: 1698px) {
    .boxgrid li {
        width: 20%;
        /* Fallback */
        width: -webkit-calc(100% / 5);
        width: calc(100% / 5);
    }
}

@media screen and (max-width: 1485px) {
    .boxgrid li {
        width: 25%;
        /* Fallback */
        width: -webkit-calc(100% / 4);
        width: calc(100% / 4);
    }
}

@media screen and (max-width: 1183px) {
    .boxgrid li {
        width: 33.3333333%;
        /* Fallback */
        width: -webkit-calc(100% / 3);
        width: calc(100% / 3);
    }
}

@media screen and (max-width: 500px) {
    .boxgrid li {
        width: 33.3333333%;
        /* Fallback */
        width: -webkit-calc(100% / 2);
        width: calc(100% / 2);
    }
    .company-logo img {
        padding: 0px;
    }
}

@media screen and (max-width: 400px) {
    .boxgrid li {
        width: 50%;
        /* Fallback */
        width: -webkit-calc(100% / 2);
        width: calc(100% / 2);
    }
    .company-logo img {
        padding: 0px;
    }
}

@media screen and (max-width: 300px) {
    .boxgrid li {
        width: 100%;
    }
}


/* FLIP */

.flipper {
    transition: 2s;
    transform-style: preserve-3d;
    position: relative;
}

.abre {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    /* IE 9 */
    -webkit-transform: rotateY(180deg);
    /* Chrome, Safari, Opera */
    transition: 0.6s;
    -webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    /* Chrome, Safari, Opera */
    transform-style: preserve-3d;
    position: relative;
}

.box-flip-ctrl {
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.box-flip-ctrl,
.front,
.back {
    width: 100%;
    height: 215px;
}


/* hide back of pane during swap */

.front,
.back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}


/* front pane, placed above back */

.front {
    z-index: 2;
    /* for firefox 31 */
    transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    /* IE 9 */
    -webkit-transform: rotateY(0deg);
    /* Chrome, Safari, Opera */
    cursor:pointer;
    overflow: hidden!important;
}


/* back, initially hidden pane */

.back {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    /* IE 9 */
    -webkit-transform: rotateY(180deg);
    /* Chrome, Safari, Opera */
    overflow: hidden;
}


/* GEN */

.myinfo {
    background: #fdfbfb;
    cursor: default!important
}
.f-small {
    font-size:12px;
    font-weight: 400;
}
.mobile {
        display:none;
    }
@media screen and (max-width: 1024px) {
    .mobile {
        display: inline;
    }
    .desktop { display: none; }
}

.profile-pic {
    width: 79px;
    margin: 10px auto;
}

.profile-short-descr {
    font-size: 14.5px;
    padding: 10px 30px;
    line-height: 20px;
    font-weight: 100;
}

@media screen and (max-width: 420px) {
    .profile-short-descr {
        padding: 10px 60px;
    }
}

@media screen and (max-width: 320px) {
    .profile-short-descr {
        padding: 10px 30px;
    }
}

.navi {
    position: fixed;
    width: 48px;
    background: #fff;
    padding: 10px;
    z-index: 1;
    top: 10px;
    left: 10px;
    cursor: pointer;
}


/* NAV V3 */

.overlay {
    font-family: 'helvetica_neueregular', sans-serif;
    font-weight: 100;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    font-size: 30px;
    padding: 20px;
    /*Different value in work header*/
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/* NAV V3 */

.company-logo-img {
    opacity: 0;
    -moz-transition: opacity 2s;
    -webkit-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 3s;
}






#medieval {
    position: absolute;
    background: #fff;
    width: 100%;
    height: 200%;
    text-align: center;
    z-index: 9999;
    padding: 10% 0;
    opacity: 0.9;
    filter: alpha(opacity=50);
}

@media screen and (-ms-high-contrast: active),
screen and (-ms-high-contrast: none) {
    #medieval {
        display: block!important
    }
}

.blog-full ul {
    list-style-type: disc!important;
}

.tools-icons {
    font-size: 12px;
    margin-bottom: 6px;
}

.tools-icons span {
    border: 1px solid #d7d7d7;
    color: #c0c0c0;
    font-size: 11px;
    margin-right: 5px;
    padding: 5px 0;
    text-align: center;
    width: 35px;
    display: inline-block;
}






header {
    border-bottom: 1px solid #707070!important;
    height: 100px;
    position: absolute;
    width: 100%;
    z-index: 10;
}
.logo {
    position: relative;
    width: 80px;
    left: 40px;
    top: 10px;    
}
.wrapper {
    padding-top: 100px;
}


.header-l {
    position: absolute;
    right: 0;
    top: 35px;
}
.header-l .nav {
    margin-right: 100px;
}
.header-l .nav a {
    color: #0B0E14;
    text-decoration: none;
    font-family: designer_medium;
}
.header-l .nav li {
    display: inline-block;
    padding: 0 10px;
}
.about-home {
    position: absolute;
    width: 420px;
    top: 20px;
    left: 20%;
    z-index: 11;
}
.about-home a {
    color: #000;
    text-decoration: underline;
}
.mode {
    position: absolute;
    right: 40px;
    top: -3px;
}

.sub-ctrl-desc {
  text-align: justify;  
}

@media screen and (max-width: 850px) {
    .about-home {
        position: relative;
        width: 100%;
        top: 0px;
        left: auto;
        font-size: 12px;
        padding: 60px 40px 60px 40px;
    } 
}    
@media screen and (max-width: 600px) {
 
    .desktop_nav {
        display: none;
    }
    .mobile_nav {
        display: block;
    }
    .logo {
        position: relative;
        width: 80px;
        left: 0;
        right: 0;
        margin: auto;
        top: 50px;
        transform: translateY(-50%);  
    }
    .hamburger-menu {
        display: block!important;
    }  
}

.showreel {
    text-align: center;
    background:#000 url(../img/gen/showreel_v2.jpg) center center no-repeat;
    background-size: cover;
    clear: both;
    margin-top: 100px;
    color: #fff;
    padding-top: 20px;
}
.showreel a {
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    display: block;
    font-family: designer_medium;
    padding: 150px 0 180px 0;
}
.footer-ctrl {
    background: #fff;
    color: #000;
}
.footer-logo {
    float: left;
    padding: 40px;
    width: 180px;
}
.footer-desc {
    float: right;
    width: 500px;
    margin: 20px;
}

.footer-profile{
    float: left;
    padding: 20px;
}
.footer-profile-desc {
    float: right;
    width: 350px;
    padding: 20px;
}
.footer-profile-desc a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.clear {
    clear: both;
}


.sub-ctrl {
    width: 80%;
    max-width: 400px;
    margin: auto;
    text-align: center;
}
.sub-ctrl-logo {
    width: 180px;
    margin: auto;
}
.sub-ctrl-logo img {
    width: 100%;
}
.works-wrapper {
    width: 95%;
    max-width: 1300px;
    margin: auto;
}
.works-wrapper-intro {
    padding-top: 70px;
}

.works-ctrl {
    width:100%;
    max-width: 400px;
    display: block;
    margin-bottom: 80px;
    padding: 20px;
    border-bottom: 0px;

    position: relative;
    color: #000;
}
.works-ctrl h2 {
    font-size: 60px;    
    padding-bottom: 6px;
    font-family: designer_medium;
}
.work-desc {
    padding: 120px 0 60px 0;
}
.work-desc-v2 {
    padding-top: 20px;
}
h3{
    font-size: 20px!important;
    padding-bottom: 5px;
}
.work-desc h4{
    font-size: 12px;
}
.work-desc h3{    
    font-family: designer_medium;
}
h3 span, .featurd-works-title h2 span {
    font-family: 'HelveticaNeue LT 45', 'Helvetica Neue'!important;
    font-style: italic;
}
i{
    font-family: 'HelveticaNeue LT 45', 'Helvetica Neue'!important;
    font-style: italic;
}
.work-desc p{
    display: block;
    max-width: 350px;
    width: 100%;
}
.works-wrapper a {
    color:#000;
    text-decoration: none;
}


.work-intro-bg {        
        height: 98vh;
        width: 100%;
        position: relative;
        top: -100px;   
        z-index: 1;
        margin-bottom: -100px;
}

.btn-arrow {
  width: 38px;
  float: right;
  margin: 28px 20px 0 0;
}



@media screen and (max-width: 500px) {

.btn-arrow {
  width: 27px;
  margin: 23px 11px 0 0;
}

  .work-intro-bg {
  -webkit-animation: slide 30s linear infinite;
  background-repeat: repeat;
  }
  
  @-webkit-keyframes slide {
    from { background-position: -200px 0; }
    to { background-position: -800px 0; }
  }

}





.work-role {
  position: absolute;
  bottom: 40px;
  width: 100%;
  max-width: 300px;
  left: 40px;
}
.work-role span {
    display: block;
    padding-top: 10px;
    color: #fff!important;


}
.prev-port img{
    display: block;
    width: 100%;
}

.handsome-profile-pic img {
    width: 100%;
    max-width: 400px;
}
.profile {
    max-width: 1100px;
    width: 100%;
    margin: auto;
    padding-top: 50px;
}
.profile li {
    display: inline-block;
    width: 35%;
    padding:30px;
    vertical-align: top;
}
.profile h2 {
    font-size: 60px;
    font-family: designer_medium;
}
.profile h3{
    font-family: designer_medium;
}
.profile h5 {
    font-size: 20px;
    font-family: designer_medium;
}
.profile-desc  p {
    text-align: left;
    padding-bottom: 10px;
}

.noti {
  position: relative;
  height: 20px;
  width: 20px;
  border-radius: 20px;
  background-color: #F50B0B;
  font-size: 14px;
  color: #fff;
  z-index: 9;
  display: block;
  float: right;
  margin-bottom: -20px;
  top: 20px;
  right: 20px;
}
.noti span {
    display: block;
  text-align: center;
  padding-top: 3px;
}



.featurd-works-wrapper {
  max-width: 900px!important;
}
.featurd-works-title h2 {
    text-align: left;
  font-size: 50px;
  padding-top: 90px;
  font-family: designer_medium;
}
.featurd-works-title h2 span {
    font-family: 'HelveticaNeue LT 45'!important;
}
.featured-works h3 {
    text-align: left!important;
    padding-bottom: 20px;
    font-family: designer_medium;
}
.featured-works {
    border-bottom: 1px solid #5a5a5a;
    padding: 60px 0 12px 0;
    text-align: right;
}
.featured-works a {
    margin-left: 30px;
    display: block;
    padding-bottom: 20px;
}


@media screen and (max-width: 750px) {

    .featured-works h3 {
        padding-bottom: 0px;    
    }

    .footer-logo {
        float: none;
        margin: auto;
        padding-top: 50px;
    }
    .footer-desc {
        float: none;
        width: auto;
        text-align: center;
        margin: 0px;

    }
    .footer-profile {
        float: none;
        text-align: center;
        padding: 0px;
    }
    .footer-profile-desc {
        float: none;
        text-align: center;
        margin: auto;
        width: 100%;
        max-width: 300px;
    }

    .works-ctrl h2 {
        font-size: 40px;    
    }

    .work-desc {
        padding: 60px 0 40px 0;
    }

    .profile li {
        display: block;
        width: 100%;
        padding:30px;
    }   

    .featured-works a {
        margin-top: 10px;
        padding-top: 10px;
        padding-bottom: 0px;
        font-size: 14px;
    } 
    .featured-works {        
        padding-bottom: 25px!important;
    } 
    .works-wrapper-content {
        width: 85%!important;
    }

    .responsive-iframe iframe{
      height: 200px!important;
    }

    .header-nav-lightmode .bar, .header-nav-lightmode .bar::before, .header-nav-lightmode .bar::after {
        background: #fff;        
    }
    
}





/*
******************************************
******************************************
Switch
******************************************
******************************************
*/


/* Gen overide */
/* Gen overide */
/* Gen overide */
.header-nav-lightmode header {
    background: none!important;
    border-bottom: .5px solid #fff!important;
}


.header-nav-lightmode .header-l .nav a  {
    color: #fff!important;
}

/* Gen overide */
/* Gen overide */
/* Gen overide */





body {
    background-color: #eee;
}

/* Dark Mode Styles */
  body.dark-mode {
      background-color: #0B0E14;
      color: #f7f7f7;
  }

  /* ... other .dark-mode styles ... */

  .theme-toggle {
      cursor: pointer;
      width: 50px;
      height: 25px;
      background: #ccc;
      border-radius: 25px;
      position: relative;
      transition: background-color 0.3s;
  }

  .theme-toggle:before {
      content: '';
      position: absolute;
      top: 2.5px;
      left: 2.5px;
      width: 20px;
      height: 20px;
      background: #333;
      border-radius: 50%;
      transition: transform 0.3s;
  }

  .dark-mode .theme-toggle:before {
      background: #fff;
  }

  .dark-mode .theme-toggle {
      background: #333;
  }

  .dark-mode .theme-toggle:before {
      transform: translateX(25px); /* move the circle to the right */
  }



.about-home a { 
    text-decoration: none;
    font-weight: bold;
}
.dark-mode .header-l .nav a, .dark-mode .about-home a { 
    color: #f7f7f7;
    text-decoration: none;
    font-weight: bold;
}


.dark-mode .works-ctrl {
    background: none;
    color: #f7f7f7;
}

.dark-mode .works-wrapper a {
    color:#f7f7f7;
}

.dark-mode .works-ctrl {
    margin-top: -41px;
    color: #fff;
}











    .nav-overlay {
      position: fixed;
      top: 0;
      left: -100%; /* Initially off-screen */
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, .9); /* Semi-transparent black */
      display: flex;
      align-items: center;
      justify-content: center; /* Center horizontally */
      flex-direction: column;
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease, left 0.3s ease; /* Transition for smooth animation */
    }

    .nav-overlay.active {
      left: 0; /* Revealing the menu */
      opacity: 1;
    }

    .nav-overlay ul {
      list-style: none;
      padding: 0;
      text-align: center;
      margin: 0; /* Remove default margin */
      display: flex;
      flex-direction: column;
      align-items: center; /* Center vertically */
      justify-content: center; /* Center horizontally */
      height: 100%; /* Fill entire height */
    }

    .nav-overlay ul li {
      margin-bottom: 50px;
    }

    .nav-overlay ul li a {
      text-decoration: none;
      color: white;
      font-size: 24px;
    }
    .nav-overlay ul li:hover {
        text-decoration: underline!important;
    }

    .close-menu {
      background-color: transparent;
      color: white;
      border: none;
      padding: 10px;
      cursor: pointer;
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 24px;
    }








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

.hamburger-menu {
  position: absolute;
  top: 33px;
  left: 37px;
  width: 30px;
  height: 43px;
  cursor: pointer;
  z-index: 9998;
display: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.bar,
.bar:after,
.bar:before {
  height: 2px;
      width: 30px;
}

.bar {
  position: relative;
  transform: translateY(10px);
  background: #000;
}

.bar.animate {
  background: rgba(255, 255, 255, 0);
}

.bar:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background: #000;
  transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar:after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  background: #000;
  transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:after {
  top: 0;
  transform: rotate(45deg);
  transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:before {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}


.animate.bar:before {
  background: #fff;
}

.animate.bar:after {
  background: #fff;
}


.dark-mode .bar:before, .dark-mode .bar:after, .dark-mode .bar {
  background: #fff;
}

.dark-mode .bar.animate {
  background: rgba(255, 255, 255, 0);
}


