* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: Roboto, sans-serif;
}

.clearfix::after {
    content: "";
    clear: both;
    display: block;
}

.wrapper {
    position: relative;
    background-image: url("img/sketch.jpeg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-color: rgba(255, 255, 255, .8);
    background-blend-mode: lighten;
    overflow: hidden;
}

@media(max-width:640px) {
    .wrapper {
        background-image: none;
        background-color: transparent;
    }
}

@media(max-width:960px) and (orientation:landscape) {
    .wrapper {
        background-image: none;
        background-color: transparent;
    }
}

.og-image img {
    display: none;

}

.og-image a {
    display: none;

}

.country {
    position: absolute;
    width: auto;
    top: 20px;
    left: 35px;
}

.country img {
    width: 25px;
    height: 20px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
}

/* navigation menu  */
header nav {
    height: 10vh;
    min-height: 50px;
    background-color: #262626;
    overflow: hidden;
}

nav ul {
    list-style: none;
}

ul.nav li a {
    font-size: 20px;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
}

ul.nav span {
    padding-left: 10px;
    text-transform: uppercase;
    font-size: 0px;
    transition: 0.3s linear;
}

.nav li i {
    transition: 0.3s linear;
}

.nav li:hover span,
.nav li:hover i {
    font-size: 15px;
    color: white;
}

ul.nav li {
    float: right;
    padding: 0 30px;
    font-size: 25px;
    letter-spacing: 5px;
    line-height: 10vh;

}

/* navigation menu active  */
ul.nav.active {
    position: fixed;
    top: 10vh;
    right: 0;
    z-index: 2;
}

ul.nav.active li {
    float: none;
    position: relative;
    right: -190px;
    padding: 0 30px;
    font-size: 25px;
    line-height: 10vh;
    margin-top: 10px;
    background-color: #262626;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .7);
    transition: 0.6s linear;
}

ul.nav.active li:hover {
    right: 0;
    color: white;
    cursor: pointer;
}

ul.nav.active span {
    padding-left: 30px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 15px;
}

.ham {
    display: none;
}

@media(max-width:1024px) {
    ul.nav.active li a {
        font-size: 15px;
    }

    ul.nav.active li {
        padding: 0 15px;
        font-size: 25px;
        line-height: 7vh;
    }
}


@media only screen and (max-width:960px) and (orientation:landscape),
(max-width:960px) and (orientation:portrait) {
    header {
        position: relative;
        height: 0;
    }

    .country {
        z-index: 999;
    }

    header nav {
        background-color: transparent;

    }

    ul.nav.active {
        top: 50vh;
        transform: translateY(-50%);
    }

    ul.nav li {
        float: none;
        position: absolute;
        right: -300px;
        padding: 0 25px;
        font-size: 25px;
        line-height: 9vh;
        letter-spacing: 5px;
        transition: 1.6s ease;
    }

    ul.nav.active li {
        background-color: #262626;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, .7);
        transition: 1s linear;
    }

    ul.nav.active span,
    ul.nav.active i {
        color: white;
        padding: 20px;
    }

    ul.nav.active li.members {
        animation: 0.7s slidein 1 both;
    }

    ul.nav.active li.clients {
        animation: 0.7s slidein 0.3s 1 both;
    }

    ul.nav.active li.gallery-click {
        animation: 1s slidein 0.6s 1 both;
    }

    @keyframes slidein {
        from {
            right: -300px;
        }

        to {
            right: 0;
        }
    }

    ul.nav.active span {

        display: inline-block;
        text-transform: uppercase;
        font-size: 15px;
    }

    .ham {
        display: block;
        position: fixed;
        top: 6vh;
        right: 3vh;
        padding: 0 15px;
        font-size: 35px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
        color: #262626;
        z-index: 999;
        transition: all 1.3s linear;
    }

    .fa-bars {
        display: none;
        line-height: 7vh;
    }

    .fa-bars.active {
        display: block;
    }

    .fa-times {
        display: none;
        line-height: 7vh;
    }

    .fa-times.active {
        display: block;
    }
}


@media only screen and (max-width:640px) {
    header {
        position: relative;
        height: 0;
    }

    header nav {
        background-color: transparent;

    }

    ul.nav li {
        float: none;
        position: absolute;
        padding: 0 30px;
        font-size: 25px;
        line-height: 10vh;
        margin-top: 10px;
        right: -300px;

        letter-spacing: 5px;
        transition: 1.6s ease;
    }

    ul.nav.active li {
        cursor: pointer;
        background-color: #262626;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, .7);
        transition: 1s linear;
    }

    ul.nav.active span,
    ul.nav.active i {
        color: white;
    }

    ul.nav.active li.members {
        animation: 0.7s slidein 1 both;
    }

    ul.nav.active li.clients {
        animation: 0.7s slidein 0.3s 1 both;
    }

    ul.nav.active li.gallery-click {
        animation: 1s slidein 0.6s 1 both;
    }

    @keyframes slidein {
        from {
            right: -300px;
        }

        to {
            right: 0;
        }
    }

    ul.nav.active span {
        padding-left: 30px;
        display: inline-block;
        text-transform: uppercase;
        font-size: 15px;
    }

    .ham {
        display: block;
        position: fixed;
        top: 2vh;
        right: 3vh;
        padding: 0 15px;
        font-size: 25px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
        color: #262626;
        z-index: 999;
        transition: all 1.3s linear;
    }

    .fa-bars {
        display: none;
        line-height: 7vh;
    }

    .fa-bars.active {
        display: block;
    }

    .fa-times {
        display: none;
        line-height: 7vh;
    }

    .fa-times.active {
        display: block;
    }
}


/* logo top  */
div.logo {
    position: absolute;
    left: 100px;
    top: 30px;
    animation: grow 1s ease;
    transition: 1.6s ease;
}

@keyframes grow {
    from {
        transform: scale(0);
    }

    to {
        transform: scale (1);
    }
}

div.logo img {
    width: 300px;
    border: 3px solid white;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, .7);
}

