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

body {
  background-color: #f5f7fa;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-right: 20px;
  padding-left: 20px;
  font-family: Montserrat, Arial, sans-serif;
}

.wrapper {
  background: #ffffff;
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 5px 5px 12px 5px rgba(0, 0, 0, 0.6);
}

.sidebar {
  background-color: #1e2939;
  max-width: 370px;
  height: 100%;
  padding-top: 40px;
}

.my-photo {
  width: 240px;
}

.my-photo-about {
  display: none;
}

.menu-button {
  display: none;
}

.about-me-container {
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 110px;
  padding-bottom: 110px;
}

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

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


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

.contacts-link:hover,
.contacts-link:focus {
  color: #ff7011;
}

.contacts-link-type {
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;

  margin-right: 15px;
}

.contacts-link-type.social {
  margin-right: 10px;
}

.contacts-link-type.git {
  margin-right: 3px;
}

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

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

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

.tech-skills-text {
  color: #92959b;
}

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

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

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

.soft-skills-text {
  color: #92959b;
}

.soft-skills-container.socials {
  margin-right: 5px;
}

.profession {
  font-family: Montserrat;
  color: #ff7011;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.name {
  font-size: 25px;
  font-weight: 700;
}

.description {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 24px;
  color: #92959b;
}

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

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

.project-items {
  margin-bottom: 15px;
}

.projects-item {
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  margin-bottom: 10px;
}

.projects-link {
  color: #595959;
  font-size: 16px;
  font-weight: 700;
}
.project-text_link{
  color: #595959;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.project-text_link:hover,
.project-text_link:focus {
  color: #ff7011;
}

.project-text{
  display: inline-block;
  margin-bottom: 2px;
}

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

.tech-name {
  color: #595959;
  font-size: 13px;
  font-weight: 400;
  /* line-height: 24px; */
}

.dots {
  color: #bebebe;
  font-weight: 100;
  flex-grow: 1;
  margin: 0 2px 2px;

  border-bottom: 1px dotted #a8a8a8;
}

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

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

.profession-divider {
  color: #000000;
}

.profession-company {
  color: #ff7011;
  margin-top: 21px;
}

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

.profession-duties {
  margin-top: 14px;
  margin-bottom: 30px;
  padding-left: 15px;
}

.profession-duties-item {
  color: #92959b;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.profession-duties-item_list_none {
  list-style: none;
}

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

.project-desc {
  font-size: 13px;
  color: #a8a8a8;
  margin-bottom: 10px;
}

.lang {
  color: #ff6b08;
}

.level {
  font-size: 12px;
}

@media screen and (max-width: 1199px) {
  .project-items {
    margin-left: 13px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .my-photo {
    width: 260px;
  }

  .about-me-container {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .sidebar {
    width: 260px;
  }

  .contacts-container {
    margin-top: 30px;
    margin-left: 10px;
    margin-right: 0px;
  }

  .contacts-title {
    padding-left: 15px;
  }

  .wrap-contacts-link {
    margin-bottom: 10px;
  }

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

  .gmial {
    margin-left: 33px;
  }

  .contacts-link-type {
    margin-right: 13px;
  }

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

  .name {
    font-size: 35px;
  }

  .profession-duties {
    padding-left: 15px;
  }

  .profession-duties-item {
    font-size: 13px;
  }

  .projects-item {
    display: flex;
    align-items: flex-end;
    margin-left: 0;
  }

  .projects-link {
    font-size: 16px;
  }

  .tech-name {
    font-size: 12px;
  }

  /* .dots {
    margin: 0 2px 2px;
  } */
}

@media screen and (max-width: 767px) {
  body {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .wrapper {
    position: relative;
    max-width: 767px;
  }

  .my-photo {
    display: none;
  }

  .menu-button {
    display: block;
    border-radius: 50%;
  }

  .my-photo-about {
    display: block;
    max-width: 130px;
    border-radius: 10%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .contacts-container {
    margin-top: 0;
    margin-left: 30px;
    margin-right: 15px;
  }

  .contacts-title {
    padding-left: 10px;
  }

  .contacts-link-type {
    margin-right: 5px;
  }

  .contacts-link-type.social {
    margin-right: 2px;
  }

  .contacts-link-type.git {
    margin-right: 0px;
  }

  .wrap-contacts-link {
    margin-bottom: 10px;
  }

  .sidebar {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 20px;
    width: 270px;
    opacity: 0;
    transform: translateX(100%);

    transition: all 250ms linear;
  }

  .sidebar.is-open {
    opacity: 1;
    transform: translateX(0);
  }

  .icon-menu {
    fill: currentColor;
  }

  .icon-menu:hover,
  .icon-menu:focus {
    color: #ff7011;
  }

  .icon-menu:hover.open,
  .icon-menu:focus.open {
    color: #ff7011;
    background: #ffffff;
  }

  .gmial {
    padding-left: 25px;
  }

  .menu-button {
    height: 40px;
    border: 0;
    margin: 0;
    padding: 0;
    margin-right: 15px;
    margin-left: auto;
    background-color: #1e2939;
    color: #ffffff;
    cursor: pointer;
  }

  .about-me-container {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .name {
    font-size: 25px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
  }

  .projects-link {
    font-size: 17px;
  }

  .tech-name {
    font-size: 13px;
  }

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

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

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