:root {
    --lightGrey: #7f7f7f;
}

@font-face {
    font-family: "Calibri";
    src: url('../fonts/calibri-regular.ttf') format('truetype');
}

@font-face {
    font-family: "Calibri-bold";
    src: url('../fonts/calibri-bold.ttf') format('truetype');
}


html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    font-family: 'Calibri';
    font-size: 13px;
    color: #fff;
    line-height: normal;
}

.container-fluid {
    padding: 0;
}

.container-fluid .row {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
}

a, a:hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* ========================================
    GENERAL: CONTENT-DIV
======================================== */
.content-div {
    padding: 80px 6%;
}

#projects .content-div,
#project .content-div {
    padding-top: 180px;
}

#contact .content-div {
    padding: 16px 6%;
}

#header .content-div {
    padding: 14px 6%;
}

#mobileHeader .content-div {
    padding: 8px 6%;
}

/* ========================================
    GENERAL: BACKGROUND
======================================== */
.bg-black {
    background-color: #000;
}

/* ========================================
    GENERAL: TITLE
======================================== */
.title {
    color: #fff;
    font-family: "Calibri-bold";
    margin-bottom: 50px;
}

.title span {
    color: var(--lightGrey);
    font-size: inherit;
    font-family: inherit;
}

/* ========================================
    GENERAL: BUTTON
======================================== */
.general-btn {
    font-size: 11px;
    line-height: 32px;
    max-width: 125px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    width: 100%;
}

.general-btn svg {
    height: 32px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.general-btn rect {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 422, 0;
    transition: all 0.35s linear;
}

.general-btn:hover {
    letter-spacing: 1px;
}

.general-btn:hover rect {
    stroke-dasharray: 22, 310;
    stroke-dashoffset: 126;
    transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}

/* ========================================
    SCROLL TO TOP
======================================== */
#scrollToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: 0;
    padding: 6px 7px 3px 7px;
    transition: 0.3s;
    background: #222222b8;
    z-index: 1;
}

#scrollToTop:hover {
    background: #151515;
}

#scrollToTop i {
    color: var(--lightGrey);
}


/* ========================================
    HEADER
======================================== */
#header {
    z-index: 1;
    overflow: hidden;
    transition: 0.4s;
    position: fixed;
    width: 100%;
    top: 0;
}

#header #logo {
    max-height: 100px;
    width: auto;
}

#header ul {
    list-style: none;
}

#header .col-md-9 a {
    position: relative;
    font-size: 11px;
    letter-spacing: 1px;
}

#header .col-md-9 a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    border-radius: 4px;
    background-color: #fff;
    bottom: -2px;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

#header .col-md-9 a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

/* ========================================
    MOBILE HEADER
======================================== */
#mobileHeader {
    display: none;
    background-color: #000000c2;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1;
    height: 46px;
}

#mobileHeader #logo {
    max-width: 18px;
}

#mobileHeader #menuBtn {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 6%;
}

#mobileHeader i {
    font-size: 19px;
}

#navOverlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 46px;
    background-color: #000000c2;
    overflow-x: hidden;
    transition: 0.5s;
}

#navOverlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #181818;
}

#navOverlay a {
    padding: 12px;
    font-size: 12px;
    letter-spacing: 0.8px;
    display: block;
    text-transform: uppercase;
}

#navOverlay a:focus {
    color: var(--lightGrey);
}

/* ========================================
    INDEX: LATEST PROJECTS
======================================== */
#latest-projects a#view-more {
    font-size: 14px;
    color: #c1c1c1;
}

#latest-projects a#view-more:before,
#latest-projects a#view-more:after {
    content: "";
    display: block;
    width: 15%;
    height: 1px;
    margin: 0 15px;
    background: #353535;
}

#latest-projects a#view-more:before,
#latest-projects a#view-more:after {
    content: "";
    display: block;
    width: 12%;
    height: 1px;
    margin: 0 15px;
    background: #353535;
    transition: width 0.3s ease;
}

#latest-projects a#view-more:hover:before,
#latest-projects a#view-more:hover:after {
    width: 20%;
}

/* ========================================
    INDEX: ABOUT
======================================== */
#about p {
    font-size: 14px;
}

/* ========================================
    INDEX: CLIENTS
======================================== */
#clients .col-md-2:nth-child(-n+7) {
    margin-bottom: 80px;
}

#clients .col-md-2 img {
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
}

/* ========================================
    PROJECTS
======================================== */
#projects .col-md-2 {
    border-right: 1px solid #181818;
}

#projects .col-md-2 .nav-link {
    color: var(--lightGrey);
    font-size: 14px;
    cursor: pointer;
}

#projects .col-md-2 .nav-link.active {
    background-color: var(--lightGrey);
    color: #fff;
}

.projectDiv {
    position: relative;
    overflow: hidden;
}

.projectDiv .projectDetails {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: #000000c2;
    padding: 15px;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: opacity 0.1s 0.3s, -webkit-transform 0.4s;
    transition: opacity 0.1s 0.3s, -webkit-transform 0.4s;
    transition: transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s, -webkit-transform 0.4s;
}

.projectSlideUp:hover .projectDetails {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: opacity 0.1s, -webkit-transform 0.4s;
    transition: opacity 0.1s, -webkit-transform 0.4s;
    transition: transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s, -webkit-transform 0.4s;
}

.projectDiv .projectDetails h6 {
    margin: 0;
}

.projectDiv img {
    object-fit: cover;
    aspect-ratio: 4/3;
    overflow-clip-margin: unset;
}

/* ========================================
    PROJECTS: SINGLE PROJECT
======================================== */
#project h5 {
    color: var(--lightGrey);
}

#project .gallery img:not(:last-child) {
    margin-bottom: 40px;
}

/* ========================================
    CONTACT / FOOTER
======================================== */
#contact .col-md-6 {
    border-top: 1px solid #181818;
    padding-top: 50px;
}

#contact img#logo {
    width: 35px;
}

#contact h6 {
    color: var(--lightGrey);
    margin-bottom: 14px;
    letter-spacing: 0.8px;
    font-size: 12px;
}

#contact #social-icons img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

#contact #copyright {
    margin-top: 50px;
}

#contact #copyright a {
    color: #a6a6a6;
}

#contact #copyright p {
    color: var(--lightGrey);
}