.body-index, 
.body-about-me {
    /* slider-img */
    background: rgb(23, 23, 23);

    -ms-user-select: none; /* Internet Explorer/Edge */
    -moz-user-select: none; /* Firefox */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    user-select: none; /* Non-prefixed version */
}
/* ---------------------- */
.wrapper {
    /* оступы вокруг bg */
    /* padding: 10px 10px 0px 10px; */
    
    /* чтоб облочка была на всю высоту экрана */
    min-height: 100%;
    /* чтоб ничего за экран не вылезло */
    overflow: hidden;
    display: flex;
    flex-direction: column;

}
/* -------------------------------------- */
[class*="__container"] {
    max-width: 1018px;
    margin: 0px auto;
    padding: 0px 15px;
}

[class*="__container-aboutme"] {
    max-width: 980px;
    margin: 0px auto;
    padding: 0px 100px 0px 20px;
}
/* -------------------------------------- */

/* index.html -------------------------------------- */
/* PC */
@media (max-width: 1018px) {
    [class*="__container"] {
        max-width: 970px;
    }
}

/* tablet */
@media (max-width: 991.98px) {
    [class*="__container"] {
        max-width: 750px;
    }
}

/* mobile */
@media (max-width: 767.98px) {
    [class*="__container"] {
        max-width: none;
    }
}

/* small mobile */
@media (max-width: 479.98px) {
    [class*="__container"] {
        max-width: none;
    }
}

/* about-me.html -------------------------------------- */

@media (max-width: 1018px) {
    [class*="__container-aboutme"] {
        max-width: 970px;
    }
}

/* tablet */
@media (max-width: 991.98px) {
    [class*="__container-aboutme"] {
        max-width: 750px;
    }
}

/* mobile */
@media (max-width: 767.98px) {
    [class*="__container-aboutme"] {
        max-width: none;
    }
}

@media (max-width: 710.98px) {
    [class*="__container-aboutme"] {
        max-width: 600px;
    }
}

@media (max-width: 545.98px){
    [class*="__container-aboutme"] {
        max-width: none;
    }
}

/* small mobile */
@media (max-width: 479.98px) {
    [class*="__container-aboutme"] {
        max-width: none;
    }
}
/* -------------------------------------- */


/* index.html ---------------------- */
.header{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
}

