body { 
    background: #F6F6FA;
    padding: 40px 40px 40px 40px;
    font-family: 'Montserrat', sans-serif;
}

.ul, ol {
    margin-top: 0;
    margin-bottom: 0;
}

.wrapper {
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    width: 1200px;
    margin: 0 auto;
}

/* Main content */
.main-content {
    padding-left: 88px;
    padding-top: 80px;
    padding-right: 40px;
    padding-bottom: 80px;
    box-sizing: border-box;
    width: 100%;
}

/* Sidebar */
.sidebar {
    background: #E0EBFE;
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
    width: 370px;
}

.sidebar-content {
    padding-left: 40px;
    padding-top: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

/* Contacts */
.contacts-title{
    color: #161D2A;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 8;
}

.contacts-type {
        color: #161D2A;
        font-size: 14px;
        font-weight: 700;
        line-height: 24px;
        margin-right: 8px;
}

.contacts-link {
        color: #2979FF;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        text-decoration-line: underline;
}

.contacts-item {
    margin-top: 0;
    margin-bottom: 4px;
}

.contacts-container {
    margin-bottom: 40px;
}

/* Tech skils container */
.t-skills-container {
    margin-bottom: 40px;
}

.t-skills-title {
    color: #161D2A;
    font-size: 22px; 
    font-weight: 700;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 8px;
}

.t-skills-list {
    padding-left: 24px;
}

.t-skills-list-item {
    color: #161D2A;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

/* Soft skils container */
.s-skills-container {
    margin-bottom: 40px;
}

.s-skills-title {
    color: #161D2A;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
}

.s-skills-list {
    padding-left: 24px;
}

.s-skills-list-item {
color: #161D2A;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

/* Main content*/
.my-profession {
color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    margin-top: 0;
    margin-bottom: 8px;
}

.my-name {
    color: #000;
        font-size: 45px;
        font-weight: 700;
        line-height: 55px;
        margin-top: 0;
        margin-bottom: 12px;
}

.my-descr {
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.my-info {
    margin-bottom: 40px;
}

/* My projects */
.my-proj-title {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: 27px;
    margin-top: 0;
    margin-bottom: 8px;
}

.my-proj-list {
    padding-left: 16px;
}

.my-project-item {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}

.my-proj-item-link {
        color: #005FFF;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        text-decoration-line: underline;
}

.my-proj-item-tech {
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.my-proj-container {
    margin-bottom: 40px;
}

/* Work experience */
.wokr-exp-title {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: 27px;
    margin-top: 0;
    margin-bottom: 8px;
}

.wokr-exp-company {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 8px;
}

.company-name {
    color: #6D9BF5;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 8px;
}

.wokr-exp-period {
    color: #A8A8A8;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    margin-bottom: 8px;
}

.wokr-exp-separator {
    color: #000;
}

.wokr-exp-duties-list {
    padding-left: 16px;
}

.wokr-exp-duties-item {
    color: #595959;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.wokr-exp-container {
    margin-bottom: 12px;
}

/* Education */
.edu-title {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 8px;
}

.edu-place {
    color: #6D9BF5;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 8px;
}

.edu-faculty {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 8px;
}

.edu-period {
    color: #A8A8A8;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

.edu-period-separator {
    color: #000;
}

@media screen and (max-with: 960px) {
    body {
        padding: 20px;
    }
    .main-content {
        padding: 40px;
    }

}

@media screen and (max-with: 800px) {
    .sidebar {
        width: 250px;
    }

    .my-photo {
        width: 250px;
    }

    .sidebar-content {
        padding: 20px;
    }
}

@media screen and (max-with: 600px) {
    body {
        padding: 0;
    }

    .sidebar {
    width: 200px;
    }

    .my-photo {
    width: 200px;
    }

    .main-content {
        padding: 20px;
    }

    .my-name {
        font-size: 20px;
    }
}

@media screen and (max-with: 510px) {
    .wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
    
    .my-photo {
        width: 100%;
    }
}