/*
* Box Theme
* Created by : Ahmed Eissa
* website : www.ahmedessa.net
* behance : https://www.behance.net/3essa
*/


/* Table of Content
==================================================
	- Google fonts & font family -
	- General -
    - typography -
    - Preloader -
	- Header -
    - box intro section -
    - Portfoilo section -
    - Footer -
    - About page -
    - Services page -
    - contact page -
    - Portfolio single page -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

@import url(https://fonts.googleapis.com/css?family=Poppins:400,500,600,700);

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
        url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
        url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-linkedin:before {
    content: "\f0e1";
}

.fa-behance:before {
    content: "\f1b4";
}

/* General
==================================================*/

html,
body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: #999
}

html.overflow-hidden,
body.overflow-hidden {
    height: 100%;
    overflow: hidden !important;
}

hr {
    border: 1px solid rgb(204, 203, 203);
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-padding [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.main-container {
    padding: 40px 0;
}

.center {
    text-align: center;
}

.p-0 {
    padding: 0 !important;
}

a {
    -webkit-transition: all .3s;
    transition: all .3s
}

a:focus,
a:active {
    outline: none;
    border: none;
}

.uppercase {
    text-transform: uppercase;
}

.h-30 {
    height: 30px
}

.h-10 {
    height: 10px
}

.color {
    color: #ffbf00;
    font-size: 11px;
}

/* margins
==================================================*/
.mt-0 {
    margin-top: 0 !important;
}

/* typography
==================================================*/

h1 {
    color: #393939;
    font-size: 60px;
    text-transform: uppercase;
}

h3 {
    color: #393939;
}

h5 {
    color: #ffbf00;
}


/* preloader
==================================================*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f5f5f5;
    /* change if the mask should be a color other than white */
    z-index: 1000;
    /* makes sure it stays on top */
}

.pre-container {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ffbf00;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: bounce 2.0s infinite ease-in-out;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes bounce {

    0%,
    100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.img-responsive,
.thumbnail a>img,
.thumbnail>img {
    width: 100%;
}


/* headr
==================================================*/
.bg-photo {
    background-image: url(../img/photo_site_emile_vince.jpg);
    background-repeat: no-repeat;
    background-position: left center;
    background-attachment: fixed;
    background-size: cover;
}

.box-header {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    height: 50px;
    width: 100%;
    z-index: 3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

.box-header {
    height: 80px;
    box-shadow: none;
    background-color: transparent;
}

.box-header {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.box-header.is-visible {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.box-header.menu-is-open {}


.box-header.menu-is-open>.box-bg {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    opacity: 0;
}

.box-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #393937;
    opacity: 0.6;
    -webkit-transition: all .3s;
    transition: all .3s
}

.box-logo {
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.box-logo img {
    width: 83px;
    height: auto;
}

.box-primary-nav-trigger {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: #fff;
}

.box-primary-nav-trigger .box-menu-text {
    color: #fff;
    text-transform: uppercase;
    display: none;
}

.box-primary-nav-trigger .box-menu-icon {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: #fff;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    list-style: none;
}

.box-primary-nav-trigger .box-menu-icon::before,
.box-primary-nav-trigger .box-menu-icon:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    right: 0;
    -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
    -webkit-transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: transform .3s, top .3s, background-color 0s;
    transition: transform .3s, top .3s, background-color 0s, -webkit-transform .3s;
}

.box-primary-nav-trigger .box-menu-icon::before {
    top: -5px;
}

.box-primary-nav-trigger .box-menu-icon::after {
    top: 5px;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked {
    background-color: rgba(255, 255, 255, 0);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before,
.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    background-color: 393939;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    top: 0;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.box-primary-nav-trigger {
    width: 100px;
    padding-left: 1em;
    background-color: transparent;
    height: 30px;
    line-height: 30px;
    right: 10px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box-primary-nav-trigger .box-menu-text {
    display: inline-block;
}

.box-primary-nav-trigger .box-menu-icon {
    left: auto;
    right: 1em;
    -webkit-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
}

.box-primary-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    background: rgb(0, 193, 241, 0.95);
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    row-gap: 8px;
    text-align: center;
    padding: 118px 24px 44px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    list-style: none;
}

.box-primary-nav li {
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin: 0;
    text-transform: capitalize;
}

.box-primary-nav a {
    display: inline-block;
    padding: .18em 1em;
    border-radius: 0.25em;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.box-primary-nav a:focus {
    outline: none;
}

.no-touch .box-primary-nav a:hover {
    text-decoration: none;
    color: #ddd;
}

.box-primary-nav a.is-active,
.box-primary-nav a[aria-current="page"] {
    color: #ffbf00;
}

.box-primary-nav a:active,
.box-primary-nav a:focus-visible {
    text-decoration: none;
    color: #ddd;
}

.box-primary-nav .box-label {
    color: #ffbf00;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 17px;
    margin: 2.4em 0 .8em;
}

.box-primary-nav .box-social {
    display: inline-flex;
    width: auto;
    margin: 30px .55em 0;
}

.box-primary-nav .box-social+.box-social {
    margin-top: 30px;
}

.box-primary-nav .box-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transition: color .22s ease;
}

.box-primary-nav .box-social a:hover,
.box-primary-nav .box-social a:focus,
.box-primary-nav .box-social a:active,
.box-primary-nav .box-social a:focus-visible {
    color: #ddd;
}

.box-primary-nav .box-social .fa {
    display: block;
    font-size: 24px;
    line-height: 24px;
}

.box-primary-nav.is-visible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}


.box-primary-nav li {
    font-size: clamp(22px, 6.2vw, 34px);
    line-height: 1.42;
}


/* box-intro
==================================================*/

.box-intro {
    text-align: center;
    display: table;
    height: 100vh;
    width: 100%;
}

.box-intro .table-cell {
    display: flex;
    justify-content: center;
}

.box-intro em {
    font-style: normal;
    text-transform: uppercase
}

b i:last-child {
    color: #ffbf00 !important;
}

.box-intro h5 {
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #303030;
    line-height: 1.7;
    font-weight: 700;
    position: relative;
    width: 460px;
    position: relative;
    margin: auto;

    text-shadow: 1px 1px 25px #9dd6efc2;
}


/* mouse effect */

.mouse {
    position: absolute;
    width: 31px;
    height: 59px;
    bottom: 60px;
    left: 50%;
    margin-left: -12px;
    border-radius: 15px;
    border: 2px solid #fff;
    -webkit-animation: intro 1s;
    animation: intro 1s;
    left: calc(50% - 14px);
}

.scroll {
    display: block;
    width: 4px;
    height: 4px;
    margin: 6px auto;
    border-radius: 4px;
    background: #fff;
    -webkit-animation: finger 2s infinite;
    animation: finger 2s infinite;
}

@-webkit-keyframes intro {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes intro {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes finger {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}

@keyframes finger {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
}


/* text rotate */

.box-headline {
    font-size: 104px;
    line-height: 1.0;
    position: relative;
    color: black;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0px;
}


.box-words-wrapper {
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 991px) {
    .box-words-wrapper {
        top: 45%;
        transform: translateY(-30%);
    }
}

.box-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
}

.box-words-wrapper b.is-visible {
    position: relative;
}

.no-js .box-words-wrapper b {
    opacity: 0;
}

.no-js .box-words-wrapper b.is-visible {
    opacity: 1;
}

.box-headline.rotate-2 .box-words-wrapper {
    -webkit-perspective: 300px;
    perspective: 300px;
}

.bg-box-words {
    /*background-color: rgba(0, 0, 0, 0.05);*/
    width: 100%;
    height: 100vh;
}

.box-headline.rotate-2 i,
.box-headline.rotate-2 em {
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-headline.rotate-2 b {
    opacity: 0;
}

.box-headline.rotate-2 i {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(-20px) rotateX(90deg);
    transform: translateZ(-20px) rotateX(90deg);
    opacity: 0;
}

.is-visible .box-headline.rotate-2 i {
    opacity: 1;
}

.box-headline.rotate-2 i.in {
    -webkit-animation: box-rotate-2-in 0.4s forwards;
    animation: box-rotate-2-in 0.4s forwards;
}

.box-headline.rotate-2 i.out {
    -webkit-animation: box-rotate-2-out 0.4s forwards;
    animation: box-rotate-2-out 0.4s forwards;
}

.box-headline.rotate-2 em {
    -webkit-transform: translateZ(20px);
    transform: translateZ(20px);
}

.no-csstransitions .box-headline.rotate-2 i {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 0;
}

.no-csstransitions .box-headline.rotate-2 i em {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.no-csstransitions .box-headline.rotate-2 .is-visible i {
    opacity: 1;
}

@-webkit-keyframes box-rotate-2-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(90deg);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(-10deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0deg);
    }
}

@keyframes box-rotate-2-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(90deg);
        transform: translateZ(-20px) rotateX(90deg);
    }

    60% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(-10deg);
        transform: translateZ(-20px) rotateX(-10deg);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0deg);
        transform: translateZ(-20px) rotateX(0deg);
    }
}

@-webkit-keyframes box-rotate-2-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0);
    }

    60% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-100deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-90deg);
    }
}

