:root{
    --h1TextSize: 2.4em;
    --h2TextSize: 1.8em;
    --h3TextSize: 1.4em;
    --h4TextSize: 1.2em;
    --h5TextSize: 1em;
    --h6TextSize: 0.8em;
    --pTextSize: 1em;

    --globalFontSize : 18px;


    --globalSectionWidth : 1300px;

    --color-bg-A1 : #f5f5f5;
    --color-bg-A2 : #ededed;
    --color-txt-A1 : #474747;
    --color-txt-A2 : #000000;
    --color-usr-A : #A62626;
    
    --color-bg-B1 : #e7e7e7;
    --color-bg-B2 : #dfdfdf;
    --color-txt-B : #e0e0e0;
    --color-usr-B : #A62626;

}

*{
    position: relative;
    box-sizing: border-box;
}

@font-face {
    font-family: 'PoltawskiNowy';
    src: url('fonts/PoltawskiNowy-VariableFont_wght.ttf');
}
@font-face {
    font-family: 'figtree';
    src: url('fonts/Figtree-VariableFont_wght.ttf');
}
@font-face {
    font-family: 'figtree';
    src: url('fonts/Figtree-Italic-VariableFont_wght.ttf');
    font-style: italic;
}

html,
body{
    margin: 0;
    font-size: var(--globalFontSize);
    background-color: var(--color-bg-A1);
    color: var(--color-txt-A1);
    font-family: 'figtree';
}

h1 { font-size: var(--h1TextSize); font-weight: normal; }
h2 { font-size: var(--h2TextSize); font-weight: normal; }
h3 { font-size: var(--h3TextSize); font-weight: normal; }
h4 { font-size: var(--h4TextSize); font-weight: normal; }
h5 { font-size: var(--h5TextSize); font-weight: normal; }
h6, .h6-fs { font-size: var(--h6TextSize); font-weight: normal; }
p { font-size: var(--pTextSize); }
small { font-size: calc(var(--pTextSize) / 1.5); }


h1,h2,h3,h4,h5,h6{
    color: var(--color-txt-A2);
}


/* Global Reuse START*/
.text-center{
    text-align: center;
}
.text-right{
    text-align: right;
}
.list-none{
    padding: 0;
    list-style: none;
}
/* Global Reuse END */



hr{
    border: none;
    border-color: var(--color-txt-A1);
    opacity: 0.3;
    border-top: 1px solid;
    margin: 20px 0;
}

/* Link Buttons START */
a{
    text-decoration: none;
    color: inherit;
}

[class*="btn-"]{
    font-size: var(--h6TextSize);
    display: inline-block;
    padding: 10px 20px;
    text-transform: uppercase;
    border: unset;
    font-family: inherit;
    cursor: pointer;
    transition: filter 0.5s, transform 0.5s;
}
.btn-1{
    background: var(--color-bg-B1);
    color: var(--color-txt-A1);
}
.btn-2{
    background: var(--color-usr-A);
    color: var(--color-txt-B);
}
.btn-1:hover{
    filter: brightness(0.6);
}
.btn-2:hover{
    filter: brightness(1.4);
}
[class*="btn-"]:hover{
    transform: translateY(-2px);
}
[class*="btn-"]:focus{
    transform: scale(0.95);
    transition-duration: 0.2s;
}
/* Link Buttons END */

img{
    width: 100%;
}

/* NAV START --------------- */
nav{
    height: 100px; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    left: 0; 
    z-index: 50;
}

.logo-container img{
    width: auto;
    max-width: 150px;
    display: block;
}

nav .row,
nav [class*="col-"]{
    display: flex;
    height: 100%;
    align-items: center;
}

nav .menu{
    margin-left: auto;
}

.navigation,
.navigation.loaded{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    align-items: center;
    background: var(--color-bg-A1);
    transition: transform 0.5s;
    transition-delay: 0.5s;
}

.navigation-closer{
    position: absolute;
    top: 10px;
    right: 10px;
}

/* LOADER --------------- */
.loader{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: transform 0.5s;
}

.loading-anim {
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 10px solid #ffffff;
  transition: opacity 0.5s;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}
@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{ 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}


.nav-links{
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}
.nav-links li{
    font-size: var(--h3TextSize);
    padding: 0 15px;
}
.nav-links a{
    transition: color 0.5s;
    padding: 10px 0;
}
.nav-links a:hover{
    color: var(--color-usr-A);
}
.nav-links a.active{
    color: var(--color-usr-A);
    border-bottom: 2px solid var(--color-usr-A);
}

.navigation,
.navigation.opened,
.navigation.navigated{
    transition-delay: 0s;
    transform: none;
}

