body {
    font-family: 'Poppins', sans-serif;
}


/* strat styles of topbar */

html {
    scroll-behavior: smooth;
}

.navbar-toggler-icon {
    color: white;
    font-size: 30px;
}

.navbar {
    position: fixed;
    background-color: #1b242f;
    width: 100%;
}

.topbar {
    background-color: #1b242f;
    margin-bottom: 58px;
}

.topbar img {
    width: 200px;
    height: 70px;
    margin: -20px!important;
}

.topbar .navbar .nav-item a {
    color: white!important;
    margin-left: 20px;
    position: relative;
}

.topbar .navbar .nav-item a:hover {
    color: #e31b6d!important;
}

.topbar .nav-item a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    background: #fff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.topbar .nav-item a:hover:after {
    width: 100%;
    left: 0;
}

.modal {
    text-align: center
}

.modal .btn_cv_lang {
    background-color: #e31b6d;
    color: white;
    width: 100%;
    font-size: 18px;
}

.modal .modal-header {
    background-color: #1b242f;
    color: white;
}

.modal .modal-header span {
    color: white;
    font-size: 30px;
}


/* End styles of topbar */


/* start styles of banner */

.banner {
    position: relative;
    /* opacity: 0.65; */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.banner {
    background-image: url("../images/banner.jpeg");
    border-bottom: solid 4px #04c2c9;
}

#particles-js-box {
    height: 700px;
}

.banner img {
    object-fit: cover;
}

.banner .caption {
    text-align: center;
    padding-top: 180px;
    position: absolute;
    left: 50%;
    transform: translate3d(-50%, 0%, 0);
}

.banner .caption span {
    color: #e31b6d;
}

