* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Montserrat, sans-serif;
    background-color: #f5f7fa;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.main-wrapper {
    position: relative;
    background: #fff;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 5px 9px 20px rgba(0 0 0 / 15%);
}

.my-photo {
    width: 100%;
    display: block;
}

.contacts-container {
    margin: 60px 40px 0 30px;
}

.contacts-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    margin-bottom: 20px;
    padding-left: 10px;
}

.contacts-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    text-decoration: none;
}

.contacts-link svg {
    fill: white;
    margin-right: 10px;
}

.contact-list li a:hover,
.contact-list li a:focus {
    color: #ff6b08;
    fill: #ff6b08;
}

.contact-list li a svg:hover,
.contact-list li a svg:focus {
    fill: #ff6b08;
}

.contact-list {
    list-style-type: none;
    padding-bottom: 15px;
}

.skills-container {
    margin: 55px 40px 0;
}

.skills-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.skills-list li {
    margin-left: 15px;
    color: #ff6b08;
}

.skills-list li span {
    color: #e2e4e6;
}

.about-me-container {
    padding: 110px 90px;
}

.profession {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 23px;
}

.name {
    font-size: 45px;
    font-weight: 700;
    line-height: 89px;
}

.description {
    margin-top: 24px;
}

.about-me-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 10px;
}

.projects-link {
    color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.projects-link:hover, .projects-link:focus{
    color: #ff6b08;
}

.tech-name {
    color: white;
}

#project-experience ul{
    list-style: none;
    display: flex;
}

.project-example-list {
    width: calc((100% - 24px) / 2);
    margin-right: 20px;
    border: 1px solid #1e2939;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 1px rgb(0 0 0 / 14%), 0 2px 1px rgb(0 0 0 / 20%);
}

.project-example-list:nth-child(2n){
    margin-right: 0;
}

.project-name {
    color: #ff7920;
    font-weight: bold;
}

.project-example-container{
    position: relative;
}

.project-text{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background-color: rgba(30 41 57/95%);
}


.project-img{
    display: block;
    max-width: 100%;
    height: auto;
}

section {
    margin-bottom: 55px;
}

.profession-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin: 8px 0 15px;
}

.profession-company {
    color: #ff7920;
}

.profession-time {
    color: #a8a8a8;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 15px;
}

.divider {
    color: black;
}

.additional-education-details-container {
    margin-bottom: 15px;
}

.education {
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
    margin: 55px 0 20px;
}

.education-place {
    color: #ff6b08;
    margin-bottom: 15px;
}

.specialization {
    margin-bottom: 15px;
}

footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-weight: bold;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (width >1200px) {
    .wrapper{
        display: none;
    }

    .tech-skills-tablet-container{
        display: none;
    }

    .sidebar {
        background: #1e2939;
        min-width: 370px;
        padding: 40px 0;
    }
}

@media screen and (width > 768px) and (width< 1199px){
    .wrapper{
        display: none;
    }

    .tech-skills-tablet-container{
        display: none;
    }

    .sidebar {
        background: #1e2939;
        min-width: 300px;
        padding: 40px 0;
    }

    .name{
        font-size: 30px;
        font-weight: 700;
        line-height: 66px;
    }

    .about-me-container {
        padding: 70px 50px;
    }
}

@media screen and (width> 320px) and (width< 440px){
    .code{
        max-width: 220px;
        border: 1px solid green;
    }

    .header-body{
        height: 50px;
    }

    #project-experience ul{
        display: block;
    }

    .project-example-list{
        width: 100%;
    }

    .project-example-list:first-of-type{
        margin-bottom: 10px;
    }

    .about-me-title{
        margin-bottom: 15px;
    }
}

@media screen and (width< 767px) {
    .sidebar {
        display: none;
    }

    .about-me-title {
        font-size: 18px;
        font-weight: 700;
        line-height: 24px;
        margin-bottom: 15px;
    }

    .skills-title, .contacts-title{
        font-size: 18px;
        font-weight: 700;
        line-height: 24px;
        color: #fff;
        margin-bottom: 10px;
    }

    .name{
        font-size: 24px;
        font-weight: 700;
        line-height: 36px;
        margin-bottom: 10px;
    }

    section{
        margin-bottom: 40px;
    }

    .about-me-container {
        padding: 90px 30px 60px;
    }

    .container{
        max-width: 767px;
        margin: 0 auto;
        padding: 0 25px;
    }

    .header{
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 50;
    }

    .header::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #1e2939;
        z-index: 2;
    }

    .header-body{
        position: relative;
        display: flex;
        justify-content: space-between;
        height: 60px;
        align-items: center;
    }

    .header-logo{
        flex: 0 0 40px;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        z-index: 3;
    }

    .header-logo img{
        max-width: 100%;
        display: block;
    }

    .header-list{
        display: block;
        position: relative;
    }

    .header-list li{
        color: #ff6b08;
        margin: 0 0 10px;
    }

    .header-link{
        color: #fff;
        font-size: 16px;
        text-decoration: none;
    }

    body.lock{
        overflow: hidden;
    }

    .header-menu{
        position: fixed;
        top:-100%;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #1e2939;
        padding: 90px 10px 20px 85px;
        transition: all 0.3s ease 0s;
        overflow: auto;
    }

    .header-menu.active{
        top: 0;
    }

    .header-burger{
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
        z-index: 3;
    }

    .header-burger span{
        position: absolute;
        background-color: white;
        left: 0;
        width: 100%;
        height: 2px;
        top: 9px;
        transition: all 0.3s ease 0s;
    }

    .header-burger::before, .header-burger::after{
        content: '';
        background-color:white;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .header-burger::before{
        top: 0;
    }

    .header-burger::after{
        bottom: 0;
    }

    .header-burger.active::before{
        transform: rotate(45deg);
        top: 9px;
    }

    .header-burger.active::after{
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .skills-list li span{
        color: black;
    }

    .header-burger.active span{
        transform: scale(0);
    }

    .contact-list{
        padding: 0;
    }

    .contact-list li a{
        color: black;
        display: block;
    }

    .contact-list li a:hover, .contact-list li a:focus{
        color: #ff6b08;
    }

    .contact-list li a span:hover, .contact-list li a span:focus{
        fill: #ff6b08;
    }


    .contacts-link svg{
        fill: #ff6b08;
        margin-right: 8px;
    }

    footer{
        background-color: #1e2939;
        color: white;
        padding-left: 25px;
        padding-right: 25px;
        align-items: center;
    }
}