.navigation.opened .loader{
    transition-delay: 0.5s;
    transform: translateX(-100%);
}
.navigation.opened .loader > div,
.navigation.loaded .loader > div{
    opacity: 0;
}

.navigation.navigated .loader{
    transition-delay: 0s;
    transform: none;
}

.navigation.navigated .loader > div{
    transition-delay: 0.5s;
    opacity: 1 !important;
}
/* NAV END --------------- */


header,
main{
    height: 100vh;
    display: flex;
}
header > .row,
main > .row{
    width: 100%;
}

header [class*="col-"],
main > .row > [class*="col-"]{
    padding: 0;
    display: flex;
    align-items: center;
}

.media{
    height: 100%;
}
.media img,
video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-title{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}
.page-title > div{
    margin: 50px;
    margin-top: 0;
    text-align: center;
    padding: 30px;
    background-color: var(--color-bg-A1);
}
.crumbs{
    margin-top: 10px;
}
.crumbs a::after{
    display: inline-block;
    font-family: "Font Awesome 7 Free";
    content: "\f054";
    font-weight: bold;
    margin-left: 5px;
    transform: scale(0.7) translateY(2px);
}
.crumbs a:last-child{
    color: var(--color-usr-A);
    pointer-events: none;
}
.crumbs a:last-child::after{
    display: none;
}
.page-title span{
    font-size: var(--h1TextSize);
    font-family: 'PoltawskiNowy';
}

[class*="media-slider-"]{
    width: 100%;
    height: 100%;
    overflow: hidden;
}
[class*="media-slider-"] img{
    object-fit: cover;
    object-position: top;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}
[class*="media-slider-"] img.active{
    opacity: 1;
    z-index: 1;
}

.media-navigator{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    z-index: 10;
}
.media-navigator i{
    margin: 5px;
    background: var(--color-usr-A);
    color: var(--color-txt-B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h4TextSize);
    width: calc(var(--h4TextSize) * 1.5);
    height: calc(var(--h4TextSize) * 1.5);
    cursor: pointer;
}

.media-slider-1 img{
    animation: mediaSlider1-deact 1s;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
}
.media-slider-1 img.active{
    animation: mediaSlider1-act 1s;
    clip-path: none;
}

@keyframes mediaSlider1-deact {
    0%{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        z-index: 1;
    }
    100%{
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
        z-index: 1;
    }
}
@keyframes mediaSlider1-act {
    0%{
        transform: translateY(-100px) scaleY(1.1);
        z-index: 0;
    }
    100%{
        transform: none;
        z-index: 0;
    }
}

.media-slider-2 img{
    animation: mediaSlider2-deact 1s;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
}
.media-slider-2 img.active{
    animation: mediaSlider2-act 1s;
    clip-path: none;
}

@keyframes mediaSlider2-deact {
    0%{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        z-index: 1;
    }
    100%{
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        z-index: 1;
    }
}
@keyframes mediaSlider2-act {
    0%{
        transform: translateY(100px) scaleY(1.1);
        z-index: 0;
    }
    100%{
        transform: none;
        z-index: 0;
    }
}


header .content-container .content{
    margin: auto;
}

header .content-title .title{
    font-size: calc(var(--h1TextSize) * 1.3);
    margin-bottom: 20px;
}

.content-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    max-height: 100vh;
    overflow: auto;
    opacity: 0;
    transition: opacity 1s;
    transition-delay: 1s;
}
.content-container.loaded{
    opacity: 1;
}

section{
    width: 100%;
    margin-top: 150px;
    margin: auto;
}

.content{
    max-width: 1000px;
    padding: 0 60px;
    margin: 120px auto;
}

.content [class*="col-"]{
    display: block;
}

.content-title .title{
    font-family: 'PoltawskiNowy';
    font-size: var(--h1TextSize);
    font-weight: normal;
    margin-top: 15px;
}
.content-title .eyebrow{
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-usr-A);
}
.bg-dark .content-title .eyebrow{
    color: var(--color-txt-B);
}

.text-center [class*="col-"]{
    justify-content: center;
}

.content.half-padded{
    padding: 0 60px;
    margin: 40px auto;
}

.skillbar{
    margin: 15px 0 ;
}