.banner .container {
    position: relative;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.banner .caption .btn {
    position: relative;
    display: inline-block;
    width: 277px;
    height: 80px;
    font-size: 2em;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.045em;
}

.banner .caption .btn svg {
    position: absolute;
    top: 0;
    left: 0;
}

.banner .caption .btn svg rect {
    stroke: #e31b6d;
    stroke-width: 4;
    stroke-dasharray: 353, 0;
    stroke-dashoffset: 0;
    -webkit-transition: all 600ms ease;
    transition: all 600ms ease;
}

.banner .caption .btn span {
    background: #e31b6d;
    background: -moz-linear-gradient(left, #e31b6d 0%, #fff 100%);
    background: -webkit-linear-gradient(left, r#e31b6d 0%, #fff 100%);
    background: linear-gradient(to right, #e31b6d 0%, #fff 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#e31b6d', endColorstr='#fff', GradientType=1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner .caption .btn:hover svg rect {
    stroke-width: 4;
    stroke-dasharray: 196, 543;
    stroke-dashoffset: 437;
}


/* End styles of banner */


/* start styles of about */

.about {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 150px;
}

.about h1 {
    color: #444649;
}

.un {
    background-color: #444649;
    height: 4px;
    width: 70px;
    margin: auto;
}

.about .abt_details {
    margin-top: 60px;
}

.about h4 {
    color: #616161;
    font-weight: 600;
}

.about .abt_details p {
    font-size: 15px;
    width: 100%;
    color: #6a6661;
}

.skillbar {
    position: relative;
    display: block;
    margin-bottom: 15px;
    width: 100%;
    background: #eee;
    height: 35px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -ms-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
    -webkit-transition-property: width, background-color;
    -moz-transition-property: width, background-color;
    -ms-transition-property: width, background-color;
    -o-transition-property: width, background-color;
    transition-property: width, background-color;
}

.skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    background: #6adcfa;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    width:auto;
    border-bottom-left-radius: 3px;
}

.skillbar-title span {
    display: block;
    background: rgba(0, 0, 0, 0.1);
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
    -webkit-border-top-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.skillbar-bar {
    height: 35px;
    width: 0px;
    background: #6adcfa;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 11px;
    height: 35px;
    line-height: 35px;
    color: #444;
    color: rgba(0, 0, 0, 0.4);
}

.about .abt_skills {
    margin-top: 100px;
}

.about .abt_me p {
    font-size: 14px;
    color: #6a6661;
    text-align: center;
    text-align: justify;
    margin: 0px 30px;
}

.about .abt_me {
    text-align: center;
}

.about .abt_me h4 {
    margin: 20px 0px;
}

.about .abt_me img {
    margin-top: -40px;
    width: 350px;
}


/* End styles of about */


/* start styles of projects */

.projects {
    text-align: center!important;
    margin-bottom: 100px;
}

.projects .grid {
    margin-top: 50px;
}


/* Common style */

.projects .grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 0px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.projects .grid figure img {
    width: 100%;
}

.projects .grid figure figcaption {
    padding: 2em;
    color: #fff;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.projects .grid figure figcaption::before,
.projects .grid figure figcaption::after {
    pointer-events: none;
}

.projects .grid figure figcaption,
.projects .grid figure figcaption>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Anchor will cover the whole item by default */


/* For some effects it will show as a button */

.projects .grid figure figcaption>a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.projects .grid figure p {
    margin: 0;
}

.projects .grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}


/* Individual effects */


/*---------------*/


/***** Chico *****/


/*---------------*/

.projects figure.effect-chico img {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.projects figure.effect-chico:hover img {
    opacity: 0.5;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.projects figure.effect-chico figcaption {
    padding: 3em;
}

.projects figure.effect-chico figcaption::before {
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 1px solid #fff;
    content: '';
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.projects figure.effect-chico figcaption::before,
.projects figure.effect-chico p {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.projects figure.effect-chico p {
    margin: 0 auto;
    max-width: 200px;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}

.projects figure.effect-chico:hover figcaption::before,
.projects figure.effect-chico:hover p {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}


/* ******************* */


/* ************ */

.projects figure.effect-chico figcaption::before,
.projects figure.effect-chico h3 {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.projects figure.effect-chico h3 {
    margin: 0 auto;
    max-width: 200px;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}

.projects figure.effect-chico:hover figcaption::before,
.projects figure.effect-chico:hover h3 {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.projects #showcontent {
    width: 100%;
    background: #fff;
    font-size: 18px;
    color: #444;
    max-height: 300px;
    overflow: hidden;
    /* Set Transitions */
    transition: max-height 0.7s;
}

#showcontent.open {
    max-height: 3000px;
    /* Set transitions */
    transition: max-height 0.7s;
}

.show-more {
    width: 20%;
    display: block;
    cursor: pointer;
    text-align: center;
    padding: 15px;
    margin: 10px auto;
}

@import 'https://fonts.googleapis.com/css?family=Comfortaa:300,400,700&subset=cyrillic,cyrillic-ext,latin-ext';
* {
    box-sizing: border-box
}

.projects button {
    color: #444649;
    background: transparent;
    border-width: 2px;
    border-style: solid;
    border-color: #e31b6d;
    position: relative;
    margin: 1em;
    display: inline-block;
    padding: 0.5em 1em;
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    width: 200px;
}

.projects button:before,
.projects button:after {
    content: '';
    display: block;
    position: absolute;
    border-color: #e31b6d;
    box-sizing: border-box;
    border-style: solid;
    width: 1em;
    height: 1em;
    transition: all 0.3s ease-in-out
}

.projects button:before {
    top: -6px;
    left: -6px;
    border-width: 2px 0 0 2px;
    z-index: 5;
}

.projects button:after {
    bottom: -6px;
    right: -6px;
    border-width: 0 2px 2px 0;
}

.projects button:hover:before,
.projects button:hover:after {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-color: #e31b6d;
}

.projects button:hover {
    color: #444649;
    background-color: #fff;
    border-color: #e31b6d;
}

.panel {
    max-width: 960px;
    text-align: center;
    position: relative;
    margin: auto;
}


/* End styles of projects */


/* start styles of contact */

.contact {
    background-color: #252934;
    text-align: center;
}

.contact h1 {
    padding-top: 50px;
    color: white;
}

.contact .un {
    background-color: white;
}

.contact form {
    padding-bottom: 50px;
}

.contact input {
    border-radius: 0px;
    background-color: #1e242c;
    border-color: #1e242c;
}

.contact textarea {
    border-radius: 0px;
    background-color: #1e242c;
    border-color: #1e242c;
}

.contact p {
    color: #04c2c9;
    padding: 30px 0px;
}

.contact .btn-con {
    background-color: #e31b6d;
    border-radius: 0px;
    width: 50%;
    color: white;
}

.contact .btn-con:hover {
    background-color: #252934;
    border: solid 1px #e31b6d;
    color: #04c2c9;
}


/* End styles of contact */


/* start of footer */

.footer {
    background-color: #1b242f;
    text-align: center;
}

.footer a {
    color: white!important;
    font-size: 32px;
    background-color: #e31b6d;
    padding: 8px 20px;
}

.footer .row a {
    color: white!important;
    font-size: 20px;
    background-color: #252934;
    padding: 10px 20px;
    margin: 80px 10px;
}

.footer .row a:hover {
    background-color: #3085a3;
    font-size: 18px;
    transition: 0.5s;
    padding: 8px 18px;
    cursor: pointer;
}

.footer p {
    color: #5c5c5c;
    margin-top: -40px;
    padding-bottom: 30px;
}

.footer span {
    color: #e31b6d;
    font-size: 15px;
}


/* End of footer */

@media only screen and (max-width:991px) {
    .projects #showcontent {
        width: 100%;
        background: #fff;
        font-size: 18px;
        color: #444;
        max-height: 200px;
        overflow: hidden;
        /* Set Transitions */
        transition: max-height 0.7s;
    }
    #showcontent.open {
        max-height: 2000px;
        /* Set transitions */
        transition: max-height 0.7s;
    }
}

@media only screen and (max-width:767px) {
    .about .abt_me p {
        font-size: 14px;
        color: #6a6661;
        text-align: center;
        text-align: justify;
        margin: 30px 0px;
    }
    #showcontent.open {
        max-height: 3500px;
        /* Set transitions */
        transition: max-height 0.7s;
    }
}