div.logo a {
    height: 100%;
}

@media only screen and (max-width:960px) and (orientation: landscape) {
    div.logo {
        left: 50vw;
        top: 50vh;
        transform: translate(-50%, -50%);
        animation: out-in 3s 1 2s forwards;

    }

    div.logo img {
        transform: scale(1);
    }

    @keyframes out-in {
        0% {
            left: 50vw;
            top: 50vh;
        }

        40% {
            left: -50vw;
            top: 50vh;
        }

        41% {
            left: -50vw;
            top: -50vh;
        }

        42% {
            left: -7vw;
            top: -50vh;
            transform: scale(0.4)
        }

        60% {
            left: -7vw;
            top: 9vh;
            transform: scale(0.4)
        }

        100% {
            left: -7vw;
            top: -17vh;
            transform: scale(0.4)
        }
    }
}

@media only screen and (max-width:960px) and (orientation: portrait) {
    div.logo {
        left: 50vw;
        top: 25vh;
        transform: translate(-50%, -50%);
        animation: out-in 3s 1 2s forwards;
    }

}

@media(max-width:640px) {
    div.logo {
        left: 50%;
        top: 20vh;
        transform: translateX(-50%);
        z-index: 1;
    }

    div.logo img {
        width: 80vw;
    }
}

/* logo top small */
div.logo.active {
    display: block;
    position: absolute;
    left: 100px;
    top: -150px;
    z-index: 2;

}

div.logo.active img {
    transform: scale(.4);
}

.front-img img {
    width: 100%;
    height: auto;
}

.front-img {
    width: 100%;
    height: auto;
    text-align: center;
}


@media only screen and (max-width:960px) and (orientation: landscape) {
    .front-img img {
        width: auto;
        height: 100%;
    }

    .front-img {
        width: 100vw;
        height: 100vh;
        text-align: center;
    }


}

@media only screen and (max-width:960px) and (orientation: portrait) {


    .front-img {
        margin-top: 60%;
    }


}

@media only screen and (max-width:640px) {
    .front-img img {
        width: 100vw;
        margin-top: 100vh;
        transform: translateY(-100%);
    }

    .front-img {
        width: 100%;
        height: 100vh;
        text-align: center;
        margin-top: 0;
        ;
    }


}


/* slogan  */
div.slogan {
    position: absolute;
    opacity: 0;
    top: 100vh;
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, .8);
    box-shadow: 0px 0px 8px rgba(0, 0, 0, .3);
    transition: 1.6s ease;
}

div.slogan.active {
    opacity: 1;
}

.slogan p {
    margin: 0 auto;
    line-height: 3rem;
    letter-spacing: 2px;
    font-size: 1.4rem;
    width: 70%;
    text-align: justify;
}

@media only screen and (max-width:960px) and (orientation: landscape) {
    div.slogan {
        position: static;
        opacity: 0;
        padding: 30px 20px;
        background-color: rgba(255, 255, 255, .8);
        box-shadow: 0px 0px 8px rgba(0, 0, 0, .3);
        transition: 1s ease;
    }

    div.slogan.active {
        opacity: 1;
    }

    .slogan p {
        margin: 0 auto;
        line-height: 3rem;
        letter-spacing: 2px;
        font-size: 1rem;
        width: 85%;
        text-align: justify;
    }

}

@media(max-width:1024px) {
    div.slogan {
        top: 70vh;
    }

    .slogan p {
        line-height: 3rem;
        font-size: 1.2rem;
        width: 80%;
    }
}