.skillbarhead{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skillbarbar{
    width: 100%;
    height: 10px;
    background: var(--color-bg-B2);
}

.skillbaramount{
    width: 0%;
    height: 100%;
    background-image: linear-gradient(90deg, var(--color-txt-A1) 50%, transparent 60%, var(--color-txt-A1) 70%);
    background-size: 200%;
    opacity: 0.5;
    animation: skillbarshine 8s infinite;
}

@keyframes skillbarshine {
    0%,25%{background-position-x: 0%;}
    75%{background-position-x: -200%;}
    75.1%{background-position-x: 0%;}
    100%{background-position-x: 0%;}
}
.timeline-card{
    margin-bottom: 60px;
    padding: 10px 0 10px 30px;
}
.timeline-card span:first-child{
    background-color: var(--color-bg-A2);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}
.bg-alt .timeline-card span:first-child{
    background-color: var(--color-bg-A1);
}
.timeline-card h3{
    text-transform: capitalize;
    margin: 10px 0;
}

.timelindesng{
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--color-txt-A1);
}

.timelindesng::before,
.timelindesng::after{
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    border-radius: 50%;
    transform: translateX(-50%);
    background-color: var(--color-txt-A1);
}

.timelindesng::after{
    top: 0;
}

.timelindesng::before{
    bottom: 0;
}

.feature-card{
    margin: 30px 0;
    display: flex;
}
.feature-card span{
    width: 54px;
}
.feature-card svg{
    width: 100%;
    height: auto;
}
.feature-card h4{
    margin-top: 0;
    margin-bottom: 0;
}
.feature-card p{
    margin-top: 10px;
}
.feature-card div{
    padding: 0 30px;
    width: calc(100% - 54px);
}

.projaward-card{
    margin: 15px;
    box-shadow: 0 0 17px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s;
    cursor: pointer;
}
.projaward-card.deact{
    opacity: 0;
}
.projaward-card img{
    height: 350px;
    object-fit: cover;
}
.projaward-detail{
    padding: 15px 20px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
}
.projaward-timeline{
    padding: 5px 10px;
    margin: 10px 0;
    border-radius: 50px;
    background-color: var(--color-bg-B1);
    text-align: center;
}
.projaward-detail > div span{
    display: block;
}
.projaward-detail a{
    width: calc(var(--h6TextSize) * 3);
    height: calc(var(--h6TextSize) * 3);
    font-size: var(--h5TextSize);
    background-color: var(--color-usr-B);
    margin-left: auto;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-txt-B);
}
.projaward-more-detail{
    display: none;
}
.projaward-category a{
    background-color: var(--color-bg-B1);
    padding: 5px 20px;
    border-radius: 50px;
    margin: 0 5px;
    display: inline-block;
}
.projaward-category a.active{
    background-color: var(--color-usr-A);
    color: var(--color-txt-B);
}

.projaward-gallery{
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--color-bg-A1);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
.projaward-gallery.active{
    opacity: 1;
    pointer-events: all;
}
.gallery-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-A2);
    font-size: var(--h4TextSize);
}
.gallery-count{
    padding: 10px;
    font-weight: bold;
}
.gallery-closer{
    padding: 10px;
    background: var(--color-usr-A);
    color: var(--color-txt-B);
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
}
.gallery-navigator{
    position: absolute;
    width: 100%;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    user-select: none;
    -moz-user-select: none;
}
.projaward-gallery .row{
    align-items: center;
    margin: auto;
    width: 100%;
    padding: 0 50px;
    padding-bottom: 60px;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.2s, opacity 0.2s;
}
.projaward-gallery .row.active{
    transform: none;
    opacity: 1;
}
.projaward-gallery .row [class*="col-"]{
    padding: 0 30px;
}
.projaward-gallery img{
    max-height: 80vh;
    object-fit: contain;
    object-position: right;
    filter: drop-shadow(0 0 17px rgba(0, 0, 0, 0.1));
}
.gallery-navigator i{
    background: var(--color-usr-A);
    color: var(--color-txt-B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h4TextSize);
    width: calc(var(--h4TextSize) * 1.5);
    height: calc(var(--h4TextSize) * 1.5);
    cursor: pointer;
}

