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

body {
  min-width: 279px;

  font-family: 'Montserrat', sans-serif;
  background: #f5f7fa;
  padding: 40px 20px 40px 20px;
}

.wrapper {
  display: flex;

  min-width: 279px;
  max-width: 1200px;
  margin: 0 auto;

  background: #ffffff;

  box-shadow: 5px 9px 20px rgba(0, 0, 0, 0.15);
}

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

.photo {
  width: 370px;
}

.about-me {
  padding: 70px 5vw 70px 5vw;
}

@media screen and (max-width: 770px) {
  .wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-me {
    order: 1;

    padding: 16px 5vw 50px 5vw;
  }

  .sidebar {
    position: relative;

    width: 100vw;

    order: 2;
  }

  .sidebar .photo {
    position: absolute;

    width: 30vw;

    right: 5vw;
    top: 10vh;
  }

  .info-container #name {
    font-size: 35px;
    line-height: 55px;
  }
}

@media screen and (max-width: 420px) {
  .sidebar {
    width: 100%;
    height: auto;
  }

  .sidebar .photo {
    position: static;

    width: 100%;
  }

  .about-me {
    padding-right: 2vw;
    padding-left: 2vw;
  }

  .info-container #profession {
    font-size: 11px;

    margin-bottom: 8px;
  }

  .info-container #name {
    font-size: 26px;
    line-height: 39px;
  }
}

.contacts {
  margin-top: 60px;
  margin-left: 40px;
  margin-right: 40px;
}

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

.contacts a {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #6c7481;
}

.contacts span {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-right: 10px;
}

.tech-skills-container {
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 55px;
}

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

.tech-skills-items li {
  color: #ff6b08;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-left: 15px;
}

.tech-skills-items li span {
  color: #ffffff;
}

.soft-skills-container {
  margin-left: 40px;
  margin-right: 40px;
  margin-top: 55px;
}

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

.soft-skills-items li {
  color: #ff6b08;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-left: 15px;
}

.soft-skills-items li span {
  color: #ffffff;
}

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

#name {
  font-size: 45px;
  font-weight: 700;
  line-height: 60px;

  text-align: center;
}

.description {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 24px;
  text-align: justify;
}

.info-container {
  margin-bottom: 65px;
}

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

/*
 *.projects-container a {
 *  color: #595959;
 *  font-size: 14px;
 *  font-weight: 400;
 *  line-height: 24px;
 *}
*/

.projects-container span {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  display: inline-block;
}

.projects-container i {
  font-weight: 400;
  color: grey;
}

.projects-container b {
  color: #000000;
}

.projects-container li {
  color: #000000;
  font-weight: 700;
  margin-left: 18px;
}

.projects-container {
  margin-bottom: 55px;
}

.profession-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.profession-company {
  color: #ff6b08;
}

.work-period {
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
}

.dividers {
  color: black;
}

.profession-duties {
  margin: 14px 6px 30px 12px;
}

.profession-duties li {
  color: #595959;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

#university {
  color: #ff6b08;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-top: 20px;
}

.specialty {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.education {
  margin-bottom: 30px;
}