@keyframes box-rotate-2-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0);
        transform: translateZ(-20px) rotateX(0);
    }

    60% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-100deg);
        transform: translateZ(-20px) rotateX(-100deg);
    }

    100% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-90deg);
        transform: translateZ(-20px) rotateX(-90deg);
    }
}


/* portfolio section
==================================================*/

.grid-sizer {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden;
}

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 30px;
    display: inline-block;
}

.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 10px 0;
}

.portfolio .categories-grid .categories ul li a {
    display: inline-block;
    color: #60606e;
    padding: 0 10px;
    margin: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
}

.portfolio .categories-grid .categories ul li a.active {
    margin-left: 0;
    background-color: #ffbf00;
    padding: 0px 20px;
    color: white;
    border-radius: 25px;
    text-decoration: none;
}

.portfolio_filter {
    padding-left: 0;
}

.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
}

.portfolio_item .portfolio_item_hover {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: rgb(57 57 57 / 90%);
    -webkit-transform: translate(-100%);
    transform: translate(-100%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    font-weight: bold;
}

.portfolio_item .portfolio_item_hover .item_info span {
    display: block;
    color: #fff;
    font-size: 18px;
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
    opacity: 0;
}

.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
    background-color: #ffbf00;
    padding: 5px 20px;
    border-radius: 25px;
    color: #333;
    margin-top: 10px;
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 10px;
    letter-spacing: 2px;
}

.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.home-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 25vw;
    grid-auto-flow: dense;
    width: 100%;
}

.home-portfolio-grid:before,
.home-portfolio-grid:after {
    display: none;
}

.home-portfolio-grid>.home-portfolio-tile {
    float: none;
    width: auto;
    min-height: 0;
    padding: 0;
}

.home-portfolio-grid>.home-portfolio-tile--large {
    grid-column: span 2;
    grid-row: span 2;
}

.home-portfolio-grid>.home-portfolio-tile:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.home-portfolio-grid>.home-portfolio-tile:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

.home-portfolio-grid>.home-portfolio-tile:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
}

.home-portfolio-grid>.home-portfolio-tile:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.home-portfolio-grid>.home-portfolio-tile:nth-child(5) {
    grid-column: 4;
    grid-row: 2;
}

.home-portfolio-grid>.home-portfolio-tile:nth-child(7) {
    grid-column: 3 / span 2;
    grid-row: 3 / span 2;
}

.home-portfolio-grid .portfolio_item,
.home-portfolio-grid .portfolio_item img {
    width: 100%;
    height: 100%;
}

.home-portfolio-grid .portfolio_item img {
    display: block;
    object-fit: cover;
}

.photo-draw-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 28px;
    margin: 0 0 80px;
}

.photo-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin: 34px 0 42px;
}

.photo-gallery-filters button {
    position: relative;
    border: 0;
    background: transparent;
    color: #2f3847;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    padding: 0 0 14px;
    transition: color .2s ease;
}

.photo-gallery-filters button:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ffbf00;
    transform: translateX(-50%);
    transition: width .2s ease;
}

.photo-gallery-filters button:hover,
.photo-gallery-filters button:focus,
.photo-gallery-filters button.active {
    color: #111820;
    outline: none;
}

.photo-gallery-filters button.active:after,
.photo-gallery-filters button:hover:after,
.photo-gallery-filters button:focus:after {
    width: 28px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 28px;
    margin: 0 0 80px;
}


.photo-draw-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 260px;
    grid-auto-flow: dense;
    gap: 28px;
    margin: 0 0 80px;
}

.photo-gallery-sizer {
    display: none;
}

.photo-gallery-card {
    position: relative;
    display: block;
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: 0 14px 34px rgba(17, 24, 32, .14);
    opacity: 1;
    transition: opacity .2s ease, transform .2s ease;
}

.photo-gallery-grid.is-filtering .photo-gallery-card {
    will-change: transform, opacity;
}

.photo-gallery-card.is-hidden {
    display: none;
}

.photo-gallery-card--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-gallery-card--panorama {
    grid-column: span 2;
}

.photo-gallery-card--tall,
.photo-gallery-card--vertical {
    grid-row: span 2;
}

.photo-col-1 {
    grid-column: span 1 !important;
}

.photo-col-2 {
    grid-column: span 2 !important;
}

.photo-col-3 {
    grid-column: span 3 !important;
}

.photo-col-4 {
    grid-column: span 4 !important;
}

