body {
  background: #f6f6fa;
  padding-left: 40px;
  padding-bottom: 40px;
  padding-right: 40px;
  padding-top: 40px;
  font-family: "Montserrat", sans-serif;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
}

.wrapper {
  background: #fff;
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
}

/* Main conten */
.main-content {
  padding-left: 88px;
  padding-top: 80px;
  padding-right: 40px;
  padding-bottom: 80px;
  box-sizing: border-box;
}

/* Sidebar */
.sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #a9a9a3 100%);
  padding-top: 40px;
  padding-bottom: 40px;
  box-sizing: border-box;
  width: 370px;
}

.sidebar-contacts {
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 40px;
  box-sizing: border-box;
}

.contacts-title {
  font-weight: 700;
  font-size: 22px;
  color: #161d2a;
  line-height: normal;
  margin-top: 0;
  margin-bottom: 8px;
}

/* Contacts */
.contacts-type {
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #161d2a;
  margin-right: 8px;
}
.contacts-link {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #2979ff;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
}

.contacts-item {
  margin-top: 0;
  margin-bottom: 4px;
}

.contacts-container {
  margin-bottom: 40px;
}

/* skills container */
.skills-container {
  margin-bottom: 40px;
  box-sizing: border-box;
}

.skills-title {
  font-weight: 700;
  font-size: 22px;
  color: #161d2a;
  margin-top: 0;
  margin-bottom: 8px;
}

.skills-list {
  padding-left: 22px;
}

.skills-list-item {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #161d2a;
}

/* My info */
.my-profession {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #000;
  margin-top: 0;
  margin-bottom: 8px;
}

.my-name {
  font-weight: 700;
  font-size: 45px;
  line-height: 55px;
  color: #000;
  margin-top: 0;
  margin-bottom: 12px;
}

.my-descr {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #595959;
}

.my-info {
  margin-bottom: 40px;
}

/* My Projects */
.my-projects-container {
  margin-bottom: 40px;
}

.my-projects-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  color: #000;
  margin-top: 0;
  margin-bottom: 8px;
}

.my-project-item {
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #000;
}

.my-project-list {
  padding-left: 16px;
}

.my-project-item-link {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #005fff;
}

.my-project-item-tech {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #595959;
}

/* Work Experience */
.work-experience-container {
  margin-bottom: 12px;
}

.work-experience-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  color: #000;
  margin-top: 0;
  margin-bottom: 8px;
}

.work-experience-company {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  margin-top: 0;
  margin-bottom: 12px;
}

.company-name {
  color: #6d9bf5;
}

.work-experience-period {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #a8a8a8;
  margin-top: 0;
  margin-bottom: 8px;
}

.work-experience-period-separator {
  color: #000;
}

.work-experience-duties-list {
  padding-left: 16px;
}

.work-experience-duties-item {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #595959;
  margin-top: 0;
  margin-bottom: 8px;
}

/* Education */
.education-container {
  margin-top: 40px;
  margin-bottom: 0px;
}

.education-title {
  font-weight: 700;
  font-size: 22px;
  color: #000;
  margin-top: 0;
  margin-bottom: 8px;
}

.name-of-university {
  font-weight: 700;
  font-size: 16px;
  color: #6d9bf5;
  margin-top: 0px;
  margin-bottom: 8px;
}

.education-specialization {
  font-weight: 700;
  font-size: 14px;
  color: #000;
  margin-top: 0px;
  margin-bottom: 8px;
}

.education-period {
  font-weight: 400;
  font-size: 12px;
  color: #a8a8a8;
  margin-top: 0px;
  margin-bottom: 0px;
}

.education-period-separator {
  color: #000;
}

@media screen and (max-width: 960px) {
  body {
    padding: 20px 20px 20px 20px;
  }
  .main-content {
    padding: 40px 40px 40px 40px;
  }
}

@media screen and (max-width: 800px) {
  .sidebar {
    width: 250px;
  }
  .my-photo {
    width: 250px;
  }
  .sidebar-contacts {
    padding: 20px;
  }
}

@media screen and (max-width: 600px) {
  body {
    padding: 0;
  }
  .sidebar {
    width: 250px;
  }
  .my-photo {
    width: 250px;
  }

  .my-name {
    font-size: 24px;
  }

  .main-content {
    padding: 20px;
  }
}

@media screen and (max-width: 510px) {
  .wrapper {
    flex-direction: column;
    min-width: 0;
  }
  .sidebar {
    width: 100%;
    min-width: 0;
  }
  .my-photo {
    width: 100%;
  }
}
