:root {
  --dark-red: #392424;
  --dark-blue: #1e2939;
  --sidebar-color: var(--dark-blue);
  }


body {
  font-family: "Montserrat", sans-serif;
   margin: 0;
   box-sizing: border-box;
  padding: 10px;
}

.wrapper {
  background: #fff;
  display: flex;
  box-shadow: 0 0 10px 3px;
  max-width: 760px;
  margin: auto;
  background: linear-gradient(to right, #dfeefcab, #ffeb3b0f 50%);
}

.sidebar {
  background: var(--sidebar-color);
  max-width: 250px;
  padding-top: 30px;
  padding-bottom: 10px;
  box-shadow: 0 0 10px 3px;
}

.photo {
  display: block;
  margin: auto;
  width: 180px;
  border-radius: 5px;
  transition-delay: 0.2s;
  transition-duration: 0.6s;


}
.photo:hover {
  transform: scale(1.2);
}

.main-about-me {
  padding-left: 35px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 480px;
}

.contacts {
  margin-top: 25px;
  margin-left: 23px;
  margin-right: 25px;

}

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


.social-item {
  width: 18px;
  height: 18px;
  margin-right: 5px;

}

.contact-item {
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
  opacity: 1;
  transition: 0.2s;
  white-space: nowrap;
  text-decoration: none;

}

.contact-item:hover {
  color: #f3cc34;
}

.mob {
  display: none;
}
.tech-skills-mob {
  display: none;
}

.footer-mob {
  display: none;
}

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

.tech-skills {
  margin-left: 25px;
  margin-right: 10px;
  margin-top: 25px;
}

.tech-skills-item {
  font-size: 13px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #f3cc34;
  margin-left: -20px;
}


.tech-skills-text {
  color: #fff;
}

.soft-skills {
  margin-left: 25px;
  margin-right: 10px;
  margin-top: 35px;
}

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

.soft-skills-item {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #f3cc34;
  margin-left: 20px;
}

.soft-skills-text {
  color: #fff;
}

/* main about me*/
.profession {
  font-size: 15px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
  margin-bottom: 23px;
}

.name {
  font-size: 30px;
  line-height: 45px;
  font-weight: 700;
  color: #000000;
  padding: 0;
  margin: 0;
}

.description {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #595959;
}

.about-me {
  margin-bottom: 0px;
  margin-top: 10px;
}

.projects-title {
  font-size: 22px;
  line-height: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0px;
}

.projects-link {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #595959;
}

.projects-type-text {
  font-weight: 400;
  color: #595959;
}

.project-item {
  font-size: 14px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
  margin-left: 17px;
}

.dot {
  font-weight: 100;
  color: #868585;
}

.projects {
  margin-bottom: 20px;
  margin-top: 0px;
}

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

.company-text {
  color: var(--sidebar-color);
  margin-bottom: 0px;
}

.profession-time {
  font-size: 12px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #2b2b2b;
}

.tit {
  color: #000000;
}

.profession-duties {
  margin-top: 5px;
  margin-bottom: 25px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: #595959;

}

.profession-duties-item {
  color: #000000;
}

.education-title {
  font-size: 22px;
  line-height: 24px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  margin-top: 30px;
}

.spec {
  padding-bottom: 5px;
  margin-top: 10px;
}

.lang_switcher {
  color: #181818;
  font-size: 14px;
  text-decoration: none;
  opacity: 70%;
  min-width: 100%;
  position: relative;
  text-underline-position: under;
  text-align: end;
  padding-top: 5px;
}

.active {
  font-weight: 700;
  text-decoration: underline;
}


.printer-icon {
  height: 21px;
  width: 22px;
  position: relative;
  top: 3px;
  padding: 0px 10px 0px 10px;
  fill-opacity: 0.6;

}

 .printer-icon:hover {
    transform: scale(1.1);
    fill-opacity: 1;
  }


@media (max-width: 480px) {
  .wrapper {
    display: block;
    max-width: 480px;

  }
  .main-about-me {
    padding-bottom: 10px;
    width: auto;
  }
  .sidebar {
    max-width: 480px;
    padding-bottom: 15px;
  }
  .photo {
    width: 70%;
    display: block;
    margin: auto;
  }
  .contacts {
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  .photo:hover {
    transform: none;
  }
  .tech-skills {
    display: none;
  }
  .tech-skills-mob,
  .mob {
    display: block;
  }
  .social-item {
    width: 36px;
    height: 36px;
    color: #f3cc34;
    fill: #fff;
    transition: background-color 0.2s linear;

  }
  .social-item:last-child {
    margin-right: 10px;
  }

  .social-item:hover {
    fill: #f3cc34;
  }

  .printer-icon {
    display: none;
  }
  .lang_switcher {
    text-align: end;
    font-size: 17px;
    padding-top: 5px;
  }
  .contacts-footer-mob {
    margin-left: 35px;

  }

  .contacts-title {
      margin-top: 0;
  }
  .footer-mob {
    display: block;
    max-width: 480px;
    background: #1e2939;
    box-shadow: 0 0 10px 3px;
    padding: 15px 0;
  }
  .social_item-footer-mob {
    margin-left: 5px;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    color: #f3cc34;

  }

  symbol { fill: white; }

  .pc {
    display: none;
  }

  .education-container{
  padding-bottom: 20px;
  }
}

@media (max-width: 414px) {
  .photo {
    width: 70%;
  }

}

@media (max-width: 320px) {
  .name {
    font-size: 28px;
    margin-top: 0;
  }

  .contacts {
    width: 60%;
  }
}


@media print  {
.printer-icon { display: none; }
header, .tech-skills-title, .tech-skills-text, .tech-skills-item,
.contacts, .pc {background: none; color: #000; }
.sidebar, .wrapper, body {
background: none;
color: #000;
box-shadow:none;
}
symbol { fill: #000; }

}