@media only screen and (max-width:640px) {
    div.slogan {
        position: static;
        opacity: 1;
        padding: 30px 20px;
        background-color: rgba(255, 255, 255, 1);
        box-shadow: none;
        transition: 1.6s ease;
    }

    div.slogan.active {
        opacity: 1;
    }

    .slogan p {
        line-height: 2.5rem;
        letter-spacing: 1px;
        font-size: 1.1rem;
        width: 90%;
        text-align: center;
    }
}

button.call-now,
.btn-call-now {
    position: absolute;
    right: 5vw;
    bottom: -10%;
    width: 350px;
    height: 80px;
    padding: 0px 10px;
    background-color: #d01144;
    color: #fff;
    font-size: 1.3rem;
    line-height: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    transition: .4s linear;
    animation: growbtn 1s linear infinite alternate;
    cursor: pointer;
}

div.btn-call {
    margin-top: 50px;
    width: 100%;
    padding: 0px 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: 1s linear;
}

div.btn-call.active {
    transform: translateY(0px);
    opacity: 1;
}

@media only screen and (max-width:640px) {
    div.btn-call.active {
        margin-top: 0;
    }
}

@media only screen and (max-width:640px)and (orientation: landscape) {
    div.btn {
        text-align: center;
    }
}

div.btn-call button.btn-call-now {
    position: static;
}

div.btn-bottom {
    margin-top: 10vh;
    margin-bottom: 10vh;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: 1s linear;
}

div.btn-bottom.active {
    opacity: 1;
}

div.btn-bottom button.call-now {
    position: static;
}

@keyframes growbtn {
    from {
        transform: scale(0.9);
    }

    to {
        transform: scale (1.1);
    }
}

button.call-now:hover,
.btn-call-now:hover {
    background-color: #fff;
    color: #000;
    border: 2px solid #262626;
    animation: none;
}

@media only screen and (max-width:960px) and (orientation: landscape) {

    button.call-now,
    .btn-call-now {
        position: static;
        width: 70vw;
        margin: 5vh;
        font-size: 1rem;
    }

    div.btn-bottom,
    div.btn {
        margin-top: 50px;
        width: 100%;
        text-align: center;
        opacity: 1;
        transition: 1s linear;
    }

}

@media only screen and (max-width:960px) and (orientation:portrait) {

    button.call-now,
    .btn-call-now {
        position: absolute;
        width: 40vw;
        bottom: -15%;
        font-size: 1rem;
    }
}

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

    button.call-now,
    .btn-call-now {
        position: static;
        width: 70vw;
        margin: 5vh;
        font-size: 1rem;
    }

    div.btn-bottom {
        margin-top: 50px;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: 1s linear;
    }

    div.btn-bottom.active {
        transform: translateY(0px);
        opacity: 1;
    }
}


/* popup call-now  */
.modal-wrap {
    position: absolute;
    display: none;
    z-index: 999;
}

.modal-wrap.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.out {
    position: absolute;
    top: 5%;
    right: 5%;
    z-index: 1000;
}

.out button {
    width: 30px;
    height: 30px;
    background-color: #fff;
    color: #000;
    border: none;
    box-shadow: 0px 0px 10px black;
    text-align: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-wrap.active .modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    width: 80%;
    height: 70%;
    padding: 20px;
    background-color: white;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, .7);
    z-index: 900;
}

.leftcol {
    width: 45%;
}

.rightcol {
    width: 45%;
}

@media(max-width:1280px) {
    .rightcol {
        width: 50%;
    }
}

label {
    display: block;
    margin: 8px;
}

input[type=text],
input[type=date],
input[type=time],
textarea {
    width: 90%;
    padding: 12px 20px;
    margin: 8px;
    display: block;
    border: 1px solid #ccc;
}

#fname,
#name,
#date,
#time {
    margin: 0;
}

#name,
#time,
#date {
    width: 100%;
}

.lname,
.time {
    text-align: right;
}

/* przycisk na modalu */
input[type=submit] {
    display: block;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%);
    width: 30%;
    margin: 0 auto;
    font-size: 0.8rem;
    line-height: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    transition: .4s linear;
    cursor: pointer;
    background-color: #fff;
    color: #000;
    border: 1px solid #262626;
}

#send_form_status p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 3%;
    color: saddlebrown;
    background-color: white;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, .7);
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 999;
    text-align: center;
    line-height: 2rem;

}

.return {
    display: none;
    position: fixed;
    bottom: 7vh;
    right: 3vh;
    padding: 0 15px;
    font-size: 25px;
    margin-top: 10px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
    z-index: 999;
    transition: all 1.3s linear;
}

.return a i {
    color: #262626;
}

div.return.active {
    display: block;
    font-size: 30px;
    line-height: 7vh;
}

@media(max-width:1280px) {
    input[type=submit] {
        bottom: -15%;
    }
}

input[type=submit]:hover {
    background-color: #d01144;
    color: #fff;
    border: none;
}

