body
{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

h1,h2,h3,h4,h5
{
    font-family: 'Roboto Slab', serif;
}

/*-----header-----*/

.header
{
    background-image: url(../img/bavarian-forest-2513914_1920.jpg);
    background-size: cover;
    height: 100vh;
}

.nav
{
    background-color: white;
    opacity: 0.8;
    z-index: 20;
    position: fixed;
    width: 100%;
}

.nav__logo
{
    font-family: 'Pacifico';
    margin:0px 10px;
    padding: 5px 10px;
    font-weight: 400;
}

.navigation
{
    position: fixed;
    height: 100vh;
    background-color: black;
    top: 0;
    right: 0px;
    opacity: 1;
    transition: 0.5s ease-out;
    width: 0px;
}

.list
{
    margin-top: 60px;
    text-align: left;
    padding-left: 30px;
    display: none;
    transition: 5s;
}

.list__item
{
    position: relative;
    padding: 12px 0px;
    list-style: none;
    color: #f7f7f7;
    text-transform: uppercase;
}

.list__item__link
{
    font-size: 12.5px;
    padding: 10px;
    position: relative;
    color: #a5a5a5;
    letter-spacing: 4.5px;
}

.list__item__link.checked::after
{
    border-bottom: 0.125em solid gray;
    content: "";
    left: 0;
    margin-top: calc(0.125em / 2 * -1);
    position: absolute;
    right: 0;
    top: 50%;
    animation: mymove 0.3s ease-out;
}

.list__item__link:hover
{
    text-decoration: none;
    color: #727272;
}

.navjs
{
    width: 300px;
}

.nav__button
{
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 5px 0px;
    margin-right: 30px;
    position: fixed;
    right: 0px;
    z-index: 20;
}

.nav__button:active, .nav__button:focus
{
    -moz-outline: none;
    outline: none; /* CSS 3 */ 
}

.nav__button__span
{
    display: block;
    height: 1px;
    width: 100%;
    background-color: black;
    margin: 10px auto;
    transition: 0.3s;
}

.inner
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background-color: white;
    opacity: 0.85;
    width: 320px;
    height: 270px;
    padding: 50px;
    outline: 4px double white;
    outline-offset: 8px;
    transition: 10s;
}

.inner__headline
{
    margin-top: 35px;
}