.photo-row-1 {
    grid-row: span 1 !important;
}

.photo-row-2 {
    grid-row: span 2 !important;
}

.photo-row-3 {
    grid-row: span 3 !important;
}

.photo-row-4 {
    grid-row: span 4 !important;
}

.photo-gallery-card--feature .photo-gallery-card-inner,
.photo-gallery-card--tall .photo-gallery-card-inner,
.photo-gallery-card--vertical .photo-gallery-card-inner {
    min-height: 100%;
}

.photo-gallery-card-inner {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #000;
    transform: translate3d(0, 0, 0);
}

.photo-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    transition: opacity .4s ease, transform .4s ease;
}

.photo-gallery-card-inner:before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .66);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.15);
    transition: opacity .4s ease, transform .4s ease;
}

.photo-gallery-card-inner:after {
    content: attr(data-title);
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: calc(100% - 60px);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.18;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
    transition: opacity .4s ease, transform .4s ease;
}

.photo-gallery-card:hover img,
.photo-gallery-card:focus img {
    opacity: .68;
    transform: scale(1.04);
}

.photo-gallery-card:hover .photo-gallery-card-inner:before,
.photo-gallery-card:focus .photo-gallery-card-inner:before,
.photo-gallery-card:hover .photo-gallery-card-inner:after,
.photo-gallery-card:focus .photo-gallery-card-inner:after {
    opacity: 1;
    transform: scale(1);
}

.photo-gallery-card:hover .photo-gallery-card-inner:after,
.photo-gallery-card:focus .photo-gallery-card-inner:after {
    transform: translate(-50%, -50%);
}

@media (max-width: 991px) {
    .home-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 50vw;
    }

    .home-portfolio-grid>.home-portfolio-tile:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .home-portfolio-grid>.home-portfolio-tile--large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .photo-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
        gap: 20px;
    }


    .photo-draw-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
    }

    .photo-gallery-card--panorama,
    .photo-gallery-card--feature {
        grid-column: span 2;
    }

    .photo-col-3,
    .photo-col-4 {
        grid-column: span 2 !important;
    }
}

@media (max-width: 575px) {
    .home-portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 100vw;
    }

    .home-portfolio-grid>.home-portfolio-tile--large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .photo-gallery-filters {
        gap: 18px;
    }

    .photo-gallery-filters button {
        font-size: 15px;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }

    .photo-draw-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 16px;
    }


    .photo-gallery-card,
    .photo-gallery-card--horizontal,
    .photo-gallery-card--vertical,
    .photo-gallery-card--square,
    .photo-gallery-card--panorama,
    .photo-gallery-card--feature,
    .photo-col-1,
    .photo-col-2,
    .photo-col-3,
    .photo-col-4,
    .photo-row-1,
    .photo-row-2,
    .photo-row-3,
    .photo-row-4 {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .photo-gallery-card-inner,
    .photo-gallery-card--feature .photo-gallery-card-inner,
    .photo-gallery-card--tall .photo-gallery-card-inner,
    .photo-gallery-card--vertical .photo-gallery-card-inner {
        height: auto;
        min-height: 0;
    }

    .photo-gallery-card img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .mouse {
        bottom: max(28px, env(safe-area-inset-bottom));
        left: 50%;
        margin-left: 0;
        transform: translateX(-50%);
        width: 37px;
        height: 59px;
        border-radius: 6px;
    }
}

.portfolio .categories-grid .categories ul li {
    float: left;
}

.portfolio .categories-grid .categories ul li a {
    padding: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 50px;
    text-align: center;
    margin-bottom: 50px;
}

.photo-gallery-filters {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 34px auto 50px;
    text-align: center;
}

.photo-gallery-filters button {
    display: inline-block;
    border: 0;
    border-radius: 25px;
    background: transparent;
    color: #60606e;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    margin: 10px 10px;
    padding: 0 10px;
    transition: color .2s ease, background-color .2s ease, padding .2s ease;
}

.photo-gallery-filters button:after {
    display: none;
}

.photo-gallery-filters button:hover,
.photo-gallery-filters button:focus {
    color: #2f3847;
    outline: none;
}

.photo-gallery-filters button.active {
    margin-left: 0;
    background-color: #ffbf00;
    color: #fff;
    padding: 0 20px;
}

.portfolio-inner {
    padding-bottom: 0 !important;
    padding-top: 55px;
}


/* footer
==================================================*/

footer {
    padding: 30px 0;
    text-align: center;
    background: #f5f5f5
}

.copyright {
    color: #ccc;
    margin-bottom: 0;
}

footer img {
    margin: 0 auto;
}

.site-footer {
    padding: 58px 0 26px;
    background: #171b21;
    color: rgba(255, 255, 255, .72);
}

.site-footer .container {
    max-width: 1120px;
}

.site-footer__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-footer__brand img {
    display: block;
    width: 96px;
}

.site-footer__text {
    max-width: 430px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    flex: 0 0 auto;
}

.site-footer__nav a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
    color: #ffbf00;
    text-decoration: none;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
}

.site-footer .copyright {
    color: rgba(255, 255, 255, .46);
    font-size: 13px;
}

.site-footer__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, .22);
}

.site-footer__social a:hover,
.site-footer__social a:focus {
    color: #171b21;
    background: #ffbf00;
    border-color: #ffbf00;
    text-decoration: none;
}

.site-footer__social .behance_logo {
    width: 18px;
    margin: 0;
    filter: brightness(0) invert(1);
    top: 0;
}

.site-footer__social a:hover .behance_logo,
.site-footer__social a:focus .behance_logo {
    filter: brightness(0) saturate(100%) invert(9%) sepia(12%) saturate(1028%) hue-rotate(176deg) brightness(93%) contrast(89%);
}

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

    .site-footer {
        padding: 46px 0 24px;
    }

    .site-footer__main,
    .site-footer__bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .site-footer__main {
        gap: 24px;
    }

    .site-footer__text {
        max-width: 360px;
        text-align: center;
    }

    .site-footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
    }

    .site-footer__bottom {
        gap: 18px;
    }
}


/* backto top
==================================================*/

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 20px;
    line-height: 40px;
    font-size: 20px;
    right: 10px;
    bottom: 10px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background: rgba(255, 191, 0, 0.8);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    opacity: .5;
}

.no-touch .cd-top:hover,
.no-touch .cd-top:focus {
    background-color: #ffbf00;
    opacity: 1;
    color: #fff;
}


/* About page
==================================================*/

/* ----- PMU ------ */

#pmu .top-bar {
    background: -webkit-linear-gradient(rgb(2 2 2 / 40%), rgb(0 0 0 / 40%)), url(../img/topbar/pmu.jpg);
    background: linear-gradient(rgb(2 2 2 / 40%), rgb(0 0 0 / 40%)), url(../img/topbar/pmu.jpg);
}