.header__container{
    display: flex;
    min-height: 114px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__logo {
    position: relative;
    z-index: 5;
}

.logo {
    font-family: "Raleway", sans-serif;
    /* display: flex;
    flex-wrap: wrap; */
    width: 114px;
    height: 53px;
}

.logo img{
    width: 40px;
    height: 40px;
}

.block__1 span {
    /* Roman */
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    position: relative;
    left: 37.5%;
    bottom: 19px;
}

.block__2 span {
    /* Romanov */
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;

    position: relative;
    left: 37.5%;
    bottom: 18px;
}
/* ---------------------- */


.header__menu{
    flex: 1 1 auto;
}

.menu {
    display: flex;
    justify-content: flex-start;
    justify-content: space-around;
}

.menu__list{
    width: 500px;
    height: 40px;
    display: flex;
}

.menu__item {
    margin: 0px 30px 0px 0px;

    /* width: 60px; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.0);
}

.menu__list li:nth-child(1) {	
    border-radius: 10px 0px 10px 0px;
    background: rgba(179, 171, 171, 0.3);
    padding: 10px 15px 10px 15px;
}
.menu__list li:nth-child(2) {padding: 10px 10px 10px 10px;}
.menu__list li:nth-child(3) {padding: 10px 10px 10px 10px;}
.menu__list li:nth-child(4) {padding: 10px 10px 10px 10px;}

.menu__link {
    font-family: "Raleway", sans-serif;
    color: rgb(255, 255, 255);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 1px;
}

.menu__link:hover {
    text-decoration: underline;
}

#projects{
    color: #999;
    border: none;
    cursor: not-allowed;
    pointer-events: none;
}

#services {
    color: #999;
    border: none;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------------------- */
.soc-icons__menu {}

.soc-icons__buttons{
    display: inline-flex;
    /* justify-content определяет выравнивание 
    вдоль основной оси */
    /* justify-content: flex-start; */
    background-color: rgba(179, 171, 171, 0.2);
    border: 0.3px solid #aeadad;
    border-radius: 70px;
    padding: 7px 20px 7px 20px;
}

.soc-icons__image1 img{
    pointer-events: none;

    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.soc-icons__image2 img{
    pointer-events: none;

    width: 20px;
    height: 20px;
    margin-right: 12px;
}

.soc-icons__image3 img{
    pointer-events: none;
    
    width: 20px;
    height: 20px;
}

.burger-menu {
    display: none;
}

/* ---------------------- */
.main {
    background: url(/img/backgroung/bg.jpg) 100%/ cover;
    /* border-radius: 10px 10px 0px 0px; */
    flex: 1 1 auto;
}

.welcome {
    padding: 220px 0px 80px 0px;
}
.welcome__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.welcome__content {
    flex: 0 1 40%;
}

.welcome__block-text {}

/* .block-text__title {
    font-family: "Rubik", sans-serif;
    color: #ffff;
    font-weight: 700;
    font-size: 44px;
    line-height: 126%;
}

.block-text__title:not(:last-child) {
    margin: 0px 0px 20px 0px;
}

.block-text__title span {}

.block-text__title_purple span{
    color: #9999FF;
} */

.block-text__text {
    background: rgb(238, 132, 3);
    font-family: "Raleway", sans-serif;
    
    color: #ffff;
    font-weight: 500;
    font-size: 30px;
    line-height: 43px;

    border-radius: 10px 0px 10px 0px;
    text-align: center;
}

.block-text__text:not(:last-child) {
    margin: 0px 0px 20px 0px;
}

.block-text__description1 {
    font-family: "Raleway", sans-serif;
    color: #ffffff;
    font-weight: 200;
    font-size: 18px;
    line-height: 170%;
    border-radius: 10px 10px 0px 0px;

    background: rgba(0, 0, 0, 0.391);

    padding: 5px 10px 20px 10px;
}

.block-text__description2 {
    font-family: "Raleway", sans-serif;
    color: #ffff;
    font-weight: 200;
    font-size: 18px;
    line-height: 170%;
    border-radius: 0px 0px 10px 0px;

    /* background: rgba(253, 253, 253, 0.3); */
    background: rgba(0, 0, 0, 0.391);

    padding: 0px 10px 5px 10px;
}

.block-text__description2 span{ color: #EE8403;}

/* ---------------------- */
.footer {
    font-family: "Raleway", sans-serif;
    background-color: #273D46;
}

.footer__row {
    display: flex;
    height: 65px;
    justify-content: center;
    align-items: center;
}

.footer__text {
    color: #ffffff9c;
    letter-spacing: 0.3px;
}
/* ---------------------- */

/* tablet - убираю ненужную заполненность */
@media (max-width: 991.98px) {
    .menu__list {width: 400px;}
    /* tablet - устанавливаю отступы меньше */
    .menu__item {margin: 0px 15px 0px 0px; border-bottom: 1px solid rgba(255, 255, 255, 0.5);}
    
    .welcome__container {
        display: block;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        /* justify-content: flex-start; */
    }

    .soc-icons__image1 img{
        width: 25px;
        height: 25px;
        margin-right: 12px;
    }
    
    .soc-icons__image2 img{
        width: 25px;
        height: 25px;
        margin-right: 12px;
    }
    
    .soc-icons__image3 img{
        width: 25px;
        height: 25px;
    }

    .block-text__text {
        display: inline-block;
        padding: 0px 5px 0px 5px;
    }

    .welcome {padding: 215px 0px 50px 0px;}
    .block-text__description1 {background: rgba(20, 19, 19, 0.911); padding: 5px 5px 20px 10px;}
    .block-text__description2 {background: rgba(20, 19, 19, 0.911); padding: 0px 5px 5px 10px;}
}

/* бургер */
@media (max-width: 767.98px) {
    .menu__body {
        position: fixed;
        top: 0;
        left: -200%;
        width: 100%;
        height: 100%;
        /* overflow: auto; */
        background-color: rgba(23, 23, 23, 0.962);
        padding: -10px 15px 30px 70px;
        transition: left 0.3s ease 0s;
    }

    /* появление меню через бургер */
    .header:target .menu__body{
        left: 0;
    }

    .header__container{
        border-bottom: 1px solid rgba(255, 255, 255, 0.0);
    }

    .menu__list {
        width: 100%;
        height: 90%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menu__item {
        margin: 0px 0px 15px 0px;
    }

    .menu__item:last-child {
        margin-bottom: 0;
    }

    .menu__link {
        color: #ffffff;
        font-size: 32px;
        font-weight: 700;
    }

    .menu__list li:nth-child(1) {	
        background: rgba(0, 0, 0, 0);
    }

    .welcome {padding: 180px 0px 50px 0px;}
    .block-text__description1 {background: rgba(0, 0, 0, 0.441); padding: 5px 5px 20px 10px;}
    .block-text__description2 {background: rgba(0, 0, 0, 0.441); padding: 0px 5px 5px 10px;}
}

@media (max-width: 767.98px) {
    .close-burger-menu,
    .burger-menu {
        display: flex;
        position: relative;
        flex: 0 0 30px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin: 0px 0px 0px 20px;
    }

    .burger-menu::before,
    .burger-menu::after {
        content: "";
        background-color: #ffffff;
        height: 3px;
    }

    .burger-menu span {
        height: 3px;
        background-color: #ffffff;
    }

    .close-burger-menu {
        display: none;
    }

    .close-burger-menu::before,
    .close-burger-menu::after {
        content: "";
        background-color: #ffffff;
        height: 2px;
        transform-origin: 0;
    }
    
    .close-burger-menu::before {
        transform: rotate(32deg);
    }

    .close-burger-menu::after {
        transform: rotate(324deg);
    }

    .header:target .burger-menu {
        display: none;
    }

    .header:target .close-burger-menu {
        display: flex;
    }
    /* .soc-icons__menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    } */
}

@media (max-width: 479.98px) {
    /* header */
    .soc-icons__buttons{border: 0.7px solid #aeadad;}
    .soc-icons__image1 img{width: 25px;height: 25px;margin-right: 12px;}
    .soc-icons__image2 img{width: 25px;height: 25px;margin-right: 12px;}
    .soc-icons__image3 img{width: 25px;height: 25px;}
    /* index.html  */
    .welcome {padding: 130px 0px 50px 0px;}
    .block-text__text {padding: 0px 10px 0px 10px; font-size: 22px;}
}

    /* текст прячется за шапкой */
    /* .header:target .menu__body:before{
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        height: 80px;
        width: 100%;
        background-color: #EE8403;
    } */


@media (max-width: 321.98px) {
    .header__container {padding: 0px 5px 0px 5px;}
    .logo {margin: 0px 0px 10px 0px;}
    .soc-icons__buttons {padding: 5px 10px 5px 10px;}

    .soc-icons__image1 img{
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    
    .soc-icons__image2 img{
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    
    .soc-icons__image3 img{
        width: 20px;
        height: 20px;
    }
    .block-text__text {font-size: 18px;}
    .burger-menu {margin: 0px 0px 0px 5px; padding: 0px 0px 0px 0px;}
}

@media (max-width: 270.98px) {
    .logo {margin: 0px 5px 5px 0px; width: 95px;}
    .block__1 span {font-size: 12px; left: 45%;}
    .block__2 span {font-size: 8px; left: 45%; bottom: 25px;}

    .soc-icons__image1 img{
        margin-right: 6px;
    }
    
    .soc-icons__image2 img{
        margin-right: 6px;
    }

    .close-burger-menu {
        flex: 0 0 30px;
    }

    .burger-menu {
        flex: 0 0 20px;
        margin: 0px 0px 0px 5px;
    }

    .close-burger-menu {margin: 0px 0px 0px 5px;}

    .menu__link {
        font-size: 22px;
    }

    .block-text__text {font-size: 15px;}

    .footer__text {padding: 10px;}

}
/* [class*="__container"] {padding: 0px;} */

@media (max-width: 245.98px) {
    .soc-icons__menu {display: none;}
    .block-text__text {font-size: 11px;}
    .block-text__description1 {padding: 0px 0px 0px 5px;}
    .block-text__description2 {padding: 0px 0px 0px 5px;}
}

/* --------------------- site about me ------------------- */
.main__about-me {
    background: url(/img/backgroung/bg-aboutme.jpg) 100%/ cover;
    flex: 1 1 auto;
    opacity: 95%;
}

.about-me {
    padding: 150px 0px 20px 0px;
}

.about-me__container-aboutme {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.about-me__content {
    /* облость отступа от картинки */
    flex: 0 1 60%;
    /* padding: 0px 0px 0px 0 20px; */

    background: rgba(28, 28, 28, 0.85);
    border-radius: 0px 10px 10px 0px;

    padding: 10px 0px 20px 30px;
}
.block-text {}

.block-text__title {
    font-family: Raleway;
    color: #D1D9D4;
    font-size: 40px;
    font-weight: 500;
    line-height: 170%;

    padding: 0px 50px 0px 45px;
}

.block-text__title span {
    color: rgb(248, 167, 49);
}

/* ---------------------- */
.menu-skills {}

.menu-skills-list {
    display: inline-block;
    
    font-family: Raleway;
    font-size: 18px;
    font-weight: 200;
    line-height: 170%;

}

.menu-skills-list li {}

/* обращаюсь к псевдоклассам списка */
.menu-skills-list li:first-child {
    color: rgb(108, 188, 255);
    display: flex;
    align-items: center;
}
.menu-skills-list li:first-child::before {
    background: url(/img/about-me/icons/high.png) center center no-repeat;
    content: '';
    display: inline-block;
    background-size: contain;
    width: 30px;
    height: 30px;
    margin: 0px 12px 0px 3px;
}


.menu-skills-list li:nth-child(2) {
    color: rgb(108, 188, 255);
    display: flex;
    align-items: center;
}
.menu-skills-list li:nth-child(2)::before {
    background: url(/img/about-me/icons/team-player.png) center center no-repeat;
    content: '';
    display: inline-block;
    background-size: contain;
    width: 37px;
    height: 37px;
    margin: 0px 9px 0px 0px;
}


.menu-skills-list li:nth-child(3) {
    color: rgb(200, 207, 202);
    display: flex;
    align-items: center;
}
.menu-skills-list li:nth-child(3)::before {
    background: url(/img/about-me/icons/creative.png) center center no-repeat;
    content: '';
    display: inline-block;
    background-size: contain;
    width: 35px;
    height: 35px;
    margin: 0px 10px 0px 0px;
}


.menu-skills-list li:nth-child(4) {
    color: rgb(200, 207, 202);
    display: flex;
    align-items: center;
}
.menu-skills-list li:nth-child(4)::before {
    background: url(/img/about-me/icons/Reliable.png) center center no-repeat;
    content: '';
    display: inline-block;
    background-size: contain;
    width: 35px;
    height: 35px;
    margin: 0px 10px 0px 0px;
}


.menu-skills-list li:last-child {
    color: rgb(200, 207, 202);
    display: flex;
    align-items: center;
}
.menu-skills-list li:last-child::before {
    background: url(/img/about-me/icons/Dedicated.png) center center no-repeat;
    content: '';
    display: inline-block;
    background-size: contain;
    width: 35px;
    height: 35px;
    margin: 0px 10px 0px 0px;
}
/* ---------------------- */

.about-me__image {
    /* рамки фото в процентах */
    flex: 0 1 40%;
}

.about-me__image img {
    pointer-events: none;

    width: 370px;
    height: 450px;
    max-width: 100%;

    box-shadow: 0 5px rgb(248, 169, 49);
    border-radius: 40px 1px 40px 1px;
}

.block-description_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    /* отступ от основного блока с фото */
    margin: 30px 130px; 
}

.block-text__description {
    color: #ffff;
    font-family: Raleway;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 5%;
    text-align: left;

    background: rgba(11, 11, 11, 0.712);
    border-radius: 10px;
    padding: 5px 5px 5px 10px;
}

.block-text__description span {
    color: rgb(248, 167, 49);
}


@media (max-width: 991.98px) {
    .about-me__container-aboutme {
        padding: 0px;
    }

    .block-text__title {
        padding: 0px;
    }

    .block-description_container {
        margin: 80px 15px 15px 15px;
    }

    .about-me__image img {
        width: 300px;
        height: 400px;
        max-width: 100%;
    }
}


@media (max-width: 767.98px) {
    .about-me__container-aboutme {
        padding: 0px 20px 0px 20px;
    }

    .about-me__content {
        padding: 5px 5px 5px 10px;
    }

    .block-text__title {padding: 0px 0px 0px 10px;}

    .about-me__image {
        /* рамки фото в процентах */
        flex: 0 1 39%;
    }

    .about-me__image img {
    width: 290px;
    height: 350px;
    max-width: 100%;
    }
}


@media (max-width: 710.98px) {
    .about-me__container-aboutme {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0px;
    }

    .about-me__content {
        margin: 0px 0px 0px 15px;
        padding: 19px 0px 30px 30px;
        flex: 0 1 90%;

        border-radius: 40px 0px 0px 40px;
        box-shadow: 0 5px rgb(255, 255, 255) ;
        background: rgba(28, 28, 28, 0.85);
        
    }

    .block-text__title {font-size: 37px; padding: 0px 0px 0px 10px;}

    .block-description_container {
        margin: 30px 15px 15px 15px;
    }
    
    .about-me__image {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        flex: 1 1 100%;
    }

    .about-me__image img {
        border-radius: 0px 40px 40px 0px;
        margin: 0px 15px 0px 0px;
    }
    
}

@media (max-width: 555.98px) {
    .about-me {padding: 150px 0px 10px 0px;}

    .about-me__container-aboutme {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-me__image {justify-content: center;}

    .about-me__image img {
        width: 90%;
        height: 90%;
        max-width: 100%;

        border-radius: 40px 2px 0px 0px;
        margin: 0px 15px 0px 15px;
        box-shadow: 0 0px rgba(11, 11, 11, 0.863);
    }

    .about-me__content {
        margin: 0px;
        padding: 30px 10px 30px 30px;
        flex: 1 1 100%;

        border-radius: 0px 0px 40px 10px;
        box-shadow: 0 5px rgb(248, 167, 49);
        background: rgba(11, 11, 11, 0.863);
        
        width: 90%;
        height: 100%;
    }

    .block-description_container {margin: 30px 25px 20px 25px;}

    .block-text__description {
        border-radius: 10px 40px 10px 10px;
        padding: 15px 15px 5px 10px;
    }
}

@media (max-width: 479.98px) {
    .block-text__title {
        font-size: 30px;
    }
}

@media (max-width: 268.98px) {
    .block-text__title {
        font-size: 15px;
    }

    .menu-skills-list {font-size: 11px;}

    .menu-skills-list li:first-child::before {width: 20px; height: 20px; margin: 0px 9px 0px 0px;}
    .menu-skills-list li:nth-child(2)::before {width: 20px; height: 20px;}
    .menu-skills-list li:nth-child(3)::before {width: 20px; height: 20px; margin: 0px 9px 0px 0px;}
    .menu-skills-list li:nth-child(4)::before {width: 20px; height: 20px; margin: 0px 9px 0px 0px;}
    .menu-skills-list li:last-child::before {width: 20px; height: 20px; margin: 0px 9px 0px 0px;}
}