.inner__paragraph
{
    padding-top: 30px;
    font-size: 18px;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 2px auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

.mouse
{
    width: 30px;
    height: 42px;
    border-radius: 20px;
    border: 2px solid black;
    position: absolute;
    background-color: white;
    opacity: 0.8;
    left: 50%;
    top: 93%;
    transform: translate(-50%,-50%);
}

.mouse--wheel
{
    margin: 2px auto;
    width: 4px;
    height: 11px;
    border-radius: 40%;
    background-color: black;
    animation: mouse--wheel 2s infinite;
}

/*-----section about-----*/

.about .no-pad
{
    padding: 0;
    margin: 0;
}

.about__img
{
    background: linear-gradient(rgba(255, 255, 255, 0.4),rgba(255, 255, 255, 0.4)),
    url(../img/profilowe.jpg);
    background-size: cover;
    width: 100%;
    height: 550px;
    filter: grayscale(80%);
}

.rel
{
    overflow: hidden;
}

.hide
{
    width: 200%;
    position: relative;
    left: 0%;
    transition: 1s;
}

.about__inner
{
    width: 50%;
    float: left;
    margin: auto;
}

.about__center
{
    width: 60%;
    margin: 90px auto;
}

.about__inner__paragraph
{
    font-size: 15px;
    line-height: 34px;
    padding-bottom: 15px;
    color: #2f2f2f;
}

.about__inner__headline
{
    font-size: 17px;
    color: black;
    
}

.about__inner__headline:nth-of-type(2)
{
    padding-top: 10px;
    font-size: 34px;
    font-family: 'Monsieur La Doulaise', cursive;
}

.about__inner table
{
    margin: auto;
    text-align: left;
    color: #2f2f2f;
}

.about__inner td
{
    font-size: 14px;
    padding: 10px;
}

.about__inner td:nth-of-type(1)
{
    color: black;
    font-weight: 700;
}

.slide
{
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.slide__badger
{
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: gray;
    border-radius: 50%;
    margin: 2px;
    cursor: pointer;
}

.slide__badger:nth-of-type(1)
{
    background-color: black;
}

.slide__badger:hover
{
    background-color: black;
}

/*-----Section work-----*/
.work
{
    padding: 150px 0px;
    background-color: #efefef;
}

.work__headline
{
    font-weight: 400;
}

.work__headline::after
{
    content: "";
    display: block;
    margin-top: 20px;
    width: 28px;
    background-color: #d1d1d1;
    height: 3px;
}

.work__paragraph
{
    padding-top: 40px;
}

.work .content-right
{
    padding: 0 20px 0 40px;
}

.album
{
    position: relative;
    overflow: hidden;
}

.photo
{
    width: 100%;
    height:280px;
    filter: grayscale(100%);
    transition: 0.4s;
}

.background
{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
    transition: 0.5s; 
}

.background__mask
{
    width: 90%;
    height: 85%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.9;
    background-color: white;
    transition: 0.5s;
}

.background:hover
{
    background-color: #337ab7;
    opacity: 0.7;
}

.album:hover img
{
    transform: scale(1.1);
}

.background:nth-of-type(2):hover
{
    background-color: #b72d47;
}

.background__mask__paragraph
{
    line-height: 212px;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.work .col-md-6
{
    padding: 0;
}

/*-----service-----*/
.service
{
    padding: 150px 0px;
}

.service__headline
{
    font-weight: 400;
}

.service__headline::after
{
    content: " ";
    display: block;
    margin-top: 20px;
    width: 28px;
    background-color: #d1d1d1;
    height: 3px;
}

.service__paragraph
{
    padding-top: 40px;
}

.service .content-right
{
    padding: 0 20px 0 60px;
}

.figure__photo
{
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
}

.figure__photo:nth-of-type(1)
{
    margin-top: 50px;
}

.figure__headline
{
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

.figure__description
{
    color: #434343;
    text-align: left;
    line-height: 26px;
    letter-spacing: 0.5px;
}

/*-----section employement-----*/
.employement
{
    background-color: #efefef;
    padding: 150px 0px;
}

.employement__headline
{
    font-weight: 400;
}

.employement__headline::after
{
    content: " ";
    display: block;
    margin-top: 20px;
    width: 28px;
    background-color: #d1d1d1;
    height: 3px;
}

.employement__paragraph
{
    padding-top: 40px;
}

.employement .content-right
{
    padding: 0 20px 0 60px;
}

.frame
{
    background-color: white;
    box-sizing: border-box;
    padding: 40px 35px;
    position: relative;
    bottom: 0;
    right: 0;
    transition: box-shadow 0.2s linear, bottom 0.2s linear ,right 0.2s linear;
    transition-delay: 0.6s, 0.6s , 0.6s;
    margin: 20px auto;
}

.frame__year
{
    font-weight: 600;
    font-size: 30px;
}

.frame__job
{
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 25px;
    transition: 1s;
}

.frame__name
{
    border: 1px solid #ececec;
    color: #cccccc;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 14px;
    margin-bottom: 30px;
}

.frame__name:hover
{
    text-decoration: none;
    color:  #ececec;
}

.frame hr
{
    margin: 30px 0px;
}

.frame__paragraph
{
    letter-spacing: 0.5px;
    font-size: 13px;
    line-height: 34px;
    font-weight: 300;
}

.bord
{
    position: absolute;
    background-color: #818181;;
    border: none;
}

.one
{
    width: 0%;
    height: 3px;
    top: 0px;
    left: 0px;
    margin: auto;
    transition: width 0.2s;
}

.two
{
    width: 0%;
    height: 3px;
    bottom: 0px;
    right: 0px;
    transition: width 0.2s;
}

.three
{
    height: 0%;
    width: 3px;
    left: 0px;
    bottom: 0;
    transition: height 0.2s;
    transition-delay: 0.2s;
}

.four
{
    height: 0%;
    width: 3px;
    right: 0px;
    top: 0;
    transition: height 0.2s;
    transition-delay: 0.2s;
}

.frame:hover
{
    bottom: 20px;
    right: 20px;
    -webkit-box-shadow: 20px 20px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 20px 20px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 20px 20px 5px 0px rgba(0,0,0,0.75);
}

.frame:hover .one, .frame:hover .two
{
    width: 100%;
}

.frame:hover .three, .frame:hover .four
{
    height: 100%;
}

/*
section EDUCATION
*/

.education
{
    background-color: white;
    padding: 150px 0px;
}

.education__frame
{
    background-color: #efefef;
}

.education__frame__name
{
    border: 1px solid #c4c4c4;
    color: #c4c4c4;
}

.education__frame__name:hover
{
    color: #d3d3d3;
}

/*-----section review-----*/
.review
{
    background-image: url(../img/landscape.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 500px;
    overflow: hidden;
    filter: grayscale(100%);
}

.review__carousel
{
    position: relative;
    width: 100%;
    top: 40%;
    left: 50%;
    transform:translate(-50%,-50%);
    transition: 1.5s;
}

.review__description
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    width: 70%;
    float: left;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 2px;
    font-weight: 600;
    color: white;
}

.review__description:nth-of-type(2)
{
    left: 150%;
}

.review__description:nth-of-type(3)
{
    left: 250%;
}

.review__description__coworker
{
    display: block;
    padding-top: 30px;
    text-align: center;
    font-size: 16px;
    color: #B7B7B7;
    letter-spacing: 3px;
}

.carousel
{
    position: relative;
    left: 50%;
    top: 80%;
    transform: translate(-50%,-50%);
    width: 150px;
    text-align: center;
}

.carousel__badger
{
    width: 12px;
    height: 12px;
    display: inline-block;
    margin: 8px;
    background-color: lightgray;
    border-radius: 50%;
}

.carousel__badger:nth-of-type(1)
{
    background-color: white;
}

.carousel__badger:hover
{
    background-color: gray;
    cursor: pointer;
}

/*-----contact-----*/
.contact
{
    padding-top: 150px;
}

.contact__headline
{
    font-weight: 400;
}

.contact__headline::after
{
    content: " ";
    display: block;
    width: 28px;
    height: 3px;
    margin-top: 20px;
    background-color: #d1d1d1;
}

.contact__paragraph
{
    padding-top: 40px;
}

.contact .form-group
{
    position: relative;
    padding-top: 45px;
}

.form-label
{
    position: absolute;
    padding: 0px;
    padding-left: 5px;
    color: white;    
    transition: top 0.5s;
    top: 30px;
}

.contact .form-control
{
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid black;
    padding-left:  5px;
    line-height: 40px;
}

.contact .submit
{
    width: 100%;
    background-color: transparent;
    border: 1px solid #2b2b2b;
    color: #2b2b2b;
    border-radius: 0px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 12px 0px;
    font-size: 13px;    
}

.contact .form-control:focus::placeholder
{
    color: white;
}

.contact .form-control:focus 
{
  border-color: black;
}

.contact .form-label
{
    padding: 0px 5px;
}

.border-focus
{
    display: block;
    background-color: #2b2b2b;
    position: absolute;
    bottom: 0px;
    height: 2px;
    width: 0px;
    margin: 0;
    transition: 1s;
    z-index: 1;
}

.submit
{
    background-color: transparent;
    margin-top: 30px;
    margin-bottom: 80px;
}

.submit:hover
{
    background-color: #2b2b2b;
    cursor: pointer;
    color: white;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.contact .social
{
    position: relative;
    text-align: center;
    background-color: #efefef;
    line-height: 50px;
    border: 1px solid #2b2b2b;
    padding: 0px;
}

.social__link
{
    position: absolute;
    display: block;
    bottom: 100%;
    width: 100%;
    height: 0px;
    transition: 0.5s ease;
    overflow: hidden;
}

.social--fb
{
    background-color: #3b5998;
}

.social--git
{
    background-color: #000000;
}

.social--in
{
    background-color: #007bb5;
}

.social:hover .social__link
{
    bottom: 0%;
    height: 100%;
    color: white;
}


/*-----@KEYFRAMES-----*/
@keyframes fadet
{
    0% {display: none;}
    100% {display: block;}
}

@keyframes mymove
{
    0% {width: 0%;}
    100% {width: 100%;}
}

@keyframes typing
{
    from { width: 0; }
    to {width: 100%; }
}

@keyframes blink-caret
{
    from, to {border-color: transparent;}
    50% {border-color: black;}
}

@keyframes mouse--wheel
{
    0% {margin-top: 2px; opacity:1;}
    50% {margin-top: 8px; opacity: 0;}
}