#pmu .top-bar h1 {
    color: #fff;
}

#pmu .top-bar p a,
#pmu .top-bar p a:hover,
#pmu .top-bar p {
    color: #fff !important;
}

#pmu .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Miss Dior ------ */

#miss-dior .top-bar {
    background: -webkit-linear-gradient(rgb(0 193 241 / 32%), rgb(0 193 241 / 86%)), url(../img/portfolio/projects_thumbs/miss_dior_thumbs.jpg);
    background: linear-gradient(rgb(0 193 241 / 32%), rgb(0 193 241 / 86%)), url(../img/portfolio/projects_thumbs/miss_dior_thumbs.jpg);
    background-size: cover;
    background-position: center center;
}

#miss-dior .box-bg {
    opacity: 0.6;
}

#miss-dior .top-bar h1,
#miss-dior .top-bar p,
#miss-dior .top-bar p a,
#miss-dior .top-bar p a:hover {
    color: #fff !important;
}

#miss-dior .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- APEC ------ */

#apec .top-bar {
    background: -webkit-linear-gradient(rgb(10 15 35 / 58%), rgb(0 193 241 / 72%)), url(../img/portfolio/apec/mockup_desktop_apec.jpg);
    background: linear-gradient(rgb(10 15 35 / 58%), rgb(0 193 241 / 72%)), url(../img/portfolio/apec/mockup_desktop_apec.jpg);
    background-size: cover;
    background-position: center center;
}

#apec .box-bg {
    opacity: 0.6;
}

#apec .top-bar h1,
#apec .top-bar p,
#apec .top-bar p a,
#apec .top-bar p a:hover {
    color: #fff !important;
}

#apec .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Luxury Must ------ */

#luxurymust .top-bar {
    background: -webkit-linear-gradient(rgb(20 16 12 / 55%), rgb(0 193 241 / 72%)), url(../img/portfolio/luxurymust/img_luxurymust_a.jpg);
    background: linear-gradient(rgb(20 16 12 / 55%), rgb(0 193 241 / 72%)), url(../img/portfolio/luxurymust/img_luxurymust_a.jpg);
    background-size: cover;
    background-position: center center;
}

#luxurymust .box-bg {
    opacity: 0.6;
}

#luxurymust .top-bar h1,
#luxurymust .top-bar p,
#luxurymust .top-bar p a,
#luxurymust .top-bar p a:hover {
    color: #fff !important;
}

#luxurymust .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Narciso Rodriguez ------ */

#narciso-rodriguez .top-bar {
    background: -webkit-linear-gradient(rgb(20 16 24 / 52%), rgb(0 193 241 / 72%)), url(../img/portfolio/narciso_rodriguez/planche_narciso_rodriguez_a.jpg);
    background: linear-gradient(rgb(20 16 24 / 52%), rgb(0 193 241 / 72%)), url(../img/portfolio/narciso_rodriguez/planche_narciso_rodriguez_a.jpg);
    background-size: cover;
    background-position: center center;
}

#narciso-rodriguez .box-bg {
    opacity: 0.6;
}

#narciso-rodriguez .top-bar h1,
#narciso-rodriguez .top-bar p,
#narciso-rodriguez .top-bar p a,
#narciso-rodriguez .top-bar p a:hover {
    color: #fff !important;
}

#narciso-rodriguez .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Global Media Santé ------ */

#global-media-sante .top-bar {
    background: -webkit-linear-gradient(rgb(20 16 24 / 48%), rgb(0 193 241 / 70%)), url(../img/portfolio/gms/mockup_gms.jpg);
    background: linear-gradient(rgb(20 16 24 / 48%), rgb(0 193 241 / 70%)), url(../img/portfolio/gms/mockup_gms.jpg);
    background-size: cover;
    background-position: center center;
}

#global-media-sante .box-bg {
    opacity: 0.6;
}

#global-media-sante .top-bar h1,
#global-media-sante .top-bar p,
#global-media-sante .top-bar p a,
#global-media-sante .top-bar p a:hover {
    color: #fff !important;
}

#global-media-sante .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Delifrance ------ */

#delifrance .top-bar {
    background: -webkit-linear-gradient(rgb(20 16 24 / 42%), rgb(0 193 241 / 64%)), url(../img/portfolio/projects_thumbs/delifrance_thumbs.jpg);
    background: linear-gradient(rgb(20 16 24 / 42%), rgb(0 193 241 / 64%)), url(../img/portfolio/projects_thumbs/delifrance_thumbs.jpg);
    background-size: cover;
    background-position: center center;
}

#delifrance .box-bg {
    opacity: 0.6;
}

#delifrance .top-bar h1,
#delifrance .top-bar p,
#delifrance .top-bar p a,
#delifrance .top-bar p a:hover {
    color: #fff !important;
}

#delifrance .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Photographie ------ */

#photographie .top-bar {
    background: -webkit-linear-gradient(rgb(20 16 24 / 45%), rgb(0 193 241 / 66%)), url(../img/portfolio/projects_thumbs/photographie_thumbs.jpg);
    background: linear-gradient(rgb(20 16 24 / 45%), rgb(0 193 241 / 66%)), url(../img/portfolio/projects_thumbs/photographie_thumbs.jpg);
    background-size: cover;
    background-position: center center;
}

#photographie .box-bg {
    opacity: 0.6;
}

#photographie .top-bar h1,
#photographie .top-bar p,
#photographie .top-bar p a,
#photographie .top-bar p a:hover {
    color: #fff !important;
}

#photographie .top-bar p a:hover {
    text-decoration: underline;
}

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

/* ----- Dessin ------ */

#dessin .top-bar {
    background: -webkit-linear-gradient(rgb(20 16 24 / 45%), rgb(0 193 241 / 66%)), url(../img/portfolio/projects_thumbs/dessin_thumbs.jpg);
    background: linear-gradient(rgb(20 16 24 / 45%), rgb(0 193 241 / 66%)), url(../img/portfolio/projects_thumbs/dessin_thumbs.jpg);
    background-size: cover;
    background-position: center center;
}

#dessin .box-bg {
    opacity: 0.6;
}

#dessin .top-bar h1,
#dessin .top-bar p,
#dessin .top-bar p a,
#dessin .top-bar p a:hover {
    color: #fff !important;
}

#dessin .top-bar p a:hover {
    text-decoration: underline;
}

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

.top-bar {
    color: white;
    padding: 150px 0 150px;
    background: -webkit-linear-gradient(rgb(0, 193, 241, 0.3), rgb(0, 193, 241, 1)), url(../img/01.jpg);
    background: linear-gradient(rgb(0, 193, 241, 0.3), rgb(0, 193, 241, 1)), url(../img/01.jpg);
    background-size: cover;
    /*background-attachment: fixed;*/
    background-position: center center;
    text-align: center;
}

