@import url('https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900');
@import url('https://fonts.googleapis.com/css2?family=Iceland&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Iceland', sans-serif;
   -webkit-transition: .3s;
   transition: .3s;
    scroll-behavior: smooth;
}


svg{
    background-color: #eaebec;
}

::-webkit-scrollbar {
    width: 10px;
    transition: .5s;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .1); 
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    /* border: 1px solid #888;  */
background-color: #888; ;  
}
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; 
  }

body {
    background: #0C0C0C;
    width: 100%;
    height: 100vh;
}

#githup-box {
    width: 80px;
    height: auto;
    background-color: rgba(0, 0, 0, .7);
    position: fixed;
    visibility: hidden;
    right: 0;
    top: 10rem;
    z-index: 100;
    opacity: 0;
    transition: .3s;
    -webkit-transition: .3s;
    display: flex;
    flex-direction: column;
}
#githup-box .github,#githup-box .oriented{
    height: 60px;
}
#githup-box img:hover {
    transform: scale(1.1);
}

#githup-box a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.3rem;
}

#githup-box img {
    width: 40px;
    height: 40px;
    transition: .3s;
    -webkit-transition: .3s;
}

#githup-box.sticky {
    opacity: 1;
    visibility: inherit;
}

a {
    text-decoration: none;
    color: #fff
}

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent;
    transition: .3s;
    -webkit-transition: .3s;
}

header nav {
    width: 100%;
    height: 4rem;
    color: #fff;
    background-color: transparent;
}

header.sticky {
    background-color: rgb(0, 0, 0, .6);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    position: fixed;
    top: 0;
}

header nav .navbar-brand {
    font-size: 2rem;

}

header nav .navbar-collapse  {
    /* margin: auto;
    padding-right: 2rem; */
    display: flex;
    justify-content: flex-end;
    align-items:center;
}



header nav .navbar-collapse ul li {
    font-size: 1.3rem;
    padding: 0 1.5rem;
    position: relative;
    text-align: center;
    transition-duration: 0.50s;
}

header .navbar .collapse{
    transition: .3s;
    -webkit-transition:.3s ;
    
}

header .navbar .collapse ul li::after {
    background-color: #fff;
    bottom: 0;
    height: 2px;
    left: 0;
    position: absolute;
    transition-duration: 0.50s;
    width: 100%;
}

header .navbar .collapse ul li:hover::after,
header .navbar .collapse ul li .active::after {
    transform: scaleX(1);
}

header .navbar .collapse ul li::after {
    content: '';
    transform: scaleX(0);
    transform-origin: center;
}

#menu-btn {
    width: 40px 40px;
}

.bg-color {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: -100;
    /* background-image: url('../img/7.jpg'); */
    background-image: url('../img/pawel-czerwinski-JbA7q96EWRc-unsplash.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* display: none; */
}
 

.bg-video video{
    position: fixed;
    right: 0;
    bottom: 0;    width: 100%;
 

    position: absolute;
    z-index: -100;
 
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
}

#home {
    width: 100%;
    height: 100vh;
    padding: 10rem;
    color: #fff;
    background-color: rgba(0, 0, 0, .2);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#home .content {
    width: 550px;
}

#home .content #body-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 3rem;
}

#home .content #body-text p {
    opacity: .7;
    padding-left: 1rem;
    margin: 0;
}

#home .content #body-text span {
    width: 2px;
    height: 50px;
    background-color: #fff;
    opacity: 1;
}

#home .content #header-text h1 span {
    display: flex;
    flex-direction: column;
    font-size: 7rem;
    letter-spacing: 1px;
    line-height: 4rem;
    margin-bottom: 2.5rem;
}

#mission-vision-box {
    width: 650px;
    height: 140px;
    padding: 2rem;
    border-radius: .5rem 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    background-color: rgba(78, 78, 78, 0.3);
    backdrop-filter: blur(20px);
}

#mission-vision-box .mission-box,
.vision-box {
    width: auto;
    height: 100%;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

#about {
    width: 100%;
    height: 100vh;
    /* background-image: url('../img/10.jpg'); */
    background-image: url('../img/bg-3.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#about .content {
    height: 100%;
    width: 100%;
    background: rgb(0, 0, 0, .6);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .content .text {
    width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#about .content .text h2 {
    font-size: 4rem;
}

#about .content .text p {
    font-size: 1.2rem;
}

#skills {
    width: 100%;
    min-height: 700px;
    padding: 3rem 0;
    background-color: #171717;
}

