/* (-------------------========-------------------) */

/* Element CTTM - aktualizacja 06.01.2020 */
/* Kaskadowy arkusz stylów - STYLE.CSS */
/* Podstawowy arkusz stylów - portfolio */
/* COPYRIGHT CTTM © Wszelkie prawa zastrzeżone. */

/* (-------------------========-------------------) */

:root{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
}

body{
    margin: 0;
    background : #F8F8F8;
}

a{
    text-decoration: none;
    cursor: pointer;
}

.wrap{
    position: relative;
    transition: background 1s ease-in-out;
    background: #0E0E0F;

    /* height: 100vh; */
    --bg-opacity: 1;
}

h2{
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 500;
    text-align: left;
    color: #23242B;
    margin: 0;
}

h3{
    font-weight: 400;
    font-size: 30px;
    margin: 0;
    color: #5B5E68;
}

h4{
    font-weight: 400;
    font-size: 18px;
    margin: 0;
    color: #23242B;
}

h4.blue{
    color: #1c62ef;
    font-weight: 500;
    font-size: 18px;
    margin-top: 2px;
}

h3.strong{
    color: #000;
    font-size: 28px;
    letter-spacing: -0.3px;
}

input:not(.g-recaptcha),textarea{
    display: block;
    font-family: 'Poppins', sans-serif;
    white-space: pre;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 400;
    color: #5B5E68;
    background: #fff;
    margin: 0;
    padding: 16px 26px;
    border-radius: 10px;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.12);
    width: 260px;
    margin-top: 40px;
}

input:not(.g-recaptcha),textarea::placeholder{
    color: #5B5E68;
}

input:first-child{
    margin-top: 0;
}

textarea{
    resize: none;
    width: 100% !important;
    height: 140px;
    white-space: normal;
    word-break: break-word;
}

button{
    display: block;
    width: fit-content;
    border: none;
    outline: none;
    background: #1958D7;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    padding: 16px 74px;
    border-radius: 50px;
    box-shadow: 0px 3px 6px rgba(25, 88, 215, 0.5);
    cursor: pointer;
    margin-top: 50px;
    user-select: none;
}

button.nomargin{
    margin-top: 0;
}

.mobile-close,.nav-container nav.mobile-nav{
    display: none;
    width: 0;
}

span.details{
    display: block;
    margin-top: 40px;
    font-weight: 400;
    color: #000;
    font-size: 14px;
    letter-spacing: -0.2px;
}

.nav-container{
    position: fixed;
    display: flex;
    flex-direction: row;
    height: 100px;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    justify-content: center;
}

.nav-container.active {
    background: #0e0e0f;
    box-shadow: 0px 2px 20px 0px rgba(14, 14, 15, 0.5);
}

nav.navi{
    display: flex;
    flex-direction: row;
    height: 100px;
    transition: all 0.2s ease-in-out;
    z-index: 100;
    align-items: center;
    width: 680px;
    justify-content: center;
}

nav.navi img {
    height: 30px;
    width: auto;
    padding: 16px 50px;
}

nav.navi a {
    display: block;
    color: #c7c7c7;
    width: auto;
    font-size: 15px;
    font-weight: 400;
    padding: 16px 32px;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    position: relative;
    user-select: none;
}

/* nav.navi a:after {    
    content: "";
    display: block;
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    height: 4px;
    left: 50%;
    position: absolute;
    background: #36383e;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

nav.navi a:hover:after { 
    width: 100%; 
    left: 0; 
} */

.cardpoint{
    position: relative;
}

.cardpoint::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(14, 14, 15);
    box-shadow: 0px 0px 20px 0px rgba(11, 11, 12, 0.2);
    padding: 3rem 0;
    z-index: 0;
    transform: skewY(4deg);
}

.cardpoint.lightblue::before{
    background: #DBE5F2;
}

.cardpoint.lightgray::before{
    background: #F8F8F8;
}

.cardpoint.topfix{
    margin-top: 90px;
}

div.topfix-padding{
    padding-top: 90px;
}

.cardpoint.overlay-top::before{
    transform: translateY(-100px) skewY(4deg);
    z-index: 2;
    padding-bottom: 148px;
}

div.landing-bg{
    position: absolute;
    z-index: 1;
    height: 720px;
    right: 0;
    bottom: 0;
    transform: translate(0px, 60px);
}

div.landing-bg img{
    height: 100%;
    width: auto;
}

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100vh;
    z-index: 2;
}

.centered.fit {
    height: auto;
}

.landing{
    width: 1200px;
    z-index: 2;
}

.landing.relative{
    position: relative;
    z-index: 3;
    text-align: left;
}

.landing.slim{
    width: 700px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
}

.head-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    z-index: 2;
    color: #fff;
    text-align: left;
}

.head-content h1{
    text-align: center;
    letter-spacing: 2px;
    font-size: 2.4rem;
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 2;
    width: fit-content;
}