.top-bar h1 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    line-height: 50px;
}

.top-bar p {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    color: white
}

.top-bar p a {
    color: white
}

.top-bar p a:hover,
.top-bar p a:focus {
    color: #d5d5d5;
    text-decoration: none;
    outline: none;
}

.social-ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0;
}

.social-ul li {
    float: left;
}

.social-ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: #23384f;
    font-size: 21px;
    -webkit-transition: all .3s;
    transition: all .3s;
    cursor: pointer;
}

.social-ul li a:focus {
    outline: none;
    border: none;
    text-decoration: none;
}


.social-ul li a:hover {
    color: #fff;
    background: #ffbf00;
    transform: translateY(-2px);
}

/* behance logo */
.behance_logo {
    top: -2px;
    position: relative;
}

.about .behance_logo {
    top: 0;
    position: relative;
    width: 22px;
    height: 22px;
    padding: 0;
    background: transparent;
    filter: brightness(0) invert(1);
}

.about .behance_logo:hover {
    background: transparent;

}


/* Services page
==================================================*/

.size-50 {
    font-size: 50px;
}

.service-box {
    margin-bottom: 30px;
}

.service-box h3 {
    margin-top: 0;
}


/* contact page
==================================================*/

.details-text i {
    margin-right: 10px;
}

.textarea-contact {
    height: 200px;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, .1);
    position: relative;
}

.textarea-contact textarea {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 20px;
    background-color: transparent;
    float: left;
    z-index: 2;
    font-size: 14px;
    color: #9a9a9a;
    resize: none;
}

.textarea-contact>span {
    position: absolute;
    top: 20px;
    left: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    color: #cdcdcd;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}

.input-contact {
    height: 40px;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, .1);
    position: relative;
    margin-bottom: 30px;
}

.input-contact input[type="text"] {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 0 20px;
    float: left;
    position: relative;
    background-color: transparent;
    z-index: 2;
    font-size: 14px;
    color: #9a9a9a;
}

.input-contact>span {
    position: absolute;
    top: 50%;
    left: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    color: #cdcdcd;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}

.input-contact>span.active,
.textarea-contact>span.active {
    color: #ffbf00;
    font-size: 10px;
    top: 0px;
    left: 5px;
    background-color: #fff;
    padding: 5px
}

input:focus,
textarea:focus {
    outline: none;
}

.contact-info {
    margin-top: 20px;
}

.contact-info i {
    height: 30px;
    width: 30px;
    display: inline-block;
    background: #ffbf00;
    text-align: center;
    line-height: 33px;
    margin-right: 10px;
    color: #fff;
    font-size: 21px;
}

.contact-info p {
    display: inline-block;
    margin-right: 20px;
}

.btn-box {
    background: #ffbf00;
    padding: 10px 50px;
    border-radius: 0;
    color: #fff;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.btn-box:hover,
.btn-box:focus {
    background: #F5B700;
    color: #fff;
}

.contact-page {
    padding-top: 74px;
    padding-bottom: 88px;
}

.contact-page__intro {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.contact-page__eyebrow,
.contact-page__aside-label {
    margin: 0 0 12px;
    color: #e5ad00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-page__intro h2 {
    margin: 0 0 16px;
    color: #23384f;
    font-size: 42px;
    font-weight: 700;
}

.contact-page__intro p:last-child {
    margin: 0;
    color: #66788b;
    font-size: 16px;
    line-height: 1.8;
}

.contact-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr);
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 22px 58px rgba(21, 35, 48, .12);
}

.contact-page__form-panel {
    padding: 52px 62px 44px;
    border-top: 4px solid #ffbf00;
}

.contact-page .rd-mailform {
    position: relative;
}

.contact-page__honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.contact-page .form-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-page .form-wrap+.form-wrap {
    margin-top: 24px;
}

.contact-page .form-input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 9px 0;
    color: #333;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    line-height: 27px;
    -webkit-appearance: none;
    transition: border-color .28s ease;
}

.contact-page textarea.form-input {
    height: 112px;
    min-height: 90px;
    max-height: 210px;
    resize: vertical;
}

.contact-page .form-input:focus {
    border-color: #ffbf00;
}

.contact-page .form-label {
    position: absolute;
    top: 23px;
    left: 0;
    z-index: 1;
    margin: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .22s ease, transform .22s ease;
}

.contact-page .form-label.focus,
.contact-page .form-label.not-empty {
    opacity: 0;
    transform: translateY(-75%);
}

.contact-page .form-validation {
    position: absolute;
    right: 0;
    bottom: -17px;
    color: #f5543f;
    font-size: 10px;
    line-height: 12px;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .25s ease, transform .25s ease;
}

.contact-page .form-wrap.has-error .form-input {
    border-color: #f5543f;
}

.contact-page .form-wrap.has-error .form-validation {
    opacity: 1;
    transform: translateY(0);
}

.contact-page .form-button {
    margin-top: 32px;
}

.contact-page .button {
    width: 100%;
    min-height: 50px;
    padding: 12px 24px;
    color: #fff;
    background: #ffbf00;
    border: 2px solid #ffbf00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: background .28s ease, border-color .28s ease;
}

.contact-page .button:hover,
.contact-page .button:focus {
    background: #23384f;
    border-color: #23384f;
    outline: 0;
}

.contact-page .button:disabled {
    cursor: wait;
    opacity: .72;
}

.contact-page .form-output {
    min-height: 20px;
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .25s ease, transform .25s ease;
}

.contact-page .form-output.active {
    opacity: 1;
    transform: translateY(0);
}

.contact-page .form-output.error {
    color: #f5543f;
}

.contact-page .form-output.success {
    color: #5d9f35;
}

.contact-page__aside {
    padding: 54px 42px;
    color: rgba(255, 255, 255, .76);
    background: #23384f;
}

.contact-page__aside h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}

.contact-page__aside>p:not(.contact-page__aside-label) {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}

.contact-page__steps {
    margin-top: 44px;
}

.contact-page__steps div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.contact-page__steps div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.contact-page__steps span {
    color: #ffbf00;
    font-size: 12px;
    font-weight: 700;
}

.contact-page__steps strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

@media only screen and (max-width: 900px) {
    .contact-page__layout {
        grid-template-columns: 1fr;
    }

    .contact-page__aside {
        padding: 36px 42px;
    }

    .contact-page__steps {
        margin-top: 28px;
    }
}

@media only screen and (max-width: 620px) {
    .contact-page {
        padding: 56px 24px 64px;
    }

    .contact-page__intro {
        margin-bottom: 32px;
        padding: 0 12px;
    }

    .contact-page__intro h2 {
        font-size: 33px;
    }

    .contact-page__intro p:last-child {
        font-size: 15px;
    }

    .contact-page__form-panel {
        padding: 38px 26px 30px;
    }

    .contact-page__aside {
        padding: 32px 26px;
    }
}

