
* {
    padding: 0;
    margin: 0;
    border: 0;
}
*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
:focus,
:active {
    outline: none;
}
a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
    font-family:inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding:0;border:0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,h2,h3,h4,h5,h6 {
    font-size:inherit;
    font-weight: 400;
}

:root {
    --main-text: #010101;
    --second-text: #757575;
    --accent: #c0e3e7;
    --progress: #849496;
}

/*1. 83C8D0*/
/*2. 69CAD6 */
/*3 34042*/
/*4 138F9D*/

body {
    background-color: #f3f3f3;
    font-size: 16px;
    line-height: 1.4em;
    letter-spacing: .08em;
    color: var(--main-text);
    font-family: 'Noto Sans', sans-serif;
    scroll-behavior: smooth;
}

._container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

._section {
    background-color: #fff;
    padding: 30px 40px 30px 40px;
    border: 1px solid #e1e1e1;
}

._section:not(:last-child) {
    margin-bottom: 30px;
}

._title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

b {
    font-weight: 700;
}

.bullet {
    display: inline-block;
    width: .938em;
    height: .938em;
    border-radius: 50%;
    border: 1px solid var(--accent);
}

/* -----Background------------------------------------------------------------------------------*/
svg:not(:root) {
    overflow: hidden;
}

#crt-bg-shape-1 polygon {
    fill: #e1e1e1;
}

#crt-bg-shape-1 {
    left: 0;
    opacity: .7;
}

#crt-bg-shape-1, #crt-bg-shape-2 {
    top: 0;
    position: fixed;
    z-index: -1;
}

#crt-bg-shape-2 {
    right: 0;
}

#crt-bg-shape-2 polygon {
    fill: var(--accent);
}

/* -----Header------------------------------------------------------------------------------*/
.header {
    height: 100px;
    display: flex;
    align-items: center;
    transition: all .2s;
}