.demand {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 12px 20px;
    margin: 8px;
}

.demand div {
    flex-basis: 50%;
}


.demand label,
.demand input {
    display: inline-block;
}

@media(max-width:1024px) {
    .demand {
        font-size: 12px;
    }
}

h5 {
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
}

div.personal,
div.termin {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 8px;
}

.wrapper.blur {
    filter: blur(2px);
}

@media only screen and (max-width:960px)and (orientation: landscape) {
    div.return.active {
        display: block;
        font-size: 30px;
        line-height: 7vh;
    }

    .modal-wrap.active .modal {
        flex-direction: row;
        width: 90%;
        height: 37%;
        min-height: 350px;
        flex-shrink: 1;
        padding: 5px;
    }

    .modal label {
        font-size: 10px;
        margin: 3px;
    }

    input[type=submit] {
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        width: 40%
    }

    .demand {
        padding: 0;

    }

    .demand h5 {
        margin-bottom: 3px;
    }
}

@media only screen and (max-width:960px)and (orientation: portrait) {

    .modal-wrap.active .modal {
        height: 85%;
        max-height: 450px;
    }

    .modal label {
        font-size: 10px;
        margin: 2px;
    }

    .demand {
        padding: 0;
    }

    .demand h5 {
        margin-bottom: 5px;
    }
}

@media only screen and (max-width:640px) and (orientation:landscape) {
    .modal-wrap.active .modal {
        flex-direction: column;
        justify-content: space-around;
        width: 95%;
        height: 90%;
    }

    .leftcol {
        width: 100%;
    }

    .rightcol {
        width: 100%;
    }

    .modal label {
        font-size: 10px;
        margin: 1px;
    }

    input[type=text],
    input[type=date],
    input[type=time],
    textarea {
        width: 90%;
        padding: 6px 20px;
        margin: 4px;
    }

    div.personal,
    div.termin {

        margin: 0px;
    }

    #date,
    #time,
    #fname,
    #name {
        margin: 4px;
    }

    .demand {
        display: none;
    }

    .time {
        width: 40%;
    }

    .date {
        width: 50%;
    }

    input[type=submit] {
        bottom: -2%;
        width: 70%;
        font-size: 0.7rem;
        background-color: #d01144;
        color: #fff;
        border: none;
    }

    div.return.active {
        display: block;
    }
}

@media only screen and (max-width:640px) and (orientation:portrait) {
    .wrapper {
        width: 100%
    }

    .modal-wrap {
        position: absolute;
        display: none;
        z-index: 999;
    }

    .modal-wrap.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .5);
    }

    .modal-wrap.active .modal {
        flex-direction: column;
        justify-content: space-around;
        width: 95%;
        height: 90%;
    }

    .leftcol {
        width: 100%;
    }

    .rightcol {
        width: 100%;
    }

    .demand {
        display: none;
    }

    .time {
        width: 40%;
    }

    .date {
        width: 50%;
    }

    input[type=submit] {
        bottom: -2%;
        width: 70%;
        font-size: 0.7rem;
        background-color: #d01144;
        color: #fff;
        border: none;
    }

    div.return.active {
        display: block;
    }
}


/* cat */
h1 {
    font-size: 50px;
    text-align: center;
    margin: 200px 0px;
    color: #262626;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h1.work {
    margin: 100px 0px;
}

.categories {
    height: 20vh;
    width: 100%;
    background-color: #d01144;
    /* transform: scale(0); */
    box-shadow: 3px 3px 20px rgba(0, 0, 0, .3);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: space-around;
}


.categories li {
    flex-shrink: 1;
    list-style: none;
    height: 100%;
    flex-basis: 12%;
    padding: 30px 0px 30px 0px;
}

.categories a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 1;
    color: #e8e7e3;
    height: 100%;
    text-decoration: none;
}

.categories a span {
    flex-shrink: 1;
    color: #e8e7e3;
    width: 100%;
    margin-top: 30px;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    transition: .3s linear;
}

.categories li:hover span {
    transform: translateY(-160px) scale(2);
    z-index: 1;
    color: #d01144;
    font-weight: 700;
    letter-spacing: 2px;
}

.categories li:hover span.first {
    transform: translate(100px, -160px) scale(2);
    z-index: 1;
    color: #d01144;
    font-weight: 700;
    letter-spacing: 2px;
}

.categories li:hover span.last {
    transform: translate(-20px, -160px) scale(2);
    z-index: 1;
    color: #d01144;
    font-weight: 700;
    letter-spacing: 2px;
}

.categories i {
    flex-shrink: 1;
    font-size: 30px;
    transition: .3s linear;
    align-self: center;
    color: #e8e7e3;
}