.btn-about {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0;
}

.about.main-container {
    padding-top: 72px;
    padding-bottom: 82px;
}

.about-profile {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.55fr);
    gap: 56px;
    align-items: start;
}

.about-profile__media {
    position: sticky;
    top: 104px;
}

.about-profile__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(21, 35, 48, .16);
}

.about-profile__actions {
    margin-top: 24px;
}

.about-profile__socials {
    margin: 18px 0 0;
}

.about-profile__socials li a {
    width: 34px;
    height: 34px;
    color: #fff;
    background: #23384f;
    font-size: 21px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.about-profile__socials li a:hover,
.about-profile__socials li a:focus {
    color: #fff;
    background: #ffbf00;
    transform: translateY(-2px);
    text-decoration: none;
}

.about-profile__socials .behance_logo {
    top: 0;
    width: 22px;
    height: 18px;
    background: transparent;
    filter: brightness(0) invert(1);
    transition: filter .25s ease;
}

.about-profile__socials a:hover .behance_logo,
.about-profile__socials a:focus .behance_logo {
    background: transparent;
}

.about-profile__content {
    padding-top: 6px;
}

.about-kicker {
    display: block;
    margin-bottom: 14px;
    color: #ffbf00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.about-profile__content h2 {
    margin: 0;
    color: #23384f;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.12;
}

.about-profile__content h3 {
    margin: 10px 0 24px;
    color: #23384f;
    font-size: 20px;
    font-weight: 600;
}

.about-profile__content p {
    max-width: 760px;
    margin-bottom: 18px;
    color: #6f7f90;
    font-size: 15px;
    line-height: 1.9;
}

.about-skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 760px;
    margin: 30px 0 34px;
}

.about-skill-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 13px;
    border: 1px solid rgba(35, 56, 79, .14);
    color: #23384f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.about-profile__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 760px;
    background: rgba(35, 56, 79, .12);
    border: 1px solid rgba(35, 56, 79, .12);
}

.about-profile__stats div {
    min-height: 126px;
    padding: 24px;
    background: #f7faff;
}

.about-profile__stats strong {
    display: block;
    margin-bottom: 10px;
    color: #23384f;
    font-size: 15px;
    font-weight: 700;
}

.about-profile__stats span {
    display: block;
    color: #758596;
    font-size: 13px;
    line-height: 1.6;
}

@media only screen and (max-width: 991px) {
    .about.main-container {
        padding-top: 56px;
    }

    .about-profile {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-profile__media {
        position: static;
    }

    .about-profile__media img {
        max-height: 460px;
    }

    .about-profile__stats {
        grid-template-columns: 1fr;
    }

}

@media only screen and (max-width: 620px) {
    .about.main-container {
        padding-top: 44px;
        padding-right: 24px;
        padding-bottom: 62px;
        padding-left: 24px;
    }

    .about-profile__content h2 {
        font-size: 30px;
    }

    .about-profile__content h3 {
        font-size: 18px;
    }

    .about-profile__stats div {
        min-height: 0;
        padding: 20px;
    }

}





/* single project page
==================================================*/

.cat-ul {
    padding-left: 0;
    list-style: none
}

.cat-ul li i {
    margin-right: 10px;
    color: #ffbf00;
}

.project-section-heading {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 35px 0 25px;
}

.project-section-heading:before,
.project-section-heading:after {
    content: "";
    flex: 1 1 0;
    display: block;
    height: 2px;
    min-width: 40px;
    background: #cfcfcf;
}

.project-section-title {
    flex: 0 1 auto;
    max-width: 60%;
    padding: 0 5px;
    text-align: center;
    text-transform: uppercase;
}

.project-section-title h4 {
    margin: 0;
    color: #393939;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .project-section-heading {
        gap: 15px;
    }

    .project-section-title {
        max-width: 100%;
    }

    .project-section-heading:before,
    .project-section-heading:after {
        min-width: 20px;
    }
}

.project-figure {
    position: relative;
    display: block;
    margin-bottom: 30px;
    overflow: hidden;
    background: #000 !important;
    box-shadow: 0 18px 38px rgba(27, 34, 46, 0.12);
}

.project-figure:before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .66);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.15);
    transition: opacity .4s ease, transform .4s ease;
}

.project-figure img {
    display: block;
    width: 100%;
    transition: opacity .4s ease, transform .4s ease;
    transform: scale(1);
}

.project-figure:hover img,
.project-figure:focus img {
    opacity: .68;
    transform: scale(1.04);
}

.project-figure:hover:before,
.project-figure:focus:before {
    opacity: 1;
    transform: scale(1);
}

#pmu .project-figure {
    margin-bottom: 0;
}

.project-live-link {
    display: inline-block;
    margin: 8px 0 28px;
}

.project-shot-frame {
    max-height: 620px;
    overflow: hidden;
}

.project-shot-frame img {
    display: block;
}

.project-shot-frame--short {
    max-height: 430px;
}

.project-shot-frame--mobile {
    max-height: 760px;
}

.project-shot-frame--full {
    max-height: none;
}

.project-note {
    margin: 0 auto 35px;
    max-width: 760px;
    text-align: center;
}

.project-video-frame {
    margin-bottom: 30px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    box-shadow: 0 18px 38px rgba(27, 34, 46, 0.12);
}

.project-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apec-hero-figure {
    background: #000;
}

.apec-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: stretch;
    margin-bottom: 15px;
}

.apec-video-card {
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    border: 1px solid rgba(33, 42, 58, 0.08);
    background: #fff;
    box-shadow: 0 18px 38px rgba(27, 34, 46, 0.10);
}

.apec-video-card .project-video-frame {
    margin-bottom: 0;
    box-shadow: none;
}

.apec-path-copy {
    position: relative;
    min-height: 285px;
    padding: 42px 44px 36px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbfd 100%);
}

.apec-path-index {
    position: absolute;
    top: 34px;
    right: 38px;
    color: rgba(21, 31, 58, 0.08);
    font-size: 72px;
    line-height: 1;
    font-weight: 700;
}

.apec-path-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffbf00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.apec-path-copy h4 {
    position: relative;
    margin: 0 0 18px;
    max-width: 340px;
    color: #293344;
    line-height: 1.25;
    text-transform: uppercase;
}

.apec-path-copy p {
    position: relative;
    margin: 0 0 24px;
}

