/* Fonts */
 
/* SlimJoe */
@font-face {
    font-family: 'slimjoeregular';
    src: url('../fonts/SlimJoe/SlimJoe.eot');
    src: url('../fonts/SlimJoe/SlimJoe.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SlimJoe/SlimJoe.woff2') format('woff2'),
         url('../fonts/SlimJoe/SlimJoe.woff') format('woff'),
         url('../fonts/SlimJoe/SlimJoe.ttf') format('truetype'),
         url('../fonts/SlimJoe/SlimJoe.svg#slimjoeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
 
/* BigJohn */
@font-face {
    font-family: 'bigjohnregular';
    src: url('../fonts/BigJohn/BigJohn.eot');
    src: url('../fonts/BigJohn/BigJohn.eot?#iefix') format('embedded-opentype'),
         url('../fonts/BigJohn/BigJohn.woff2') format('woff2'),
         url('../fonts/BigJohn/BigJohn.woff') format('woff'),
         url('../fonts/BigJohn/BigJohn.ttf') format('truetype'),
         url('../fonts/BigJohn/BigJohn.svg#bigjohnregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
 
/* Amble Regular */
@font-face {
    font-family: 'ambleregular';
    src: url('../fonts/Amble/Regular/Amble-Regular.eot');
    src: url('../fonts/Amble/Regular/Amble-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Amble/Regular/Amble-Regular.woff2') format('woff2'),
         url('../fonts/Amble/Regular/Amble-Regular.woff') format('woff'),
         url('../fonts/Amble/Regular/Amble-Regular.ttf') format('truetype'),
         url('../fonts/Amble/Regular/Amble-Regular.svg#ambleregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
 
/* Amble Bold */
@font-face {
    font-family: 'amblebold';
    src: url('../fonts/Amble/Bold/Amble-Bold.eot');
    src: url('../fonts/Amble/Bold/Amble-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Amble/Bold/Amble-Bold.woff2') format('woff2'),
         url('../fonts/Amble/Bold/Amble-Bold.woff') format('woff'),
         url('../fonts/Amble/Bold/Amble-Bold.ttf') format('truetype'),
         url('../fonts/Amble/Bold/Amble-Bold.svg#amblebold') format('svg');
    font-weight: normal;
    font-style: normal;
}
 
/* Amble Light */
@font-face {
    font-family: 'amblelight';
    src: url('../fonts/Amble/Light/Amble-Light.eot');
    src: url('../fonts/Amble/Light/Amble-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Amble/Light/Amble-Light.woff2') format('woff2'),
         url('../fonts/Amble/Light/Amble-Light.woff') format('woff'),
         url('../fonts/Amble/Light/Amble-Light.ttf') format('truetype'),
         url('../fonts/Amble/Light/Amble-Light.svg#amblelight') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

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

/* Personal Flavour */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* Typography */
 
body {
    font-size: 16px;
    letter-spacing: .05em;
    color: #222222;
    font-family: "gideonroman", "amblelight", "Raleway", Helvetica, Arial, sans-serif;
}

h1, h3{
    font-family: "capitalistypoasis", "bigjohnregular" , "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h4 {
    font-size: 22px;
}

h3 {
    font-size: 28px;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.vertical-centered {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
}

/* Separator */
 
.separator {
    position: relative;
    margin-bottom: 1.7em;
    padding-bottom: 1.7em;
    text-align: center;
    font-weight: unset;
    text-transform: uppercase;
    color: inherit;
}

.separator:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 86px;
    height: 2px;
    background-color: #222;
   
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.separator.orange:before {
    background-color: #d87843;
}

/* Button inverted */
 
.button.inverted {
    font-size: inherit;
    padding: 25px 70px;
    color: white;
    height: auto;
    border: 3px solid white;
    text-transform: none;
    font-size: 26px;
    font-family: "gideonroman", "ambleregular";
}
   
.button.inverted:hover {
    background: white;
    color: #222;
}
   
.button.circle {
    padding: 0;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    border-radius: 50%;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    -ms-box-sizing: content-box;
    box-sizing: content-box;
}

/* =Section general styling
-------- */
 
section {
    text-align: center;
    padding: 80px 0;
}
   
/*
   
    Section with featured background image. Every section which will have this
    class will get the effect with a background cover.
   
*/
   
.featured-bg-image {
    position: relative;
    background-color: #222222;
    color: white;
    min-height: 500px;
}
   
.featured-bg-image:before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: .35;
}
   
.help:before {
    background: url("../images/help.webp");
    background-size: cover;
    background-position: 50% 50%;
}
   
.creativity:before {
    background: url("../images/creativity.webp");
    background-size: cover;
    background-position: 50% 35%;
}
   
.quote:before {
    background: url("../images/quote.webp");
    background-size: cover;
    background-position: 0% 20%;
}
   
.video-iframe{
    position: absolute;
    left: 0; top: 0; bottom: 0; right: 0;
    height: 100%;
    width: 100%;
    display: none;
}
   
.video:before {
    background: url("../images/video_bg_image.jpg");
}
   
.clients {
    background-color: #f4f4f4;
}
   
.footer {
    background-color: #222222;
    color: white;
}

/* =Navigation
-------- */
 
.navigation {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    height: 100%;
    z-index: 3;
    width: 320px;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
   
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
   
.navigation.active {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
   
.navigation ul {
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    background: #222;
}

.navigation ul li {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
}

.navigation ul li a {
    display: block;
    height: 100%;
    padding: 10px 0;
   
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-weight: 900;
}
   
.navigation ul li a.current, .navigation ul li a:hover {
    color: #222;
    background-color: white;
} 

.navigation .menu-icon {
    color: white;
    font-size: 30px;
    line-height: 1em;
   
    position: absolute;
    left: 100%;
    padding: 20px;
   
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
   
.navigation .menu-icon.active {
    background-color: rgba(0,0,0, .3);
}

.navigation .menu-icon:hover {
    color: #222;
    background-color: transparent;
}

/* =Hero
-------- */
 
.hero {
    padding: 0;
    min-height: 500px;
    text-align: center;
    position: relative;
    background-color: #d56d4d; /* layer fill content */
    color: white;
}

.hero-image {
    background: url("../images/hero.webp") no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: .9;
}

.hero-image:after {
    content: '';
    opacity: .87; /* layer alpha */
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iaGF0MCIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHgxPSIxMDAlIiB5MT0iNTAlIiB4Mj0iLTEuNDIxMDg1NDcxNTIwMmUtMTQlIiB5Mj0iNTAlIj4KPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiNDI0MiIgc3RvcC1vcGFjaXR5PSIxIi8+CjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VmYWI0YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgIDwvbGluZWFyR3JhZGllbnQ+Cgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0idXJsKCNoYXQwKSIgLz4KPC9zdmc+); /* gradient overlay */
    background-image: -moz-linear-gradient(right, #bb4242 0%, #efab4a 100%); /* gradient overlay */
    background-image: -o-linear-gradient(right, #bb4242 0%, #efab4a 100%); /* gradient overlay */
    background-image: -webkit-linear-gradient(right, #bb4242 0%, #efab4a 100%); /* gradient overlay */
    background-image: linear-gradient(right, #bb4242 0%, #efab4a 100%); /* gradient overlay */
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

.hero h2 {
    font-size: 24px;
}
   
.hero p {
    padding: 0 15%;
}

.hero .separator:before {
    background-color: white;
}

.tacticus-title {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* space between text and logo */
}
  
.tacticus-logo {
    width: 1em;  /* adjust logo size */
    height: auto;
    display: inline-block;
}

/*Contact*/
 
.contact-us {
    background-color: #f2f2f2;
    text-align: left;
}

.contact-us-details {
    padding: 70px;
}

.contact-us-details h5 {
    font-size: 2rem;
}

.contact-us-details .social-links a {
    color: #222;
    display: block;
}
   
.contact-us-details .social-links li {
    list-style: none;
    float: left;
    font-size: 24px;
    margin-right: 10px;
}

.contact-us-details .social-links li:last-child {
    margin-right: 0;
}

.contact-us-form {
    padding: 70px;
    background-color: #e4e4e4;
}

.contact-us .row {
    margin: 0;
}

/* Work Filters */
 
.work-filters {
    list-style: none;
}

.work-filters li {
    display: inline-block;
    margin: 0 .5em;
    font-size: 18px;
    text-transform: uppercase;
    font-family: "gideonroman" , "slimjoeregular";
}

.work-filters li a {
    color: inherit;
    text-decoration: none;
}

.work-filters li.active {
    font-family: "gideonroman","bigjohnregular";
}

/* Work items */
 
.work-items {
    list-style: none;
    width: 100%;
    display: inline-block;
}

.work-items li {
    position: relative;
    overflow: hidden;
    height: 360px;
   
    /* important because we need to overwrite the default skeleton */
    margin: 0!important;
    width: 33%;
    border: 10px solid white;
   
    position: relative;
}

.work-items li:nth-child(4n) {
    margin-left: 0;
}

.work-items li img{
    width: auto;
    height: 100%;
    display: block;
}
  /* Work detail */
   
.work-detail {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
   
    opacity: 0;
    background: rgba(0,0,0,.75);
    color: white;
   
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.work-detail h3 {
    font-size: 16px;
    letter-spacing: .05em;
}

.work-detail p {
    font-size: 20px;
    text-transform: capitalize;
    padding-left: 20px;
    padding-right: 20px;
}
   
.work-items li:hover .work-detail{
    opacity: 1;
    box-shadow: inset 0 0 0 10px #222;
}

/* Clients */
 
.clients {
    list-style: none;
}

.clients li {
    display: inline-block;
    width: 18%;
    margin-right: 2%;
}

.clients li:last-child {
    margin-right: 0;
}

.clients li img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
}

/* About */
 
.people-list {
    list-style: none;
    margin: 70px 0;
    width: 100%;
}

.people-list li {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.people-list li img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: scale-down;
    object-position: 50% 100%;
}
   
.people-list .people-hover {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,.45);
   
    opacity: 0;
   
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
   
.people-list .people-hover a {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
}
   
/* About people details */
   
.people-list .people-detail {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
    color: white;
}

.people-list .people-detail h3 {
    font-size: 22px;
    margin-bottom: 0;
}

.people-list .people-detail p {
    font-size: 16px;
}
   
.people-list li:hover .people-hover{
    opacity: 1;
    box-shadow: inset 0 0 0 5px #222;
}

/* Feature people hiring */
 
.people-list li.blank-feature{
    box-shadow: inset 0 0 0 3px #222;
}

.people-list li.blank-feature img {
    visibility: hidden;
}

.people-list li.blank-feature h3 {
    font-size: 26px;
}

/* Services */
 
.services {
    list-style: none;
    margin: 70px 0;
}
   
.services .service-image {
    height: 150px;
    margin-bottom: 30%;
}
   
.services .service-image img{
    display: block;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}
   
.services p {
    font-size: 16px;
    letter-spacing: 0;
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
 
/* Larger than mobile */
@media (max-width: 400px) {
    .button.inverted {
      padding: 15px;
    }
}

@media (min-width: 400px)  and (max-width: 750px) {
    .work-items li.isotope-item.columns {
      width: 100%;
    }
    .people-list li.people-list-item.columns {
      width: 46%;
      margin: 2%;
      box-sizing: content-box;
    }
    .contact-us-details {
      padding: 70px 25px;
      text-align: center;
    }
    .contact-us-details .social-links li {
      text-align: center;
      width: 33%;
      margin: 0;
    }
    .contact-us-details h5 {
      font-size: 1.7rem;
    }
   
}