.blog-container .blog-card:first-child{
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.blog-card{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.blog-timeline{
    padding: 5px 10px;
    margin: 10px 0;
    border-radius: 50px;
    background-color: var(--color-bg-A2);
}
.blog-thumbnail{
    padding-right: 25px;
    width: 40%;
    display: flex;
}
.blog-detail{
    width: 60%;
}
.blog-detail p{
    z-index: 1;
}
.blog-detail h3{
    margin-top: 10px;
    margin-bottom: 15px;
    color: var(--color-usr-A);
    z-index: -1;
}
.blog-detail a{
    color: var(--color-usr-A);
}
.blog-link{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.blog-card img{
    display: block;
    height: 220px;
    object-fit: cover;
    z-index: -1;
}

.blog-navigator{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-navigator i{
    cursor: pointer;
}
.blog-page{
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s;
}
.blog-page.active{
    position: relative;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: all;
}

.blog-comment-container > :nth-child(odd){
    background-color: var(--color-bg-A2);
}
.blog-comment-card{
    border-radius: 25px;
    padding: 15px;
    display: flex;
}
.blog-comment-media{
    width: 10%;
}
.blog-comment-media img{
    border-radius: 20px;
    aspect-ratio: 1;
    object-fit: cover;
}
.blog-comment-detail{
    padding-left: 15px;
    width: 90%;
}
.blog-comment-detail p{
    margin: 10px 0;
}

.text-split-container{
    display: flex;
    justify-content: space-between;
}

.map iframe{
    width: 100%;
}

input,textarea{
    width: 100%;
    display: block;
    padding: 15px;
    font-family: inherit;
    font-size: inherit;
    border: none;
    background-color: var(--color-bg-B1);
    color: var(--color-txt-A1);
}
input:focus,textarea:focus{
    outline: none;
}
.contact-form [class*="col-"]{
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form .row > :first-child{
    padding-right: 10px;
}
.contact-form .row > :last-child{
    padding-left: 10px;
}
.contact-form input{
    margin: 10px 0;
}
.contact-form textarea{
    height: calc(100% - 20px);
}
.contact-form .disclaimer{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-form.comment [class*="col-"]{
    padding: 5px 15px;
}
.contact-form textarea{
    min-height: 150px;
}
.contact-form.comment .disclaimer{
    padding: 0 15px;
}

.bg-dark{
    background: var(--color-bg-B2);
    color: var(--color-txt-B);
}
.bg-alt{
    background-color: var(--color-bg-A2);
}

.footer-home{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

[class*="footer"]{
    width: 100%;
    background: var(--color-bg-B1);
}
[class*="footer"] .copyright{
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--color-bg-B2);
}
[class*="footer"] li{
    margin: 10px 0;
}

.social-media a{
    width: calc(var(--h6TextSize) * 2.5);
    height: calc(var(--h6TextSize) * 2.5);
    font-size: var(--h6TextSize);
    background-color: var(--color-usr-B);
    margin: 0px 2px;
    border-radius: 50%;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-txt-B);
    transition: filter 0.5s;
}
.social-media a:hover{
    filter: brightness(1.2);
}


@media only screen and (max-width: 992px){
    header [class*="col-"]{
        flex-direction: column;
    }
    header .content-container{
        padding: 60px 0;
        padding-top: 30px;
    }
    .content-container{
        max-height: unset;
    }
    .content{
        padding: 0 40px;
    }
    .media{
        order: -1;
    }
    header,main{
        height: auto;
        min-height: calc(100vh - 65px);
    }
    .contact-form .row > :first-child,
    .contact-form .row > :last-child{
        padding: unset;
    }
    .contact-form textarea{
        margin-top: 10px;
        min-height: 130px;
    }
    .contact-form.comment [class*="col-"]{
        padding: unset;
    }
    .projaward-category a{
        margin: 5px;
    }
    nav{
        position: sticky;
        height: auto;
        background-color: var(--color-bg-A1);
    }
    .nav-links{
        display: block;
        max-height: 90vh;
        overflow-y: auto;
    }
    .nav-links li{
        padding-bottom: 20px;
    }
    nav .row, nav [class*="col-"]{
        padding-top: 0;
        padding-bottom: 0;
    }
    .footer-home{
        margin-top: auto;
        position: relative;
    }
    [class*="media-slider-"]{
        height: 600px;
    }
    .media{
        flex-direction: column;
        height: auto;
    }
    .media img,
    .media video{
        max-height: 600px;
    }
    .page-title .crumbs{
        margin: 0;
    }
    .page-title > div{
        margin: 20px;
        padding: 10px;
    }
    .page-title span{
        display: none;
    }
}
@media only screen and (max-width: 500px){
    .content{
        padding: 0 20px;
        margin: 60px 0;
    }
    :root{
        --globalFontSize : 16px;
    }
    .contact-form .disclaimer{
        text-align: center;
        flex-direction: column;
    }
    [class*="media-slider-"]{
        height: 300px;
    }
    .media{
        height: auto;
    }
    .media img,
    .media video{
        max-height: 300px;
    }
    .blog-navigator span{
        width: 50%;
    }
    .blog-thumbnail,
    .blog-detail{
        width: 100%;
    }
    .blog-thumbnail{
        padding: 0;
    }
    .blog-detail{
        padding: 10px;
        padding-top: 20px;
    }
    .projaward-card{
        margin: 0;
    }
    .projaward-gallery .row{
        padding: 0;
        overflow: auto;
    }
    .projaward-gallery .row [class*="col-"].detail{
        padding-top: 30px;
    }
    .logo-container img{
        max-width: 125px;
    }
}