.apec-path-tags {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.apec-path-tags li {
    padding: 6px 13px;
    border: 1px solid rgba(255, 191, 0, 0.45);
    color: #293344;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.apec-video-copy {
    display: flex;
    min-height: 315px;
    margin-bottom: 30px;
    padding: 45px;
    flex-direction: column;
    justify-content: center;
    background: #f6f6f6;
}

.apec-video-copy h4 {
    margin: 0 0 18px;
    color: #393939;
    text-transform: uppercase;
}

.apec-video-copy p {
    margin: 0;
}

.apec-phone-shot {
    max-height: 760px;
}

.apec-phone-shot img {
    display: block;
}

.apec-phone-shot--compact {
    max-height: 560px;
}

#apec .project-shot-frame {
    background: #f4f4f6;
}

.apec-showcase-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.apec-showcase-grid .project-figure {
    margin-bottom: 0;
}

.apec-showcase-grid--system,
.apec-showcase-grid--screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.apec-showcase-main {
    grid-column: 1 / -1;
}

.apec-showcase-grid--components {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    align-items: stretch;
}

.apec-screen-hero {
    margin-bottom: 34px;
}

.apec-screen-board {
    column-count: 3;
    column-gap: 30px;
    margin-bottom: 35px;
}

.apec-screen-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 30px;
    overflow: hidden;
    vertical-align: top;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    border: 1px solid rgba(33, 42, 58, 0.08);
    background: #fff;
    box-shadow: 0 18px 38px rgba(27, 34, 46, 0.10);
}

.apec-screen-card .project-figure {
    margin-bottom: 0;
    box-shadow: none;
}

.apec-screen-card .project-shot-frame {
    max-height: none;
    overflow: visible;
}

.apec-screen-copy {
    border-top: 1px solid rgba(33, 42, 58, 0.08);
    padding: 22px 24px 26px;
    background: linear-gradient(135deg, #fff 0%, #f8fbfd 100%);
}

.apec-screen-copy span {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffbf00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.apec-screen-copy h5 {
    margin: 0 0 10px;
    color: #293344;
    font-weight: 700;
    text-transform: uppercase;
}

.apec-screen-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.apec-desktop-shot {
    max-height: 430px;
}

.apec-small-asset {
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    padding: 55px;
}

.apec-small-asset img {
    max-width: 280px;
    margin: auto;
}

.apec-mobile-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(230px, 1.15fr);
    gap: 30px;
    align-items: start;
}

.apec-mobile-layout .project-figure,
.apec-mobile-side .project-figure {
    margin-bottom: 0;
}

.apec-mobile-side {
    display: grid;
    gap: 30px;
}

.apec-responsive-board {
    display: grid;
    grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 24px;
    background: #f7fbfd;
}

.apec-responsive-board .project-figure {
    margin-bottom: 0;
}

.apec-responsive-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.apec-responsive-hero img {
    width: auto;
    max-height: 540px;
}

.apec-phone-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.apec-phone-gallery article {
    min-width: 0;
}

.apec-phone-gallery .apec-phone-shot {
    max-height: 520px;
}

.apec-phone-gallery h5 {
    margin: 16px 0 0;
    color: #293344;
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
}

.apec-responsive-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.apec-responsive-details .apec-phone-shot {
    max-height: 360px;
}

.apec-flow-stories {
    display: grid;
    gap: 26px;
    margin-bottom: 35px;
}

.apec-flow-card {
    display: grid;
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(33, 42, 58, 0.10);
    border-left: 4px solid #ffbf00;
    background: #fff;
    box-shadow: 0 20px 42px rgba(27, 34, 46, 0.13);
}

.apec-flow-card--hero {
    background: #fff;
}

.apec-flow-card--compact .apec-flow-media {
    align-items: stretch;
}

.apec-flow-copy {
    position: relative;
    align-self: stretch;
    padding: 22px;
    background: #252c5a;
    color: rgba(255, 255, 255, 0.76);
}

.apec-flow-copy:before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 20px;
    background: #ffbf00;
}

.apec-flow-copy span {
    display: inline-block;
    margin-bottom: 13px;
    color: #ffbf00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.apec-flow-copy h5 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
    text-transform: uppercase;
}

.apec-flow-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.apec-flow-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 150px);
    gap: 14px;
    align-items: stretch;
}

.apec-flow-media--three {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 132px) minmax(92px, 132px);
}

.apec-flow-media .project-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.apec-flow-desktop,
.apec-flow-phone {
    background: #fff;
    box-shadow: 0 13px 26px rgba(27, 34, 46, 0.12);
}

.apec-flow-desktop img,
.apec-flow-phone img {
    display: block;
    max-width: 100%;
}

.apec-flow-phone {
    align-self: stretch;
    justify-self: center;
    position: relative;
    height: 100%;
    min-height: 0;
    width: 100%;
    max-width: 150px;
}

.apec-flow-phone--short {
    max-width: 132px;
}

.apec-flow-desktop img {
    width: 100%;
}

.apec-flow-phone img {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    height: 100%;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    transform: translateX(-50%);
}

.apec-flow-phone--short img {
    max-height: none;
}

.project-gallery-modal .modal-dialog {
    width: calc(100% - 60px);
    max-width: 1180px;
    margin: 30px auto;
}

.project-gallery-modal .modal-content {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.project-gallery-modal .carousel-inner>.item>img {
    display: block;
    max-height: 82vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

.project-gallery-close {
    position: absolute;
    top: 10px;
    right: 16px;
    z-index: 5;
    color: #fff;
    opacity: 0.9;
    text-shadow: none;
}

.project-gallery-modal .carousel-control {
    background-image: none;
    opacity: 0.85;
    width: 9%;
}

.project-gallery-modal .carousel-control span {
    position: absolute;
    top: 50%;
    font-size: 56px;
    transform: translateY(-50%);
}

.project-suggestions {
    padding: 30px 0 75px;
    background: #f7f7f7;
}

.project-suggestions .project-section-heading {
    margin-bottom: 26px;
}

.project-suggestions-carousel {
    position: relative;
}

.project-suggestions-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding: 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.project-suggestions-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.project-suggestions-track.is-click-suppressed .project-suggestion-card {
    pointer-events: none;
}

.project-suggestions-track::-webkit-scrollbar {
    display: none;
}

.project-suggestion-card {
    position: relative;
    display: block;
    min-height: 220px;
    overflow: hidden;
    background: #222;
    color: #fff;
    scroll-snap-align: start;
    box-shadow: 0 18px 36px rgba(27, 34, 46, 0.16);
    -webkit-user-drag: none;
    user-drag: none;
}

.project-suggestion-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.project-suggestion-card:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(19, 22, 28, 0.04) 0%, rgba(19, 22, 28, 0.78) 100%);
    transition: background 0.3s ease;
}

.project-suggestion-card:hover img,
.project-suggestion-card:focus img {
    transform: scale(1.045);
}

.project-suggestion-card:hover:before,
.project-suggestion-card:focus:before {
    background: linear-gradient(180deg, rgba(19, 22, 28, 0.20) 0%, rgba(19, 22, 28, 0.86) 100%);
}