.categories li:hover i {
    transform: translateY(20px) scale(2) rotate(45deg);
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

.quotes p {
    font-size: 12px;
    margin: 20px;
}

@media(max-width:1280px) {
    .quotes {
        margin-top: 80vh;
    }

    .categories {
        height: 40vh;
        flex-wrap: wrap;
        justify-content: center;
    }

    .categories li {
        height: 50%;
        flex-basis: 22%;
    }

    .categories a {
        height: 50%;


    }

    .categories li:hover span {
        transform: translateY(-160px) scale(2);
        z-index: 1;
        color: #d01144;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .categories li:hover span.first {
        transform: translate(200px, -160px) scale(2);
        z-index: 1;
        color: #d01144;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .categories li:nth-of-type(n+5):hover span {
        transform: translate(-20px, -300px) scale(2);
    }

    .categories li:hover span.last {
        transform: translate(-50px, -300px) scale(2);
    }
}

@media(max-width:960px) and (orientation:landscape) {
    .quotes {
        margin-top: 0;
    }

    h1 {
        font-size: 35px;
        margin: 60px 0px;
        letter-spacing: 3px;
    }

    .categories {
        height: auto;
        width: 100%;
        margin: 40px 0;
        padding: 20px 0px;
        box-shadow: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        background-color: rgba(0, 0, 0, .6);
    }

    .categories li {
        height: auto;
        padding: 0px 0px 0px 0px;
        margin-bottom: 10px;
    }

    .categories a {
        text-align: center;
        margin-top: 0%;
        transform: translateY(0%)
    }

    .categories a span {
        flex-shrink: 1;
        margin-top: 10px;
        font-size: 15px;
        letter-spacing: 2px;
        line-height: 35px;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
    }

    .categories li:hover span {
        transform: translateY(0px) scale(2);

    }

    .categories li:hover span.first {
        transform: translate(0px, 0px) scale(2);

    }

    .categories li:nth-of-type(n+5):hover span {
        transform: translate(0px, 0px) scale(2);
    }

    .categories li:hover span.last {
        transform: translate(-0px, 0px) scale(2);
    }

    .categories i {
        display: none;
    }

}

@media(max-width:960px) and (orientation:portrait) {
    .quotes {
        margin-top: 30vh;
    }

}

@media(max-width:640px) {
    .quotes {
        margin-top: 0;
    }

    h1 {
        font-size: 35px;
        margin: 20px 0px;
        letter-spacing: 3px;
    }

    h1.work {
        margin: 20px 0px;
    }

    .categories {
        height: auto;
        width: 100%;
        margin: 40px 0;
        padding: 20px 0px;
        box-shadow: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        background-color: rgba(0, 0, 0, .6);
    }

    .categories li {
        height: auto;
        padding: 0px 0px 0px 0px;
        margin-bottom: 10px;
    }

    .categories a {
        text-align: center;
        margin-top: 0%;
        transform: translateY(0%)
    }

    .categories a span {
        flex-shrink: 1;
        margin-top: 10px;
        font-size: 15px;
        letter-spacing: 2px;
        line-height: 35px;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
    }

    .categories li:hover span {
        transform: translateY(0px) scale(2);

    }

    .categories li:hover span.first {
        transform: translate(0px, 0px) scale(2);

    }

    .categories li:nth-of-type(n+5):hover span {
        transform: translate(0px, 0px) scale(2);
    }

    .categories li:hover span.last {
        transform: translate(-0px, 0px) scale(2);
    }

    .categories i {
        display: none;
    }
}


/* ABOUT */
.pencil,
.pencil3 {
    width: 100%;
    height: auto;
    /* background-color: #A7C2C2; */
    margin-top: 20vh;
}

.pencil img,
.pencil3 img {
    height: 110%;
    height: auto;
    float: right;
}

.pencil2 img,
.pencil4 img {
    height: 110%;
    float: left;

}

.pencil2 {
    width: 100%;
    height: auto;
    margin-top: 20vh;
    padding-bottom: 90px;
}

.pencil4 {
    width: 100%;
    height: auto;
    padding-bottom: 90px;
    margin-top: 20vh;
}

article,
div.op2 {
    color: #e8e7e3;
    letter-spacing: 1px;
    transition: .8s linear;
}

.art2,
.art4 {
    transform: translateX(-100vw);
    width: 60%;
    float: right;
    margin-left: -50%;
    text-align: justify;
    margin-top: 60px;
    margin-right: 60px;
    padding: 0 150px 60px 150px;
    opacity: 0;
    /* border: 6px solid #a69ea0; */
    background-color: rgba(38, 38, 38, .8);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    text-align: justify;
    color: #e8e7e3;
}

.art1,
.art3 {
    transform: translateX(100vw);
    width: 60%;
    float: left;
    margin-right: -50%;
    margin-top: 60px;
    margin-left: 60px;
    padding: 0 150px 60px 150px;
    opacity: 0;
    background-color: rgba(38, 38, 38, .8);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
    /* border: 6px solid #a69ea0; */
    text-align: justify;
    color: #e8e7e3;
}

.art1.active,
.art3.active {
    transform: translateX(0);
    opacity: 1;
}

.art2.active,
.art4.active {
    transform: translateX(0);
    opacity: 1;
}

.about h2 {
    padding-top: 30px;
    padding-bottom: 40px;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    font-weight: bold;
    margin: 20px auto 0px auto;
    color: #e8e7e3;
    /* border-bottom: 3px solid white; */
}

.about p {
    font-size: 18px;
    padding: 0 20px;
    line-height: 2;
}

@media(max-width:1280px) {
    .pencil3 {
        margin-top: 0;
    }

    .art2,
    .art4 {
        margin-left: -50%;
        margin-top: 60px;
        margin-right: 30px;
        padding: 0 90px 60px 90px;
        /* border: 6px solid #a69ea0; */

    }

    .art1,
    .art3 {
        margin-right: -50%;
        margin-top: 60px;
        margin-left: 30px;
        padding: 0 90px 60px 90px;
        /* border: 6px solid #a69ea0; */
    }
}

@media(max-width:1024px) {

    .pencil2 img,
    .pencil img,
    .pencil3 img,
    .pencil4 img {
        height: 50vh;
    }

    .art2,
    .art4,
    .art1,
    .art3 {
        padding: 0 60px 60px 60px;
        /* border: 6px solid #a69ea0; */
    }
}

@media(max-width:960px) {

    .pencil,
    .pencil3,
    .pencil2,
    .pencil4 {
        width: 100vw;
        height: auto;
        margin-top: 40px;
    }

    .pencil img,
    .pencil3 img,
    .pencil2 img,
    .pencil4 img {
        width: 100vw;
        height: auto;
        float: none;
    }

    article,
    div.op2,
    .about p {
        color: #e8e7e3;
        transition: .8s linear;
    }

    .art2,
    .art4,
    .art1,
    .art3 {
        transform: translateX(0);
        width: 100%;
        float: none;
        text-align: justify;
        padding: 10px 10px 30px 10px;
        opacity: 1;
        background-color: rgba(0, 0, 0, .7);
        box-shadow: 2px 2px 5px rgba(0, 0, 0, .3);
        text-align: left;

    }

    .art1.active,
    .art3.active,
    .art2.active,
    .art4.active {
        opacity: 1;
        margin: -20% 0 0 0;
    }

    .about h2 {
        padding: 10px;
        font-size: 60px;
        text-align: left;
        margin-top: 20px;

    }

    .about p {
        opacity: 0;
        font-size: 18px;
        padding: 0 10px;
        letter-spacing: 1px;
    }

    .about .active p {
        opacity: 1;
    }
}


@media(max-width:960px) and (orientation:landscape) {

    .pencil,
    .pencil3,
    .pencil2,
    .pencil4 {

        padding-bottom: 0;
    }

    .art2,
    .art4,
    .art1,
    .art3 {
        margin: -100px 0 0 0;
        padding: 10px 10px 30px 10px;
    }

    .art1.active,
    .art3.active,
    .art2.active,
    .art4.active {
        opacity: 1;
    }

    .about h2 {
        padding: 10px;
        font-size: 40px;
        text-align: left;
        margin-top: 20px;
        /* border-bottom: 3px solid white; */
    }

    .about p {
        font-size: 20px;
        padding: 0 10px;
    }
}

@media(max-width:640px) and (orientation:portrait) {

    .pencil,
    .pencil3,
    .pencil2,
    .pencil4 {
        padding-bottom: 0;
    }

    .art2,
    .art4,
    .art1,
    .art3 {
        margin: -100px 0 0 0;
        padding: 10px 10px 30px 10px;
    }

    .about h2 {

        font-size: 25px;
    }

}

/* road  */
div.road {
    position: relative;
    display: flex;
    background-color: #e8e7e3;
    overflow: hidden;
}

div.number {
    position: relative;
    height: 300px;
    width: 400px;
    background-color: #e8e7e3;
    /* overflow: hidden; */
    color: white;
    box-shadow: -10px 0px 15px rgba(0, 0, 0, .2);
    z-index: 0;
}

.left h3 {
    position: absolute;
    right: -10px;
    bottom: 20px;
    font-size: 200px;
    transform: scale(2.5);
}

.right h3 {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 200px;
    transform: scale(2.5);
}

div.text {
    position: relative;
    background-color: #e8e7e3;
    flex-grow: 1;
    box-shadow: -10px 0px 15px rgba(0, 0, 0, .2);

}

.line1,
.line2,
.line3 {
    position: absolute;
    transform: translateX(100vw);
    bottom: 0px;
    left: 130px;
    right: 0px;
    height: 3px;
    background-color: #d01144;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, .3); */
    z-index: 1;
    transition: 2s linear;
}

.line1.active,
.linel1.active,
.line2.active,
.linel2.active,
.line3.active,
.linel3.active {
    transform: translateX(0);
}

.linel1,
.linel2,
.linel3 {
    position: absolute;
    transform: translateX(-100vw);
    bottom: 0px;
    left: 0px;
    right: 130px;
    height: 3px;
    background-color: #d01144;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, .3); */
    z-index: 1;
    transition: 2s linear;
}

.right h2 {
    position: absolute;
    font-size: 50px;
    color: #262626;
    top: 200px;
    left: -50px;
}

.left h2 {
    position: absolute;
    font-size: 50px;
    color: #262626;
    top: 200px;
    right: -50px;
    z-index: 1;
}

.left p {
    font-size: 1.3rem;
    line-height: 2rem;
    letter-spacing: 2px;
    margin: 50px 100px 0 200px;
}

.right p {
    font-size: 1.3rem;
    line-height: 2rem;
    letter-spacing: 2px;
    margin: 50px 400px 0 100px;
}

.text p {
    opacity: 0;
    transition: 1s linear;
}

.text p.active {
    opacity: 1;
}

@media(max-width:1280px) {
    .left p {
        font-size: 1.1rem;
        line-height: 1.6rem;
        margin: 50px 100px 0 100px;
    }

    .right p {
        font-size: 1.1rem;
        margin: 50px 100px 0 100px;
        line-height: 1.6rem;
    }
}


@media(max-width:640px) {
    div.road {
        overflow: hidden;
    }

    div.number {
        width: 16vw;
        background-color: none;
        overflow: visible;
        box-shadow: none;
    }

    .left.number h3,
    .right.number h3 {
        z-index: 0;
        color: rgba(255, 255, 255, .5);
    }

    div.text {
        position: relative;
        width: 60%;
        background-color: transparent;
        flex-grow: 1;
        box-shadow: none;
        z-index: 1;
    }

    .line1,
    .line2,
    .line3 {
        position: absolute;
        transform: translateX(100vw);
        bottom: 0px;
        left: 130px;
        right: 0px;
        height: 3px;
        background-color: #d01144;
        /* box-shadow: 2px 2px 5px rgba(0, 0, 0, .3); */
        z-index: 1;
        transition: 2s linear;
    }

    .right h2 {
        position: static;
        font-size: 30px;
        margin: 10px auto 10px -20px;
        z-index: 2;
    }

    .left h2 {
        position: absolute;
        font-size: 30px;
        top: 10px;
        right: -20px;
        text-align: right;
        z-index: 2;
    }

    .left p {
        font-size: 0.8rem;
        margin: 66px 20px 20px 20px;
        z-index: 2;
    }

    .right p {
        font-size: 0.8rem;
        margin: 20px;
    }

    .text p {
        opacity: 1;
        transition: 1s linear;
        background-color: transparent;
    }

    .text p.active {
        opacity: 1;
    }
}

/* contact */
.contact {
    height: 25vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #e8e7e3;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, .7);
    overflow: hidden;
}


.col1 {
    width: 35%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 3vh 0;
    text-transform: uppercase;
    font-size: 15px;
    color: #e8e7e3;
    background-color: #515151;
    box-shadow: 2px 0 5px rgba(0, 0, 0, .7);
    line-height: 1.5rem;
    letter-spacing: 1px;
    z-index: 1;
    text-align: left;
    align-items: center;
}

.col1 div {
    margin-left: 10%;
}

.col1 a {
    position: relative;
    color: #e8e7e3;
    text-decoration: none;
    display: block;
    height: 25vh;
    margin-left: 2vw;
    text-align: center;
    transition: all 0.3s linear;
}

.col1 a:hover {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
}

.col1 i.fab {
    display: block;
    line-height: 25vh;
    font-size: 35px;
}

.col2,
.col3 {
    height: 100%;
    width: calc(65%/2);
    text-align: center;
}

.col2 a,
.col3 a {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-decoration: none;
    align-items: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
    transition: all 0.3s linear;
}

.contact a:hover {
    transform: scale(1.1);
}

.contact i.fas {
    display: block;
    color: #515151;
    font-size: 25px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .3);
}

