@font-face {
    font-family: 'Roboto Condensed';
    /* src: url(../fonts/RobotoCondensed-Regular.ttf) format('truetype'); */
    src: url('https://serhiyantipov.github.io/fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.wrapper {
    min-width: 320px;
    margin: 0 auto;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    color: #2d2d2d;
    overflow: hidden;
    background-color: #e7e7e7;
    background: linear-gradient(90deg, #d0d0d0 0%, #f6f6f6 50%, #d0d0d0 100%);
    /* background: url(../img/bg_main.png); */
    background-repeat: repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-main {
    min-height: 130px;
    text-align: center;
    background-color: #353c4c;
    background: linear-gradient(90deg, #111318 0%, #57627d 50%, #111318 100%);
    padding-bottom: 7px;
    box-shadow: 0 2px 2px 0 #000000c4;
    position: relative;
}

.header-main h1 {
    font-size: 50px;
    line-height: 1.4;
    color: rgb(230, 230, 230);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
}

.header-main h2,
.foot-content {
    font-size: 14px;
    color: rgb(235, 219, 170);
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 1);
}

.nav-main {
    background-color: #9f9f9f;
    background: url(../img/bg_stell.jpg);
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #2d3842;
    text-align: center;
    margin-top: 10px;
    position: relative;
}

.nav-main ul {
    display: inline-block;
    min-width: 180px;
    margin: 3px 13px;
    padding: 2px 4px 1px;
    border-radius: 23px;
    box-shadow: inset 0 1px 6px 2px #000000c4;
}

.nav-main li[data-active="active"] {
    background-color: #343c4f;
    background: linear-gradient(0deg, #57627d, #111318);
    box-shadow: inset 0 0 4px 2px #000000c4;
}

.nav-main a {
    display: block;
    font-size: 14px;
    padding: 5px 20px 6px;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 2px #000;
}

.nav-main li[data-active="active"] a {
    padding: 6px 20px 5px;
}

.nav-main li {
    display: inline-block;
    min-width: 50px;
    margin: 3px;
    border-radius: 20px;
    background-color: #57627d;
    background: linear-gradient(0deg, #111318, #6f7d9f);
    box-shadow: 0 0 1px 2px #0000007d;
}

.nav-main li:hover {
    box-shadow: 0 0 1px 1px #0000007d;
}

.nav-main li[data-active="active"]:hover {
    box-shadow: inset 0 0 4px 2px #000000c4;
}

.description {
    padding: 15px 5px 15px;
    text-align: center;
    font-weight: bold;
    background-color: #bcbcbc;
    box-shadow: 0 2px 2px 0 #000000b5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 20px;
}

main {
    padding: 10px;
    flex: 1 0 auto;
}

.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding-top: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

main .professional-skill span {
    padding-left: 0;
}

.portfolio a {
    display: inline-block;
    width: 23%;
    overflow: hidden;
    cursor: pointer;
    padding: 5px;
    box-shadow: inset 0 1px 2px 1px #000000c4;
    position: relative;
    margin-bottom: 30px;
    background-color: #e7e7e7;
    ;
}

.portfolio a:hover>img {
    animation: skale .5s;
}

.portfolio img {
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    box-shadow: 0 1px 3px 2px #000000b0;
}

.main-footer {
    text-align: center;
    background-color: #353c4c;
    background: linear-gradient(90deg, #111318 0%, #57627d 50%, #111318 100%);
    padding-top: 7px;
    box-shadow: 0 -2px 2px 0 #000000c4;
}

.footer-social {
    padding: 2px 0;
    width: 100%;
    background-color: #b8b8b8;
    background: url(../img/bg_stell.jpg);
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #2d3842;
    min-height: 40px;
}

.footer-social li {
    display: inline-block;
    margin: 0 10px;
    box-shadow: inset 0 1px 2px 1px #000000c4;
}

.footer-social a {
    display: block;
    background-color: #353c4c;
    background: linear-gradient(0deg, #111318 0%, #57627d 50%, #111318 100%);
    border-top: 1px solid #b1b3c0;
    box-shadow: 0 1px 2px 1px #0000007d;
    margin: 4px 10px;
}

.footer-social a:hover {
    background-color: #353c4c;
    background: linear-gradient(0deg, #111318 0%, #464f66 50%, #111318 100%);
    border-top: 1px solid #1e1e20;
    box-shadow: inset 0 1px 4px 1px #000000c4;
}

.footer-social a img {
    width: 30px;
    height: auto;
    margin: 0 auto;
}

.footer-social a:hover img {
    width: 28px;
    padding: 1px;
}

.main-footer p {
    display: inline-block;
    padding: 30px 10px;
    text-transform: none;
}

.project-skill {
    height: 30px;
    background-color: #353c4cb8;
    background: #353c4cb8;
    width: calc(100% - 0px);
    position: absolute;
    bottom: 0px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5px;
    box-sizing: border-box;
}

.project-skill img {
    height: 80%;
    width: auto;
    box-shadow: none;
}

.project-skill img:hover {
    box-shadow: none;
}

.roku-skill {
    background: url(../img/skill/link_Roku.png);
}

.game-engine-skill {
    background: url(../img/skill/link_game_engine.png);
}

.react-skill {
    background: url(../img/skill/link_react.png);
}

.bootstrap-skill {
    background: url(../img/skill/link_bootstrap.png);
}

.css-skill {
    background: url(../img/skill/link_css.png);
}

.gulp-skill {
    background: url(../img/skill/link_gulp.png);
}

.js-skill {
    background: url(../img/skill/link_js.png);
}

.sass-skill {
    background: url(../img/skill/link_sass.png);
}

.api-skill {
    background: url(../img/skill/link_api.png);
}

.local-stor-skill {
    background: url(../img/skill/link_local-stor.png);
}

.ajax-skill {
    background: url(../img/skill/link_ajax.png);
}

.html-skill {
    background: url(../img/skill/link_html.png);
}

.npm-skill {
    background: url(../img/skill/link_npm.png);
}

.node-skill {
    background: url(../img/skill/link_node.png);
}

.redux-skill {
    background: url(../img/skill/link_redux.png);
}

.canvas-skill {
    background: url(../img/skill/link_canvas.png);
}

.animation-skill {
    background: url(../img/skill/link_css_animation.png);
}

.slick-skill {
    background: url(../img/skill/link_slick.png);
}

.angular-skill {
    background: url(../img/skill/link_angular.png);
}

.skill {
    height: 90%;
    width: 25px;
    /* margin-right: 5px; */
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (max-width: 1200px) {
    .portfolio a {
        width: 30%;
    }
    .nav-main {
        /* text-align: left; */
    }
}

@media screen and (max-width: 960px) {
    .portfolio a {
        width: 45%;
    }
}

@media screen and (max-width: 640px) {
    .nav-main {
        text-align: center;
    }
    .nav-main ul {
        margin-left: 0;
        margin-right: 0;
        width: 75%;
    }
    .nav-main li {
        width: 30%;
    }
    .portfolio {
        margin: 15px 5px;
        padding-top: 0;
    }
    .portfolio a {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .header-main h1 {
        font-size: 54px;
    }
    .nav-main ul {
        width: 90%;
    }
    .nav-main li[data-active="active"] a {
        padding: 9px 10px 8px;
    }
    .nav-main a {
        padding: 8px 10px 9px;
    }
    .portfolio {
        margin: 15px 0;
    }
    .portfolio a {
        width: 90%;
    }
}

@media screen and (max-width: 360px) {
    .nav-main a {
        font-size: 14px;
    }
}

@keyframes skale {
    100% {
        transform: scale(.99);
        box-shadow: 0 0 2px 0 #000000b0;
    }
}