.project-suggestion-info {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 2;
}

.project-suggestion-info span {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.project-suggestion-info em {
    display: inline-block;
    color: #ffbf00;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.project-suggestions-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b8da5;
    font-size: 42px;
    line-height: 46px;
    text-align: center;
    transform: translateY(-50%);
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.project-suggestions-nav:hover,
.project-suggestions-nav:focus {
    background: transparent;
    color: #233248;
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.project-suggestions-nav[disabled] {
    opacity: 0.28;
    pointer-events: none;
}

.project-suggestions-nav--prev {
    left: -58px;
}

.project-suggestions-nav--next {
    right: -58px;
}


/* Responsive media queries
==================================================*/

@media (max-width: 991px) {

    .apec-video-grid,
    .apec-showcase-grid--system,
    .apec-showcase-grid--screens,
    .apec-showcase-grid--components,
    .apec-responsive-board,
    .apec-flow-card,
    .apec-mobile-layout {
        grid-template-columns: 1fr;
    }

    .apec-screen-board {
        column-count: 2;
    }

    .apec-responsive-hero {
        grid-row: auto;
    }

    .apec-phone-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .apec-flow-media,
    .apec-flow-media--three {
        grid-template-columns: minmax(0, 1fr) minmax(110px, 160px);
    }

    .apec-flow-media--three .apec-flow-phone:last-child {
        grid-column: 2;
    }

    .apec-video-copy,
    .apec-path-copy {
        min-height: 0;
        padding: 32px;
    }

    .apec-path-index {
        top: 24px;
        right: 26px;
        font-size: 58px;
    }

    .apec-small-asset {
        min-height: 320px;
    }

    .portfolio .categories-grid span {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
    }

    .portfolio .categories-grid .categories ul li {
        text-align: center;
    }

    .portfolio .categories-grid .categories ul li a {
        margin-left: 0;
    }

    .col-md-6 h3 {
        margin-top: 30px;
    }
}

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


    .box-intro {
        height: var(--home-hero-height, 100svh);
        min-height: var(--home-hero-height, 100svh);
        position: relative;
        overflow: hidden;
    }

    .bg-box-words {
        height: 100%;
        min-height: var(--home-hero-height, 100svh);
    }

    .mouse {
        bottom: 60px;
        left: 50%;
        margin-left: 0;
        transform: translateX(-50%);
        width: 31px;
        height: 59px;
        border-radius: 5px;
        border-width: 2px;
    }

    .mouse::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 50%;
        width: 8px;
        height: 2px;
        border-radius: 2px;
        background: rgba(255, 255, 255, .75);
        transform: translateX(-50%);
    }

    .mouse .scroll {
        width: 5px;
        height: 5px;
        margin-top: 39px;
        -webkit-animation: finger-mobile 2s infinite;
        animation: finger-mobile 2s infinite;
    }

    @-webkit-keyframes finger-mobile {
        0% {
            opacity: 0;
            -webkit-transform: translateY(10px);
            transform: translateY(10px);
        }

        35% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            -webkit-transform: translateY(-18px);
            transform: translateY(-18px);
        }
    }

    @keyframes finger-mobile {
        0% {
            opacity: 0;
            -webkit-transform: translateY(10px);
            transform: translateY(10px);
        }

        35% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            -webkit-transform: translateY(-18px);
            transform: translateY(-18px);
        }
    }

    .box-headline {
        font-size: 80px;
        margin: 0;
    }

    .box-intro h5 {
        visibility: hidden;

    }
}

@media only screen and (max-width: 670px) {
    .box-headline {
        font-size: 70px;
    }

    .box-intro h5 {
        font-size: 13px;
        position: relative;
        width: 205px;
        position: relative;
        margin: auto;
        visibility: hidden;

    }

    .box-primary-nav .box-social a {
        font-size: 23px;
    }

    .top-bar h1 {
        font-size: 40px;
        line-height: 30px;
    }

    .portfolio .categories-grid .categories ul li {
        float: none;
    }
}

@media only screen and (max-width: 520px) {
    .box-headline {
        font-size: 54px;
    }

    .box-intro h5 {
        letter-spacing: 2px;
        font-size: 12px;
        width: 205px;
        position: relative;
        margin: auto;
        text-shadow: 1px 1px 1px #cae4f0d8;
        visibility: hidden;
    }

    .main-container {
        padding: 50px 0;
    }

    .apec-video-grid,
    .apec-showcase-grid,
    .apec-screen-board,
    .apec-responsive-board,
    .apec-phone-gallery,
    .apec-responsive-details,
    .apec-flow-stories,
    .apec-flow-card,
    .apec-flow-media,
    .apec-flow-media--three,
    .apec-mobile-layout,
    .apec-mobile-side {
        gap: 20px;
    }

    .apec-responsive-board {
        padding: 20px;
    }

    .apec-screen-board {
        column-count: 1;
    }

    .apec-phone-gallery,
    .apec-responsive-details,
    .apec-flow-media,
    .apec-flow-media--three {
        grid-template-columns: 1fr;
    }

    .apec-flow-card {
        padding: 20px;
    }

    .apec-flow-copy {
        padding: 20px;
    }

    .apec-flow-media--three .apec-flow-phone:last-child {
        grid-column: auto;
    }

    .apec-flow-phone,
    .apec-flow-phone--short {
        height: auto;
        max-width: 220px;
    }

    .apec-flow-phone img,
    .apec-flow-phone--short img {
        position: static;
        height: auto;
        max-height: 520px;
        transform: none;
    }

    .apec-video-copy,
    .apec-path-copy {
        padding: 26px;
    }

    .project-suggestions {
        padding: 52px 0 58px;
    }

    .project-suggestions-track {
        grid-auto-columns: minmax(225px, 78vw);
        gap: 14px;
    }

    .project-suggestions-nav {
        width: 40px;
        height: 40px;
        font-size: 34px;
        line-height: 40px;
    }

    .project-suggestions-nav--prev {
        left: -10px;
    }

    .project-suggestions-nav--next {
        right: -10px;
    }

    .project-suggestion-card,
    .project-suggestion-card img {
        min-height: 190px;
    }

    .apec-path-index {
        top: 20px;
        right: 20px;
        font-size: 46px;
    }

    .apec-small-asset {
        min-height: 260px;
        padding: 35px;
    }

        .lg-actions .lg-prev {
        left: 5%!important;
    }
    .lg-actions .lg-next {
        right: 5%!important;
    }

    .lg-actions .lg-next,
    .lg-actions .lg-prev {
        top: 15% !important;
    }
}

@media only screen and (max-width: 420px) {
    .box-headline {
        font-size: 47px;
    }

    .box-intro h5 {
        font-size: 12px;
    }

    .top-bar h1 {
        font-size: 30px;
        line-height: 30px;
    }
}
