/*
Theme Name:         BartWojdon
Description:        Theme for BartWojdon
Version:            1.0
Author:             BartWojdon
Text Domain: 	  BartWojdon
*/


body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #0C0216;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

body.dark-mode {
    background-color: #0C0216;
}
body.dark-mode *{
    color: #fff !important; 
}
* {
    box-sizing: border-box;
    transition: 0.2s linear all;
}
.hidden {
    display: none;
}
.mobile-text {
    display: none;
}
.container {
    width: 100%;
    margin: 60px auto;
    padding: 0 60px; 
}
.row {
    display: flex;
}
.col-2 {
    width: 50%;
}
img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}
a {
    text-decoration: none;
    color: #0C0216;
}

header {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
}
header.container {
    margin: 60px auto 40px;
}
.menu {
    display: flex;
    font-size: 16px;
    align-content: flex-start;
}
.menu-item:not(.logo) {
    padding: 5px 0;
}
.logo {
    position: relative; 
}
.logo-svg {
    height: 60px;
    width: 38px;
}
.logo-svg path{
    fill:#0C0216;
}
.logo-svg circle {
    stroke:#0C0216;
}
.dark-mode .logo-svg path{
    fill:#fff;
}
.dark-mode .logo-svg circle {
    stroke:#fff;
}

.menu.menu-right {
    gap: 60px;
}
.menu-item-li {
    display: flex;
    align-items: center; 
}
.menu-item {
    position: relative;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}
body:not(.dark-mode) .menu-item{
    font-weight: 500;
}
.menu-item::after,
.menu-item::before,
.btn::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0;
    height: 1.5px; 
    border-radius: 1px;
    background: #0C0216;
    transition: 0.1s ease-in-out left 0.1s, 0.1s ease-in-out right  0.1s,  0.1s ease-in-out width;
    opacity: 1;    
}
.dark-mode .menu-item::after,
.dark-mode .menu-item::before {
    background: #fff;
}
.menu-item:hover::after,
.menu-item:hover::before, {
    transition: 0.1s ease-in-out left, 0.1s ease-in-out right,  0.1s ease-in-out width 0.1s;   
}
.menu-item::after {
    right: 50%;
}
.menu-item:hover::after {
    right: 0px;
    width: 50%;
}
.menu-item::before {
    left: 50%;
}
.menu-item:hover::before {
    left: 0px;
    width: 50%;
}

.menu-item.email::after,
.menu-item.email::before {  
    transition: 0.1s ease-in-out left, 0.1s ease-in-out right,  0.1s ease-in-out width 0.1s; 
}
.menu-item.email:hover::after,
.menu-item.email:hover::before {    
    transition: 0.1s ease-in-out left 0.1s, 0.1s ease-in-out right  0.1s,  0.1s ease-in-out width;    
}

.menu-item.email:hover::after {
    right: 50%;
    width: 0;
}
.menu-item.email::after {
    right: 0px;
    width: 50%;
}
.menu-item.email:hover::before {
    left: 50%;
    width: 0;
}
.menu-item.email::before {
    left: 0px;
    width: 50%;
}

.text-rotator {
    height: auto;
    width: 100vw;
    max-width: calc(100vw - 120px);
    margin: 40px auto 90px;
    overflow: hidden;
    position: relative; 
}
.text-rotator-wrapper {
    display: flex;
    position: relative;
    z-index: 1;
    animation: textScroll  90s linear infinite;
}