.contact span {
    display: block;
    color: #515151;
    letter-spacing: 2px;
    font-size: 30px;
    margin-left: 10%;
}

@media(max-width:1260px) {
    .col1 {
        width: 50%;
    }

    .col2,
    .col3 {
        height: 50%;
        width: 50%;
    }

    .contact i.fas {
        font-size: 25px;
    }

    .contact span {
        font-size: 25px;
    }
}

@media(max-width:960px) {
    .contact {
        height: auto;
        margin-top: 10vh;
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .col1 {
        width: 100%;
        height: auto;
    }

    .col1 a {
        height: 100%;
        margin-left: 2vw;

    }

    .col1 i.fab {
        line-height: 15vh;
        font-size: 25px;
    }

    .col1 div {
        width: auto;
        margin-left: 10%;
    }

    .col2,
    .col3 {
        height: auto;
        width: 100%;
        padding: 3vh 0;
    }

    .col2 a,
    .col3 a {
        height: auto;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
    }

}

@media(max-width:640px) {
    .col1 div {
        font-size: 13px;
        margin-left: 10%;
    }

    .contact i.fab {
        font-size: 25px;
    }

}

@media(max-width:345px) {


    .contact i.fab {
        font-size: 25px;
    }

    .col1 div {
        margin-left: 5%;
    }

    .contact span {
        font-size: 18px;
    }
}

/* Footer */
footer {
    line-height: 8vh;
    background-color: #262626;
    text-align: center;
    color: white;
    font-size: 22px;
    letter-spacing: 2px;
    z-index: -1;
}

@media(max-width:960px) and (orientation:landscape) {
    footer {
        line-height: 10vh;
        background-color: #262626;
        font-size: 15px;
        letter-spacing: 1px;
    }
}

@media(max-width:640px) {
    footer {
        line-height: 40px;
        background-color: #262626;
        font-size: 15px;
        letter-spacing: 1px;
    }
}





/* gallery.html */
.types {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    /* background-color: rgba(43, 79, 83, 0.6); */
}

.types>div {
    width: 35%;
    height: 30vh;
    margin: 5%;
    transition: 0.4s ease;
    background-image: url(img/close-up-of-row-325876.jpg);
    background-size: cover;
    background-position: 10%;
}

.types>div:nth-child(2) {
    transition: 0.4s ease;
    background-image: url(img/szafki640x480.jpg);
    background-size: cover;
    background-position: 10%;
}

.types>div:nth-child(3) {
    transition: 0.4s ease;
    background-image: url(img/daszki.jpg);
    background-size: cover;
    background-position: 50% 100%;
}

.types>div:nth-child(4) {
    transition: 0.4s ease;
    background-image: url(img/water-kitchen-bubble-sink-87299.jpg);
    background-size: cover;
    background-position: center;
}

.types>div:nth-child(5) {
    transition: 0.4s ease;
    background-image: url(img/black-and-white-vanity-top-with-stainless-steel-faucet-145512.jpg);
    background-size: cover;
    background-position: 0 20%;
}

.types>div:nth-child(6) {
    transition: 0.4s ease;
    background-image: url(img/blue-sofa-2986011.jpg);
    background-size: cover;
    background-position: 30% 70%;
}

.types>div:nth-child(7) {
    transition: 0.4s ease;
    background-image: url(img/two-panel-painting-of-palm-plant-1374125.jpg);
    background-size: cover;
    background-position: center;
}

.types>div:nth-child(8) {
    transition: 0.4s ease;
    background-image: url(img/cabinet-contemporary-cups-decoration-279618.jpg);
    background-size: cover;
    background-position-Y: 80%;
}

.types>div:nth-child(9) {
    transition: 0.4s ease;
    background-image: url(img/white-smile-cutout-signage-on-table-967016.jpg);
    background-size: cover;
    background-position-Y: 100%;
}

.types>div:hover {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, .5);
}