#skills .header-text {
    width: 100%;
    height: 20%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 1rem 0;

}


#skills .header-text h2 {
    font-size: 3rem;
 margin: 0;
    /* border-bottom: 3px #BC9864 solid;  */
}


#skills .header-text span{
    display: block;
 width: 250px;
 height: 3px;
background-color: #BC9864;

    /* clip-path: polygon(0 0, 100% 0%, 68% 100%, 0% 100%); */
    clip-path: polygon(0 0, 100% 0%, 83% 100%, 0% 100%);

 
}
 

 

#skills .skills-content {
    width: 100%;
    height: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#skills .skills-content .box {
    width: 170px;
    height: 170px;
    margin: 1rem;
    border-radius: 3px;
    background-color: rgb(33, 33, 36);
    color: #fff;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    transition: .3s;
    -webkit-transition: .3s;
}

#skills .skills-content .box:hover {
    transform: scale(1.02);
    cursor: pointer;
}

#skills .skills-content .box img {
    width: 65px;
    height: 65px;
}


#works {
    width: 100%;
    height: 750px;
    background-color: #eaebec;
    /* background-image: linear-gradient(140deg, white, #dadce2); */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#works .header {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    top: 1rem;
}

#works .header h2 {
    font-size: 3rem;
    /* border-bottom: 3px #BC9864 solid; */
}

#works .header span{
    display: block;
 width: 350px;
 height: 3px;
background-color: #BC9864;

    /* clip-path: polygon(0 0, 100% 0%, 68% 100%, 0% 100%); */
    clip-path: polygon(0 0, 100% 0%, 83% 100%, 0% 100%);

 
}



#works .content {
    width: 100%;
    height: 600px;
    /* background-color: #222121; */
    font-size: 62.5%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* works slider */

#works h2 {
    font-size: 27px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin-bottom: 10px;
}

#works p,
#works li {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #555;
    line-height: 22px;
}

#works ul,
#works li {
    text-decoration: none;
    list-style: disc outside;
}

#works ul {
    padding-left: 20px;
}

#works svg {
    margin: 0px;
    min-width: 24px;
    min-height: 24px;
}

#works .cardContainer {
    position: relative;
    width: 300px;
    height: 450px;
    min-width: 300px;
    min-height: 400px;
    margin: 4px;
    perspective: 1000px;
}

#works .active {
    transform: translateZ(0px) rotateY(180deg) !important;
}

#works .active:after {
    display: none;
}

#works .card {
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    -moz-backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: translateZ(-100px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#works .card:after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 14px 50px -4px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
}

#works .card:hover {
    transform: translateZ(0px);
}

#works .card:hover:after {
    opacity: 1;
}

#works .card .side {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-color: white;
}

#works .card .front {
    z-index: 2;
}

#works .card .back {
    transform: rotateY(180deg);
}

#works .card .info {
    padding: 16px;
}

#works .card .info h2 {
    font-size: 2rem;
    line-height: 1.8rem;
}

#works .card .info p {
    font-size: 1rem;
}

#works .card .info ul li {
    font-size: .8rem;
}

#works .front .img {
    background-color: #dadce2;
    background-position: center;
    background-size: cover;
    border-radius: 5px 5px 0 0;
    width: 100%;
    height: 240px;
}

#works .front .img1 {
    background-image: url('../img/project-2.jpg');
}

#works .front .img2 {
    background-image: url('../img/project-1.jpg');
}

#works .front .img3 {
    background-image: url('../img/project-3.jpg');
}

#works .back {
    position: relative;
}

#works .back h2 {
    margin-top: 6px;
    margin-bottom: 18px;
}

#works .back .reviews {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
}

#works .back .reviews p {
    color: #c4c4c4;
    font-weight: 300;
    margin: 1px 0 0 6px;
    transition: 0.3s ease-in-out;
}

#works .back .reviews:hover p {
    color: #555;
}

#works .back li {
    line-height: 22px;
    margin: 2px 0 6px 0;
}

#works .back .btn {
    position: absolute;
    bottom: 16px;
    width: calc(100% - 32px);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFC324;
    background-image: linear-gradient(-90deg, #FFB714, #FFE579);
    border-radius: 5px;
    cursor: pointer;
}

#works .back .btn:hover h4 {
    transform: translateX(0px);
}

#works .back .btn:hover svg {
    transform: translateX(0px);
    opacity: 1;
}