.text-rotator-content {
    white-space: nowrap;
    font-weight: 400;
    font-size: 48px;
    line-height: 150%;
    background: linear-gradient(66deg,#ffffff,#ffffff, #EA7878, #4E41FF,#ffffff, #ffffff, #ffffff, #ffffff,  #5EE383, #4E41FF,#ffffff, #ffffff,  #ffffff);
    background-size: 75% 200%;
    color: #0C0216;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotatorBgAnim 50s ease infinite;
}
 
 
.case-study-row {
    background: #291042;
    border-radius: 5px;   
    overflow: hidden; 
}

.case-study-row:nth-of-type(1) {
    background: #4E41FF; 
}
.case-study-row:nth-of-type(2) {
    background: #ebcb07; 
}
.case-study-row:nth-of-type(3) {
    background: #4bc96e; 
}
.case-study-row:nth-of-type(4) {
    background: #EA7878; 
}
.case-study-row:nth-of-type(5) {
    background: hsla(180,51.4%,51.6%,1);
}
.case-study-row + .case-study-row {
    margin-top: 30px;
}
.case-study-row:nth-child(even){ 
    flex-direction: row-reverse;
}
.col-2.case-study-text {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start; 
    padding: 60px;
}
.case-study-text-h2 { 
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 149.02%;
    margin: 0 0 30px 0;
}
.case-study-text-link {
    text-align: left;
    margin-left: 0px;
}
.case-study-img {
    position: relative;
}
.case-study-img img {
    display: block;
    height: 100%;
}
.case-study-img-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.contact {
    margin: 85px auto 100px;
    text-align: center;
}
.contact.smaller .contact-text-h2 {
    font-size: 28px;
}

.contact-text-h2 { 
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 175%;
}
.contact-btn-wrapper {
    width: 210px;
    margin: 0 auto;     
   overflow: hidden;
   position: relative;
}
.contact.smaller .contact-btn-wrapper {
    width: 161px;;
}

.contact-btn {
       white-space: nowrap;  
   background: linear-gradient(66deg,#ffffff, #EA7878, #4E41FF,#ffffff, #ffffff,  #5EE383, #4E41FF, #ffffff);
   background-size: 600% 200%;
   color: #0C0216;
   background-clip: text;
   text-fill-color: transparent;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   animation: rotatorBgAnim 60s ease infinite;   
   display: block;   
}

body:not(.dark-mode) .contact-btn{
    background: linear-gradient(66deg,#0C0216, #EA7878, #4E41FF,#0C0216, #5EE383, #4E41FF, #0C0216);
    background-size: 600% 200%;
    color: #0C0216;
    background-clip: text;
    text-fill-color: transparent;
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}
.contact-btn span {
    line-height: 100%;
    display: block;
}
.contact-btn::after {
   content: '--------------------------------------------';
   display: block;
   line-height: 40%;
   letter-spacing: -0.21rem;
}
.contact-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 10px;
    background: #0C0216;
    transform: scaleX(1);
    transition: all 0.4s ease-in-out;
}

body:not(.dark-mode) .contact-btn::before {
    background-color: #fff;
 }
.contact-btn:hover {
    animation-play-state: paused;
}
.contact-btn:hover::before { 
    width: 3%; 
    transform: scaleX(6000%);
}


footer {
    margin: 60px auto 90px;
    text-align: center;
}

.footer-text {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.05rem;
} 
 

@keyframes rotatorBgAnim {
    0%{background-position:0% 10%}
    50%{background-position:100% 91%}
    100%{background-position:0% 10%}
}

@keyframes textScroll {
    0%{transform: translateX(0);} 
    100%{transform: translateX(-100%);}
} 

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
.css-selector2 {
    background: linear-gradient(270deg, #a0c6db, #e3c1bc);
    background-size: 400% 400%;

    -webkit-animation: AnimationName2 30s ease infinite;
    -moz-animation: AnimationName2 30s ease infinite;
    animation: AnimationName2 30s ease infinite;
}

@-webkit-keyframes AnimationName2 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName2 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName2 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
 
 
.css-selector3 {
    background: linear-gradient(270deg, #0ea9fd, #d69934);
    background-size: 400% 400%;

    -webkit-animation: AnimationName3 30s ease infinite;
    -moz-animation: AnimationName3 30s ease infinite;
    animation: AnimationName3 30s ease infinite;
}

@-webkit-keyframes AnimationName3 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName3 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName3 {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

 @media(max-width:1040px) {

.container {
    padding: 0 45px;
}
header.container {
    margin: 60px auto 50px;
}

.menu.menu-right {
    gap: 45px;
}
    .text-rotator-content {
        font-size: 36px;
    }
    .text-rotator {
        max-width: calc(100vw - 90px);
        margin: 60px auto 65px;
    }
    .col-2.case-study-text {
        padding: 30px;
    }  
    .case-study-text-h2 { 
        font-size: 26px;
        line-height: 130.02%;
        margin: 0 0 15px 0;
    } 
    .contact {
        max-width: 500px;
        margin: 60px auto 75px;
    }
    .contact-text-h2 { 
        font-size: 33px;
        line-height: 150%;
    }
    .contact-btn-wrapper {
        width: 196px;
        margin-top: 15px;
    }
    footer {
        margin: 60px auto 60px;
    }
 }

 @media(max-width:760px) { 
    .container {
        margin: 40px auto;
        
        padding: 0 15px;
    }
.logo-svg {
    height: 45px;
}
    .mobile-text {
        display: inline;
    }
    .menu-item:not(.logo) {
        padding: 5px 0;
    }
    .desktop-text {
        display: none;
    } 
    header.container {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        align-content: center;
        margin: 45px auto 30px;
    }
    .menu-item {
        font-size: 14px;
    }
    .menu.menu-right {
        justify-content: center;
        gap: 30px;
        width: 100%;
        margin-top: 15px;
    } 
    .text-rotator {
        max-width: calc(100vw - 30px);
        margin: 40px auto 45px;
    }
    .text-rotator-content {
        font-size: 22px;
        font-weight: 500;
        letter-spacing: 0.02rem;
        background-size: 45% 100%;
    }
    .case-study-row,
    .case-study-row:nth-child(even) {
        flex-direction: column-reverse;
        border-radius: 2px;
    }
    .col-2 {
        width: 100%;
    }
    .case-study-text-h2 {
        font-size: 24px;
        line-height: 125.02%;
        margin-bottom: 10px;
    }
    .col-2.case-study-text {
        padding: 20px;
    } 
    .case-study-text-link { 
        margin-bottom: 5px;
    }
    .case-study-row + .case-study-row {
        margin-top: 15px;
    }
    .contact {
        padding: 0 30px; 
        margin: 30px auto 35px;
    }
    .contact-text-h2 {
        font-size: 24px;
        line-height: 130%;
    }
    .contact-btn-wrapper {
        width: 138px;
    }

    footer {
        margin: 50px auto 30px;
    }
    .footer-text {
        font-size: 12px;
    }
}

/*CASE STUDY*/
article.container {
    padding: 0 120px;
    overflow-x: hidden;
}

article.container h1, 
article.container h2,
article.container h3,
article.container p  {
    max-width: 900px;
}

article.container .design-section p {
    max-width: 100%;
}
i + strong{
   margin-left: 0 !important;
}
.case-study-overview .case-study-row {
    background-color: #0C0216;
    
}
.case-study-overview * {
    color: #fff;
    width: 100%;
}
.case-study-overview .small-text {
    margin-top: 10px;
}
main p {
    line-height: 150%;
}
.small-text {

    font-size: 14px;
    line-height: 160%;
}
.opacity-5 {
    opacity: 0.5;
}
.case-study-overview.container {
    margin-bottom: 0;
}
.inner-menu.container {
    margin-top: 0;
}
.sticky {
    position: sticky;
    top: 0;
    background-color: #fff;;
}
.side-menu {
    border-bottom:2px solid #0C0216;
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    margin-top: 0;
    padding-left: 60px;
}
.side-menu a {
    display: inline-block;
    padding: 20px 0;
    margin: 0;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05rem;
}  
article  p:empty {
    display: none;
}

.slider {
    margin: -30px 0;
    padding: 30px 0 50px;
    overflow: hidden;
}
.homepage .swiper {
    overflow: visible;
}

.swiper-slide:hover img {
    transition:  3s linear  transform;
    transform: scale(1.1);
} 
 
.slider.homepage .swiper-slide:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 30px 0px ;
    position: relative;
    z-index: 5; 
}
.slider.homepage .swiper-slide a { 
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
 
.swiper-text {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 14px;
    padding-right: 180px;
    width: calc(100% - 180px);
    border-radius: 0;
    line-height: 1.6;
    font-weight: 400;
    color: #fff;
}
.swiper-text::after,
.swiper-text::before {
    content: '';
    height: 0; 
    width: 2px;
    background: #fff;
    position: absolute;
    left: 100%;;
    transition: 0.1s ease-in-out top 0.1s, 0.1s ease-in-out bottom  0.1s,  0.1s ease-in-out height;
}

.swiper-text::after {
    top: 50%;
}
.swiper-text::before {
    bottom: 50%;
}
.swiper-slide:hover .swiper-text::after{
    top:0;
    height: 50%;
    transition: 0.1s ease-in-out top,  0.1s ease-in-out height 0.1s;
}
.swiper-slide:hover .swiper-text::before{
    bottom:0;
    height: 50%;
    transition:  0.1s ease-in-out bottom,  0.1s ease-in-out height 0.1s;
}
.swiper-text span {
    position: absolute;
    left: 75%;
    width: 100px;
    margin-left: 29px;
    font-weight: 500;
    text-transform: uppercase;
    top: 50%;
    margin-top: -10px;
    opacity: 0;
    word-break: keep-all;
    white-space: nowrap; 
    letter-spacing: 0.1em;
} 
.swiper-slide:hover .swiper-text span {
    left: 100%;
    opacity: 1;
}


.css-selector  .swiper-text  {
    color: #fff;  
}
 
.swiper-button-next, 
.swiper-button-prev {
    color: #808080; 
    top: 30px; 
    left: auto;
    right: 70px;
    margin-top: 0;
    transform: scale(0.6);
}
.swiper-button-next:hover, 
.swiper-button-prev:hover {
    color: #0C0216;
} 
.swiper-button-next {
    left: auto;
    right: 60px;
}
.swiper-button-prev {
    left: auto;
    right: 105px;
}
 
img.overlap-right {
    width: calc(100% + 200px);
}
video.overlap-right {
    width: calc(100% + 360px);
    height: auto;
}


.screen-full {
    position: relative;
    z-index: 99;
}
.section-article.screen-full {
    padding: 30px 60px; 
    
}
.screen-full  + .screen-full  {
    margin-top: -59px;
}

.with-grey-bg{
    color: #fff;
    background: #0C0216;
    border-radius: 5px;
}
.with-grey-bg .pseudo-table {
    color: #0C0216
}

.with-grey-bg  .swiper-horizontal>.swiper-pagination-bullets, .with-grey-bg  .swiper-pagination-bullets.swiper-pagination-horizontal, .with-grey-bg  .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
    margin-top: 10px;
    position: relative;
}
.with-grey-bg  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 15px;
    display: inline-block;
    border-radius: 50%;
    background: #fff;
    opacity: 1;
    cursor: pointer;
}
.with-grey-bg  .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .with-grey-bg  .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
}
.with-grey-bg  .swiper-pagination-bullet-active {
    opacity: 1;
    background: #4E41FF;
} 
.section-article.screen-full .content-container {    
    max-width: calc(100% - 400px);
    margin: 0 auto;
}
.section-article.screen-full .content-container  p,
.section-article.screen-full .content-container h2 {
    max-width: 800px;
}
.h1, 
.headline h1 {
 font-size: 26px;
 font-weight: 500;
 margin: 0px 0 30px;
}
.h2 {
 font-size: 20px;
 font-weight: 500;
 margin: 30px 0 30px;
}
.h3 {
 font-size: 16px;
 font-weight: 600;
 margin: 30px 0 15px;
}
article p, article ul {
    font-size: 16px;
    line-height: 1.6;
    margin: 30px 0;
}
article > p  {
    font-size: 18px;
    line-height: 1.6; 
}
strong {
    font-weight: 600;
}
.container-full {
    width:100vw;
    max-width: calc(100vw - 400px);
    margin: 60px auto;
}
.screen-full {
    width: calc(100vw - 120px);
    margin: 60px 0 60px -60px;
} 
.screen-full.with-paddings {
    padding: 60px;
}
.pseudo-table { 
    border:2px solid #0C0216;
    margin: 30px auto;
    background: #fff;
    box-shadow: 0 0 30px 0 #0C021600030;
}

.pseudo-row {
    border-bottom:1px solid #0C0216; 
    padding-bottom: 20px;
    margin-bottom: 15px;
}
.pseudo-table .pseudo-row:last-of-type {
    border:none
}
.pseudo-table-title {
    margin-left: 32px;
    margin-bottom: 30px;
}
.project-previewer.desktop {
    margin: 120px auto;
    border-radius: 30px; 
    width: 50vw;
    height: calc(50vw * 9/16);
    overflow: hidden;
}
.project-previewer-wrapper {
    width: inherit;
    height: inherit;
    overflow: auto;
}
.project-previewer-wrapper img {
    width: 100%;
}
.scrollable::-webkit-scrollbar-thumb {
  background-color: #0C0216;
}
.scrollable::-webkit-scrollbar-track {
  background-color: #fff;
}
.scrollable::-webkit-scrollbar-corner {
  background-color: #fff;
}
.scrollable::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
.scrollable {
  -ms-overflow-style: auto;
  scrollbar-color: #0C0216 #fff;
  scrollbar-width: thin;
}
 

 
aside {
    /* Foreground, Background */
    scrollbar-color: #c2c2c2 #0C0216;
  }
aside::-webkit-scrollbar {
    width: 3px; /* Mostly for vertical scrollbars */
    height: 3px; /* Mostly for horizontal scrollbars */
  }
  aside::-webkit-scrollbar-thumb { /* Foreground */
    background: #c2c2c2;
  }
  aside::-webkit-scrollbar-track { /* Background */
    background: #0C0216;
  }
hr {
    margin: 30px auto;
}
p.small  {
    font-size: 14px; 
    margin: 15px 0;
}

p.light {
    color: #70707;}

.video-responsive {
    width: 100%;
    height: auto;
}
.headline h1 {
    width: 100%;
    margin-top: 60px;
} 
.small-desc p {
    margin: 0 0 5px;
}
.h3 + p   {
    margin-top: 0;
}
.h2 + p,
.h2 + ul  {
    margin-top: -15px;
}
.h2 + .h3,
.h1 + .h2 {
    margin-top: -15px;
}
.col-2 p:first-of-type,
.col-3 p:first-of-type {
    margin-top: 5px;
}
p + ul {
    margin-top: -15px;
}
article .h1 {
    font-size: 34px;
}
article .h2 {
    font-size: 26px;
}
article .h3 {
    font-size: 20px;
}
.row p strong {
    text-transform: uppercase;
}
i + strong {
    margin-left: 5px;
}
article ul li {
    margin-bottom: 5px;
    border-left: 1px solid; 
    line-height: 120%;
    padding: 5px 0 5px 15px;
} 
article .row {
    gap:30px
}
.row ul {
    margin-bottom: 0;
}
.col-2 {
    width: 50%;
}
.col-3 {
    width: 33.333%;
}
article hr {
    width: calc(100% + 60px);
    margin: 60px -30px;
}
ul + .h2 {
    margin-top: 0;
}
.section-article > ul {
    column-count: 2;
    column-gap: 30px;
}
.col-3 ul:first-child {
    margin-top: 0;
}
p + .row {
    margin-top: -5px;
}
.col-3 p + p {
    margin-top: -15px;
    margin-bottom: 0;
}
.h3 + ul {
    margin-top: 15px;
    margin-bottom: -15px;
}
.swiper-slide .pseudo-row {
    padding: 20px 0 0 0;
    border-bottom: none;
} 
.section-article.screen-full > .h3,
.section-article.screen-full > .h2,
.section-article.screen-full > .h1 {
    max-width: calc(100% - 400px);
    margin-left: auto;
    margin-right: auto;
}
.h2 + .row {
    margin-top: -15px;
}
ul + p {
    margin-top: 15px;
}  
.pseudo-row p + p {
    margin-top: -15px;
}
.col-2 p + strong {
    display: block;
    margin-top: -15px;
}
.col-2 strong + p {
    margin-top: 8px;
}
.col-2 p:last-child {
    margin-bottom: 0;
}
ul + .h2 {
    margin-top: 30px;
}
ul.t-col-3 {
    column-count: 3;
}
article ul ul {
    margin: 16px 0;
    font-size: 14px;
}
article ul ul li {
    padding-left: 10px;
}
.pseudo-table {
    padding: 10px 30px;
    border-radius: 3px;
    border: 1px solid;
}
.pseudo-row.orw {
    gap: 30px;
}
.pseudo-table  .pseudo-row {
    border-bottom: 1px solid #0C0216;
}
.swiper-slide .pseudo-table .pseudo-row {
    padding: 0 0 20px;
}
.pseudo-table {
    padding: 30px 30px 0;
}
 
.design-section .h2,
.design-section .h3 {
    text-stroke: 2px red;
}
.design-text {
    display: block;
    transform: translateY(-100%);
    height: 200px;
    width: auto;
    margin: 0 auto; 
    position: absolute;
    top: 0;
    left: 200px;
}
.branding-text {
    display: block; 
    height: 100px;
    width: auto;
    margin: 60px auto 0 100px;    
}
.design-section {
    margin-top: 60px;
} 
.design-section video + img {
    margin-top: 120px;
}
.swiper .h1 {
    margin: 30px 0 0;
}
section.content {
    margin-bottom: 0;
    margin-top: -30px;
}


footer:hover a img {
    filter: invert(1);
}
.btn-design {
  
    font-weight: 600; 
    letter-spacing: 0.02rem; 
}
.btn-design:hover { 
}
.col-img video {
    width: 100%;
}
.content.upper,
footer.upper {
    z-index: 99999999;
}
.content:not(.upper)  .screen-full {
    width: calc(100vw - 295px);
}
.content.upper .screen-full {
    margin-left: 0;
    margin-right:0;
}

.next-project * {
    color: #fff;

}
.next-project .menu-item::after, .next-project .menu-item::before, .btn::after {
    background-color: #fff;
}



@media(max-width:1024px) {
    .side-menu {
        padding-left: 30px !important;
        overflow-x: auto;
    }
    .case-study-overview  p:empty {
        display: none;
    }
    article.container {
        width: 100%;
        max-width: calc(100% - 60px);
        margin: 30px 30px;
        padding: 0 15px;
    }
    .screen-full {
        width: calc(100vw - 90px);
        margin: 60px 0 60px 0px;
    }
}
@media(max-width:900px) { 
    .case-study-overview .row.case-study-row {
        flex-direction: column-reverse;
    }
    .case-study-overview .row.case-study-row .col-2 {
        width: 100%;
    }
    .case-study-img img { 
        max-height: 300px;
    }
    .inner-menu.container { 
        margin-bottom: 30px;
    }
    .section-article.screen-full {
        padding: 0px 30px 0px 30px;
    }
    .screen-full {
        width: 100%;
        margin: 45px 0 45px -30px;
    }
    .case-study-overview p {
        margin: 5px 0;
    }
    .screen-full.with-paddings {
        padding: 30px 30px 0 30px;
    }
}
@media(max-width:760px) { 
    .side-menu {
        padding-left: 15px !important;
    }
    article.container {
        width: 100%;
        max-width: calc(100% - 30px);
        margin: 30px auto;
        padding: 0;
    }
    .section-article.screen-full {
        padding: 0px 15px 0px 0px;
        width: calc(100vw - 30px);
        margin: 30px 0 30px 0px;
    }
    .pseudo-table {
        padding: 15px 15px 0;
    }
    article .h3.pseudo-table-title {
        margin-left: 15px;
        margin-bottom: 15px;
        font-size: 18px;
    }
    .section-article.screen-full.with-grey-bg .h2 {
        margin-bottom: 0;
    }
    .screen-full.with-paddings {
        padding: 15px 15px 0 15px;
    }
    .design-section {
        margin-top: 45px;
    }
    .section-article.screen-full > .swiper {
        padding-left: 15px;
    }
}

@media(min-width:900px) and (max-width:1200px) {
    aside {
        width: 200px;
    }

}
@media(max-width:900px) {

    aside {
        width: calc(100% - 90px); 
        box-shadow: 0 0 90px 90px rgba(255,255,255,0); 
        right: calc(-100% - 60px);

    } 
    .scrolled aside {
        right: calc(-100% - 60px);
    }
    .aside-active aside{
        right: 0;
    }
    .aside-active .fa-bars {
        opacity: 0;
    }
    .aside-active .fa-xmark {
        opacity: 1;
    }
    .aside-nav {
        z-index: 999999999999;
        top: -50px;
        right: 15px;
        position: fixed;
        font-size: 30px;
        border: 2px solid #0C0216;
        background: #fff;
        width: 41px;
        height: 37px;
        transition: 0.2s linear all;
    }
    .scrolled .aside-nav {
        top:15px;
    }
    .screen-full {
        margin-left: 0px;
    }
    .aside-nav i {
        position: absolute;
        top:50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .fa-xmark { opacity: 0;}
    .content:not(.upper) .screen-full {
        width: calc(100vw - 0px);
        margin-left: -30px;
    }
 
    .video-responsive {
        width: 100%;
        height: auto;
        margin-left: 0px;
    }
}
@media(max-width:720px) { 
    article .row {
        gap:15px;
        flex-direction: column;
    }
    .col-3,
    .col-2 {
        min-width: 100%;
    }
 
    article .h1 { 
        line-height: 42px;
    }
    ul.t-col-3 {
        column-count: 1;
    }
}


aside {
    display: none; 
}
@media(min-width:900px) {
    .aside-nav {
        display: none;
    }
}
	
/*Blog*/
.featured-case-studies.articles .case-study-text-h2{
    margin: 0; 
    width: 100%;
    text-transform
} 
.featured-case-studies.articles .case-study-img-text {
    display: block;
    padding: 30px;
    text-align: left;
    width: 100%;
}
.featured-case-studies.articles .case-study-img-text::after {
    content: '🡥';
    transition: all 0.2s ease ;
    display: inline-block;
    opacity: 0;
    transform: translateX(-10px);
}
.featured-case-studies.articles .case-study-img-text:hover::after {
    opacity: 1;
    transform: translateX(0px);
}
article.container.articles {
    max-width: 900px;
    margin: 0 auto;
}
article.container.articles  .case-study-text-h2 {
    font-style: normal;
    font-weight: 300;
    font-size: 46px;
    text-align: center;} 

    .code-wrapper {
        background: #0c02160f;
        color: #000;
        padding: 0 30px 15px 30px;
        max-width: 800px;
        margin: 30px 0;
    }

.container.text {
    max-width: 900px;
}
.container.text p {
    font-size: 20px;
    line-height: 170%an;
}