.head-content h2{
    font-size: 1.2rem;
    font-weight: 500;
    color: #879fd5;
    margin-top: 20px;
    margin-bottom: 40px;
    letter-spacing: 0.4px;
}

div.button{
    display: block;
    width: fit-content;
    padding: 18px 56px;
    background: #1958D7;
    border-radius: 36px;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 0.06px;
    user-select: none;
}

div.button.landing-btn{
    background: linear-gradient(45deg, #1144ac, #1958d7);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s linear;
}

div.button.landing-btn:not(.secondary):hover{
    box-shadow: 0 0 10px 10px rgb(86 122 193 / 20%);
}

div.button.landing-btn.secondary{
    border: solid 2px #1958d7;
    box-sizing: border-box;
    background: unset;
    background-color: transparent;
    margin-top: 20px;
    transition: background-color 0.15s linear;
}

div.button.landing-btn.secondary:hover{
    background-color: rgb(38 74 149 / 50%);
}

.wrap.second:before{
    background: url('img/background.png');
}

.example-holder{
    margin: 40px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.example{
    padding: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    box-shadow: 0px 4px 10px #1c62ef26;
    margin-left: 40px;
}

.example:first-child{
    margin-left: 0;
}

.example img{
    width: 40px;
    height: 40px;
    object-fit: fill;
}

.examples-name{
    margin: 0;
    margin-left: 60px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    color: #88A8D2;
}

.skew-content{
    padding: 100px 0;
}

h2.slim{
    text-align: center;
    font-weight: 400;
    color: #685B5B;
}

h2.slim.strong{
    color: #000;
    font-size: 26px;
}

h2 strong{
    color: #1c62ef;
    font-weight: 900;
}

.split-resize{
    position: relative;
    z-index: 3;
    text-align: left;
    margin-top: 60px;
    display: flex;
    max-width: 1300px;
}

.split{
    flex: 1;
}

.split.first{
    margin-right: 40px;
}

.split.second{
    margin-left: 40px;
}

.split.image{
    background: url('../img/dev_graphic.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.split.row{
    flex-direction: row;
    justify-content: space-around;
}

.contact{
    background: #FFFFFF;
}

.reach-banner{
    background: linear-gradient(30deg, #B5CEEE, #DBE5F2);
    padding: 80px 0;
}

h2.reach{
    text-align: left;
    color: #161617;
    font-size: 30px;
}

h2.reach b{
    font-weight: 500;
}

.split-resize.reach{
    margin-top: 0;
    width: 1200px;
    align-items: center;
}

.reach-link{
    font-weight: 400;
    font-size: 18px;
    color: #1958d7;
    cursor: pointer;
    user-select: none;
}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: fit-content;
}

.footer-links{
    width: 600px;
    display: flex;
    align-items: center;
    padding: 50px 0;
    justify-content: space-evenly;
    border-bottom: solid 1px #202024;
}

.footer-links img{
    width: 30px;
    margin-right: 80px;
}

.footer-links a{
    text-transform: uppercase;
    color: #A09FAA;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    user-select: none;
}

.footer-copy{
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.footer-copy span{
    color: #5B5E68;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.show-details{
    position: absolute;
    bottom: 20%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.show-details span{
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.show-details img{
    width: 26px;
    height: auto;
    margin-top: 10px;
}

@media screen and (max-width: 1500px) {
    div.landing-bg{
        height: 620px;
    }
}

@media screen and (max-width: 1250px) {
    .landing,.split-resize.reach {
        width: 100%;
    }
    div.landing-bg{
        height: 460px;
        transform: translate(0px, -20px);
    }
    .head-content h1{
        font-size: 2rem;
    }
    .head-content h2{
        font-size: 1rem;
    }
    div.button.landing-btn{
        padding: 16px 38px;
        font-size: 14px;
    }
    div.button.landing-btn.secondary{
        box-sizing: content-box;
    }
}

@media screen and (max-height: 660px) {
    .head-content h2{
        margin-bottom: 40px;
    }
}

@media screen and (max-height: 600px) {
    .show-details span{
        font-size: 12px;
    }
    .show-details img{
        width: 18px;
    }
    .cardpoint.overlay-top::before{
        transform: translateY(-60px) skewY(4deg);
    }
    .show-details{
        bottom: 18%;
    }
    div.landing-bg {
        height: 400px;
        transform: translate(0px, 40px);
    }
    .head-content h1{
        font-size: 1.6rem;
    }
    .head-content h2{
        font-size: 0.9rem;
        margin-top: 10px;
        margin-bottom: 30px;
    }
    div.button.landing-btn{
        padding: 12px 12px;
        font-size: 12px;
    }
    div.button.landing-btn.secondary{
        box-sizing: content-box;
    }
}

@media screen and (max-width: 550px) {
    div.head-content h1{
        font-size: 1.4rem;
        font-weight: 500;
        width: 100%;
    }
    div.head-content h2{
        font-size: 1rem;
    }
}

@media screen and (max-width: 960px) {
    .cardpoint.overlay-top::before{
        transform: translateY(-60px) skewY(4deg);
    }
    .show-details{
        bottom: 14%;
    }
    .mobile-close{
        display: block;
        width: fit-content;
    }
    nav.navi.head .mobile-close img{
        display: block;
        height: 16px;
        width: auto;
        padding: 14px;
    }
    .nav-container nav.mobile-nav{
        display: flex;
        width: fit-content;
        width: 100%;
        flex-wrap: wrap;
        height: fit-content;
        justify-content: space-between;
        padding: 10px 0;
    }
    nav.mobile-nav .mobile-expand{
        height: 16px;
    }
    .example-holder {
        flex-wrap: wrap-reverse;
        justify-content: center;
    }
    .landing.slim{
        width: 100%;
    }
    .example:first-child {
        margin-left: 20px;
    }
    .example {
        margin: 20px;
    }
    .examples-name{
        margin: 0;
        width: 100%;
        text-align: center;
    }
    .split-resize.reach{
        flex-direction: column;
    }
    .landing-bg{
        display: none;
    }
    .head-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .head-content h1{
        font-size: 2rem;
        font-weight: 500;
        width: 420px;
    }
    .head-content h2{
        font-size: 1.2rem;
    }
    .button{
        font-size: 14px;
        padding: 16px 40px;
    }
    .head-content .button{
        box-shadow: 2px 2px 12px #121213;
        font-size: 15px;
        padding: 16px 42px;
    }
    .footer-links{
        flex-wrap: wrap;
        width: 100%;
    }
    .footer-links img{
        display: block;
        margin: 0;
        height: 30px;
        width: 100%;
        object-fit: contain;
        margin-bottom: 20px;
    }
    .footer-copy span{
        font-size: 14px;
    }
    h2.reach{
        display: block;
        padding: 0 40px;
        margin-bottom: 40px;
    }
    button.nomargin{
        margin-top: 20px;
    }
    .split-resize,.split-resize.reach .split.centered.fit.row{
        flex-direction: column;
    }
    .split.image{
        flex: 1;
        display: block;
        min-height: 150px;
        width: auto;
        margin: auto 0;
    }
    .split.second{
        margin: 0 40px;
        margin-top: 40px;
    }
    h2:not(.slim){
        padding: 0 40px;
    }
    .nav-container{
        height: fit-content;
    }
    nav.navi.head{
        display: none;
    }
    nav.navi.head.shown{
    /* nav.navi.head{ */
        width: 100%;
        flex-wrap: wrap;
        height: fit-content;
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        z-index: 1000;
        width: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        background: #000;
        padding: 20px;
        box-sizing: border-box;
    }
    nav.navi.head img{
        display: none;
        width: 0;
    }
    nav.navi a{
        padding: 10px 14px;
        font-size: 16px;
        color: #dbdbdb;
    }
    div.landing-bg{
        height: 300px;
        transform: translate(0px, -20px);
    }
    .contact .skew-content .centered.fit:nth-child(2){
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    input,textarea{
        width: 100%;
        box-sizing: border-box;
    }
    body{
        background: #0e0e0f;
    }
}

.fullscreen-modal a{
    text-decoration: none;
    cursor: pointer;
}

.fullscreen-modal{
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes modalBg {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.fullscreen-modal:before{
    content: '';
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: 0.5s ease-in-out 0s 1 modalBg;
}

.f-modal-box{
    width: 480px;
    background: #fff;
    border-radius: 4px;
    z-index: 1001;
}

.f-modal-box > .title{
    box-shadow: 0px 4px 16px -6px #aaa;
    padding: 1rem 2rem;
}

.f-modal-box > .title > h1{
    margin: 0.5rem 1rem;
    font-size: 24px;
    color: rgb(41, 39, 49);
    font-weight: 500;
}

.f-modal-box > .text{
    margin-top: 2rem;
}

.f-modal-box > .text > .desc{
    font-size: 16px;
    margin: 1rem 3rem;
    font-weight: 400;
    color: #242424;
}

.f-modal-box > .text > .fix{
    text-align: justify;
    color: #828282;
    margin: 1rem 3rem;
    font-size: 14px;
    font-weight: 400;
}

.f-modal-box > .action{
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.f-modal-box > .action > .button{
    width: fit-content;
    padding: 1rem 3rem;
    border-radius: 2rem;
    border: solid 2px #1f4fff;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.f-modal-box > .action > .button:hover{
    background-color: #1f4fff;
    color: #fff;
}

.description-invalid{
    font-size: 14px;
    padding: 10px 20px;
    color: #f88383;
}

.invalid{
    box-shadow: 0px 3px 12px rgb(197 43 43 / 12%);
}

.g-recaptcha{
    margin-top: 40px;
}

.landing .g-recaptcha{
    box-shadow: none;
}