.types a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-shrink: 1;
    color: #e8e7e3;
    height: 100%;
    text-decoration: none;
}

.types a span {
    flex-shrink: 1;
    color: #d01144;
    width: 100%;
    margin: 10px;
    margin-left: 25px;
    padding: 10px;
    font-size: 20px;
    text-align: right;
    text-transform: uppercase;
    transition: .3s linear;
    font-weight: 700;
    letter-spacing: 2px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .5);
    hyphens: auto;
}

.images {
    width: 80%;
    margin: 5% auto;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    /* background-color: gray; */
}

.images a {
    position: relative;
    flex-basis: 20%;
    height: 200px;
    overflow: hidden;
    margin: 2%;
    background-color: #fff;
    box-shadow: 0 0 15px 5px gray;
    transition: 0.3s ease;

}

.images a:hover {
    box-shadow: 0 0 15px 8px gray;
}

.images img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
    transition: all 0.5s linear;
}

.images img:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

@media(max-width:960px) and (orientation:landscape) {

    .images a {
        flex-basis: 25%;
        height: 100px;
        margin: 3%;

    }

    .images img {
        width: 30%;
    }
}

@media(max-width:640px) {
    .types {
        flex-direction: column;
    }

    .types>div {
        width: 90%;
    }

    .types a span {
        padding-right: 15px;
    }

    .images {
        width: 90%;
        display: flex;
        flex-wrap: wrap;
        align-content: space-around;
        justify-content: center;
        /* background-color: gray; */
    }

    .images a {
        flex-basis: 40%;
        height: 100px;
        margin: 3%;

    }

    .images img {
        width: 25%;
    }
}