/* ======================================
    Default Theme
   --------------------------------------
    Fonts: Raleway & Open Sans
    -------------------------------------
    Colors:
        Moon Yellow: #f4c613
        Grey:        #212226
        White Smoke: #f4f4f4
        White:       #fff
        Black:       #000
=========================================*/

/* ======================================
    Html, Body
    ======================================*/

html,
body {
    /* w ten sposob wybiera sie wiecej niz jeden element */
    height: 100%;

}

body {
    /* dziki temu tekst w sekcji body bedzie szarego koloru */
    color: #212226;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Raleway", sans-serif;
}

p {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
}

section {
    background: #fff;
    overflow: hidden;
}

/* ======================================
    Preloader
    ======================================*/

#preloader {
    background-color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

#status {
    background-image: url("../img/preloader/preloader.gif");
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -35px;
    margin-left: -35px;
}

/* ======================================
    Home - pierwsza sekcja
    ======================================*/

#home {
    background: none;
    height: 100%;
}

#home-bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    background: url("../video/Intro_movie.png");
    /* w przypadku gdyby video nie dzialalo */
    background-size: cover;
}

#home-overlay {
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

#home-content {
    width: 100%;
    height: 100%;
    display: table;
}

#home-content-inner {
    display: table-cell;
    vertical-align: middle;
}

#home-heading h1 {
    color: #fff;
    font-size: 65px;
    font-weight: 100;
    /* zeby napisy byly smukle */
    text-transform: uppercase;
    margin: 0;
    display: inline-block;
    /* zeby nie bylo przerwy pomiedzy liniami tekstu */
}

@media only screen and (max-width: 640px) {
    #home-heading h1 {
        font-size: 50px;
    }
}

#home-heading h1 span {
    color: #f4c613;
    font-weight: 500;
    /* zeby tekst byl pogrubiony */
}

#home-text p {
    color: #fff;
    font-size: 17px;
    font-weight: 100;
    margin: 8px 0 30px 0;
}

/* ======================================
    Buttons
    ======================================*/

.btn-general {
    font-family: 'Raleway', sans-serif;
    border-radius: 28px;
    /* zeby utworzyc efekt zaokraglenia krawedzi buttona */
    font-size: 13px;
    text-transform: uppercase;
    margin: 0 6px;
    padding: 12px 46px 12px 46px;
    -webkit-transition: all .5s;
    transition: all .5s;
    /* zeby kolor po najechaniu na button zmienial sie plynnie */
}

.btn-home {
    color: #fff;
    border: 1px solid #fff;
}

.btn-home:hover,
.btn-home:focus {
    color: #fff;
    /* zeby po najechaniu na button teks byl bialy */
    background-color: #f4c613;
    border: 1px solid #f4c613;
}


/* ======================================
    Arrow Down
    ======================================*/

#arrow-down {
    position: absolute;
    left: 50%;
    bottom: 20px;
    color: #fff;
    font-size: 32px;
    width: 32px;
    height: 32px;
    text-align: center;
    margin-left: -16px;
    z-index: 1;
}

#arrow-down:hover,
#arrow-down:focus {
    color: #f4c613;
}

/* ======================================
    Content Boxes
    ======================================*/

.content-box-lg {
    padding: 80px 0;
    /* 100px -wysokosc bialej przestrzeni u gory i u dolu sekcji */
}

.content-box-md {
    /* medium content box class */
    padding: 70px 0;
}

/* ======================================
    Vertical/Horizontal Heading
    ======================================*/

.vertical-heading h5 {
    color: #f4c613;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    word-spacing: 10px;
    display: inline-block;
    /* zeby obramowanie tekstu bylo wrap-content a nie match-parent */
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    /* zeby obrocic tekst "KIM JESTEM" i ustawic go wertykalnie; dzieki autoprefixowi "webkit" tarnsformacja bedzie dzialac odpowiednio dla wszystkich wyszykiwarek oaprtych na webkit */
    position: relative;
    top: 60px;
}

.vertical-heading h2 {
    margin: 0 0 0 35px;
    font-size: 42px;
    font-weight: 100;
    line-height: 45px;
    position: relative;
    left: 63px;
}

.horizontal-heading {
    margin-bottom: 80px;
}

.horizontal-heading h5 {
    font-size: 16px;
    color: #f4c613;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.horizontal-heading h2 {
    font-size: 42px;
    font-weight: 100;
    line-height: 45px;
    margin: 0;
}

/* ======================================
    About 01
    ======================================*/
#about-right p {
    /* p dodanie marginesów do opisu*/
    margin-left: 5px;
    margin-right: 5px;
    text-align: justify;
}


#about-right p:first-child {
    /* p:first-child aby odniesc sie tylko do pierwszego z dwoch paragrafow */
    margin-bottom: 10px;
}

#about-bottom img {
    margin: 0 auto;
    /* dzieki temu obraz bedzie sie caly czas znajdowal w centrum strony internetowej */
}

/* ======================================
    About 02
    ======================================*/

#about-02 {
    background-color: #f4f4f4;
}

.about-item {
    background-color: #fff;
    padding: 60px 30px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    /* ustawienie cienia dla sekcji; 10px -blur */
}

.about-item i {
    font-size: 42px;
    margin: 0;
}

