body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #727272;
    margin: 0;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

p {
    margin-bottom: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: #000;
    line-height: 1.15;
    font-weight: 500;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 32px;
}

.btn {
    display: inline-block;
    border: 1px solid #34547a;
    background: #34547a;
    color: #fff;
    text-transform: uppercase;
    padding: 23px 50px;
    line-height: 1;
    text-decoration: none;
}

.btn:hover {
    transition: opacity 0.3s ease-in;
    opacity: 0.7;
}

.header {
    padding: 0;
    background: #eeeff1;
    position: relative;
}
.container {
    max-width: 1180px;
    padding: 0 15px;
    margin: 0 auto;
}

.flex_box {
    display: flex;
    order: 2;
}

.header_wrap {
    display: flex;
    align-items: center;
    margin: 0 25px 0 15px;
}

.burger-checkbox {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: -9999999px;
}

.burger {
    position: relative;
    width: 26px;
    height: 18px;
}

.burger:before,
.burger span,
.burger:after {
    position: absolute;
    right: 0;
    left: 0;
    background: #000;
    height: 2px;
}

.burger:before {
    content: "";
    top: 0;
}

.burger span {
    top: 8px;
}

.burger:after {
    content: "";
    bottom: 0;
}

.burger-checkbox:checked + .burger span {
    opacity: 0;
}

.burger-checkbox:checked + .burger:before {
    transition: transform 0.3s ease-in;
    transform: rotate(45deg);
    top: 8px;
}

.burger-checkbox:checked + .burger:after {
    transition: transform 0.3s ease-in;
    transform: rotate(-45deg);
    bottom: 8px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
}

.nav {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 15px;
}

.header-block {
    padding: 15px 0 0 0;
}

.img {
    padding: 15px;
}

.burger-checkbox:checked ~ .header-list {
    transition: opacity 0.3s ease-in;
    opacity: 1;
    visibility: visible;
}

.header-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    text-align: center;
    background: #eeeff1;
    opacity: 0;
    visibility: hidden;
    list-style-type: none;
    padding: 0 20px 0 0;
    border: 2px solid #cbcbcb;
}

.header-item {
    padding: 10px 0 10px 25px;
}

.header-item a {
    color: black;
    text-decoration: none;
}

.header-item a:hover {
    opacity: 0.3;
}

.about-me {
    max-width: 100%;
    text-align: center;
}

.about-me-h2 h2 {
    margin-bottom: 0;
}

.about-me-h2 {
    margin-top: 30px;
}

.about-me-lorem {
    display: inline-block;
    max-width: 80%;
    margin: 30px 0 30px 0;
}

.about-me-lorem p {
    margin: 0;
}

.many-projects {
    width: 100%;
    background: #34547a;
}

.project {
    display: flex;
}

.project-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 100px 0;
    margin: 0 -7px;
}

.ptoject-text p,
.ptoject-text h3 {
    color: white;
}

.ptoject-text p {
    margin: 10px 0 0 0;
}

.ptoject-text h3 {
    margin: 0;
    width: calc(100% - 70px);
}

.project-img {
    margin-right: 20px;
}

.section-banner {
    background: #eeeff1;
    padding: 50px 0 50px;
}

.banner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 -65px;
}

.col--description {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.col {
    padding: 0 65px;
    width: 80%;
}

.col-3 {
    background-image: url(./img-03.jpg);
}

.col-4 {
    background-image: url(./img-04.jpg);
}

.col--img {
    display: flex;
    justify-content: center;
}

.title {
    margin-bottom: 30px;
}

.section-banner .holder {
    padding-bottom: 40px;
}

.img-compuhter {
    margin-bottom: 30px;
}

.holder,
.title {
    text-align: center;
}

.section-skill {
    padding: 40px 0;
}

.skill-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.skill-col {
    width: 90%;
}

.skill-descr {
    padding-right: 20px;
}

.skill-img {
    background-image: url(img/creepy-man.jpeg);
    margin: 0 0 20px 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 34.6%;
}

.skill-load {
    width: 75%;
}

.skill-descr .title {
    margin-bottom: 50px;
}

.skill-box {
    max-width: 445px;
}

.skill-this {
    margin-bottom: 30px;
}

.skill-label {
    display: block;
    margin-bottom: 20px;
}

.skill-loader {
    background: #c4c4c4;
    height: 4px;
    position: relative;
}

.skill-load {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #34547a;
}

.deceptive-video {
    width: 100%;
    background: #eeeff1;
}

.video-block {
    text-align: center;
    padding: 40px 0 40px 0;
}

.play-button {
    color: #000;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    width: 9%;
}

.lorem-p {
    margin: 50px 0 57px 0;
}

.buttom-center {
    position: relative;
}

.buttom-center .fake-video {
    width: 100%;
    height: auto;
}

.buttom-center .play-button {
    position: absolute;
    top: 42%;
    left: 45%;
}

.video-block h2 {
    margin: 0;
}

/* gellary */

.section-gellary .row {
    display: flex;
    flex-wrap: wrap;
}

.section-gellary .col {
    width: 50%;
    padding-top: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.section-gellary .col:hover::before,
.section-gellary .col:hover::after {
    transition: opacity 0.3s ease-in;
    opacity: 1;
    visibility: visible;
}

.section-gellary .col::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(52, 84, 122, 0.8);
    opacity: 0;
    visibility: hidden;
}

.section-gellary .col::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(./img/Group.svg) no-repeat;
    background-size: cover;
    background-position: center;
    width: 100px;
    height: 58px;
    opacity: 0;
    visibility: hidden;
}

