@import url('https://fonts.googleapis.com/css2?family=Roboto:ital@0;1&display=swap');

html, body {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-width: 1026px;
    background: #f6f6f6;
}

a {
    text-decoration: none;
    color: #808080;
    transition: .2s color ease;
}

a:hover {
    color: #FF4D26 !important;
}

menu {
    float: right;
}

menu li {
    display: inline-block;
    margin: 10px 0 14px 60px;
}

menu a {
    color: #F6F6F6;
}

menu a.active {
    color: #808080;
}

h1 {
    margin-top: 69px;
    margin-bottom: 55px;

    font-size: 28px;
    line-height: 32px;

    color: #000;
}

/* main */

.main-container {
    width: 1026px;
    box-sizing: border-box;
    padding: 49px 24px 48px;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: [start-one] 2fr [end-one start-two] 2fr [end-two];
    column-gap: 36px;
    margin-top: 119px;
    grid-column: start-one / end-two;
}

.hero-left {
    grid-column: start-one / end-one;
}

.hero-right {
    grid-column: start-two / end-two;
}

.hero-image {
    height: 312px;
    grid-column: start-two / end-two;
    background: #f0f0f0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-legend {
    margin-top: 185px;
}

.hero-legend h1 {
    font-size: 52px;
    line-height: 64px;
    color: #222;
    margin: 0;
}

.hero-legend h2 {
    margin-top: 16px;
    font-size: 18px;
    line-height: 24px;
    color: #333;
}

.hero-legend p {
    margin-top: 5px;
    font-size: 14px;
    line-height: 18px;
    font-style: italic;
    color: #808080;
}

.data {
    display: grid;
    grid-template-columns: [start-one] 2fr [end-one start-two] 2fr [end-two];
    column-gap: 36px;
    margin-top: 125px;
}

.data-left {
    grid-column: start-one / end-one;
}

.data-right {
    grid-column: start-two / end-two;
}

.navigation {
    text-align: right;
    color: #808080;
    font-size: 20px;
    line-height: 25px;
}

.navigation li {
    margin-bottom: 23px;
}

.navigation a {
    color: #808080;
}

.navigation a.active {
    font-weight: 600;
    color: #222;
}

.cv-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cv-company {
    margin-right: 65px;
}

.cv-period {
    font-size: 14px;
    font-style: italic;
    line-height: 18px;
    color: #808080;
}

.cv-description {
    margin: 25px 0 72px;
    font-size: 18px;
    line-height: 24px;
    color: #333;
}

.data-right .cv, .data-right .education, .data-right .interests {
    display: none;
}

.data-right .cv.active, .data-right .education.active, .data-right .interests.active {
    display: block;
}

.data-right .interests {
    font-size: 18px;
    line-height: 24px;
    color: #333;
}

.social-links {
    position: absolute;
    margin-left: -240px;
    width: 240px;
    font-size: 0;
    top: 29px;
}

.social-links li {
    display: inline-block;
    width: 80px;
    font-size: 18px;
    line-height: 24px;
}

.social-links li:nth-child(3n + 1) {
    text-align: left;
}

.social-links li:nth-child(3n + 2) {
    text-align: center;
    width: 115px;
}

.social-links li:nth-child(3n + 3) {
    text-align: right;
    width: 45px;
}

.social-links a {
    color: #333;
}

@media (max-width: 1540px) {
    .social-links {
        position: absolute;
        left: 24px;
        margin-left: 0;
    }
}

/* portfolio */

.header-portfolio {
    position: sticky;

    top: 0;
    height: 48px;
    width: 100%;

    background: #333;
}

.header-wrapper {
    width: 1026px;
    height: 100%;
    padding: 0 24px;

    margin: 0 auto;

    box-sizing: border-box;
}

a.header-logo {
    display: inline-block;
    color: #F6F6F6 !important;
    text-decoration: none;
    margin: 10px 0 14px;
}

.content {
    display: grid;
    margin-top: 48px;

    width: 1026px;
    box-sizing: border-box;
    padding: 0 24px 48px;
    margin: 0 auto;

    grid-template-columns: [start-one] 3fr [end-one start-two] 3fr [end-two];
    column-gap: 36px;
}

.row-one {
    grid-column: start-one / end-one;
}

.row-two {
    grid-column: start-two / end-two;
}

.project-item {
    margin-bottom: 56px;
}

.project-image {
    height: 312px;
    background: #f0f0f0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-title {
    margin: 17px 0 5px;
}

.project-description {
    font-size: 14px;
    font-style: italic;
    line-height: 18px;
    color: #808080;
}