.header__inner {
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    align-items: center;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__burger {
    display: none;
}

header.fixed {
    position: fixed;
    width: 100%;
    max-height: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
    z-index: 100;
    background-color: #fff;
}
/* -----Nav------------------------------------------------------------------------------*/

.nav__list {
    display: flex;
}

.nav__li:not(:last-child) {
    margin-right: 30px;
}

.nav__link{
    /*color: var(--main-text);*/
    color: #ADADAD;
    font-size: 16px;
    font-weight: 400;
    transition: all .2s ease-out;
}

.nav__link:hover {
    color: var(--second-text);
}

/* -----Sidebar------------------------------------------------------------------------------*/
.sidebar {
    margin-right: 25px;
    box-shadow: 0 0 10px 4px rgb(0 0 0 / 16%);
}
.sidebar__line {
    width: 100%;
    height: 1px;
    background-color: #e1e1e1;
    border-radius: 50px;
}
.sidebar__img {
    margin-bottom: 20px;
    /*border-radius: 50%;*/
    height: 195px;
}

.sidebar__title {
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.sidebar__text {
    margin-bottom: 10px;
}

.sidebar__socials {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar__li:not(:last-child) {
    margin-right: 20px;
}

.sidebar__link {
    color: var(--main-text);
}

.sidebar__link:hover {
    color: var(--second-text);
}
.sidebar__link:active,.sidebar__link:focus,.sidebar__link:visited {
    outline: none;
}

.sidebar__icon {
    display: block;
    width: 30px;
    height: 30px;
    fill: var(--main-text);
}

.sidebar__icon:active {
    outline: none;
    fill: var(--main-text);
}

.sidebar__icon:hover {
    fill: var(--second-text);
}

.sidebar__content {
    background-color: var(--accent);
    padding: 30px;
    text-align: center;
}

.sidebar__download {
    background-color: #fff;
    text-align: center;
    padding: 40px;
}

.sidebar__btn {
    text-align: center;
    padding: 5px 30px;
    min-height: 40px;
    background-color: var(--main-text);
    border-radius: 35px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: .05em;
    transition: all .3s ease;
}

.sidebar__btn:hover {
    box-shadow: 0 0 10px 4px rgb(0 0 0 / 16%);
}
.sidebar__btn:active {
    outline: none;
}
    /* -----About------------------------------------------------------------------------------*/

.section__container {
    padding: 0 15px;
}

.about__text {
    margin-bottom: 10px;
}

.about__personal {
    display: flex;
}

.about__line {
    width: 100%;
    height: 1px;
    background-color: #e1e1e1;
    border-radius: 50px;
    margin: 40px 0 40px 0;
}
/* -----Personal------------------------------------------------------------------------------*/
.personal__information {
    flex: 50%;
    margin-right: 20px;
}

.personal__lang {
    flex: 50%;
}

.personal__title {
    color: var(--second-text);
    font-size: 1.35em;
    margin-bottom: 1.571em;
    font-weight: 400;
    line-height: 1.1;
}

.personal__link {
    color: var(--main-text);
    text-decoration: underline;
}


.personal__text-upper {
    text-transform: uppercase;
}

.personal__dl-horizontal dt {
    font-weight: 700;
    font-size: .9em;
}

.personal__dl-horizontal dd {
    font-size: .9em;
}

.personal__progress {
    display: flex;
    flex-direction: column;
}


/* -----Progress------------------------------------------------------------------------------*/
.progress-title {
    font-size: .9em;
    margin-bottom: 10px
}

.progress-bar {
    margin-bottom: 10px;
}

.progress-bar__fill {
    background-color: var(--accent);
}

/* -----Skills------------------------------------------------------------------------------*/
._skill {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
}
.skills__soft {
    margin-top: 30px;
}
.skills__subtitle {
    margin-bottom: 10px;
    font-size: 16px;
}

.skills__progress-bar {
    height: 2px;
    position: relative;
    background-color: #e3e3e3;
    margin-bottom: 15px;
}

.skills__progress-bar > span {
    display: block;
    height: 100%;
    background-color: var(--progress);
    position: relative;
}


/* -----Experience------------------------------------------------------------------------------*/

.experience__data {
    background-color: var(--accent);
    min-width: 160px;
    padding: 8px 6px;
    text-align: center;
    margin-right: 20px;
}
.experience__box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
}
.experience__subtitle {
    font-size: 20px;
    margin: 30px 0 22px 0;
}
.experience__text{
    margin-bottom: 10px;
}
.experience__company {
    color: var(--second-text);
    margin-bottom: 15px;
    line-height: 1.1;
}

/* -----Portfolio------------------------------------------------------------------------------*/
.portfolio__container {
    display: flex;
    margin: 0 -15px;
    flex-wrap: wrap;
}

.portfolio__item {
    padding: 0 15px;
    flex: 50%;
    margin-bottom: 40px;
}

.portfolio__content {
    background: var(--accent);
    position: relative;
}

.portfolio__img {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 0 10px 4px rgb(0 0 0 / 3%);
    transition: opacity .2s linear;
}

.portfolio__btns {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
}
.portfolio__btns-mobile {
    display: none;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}
.portfolio__btn-mobile {
    border-radius: 37px;
    line-height: 157%;
    letter-spacing: 0.2px;
    padding: 5px 30px;
    border: 1px solid var(--main-text);
    color: var(--main-text);
    transition: all .3s ease 0s;

}
.portfolio__btn-mobile:first-child {
    margin-right: 15px;
}
.portfolio__btn {
    border-radius: 37px;
    line-height: 157%;
    letter-spacing: 0.2px;
    padding: 5px 30px;
    background: var(--main-text);
    color: #fff;
    transition: all .3s ease 0s;
}

.portfolio__btn:active {
    outline: none;
}
.portfolio__btn:first-child {
    margin-right: 10px;
}

.portfolio__content:hover .portfolio__img{
    opacity: .1;
}

.portfolio__content:hover .portfolio__btns {
    opacity: 1;
}

.portfolio__content.clicked .portfolio__img {
    opacity: .1;
}

.portfolio__content.clicked .portfolio__btns {
    opacity: 1;
}

.portfolio__btn:hover {
    box-shadow: 0 0 10px 4px rgb(0 0 0 / 16%);
}
    /* -----Contact-----------------------------------------------------------------------------*/
.contact__link {
    text-decoration: underline;
    color: var(--main-text);
}

.contact__item:not(:last-child) {
    margin-bottom: 15px;
}
/* -----Footer------------------------------------------------------------------------------*/
.footer {
   padding: 20px 0;
}

.footer__copyright {
    text-align: center;
    padding: 0 15px;

}
@media (min-width: 1201px) {

    .flex {
        display: flex;
    }
    .sidebar {
        position: sticky;
        top: 71px;
        height: 490px;
    }

}

@media (max-width: 1200px) {
    .wrapper {
        min-height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .main {
        margin-top: -40px;
    }

    .header {
        height: 60px;
        position: fixed;
        top:0;
        left: 0;
        width: 100%;
        z-index: 10;
        background-color: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
    }

    .header__inner {
        height: 60px;
        padding: 0 15px;
    }

    ._container {
        padding: 0;
    }

    .sidebar {
        margin: 100px -30px 0 -30px

    }

    .sidebar__content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .sidebar__flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 30px;

    }
    .sidebar__download {
        margin-bottom: 15px;
    }

}


@media (max-width: 940px) {
    .personal__information {
        flex: 100%;
    }

    .personal__lang {
        flex: 100%;
        margin-top: 20px;
    }
    .about__personal {
        flex-wrap: wrap;
    }
}

@media (max-width: 769px) {

    body.lock {
        overflow: hidden;
    }

    .main {
        margin-top: 0;
    }

    .header {
        height: 60px;
    }

    .header__inner {
        height: 60px;
    }

    .nav {
        position: fixed;
        top:0;
        right: -100%;
        width: 320px;
        height: 100%;
        overflow: auto;
        transition: all 0.2s ease;
        background-color: #fff;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
        padding: 70px 10px 0 20px;
    }
    .nav::before {
        content: "";
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        height: 60px;
        background-color: #ffffff;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
        z-index: 3;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        display: block;
    }

    .nav__li {
        margin: 0 0 30px 0;
    }

    .nav__li {
        font-size: 24px;
    }

    .header__burger {
        display: block;
        position: relative;
        width: 24px;
        height: 18px;
        z-index: 5;
        cursor: pointer;
    }

    .header__burger span {
        display: block;
        position: absolute;
        left: 0;
        top: 8px;
        width: 100%;
        height: 2px;
        background-color: #171819;
        border-radius: 5px;
        transition: all .3s linear;
    }

    .header__burger:before,
    .header__burger:after {
        content: "";
        background-color: #171819;
        width: 100%;
        position: absolute;
        left: 0;
        height: 2px;
        border-radius: 5px;
        transition: all .3s linear;
    }

    .header__burger:before {
        top: 0;
    }

    .header__burger:after {
        bottom: 0;
    }

    .header__burger.active:before {
        transform: rotate(45deg);
        top: 8px;
    }

    .header__burger.active:after {
        transform: rotate(-45deg);
        bottom: 8px;
    }

    .header__burger.active span {
        transform: scale(0);
    }

    .sidebar {
        margin: 55px -30px 0 -30px;
    }
    .sidebar__flex {
        margin-left: 0;
    }
    .sidebar__content {
        flex-direction: column;
    }
    .personal__dl-horizontal dd {
        margin: 0 0 10px 0;
    }

    .portfolio__item {
        flex: 100%;
        padding: 0;
    }
    .portfolio__container {
        padding: 0;
    }

}

@media (max-width: 770px) {

    .portfolio__content:hover .portfolio__img{
        opacity: 1;f
    }
    .portfolio__btns {
        display: none;
    }
    .portfolio__btns-mobile {
        display: block;
    }
}
@media (min-width: 770px) {
    .personal__dl-horizontal dt {
        float: left;
    }
    .personal__dl-horizontal dd {
        margin: 0 0 10px 155px;
    }
}


@media (max-width: 470px) {
    ._title {
        font-size: 27px;
    }
    .experience__data > span {
        font-size: 14px;
    }
}