.col {
    order: 0;
}

.col-order1 {
    order: 1;
}

.col-order2 {
    order: 2;
}

.col-order3 {
    order: 3;
}

.col-order4 {
    order: 4;
}

.form-section {
    width: 100%;
    background: #eeeff1;
}

.input-block {
    text-align: center;
    padding: 40px 0 40px 0;
}

.input-block p {
    margin: 30px 0 35px 0;
}

.about-me-lorem-p {
    display: inline-block;
    max-width: 80%;
    margin: 30px 0 30px 0;
}

.form-block-name-email {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.input-name,
.input-email {
    width: 70%;
    padding-left: 20px;
    height: 50px;
    margin-bottom: 20px;
    border: none;
}

.microsoft-flex-block {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 40px 0 50px 0;
}

.message-form {
    padding: 17px 0 0 20px;
    width: 70%;
    height: 125px;
    resize: none;
    margin-bottom: 50px;
    border: none;
}

.col-microsoft {
    width: 25%;
}

.footer {
    width: 100%;
    background: #34547a;
}

.footer-block {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 42px 0;
}

.info {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.info h3,
.info p {
    color: white;
    margin: 0;
    padding: 0;
}

.info p {
    margin: 0 0 25px 0;
}

.vk-img a img {
    margin-left: 22px;
}

.info h3 {
    margin: 20px 0 20px 0;
}

@media (min-width: 556px) and (max-width: 767px) {
    .many-projects {
        padding: 0 60px;
    }
}

@media (min-width: 795px) and (max-width: 1049px) {
    .microsoft-flex-block {
        padding: 40px 100px 50px 100px;
    }
}

@media (max-width: 575px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 24px;
    }

    p {
        font-size: 14px;
    }

    .img-compuhter {
        max-width: 70%;
    }
}

@media (min-width: 576px) {
    .project-img img {
        margin: 0 0 0 15px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .project-container {
        flex-wrap: nowrap;
    }
}

@media (min-width: 768px) {
    .form-block-name-email {
        display: block;
    }

    .input-name,
    .input-email {
        width: 22.2%;
        padding-left: 20px;
        height: 50px;
    }

    .input-email {
        margin: 0 0 20px 20px;
    }

    .message-form {
        padding: 17px 0 0 20px;
        width: 46.4%;
        height: 175px;
        resize: none;
        margin-bottom: 50px;
    }
}

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

@media (min-width: 1024px) {
    .about-me-lorem {
        max-width: 270px;
    }

    .col-order1,
    .col-order2,
    .col-order3,
    .col-order4 {
        order: 0;
    }

    .section-gellary .col {
        width: 25%;
        padding-top: 25%;
    }

    .skill-col {
        width: 50%;
    }

    .col {
        width: 50%;
    }

    .img-compuhter {
        margin-bottom: 0px;
    }

    .col--description {
        display: block;
    }

    .holder,
    .title {
        text-align: left;
    }

    .title {
        margin-bottom: 60px;
    }

    .banner-wrap {
        flex-direction: row;
    }

    .skill-row {
        flex-direction: row;
    }

    .skill-img {
        margin: 0;
    }

    .input-block p {
        margin: 50px 0 65px 0;
    }

    .about-me-lorem-p {
        display: inline-block;
        max-width: 44.8%;
        margin: 50px 0 100px 0;
    }

    .about-me-h2 {
        margin-top: 119px;
    }

    .about-me-lorem {
        max-width: 545px;
        margin: 50px 0 100px 0;
    }

    .project {
        display: flex;
        width: 16.666%;
        padding: 0 7px 14px;
    }

    .section-skill {
        padding: 100px 0;
    }

    .video-block {
        padding: 100px 0 100px 0;
    }

    .input-block {
        padding: 100px 0 100px 0;
    }

    .microsoft-flex-block {
        padding: 72px 0 100px 0;
    }

    .section-banner {
        background: #eeeff1;
        padding: 150px 0 146px;
    }

    .header-block {
        padding: 57px 0 0 0;
    }

    .burger {
        display: none;
    }

    .header-list {
        position: static;
        display: flex;
        align-items: center;
        opacity: 1;
        visibility: visible;
        border: 0;
    }

    .item a {
        padding-bottom: 0px;
        margin-bottom: 0px;
    }

    .header-item + .header-item {
        padding-left: 42px;
    }

    .footer-block {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        padding: 42px 0 42px 0;
    }

    .info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .info p {
        margin: 0;
    }
}