.about-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.about-item hr {
    /*linie w okienkach GitHub, LinkedIn oraz Stack Overflow */
    width: 45px;
    height: 3px;
    background-color: #f4c613;
    margin: 0 auto;
    border: none;
}

.about-item p {
    margin-top: 20px;
}

/* Hover State */

.about-item:hover {
    background-color: #f4c613;
    /* zmiana koloru na moon yellow po najechaniu na sekcje*/
}

.about-item:hover i,
.about-item:hover h3,
.about-item:hover p {
    color: #fff;
}

.about-item:hover hr {
    background-color: #fff;
}

/* przemieszczanie sie ikon po najechaniu */

.about-item:hover i {
    transform: translateY(-20px);
}

/* Smoth transition -zeby efekt po najechaniu myszka byl plynny */

.about-item,
.about-item i,
.about-item hr {
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
    /* zmiana z koloru bialego na moon yellow zajmie 400ms */
}

/* ======================================
    Abilities
    ======================================*/

#abilities-left .vertical-heading {
    min-height: 160px;
}

.my-photo {
    margin: 8px;
    position: relative;
}

.my-photo-overlay {
    background-color: rgba(33, 34, 38, .9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.my-photo-info {
    width: 100%;
    height: 100%;
    padding: 80px 0;
}

.my-photo-info h6 {
    color: #f4c613;
    font-size: 16px;
    margin: 0;
}

.my-photo-info p {
    color: #fff;
}

.my-photo:hover .my-photo-overlay {
    opacity: 1;
}

/* ======================================
    Social Icons
    ======================================*/

ul.social-list {
    padding: 0;
    margin-top: 20px;
}

/* Styling list items */

ul.social-list li {
    display: inline-block;
    padding: 0;
}

ul.social-list li a {
    border: 1px solid #fff;
    width: 35px;
    height: 35px;
    display: inline-block;
    line-height: 35px;
    color: #fff;
    border-radius: 50%;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
}

/* kolorowanie ikonki facebooka, po najechaniu na nią myszką */

ul.social-list li:nth-child(1) a:hover {
    background: #3b5998;
    border-color: transparent;
}

ul.social-list li:nth-child(2) a:hover {
    background: #00aced;
    border-color: transparent;
}

ul.social-list li:nth-child(3) a:hover {
    background: #dd4b39;
    border-color: transparent;
}

/* ======================================
    Slider Buttons
    ======================================*/

.fa-angle-right {
    color: #212226;
    font-size: 40px;
    background-color: #fff;
}

.fa-angle-right:hover {
    background-color: #fff;
    color: #212226;
}

.fa-angle-left {
    color: #212226;
    font-size: 40px;
    background-color: #fff;
}

.fa-angle-left:hover {
    background-color: #fff;
    color: #212226;
}

/* ======================================
    Skills
    ======================================*/

.skill {
    margin-bottom: 10px;
}

.skill h4 {
    line-height: 30px;
    margin: 0;
    font-weight: normal;
}

.progress {
    height: 25px;
    border-radius: 0;
    background: #efefef;
    overflow: visible;
}

.progress-bar {
    background-color: #f4c613;
    position: relative;
}

.progress-bar span {
    font-size: 11px;
    font-weight: 100;
    font-family: "Open Sans", sans-serif;
    background: #212226;
    padding: 3px;
    position: absolute;
    /*zeby procetnowe etykiety byly umieszczone na koncu progress-barow */
    left: 97%;
    top: -37px;
    /*decyduje o tym jak nisko po progressbarem jest labelka z procentami*/
}

/*arrow down created with use of borders*/

.progress-bar span:before {
    content: "";
    border-top: 8px solid #212226;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    position: absolute;
    bottom: -8px;
    left: 23%;
}

/* ======================================
    Statement
    ======================================*/

#statement {
    background: url("../img/tech/mast_frame.jpg") no-repeat fixed center;
    /* sets background image for statement section */
    /*background-repeat: no-repeat; /*so that backgroud area won't repeat */
    background-size: cover;
    /*background-position: center; /* the image will stay in the center of property section */
    /*background-attachment: fixed; /* to get paralax effect */
}

#statement .content-box-lg {
    background: rgba(0, 0, 0, 0.5);
}

#tech-statement h3 {
    color: #fff;
    font-size: 28px;
    line-height: 45px;
}

#tech-statement p {
    font-size: 14px;
    color: #f4c613;
    font-family: "Raleway", sans-serif;
    margin-top: 8px;
}

/* ======================================
    Education-schools 01
    ======================================*/

#education-schools-01 img {
    margin: 60px 0;
}

.education {
    margin: 35px 0;
}

.education .icon {
    font-size: 42px;
    margin: 0;
    -webkit-transition: all 400ms linear;
    transition: all 400ms linear;
    /* to make hover effect look smoth*/
}

.education:hover .icon {
    color: #f4c613;
    -webkit-transform: translateX(-20px);
    transform: translateX(-20px);
}

.education h5 {
    font-size: 12px;
    text-transform: uppercase;
    color: #f4c613;
    margin: 0 0 6px 0;
}

.education:hover h5 {
    color: #212226;
}

.education h4 {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.education p {
    line-height: normal;
}