#works .back .btn h4 {
    transform: translateX(12px);
    transition: transform 0.3s ease-out;
}

#works .back .btn svg {
    margin: 1px 0 0 4px;
    transform: translateX(-8px);
    opacity: 0;
    transition: all 0.3s ease-out;
}


/*  */

#contact {
    width: 100%;
    height: 150vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #0C0C0C;
}

#contact .contact-form {
    width: 600px;
    height: 100%;
}

#contact .contact-form .input-block .form-control:focus label {
    top: 0;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .contact-wrap form .row .col-md-12 .form-group input {
    height: 50px;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .row .col-md-4 .dbox .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #bc9864;
    margin: 0 auto;
    margin-bottom: 20px;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .row .col-md-4 .dbox .icon img {
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .row .col-md-4 .dbox .text p {
    display: flex;
    flex-direction: column;
    color: #fff;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .row .col-md-4 .dbox .text p a {
    text-decoration: none;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .row .col-md-4 .dbox .text p a:hover {
    color: #565656;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .row .col-md-4 .dbox .text p span {
    font-size: 22px;
    color: #BC9864;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .contact-wrap form .row .col-md-12 .form-group input,
#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .contact-wrap form .row .col-md-12 .form-group textarea {
    border-radius: 0;
    border: none;
    background-color: #141414;
    color: #565656;
    border-radius: 5px;
    font-size: 20px;
    box-shadow: none !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .contact-wrap form .row .col-md-12 .form-group button {
    background: #BC9864 !important;
    border-color: #BC9864;
    border-radius:  5px;
    color: #000;
    font-size: 28px;
    font-family: 'Iceland', sans-serif;
    /* clip-path: polygon(0 0, 100% 0, 100% 0, 87% 100%, 0 100%, 0% 50%); */

    /* clip-path: polygon(9% 0, 100% 0%, 91% 100%, 0% 100%); */

}

#contact .ftco-section .container .row .col-md-12 .wrapper .row .col-lg-8 .contact-wrap form .row .col-md-12 .form-group button:hover {
    background-color: #A57F48 !important;
    border-color: #A57F48;
}

footer {
    width: 100%;
    height: 450px;
    background-color: #000;
    color: #fff;
    padding-top: 50px;
}

footer .content {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

footer .content .waps {
    margin-right: 2rem;
}

footer .content .github h1 a {
    text-decoration: #171717;
}

footer .content .fitem {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    list-style: none;
}

footer .content .fitem ul {
    list-style: none;
}

footer .content .fitem ul li a {
    text-decoration: #171717;
}

footer .copy-right {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

@media only screen and (max-width: 1100px) {
    #mission-vision-box {
        width: 100%;
        bottom: 0;
        right: 0;
    }
}

@media only screen and (max-width: 700px) {
    #home {
        padding: 1rem;
        justify-content: flex-start;
    }

    #home .content {
        width: 100%;
    }

    #home .content #header-text h1 span {
      
        font-size: 6rem;
        letter-spacing: 1px;
        line-height: 4rem;
        margin-bottom: 2.5rem;
    }

    #home .content #body-text{
        max-width: 400px;
    } 

    #mission-vision-box {
        margin: 0;
        padding: 0;
    }
    
    #skills{
        height: auto;
    }

    #works{
        height: auto;
    }

    #works .content{
        flex-direction: column;
    }
    #contact{
        height: auto;
        padding: 2rem 0;
    }

    header .navbar .collapse{
        background-color: rgba(0, 0, 0, .7);
    }

}


@media only screen and (max-width: 550px) {
footer{
    height: auto;
}

footer .content{
    height: auto;
    flex-direction: column;
}
}

@media only screen and (max-width: 450px) {
    #home {
        padding: 1rem;
    }
    #home .content {
        width: 100%;
    }
 
    .cybr-btn {
        position: relative;
        bottom: 1.5rem;
    }
    #mission-vision-box .mission-box,
    .vision-box {
        font-size: .8rem;
    }
    #home .content #header-text h1 span {
        font-size: 4rem;
        line-height: 2rem;
        margin-bottom: 1.5rem;
    }
    #home .content #body-text p {
    font-size: .9rem;
    }


    .bg-color {
        display: inline-block;
   
    }
    #mission-vision-box  {
        display: none;
       }

    
.bg-video video{
    display: none;
}
}


@media only screen and (max-width: 350px) {

    #mission-vision-box  {
     display: none;
    }
}