body {
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
}

.wrapper {
  display: flex;
  flex-direction: row-reverse;
  background: #f1edeb;
  width: 1200px;
  margin: 0 auto;
  padding: 40px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1199.99px) {
  .wrapper {
    padding: 20px;
  }
}
@media (max-width: 979.99px) {
  .wrapper {
    background: #ffffff;
    box-shadow: none;

    width: 800px;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
  }
}
@media (max-width: 767.99px) {
  .wrapper {
    width: 500px;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
  }
}
@media (max-width: 379.99px) {
  .wrapper {
    width: 380px;
    height: 100%;
  }
}
@media (max-width: 319.99px) {
  .wrapper {
    width: 319px;
    height: 100%;
  }
}
/* main content */

.main-content {
  padding: 40px;
}

.main-content-titel {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
  margin: 0 0 8px 0;
}

.main-education {
  color: #000;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.main-design {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0 0 0 0px;
}

.design-period {
  color: #a58a8a;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  margin: 12px 0 8px 0;
}
.design__ops {
  color: #000000;
  list-style: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  margin: 12px 0 8px 0;
  padding: 0;
}
/* Abut me */

.my-profession {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 17px;
  margin: 0 0 18px 0;
}

.my-name {
  color: #000;
  font-size: 45px;
  font-style: normal;
  font-weight: 700;
  line-height: 55px;
  margin: 0 0 28px 0;
}

.my-descr {
  color: #595959;
  list-style: none;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  width: 525px;
  padding: 0;
}

@media (max-width: 379.99px) {
  .my-descr {
    width: 300px;
  }
}

.about-me-container {
  margin-bottom: 60px;
}

/* My projects */
.project-item {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

.project-list {
  padding: 0 0 0 16px;
  margin: 0;
}

.project-container {
  margin-bottom: 48px;
}

.project-item-descr {
  color: #595959;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.project-item-list {
  color: #005fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

/* Work experience */
.work-experience-container {
  margin-bottom: 44px;
}

.work-experience-position {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
}

.work-experience-place {
  margin-bottom: 16px;
}

.work-experience-company {
  color: #6d9bf5;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.work-period {
  color: #a8a8a8;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  margin: 12px 0 8px 0;
}

.work-duties {
  color: #595959;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.work-duties-list {
  padding: 0 0 0 16px;
  margin: 0;
}

/* Sidebar */
.sidebar {
  width: 400px;
  background: #EADBD4;
  box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.25);
}
/* -------------------------------------------------------------!!!!!!!!! */
@media (max-width: 979.99px) {
  .sidebar {
    display: none;
  }
}

/* ...................................sidebar__media */
@media (min-width: 979.99px) {
  .sidebar__media {
    display: none;
    width: 400px;
    background: #D4CBC4;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  }
}

.my-photo {
  margin-top: 40px;
  /* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); */
}

.contacts-container,
.tech-skills-container,
.soft-skills-container {
  margin: 48px 0 50px 40px;
}
/* ______________ */
@media (max-width: 379.99px) {
  .contacts-container,
  .tech-skills-container,
  .soft-skills-container {
    margin: 20px 0 30px 0px;
  }
}
@media (max-width: 319.99px) {
  .popup__image img {
    .contacts-container,
    .tech-skills-container,
    .soft-skills-container {
      margin: 15px 0 20px 0px;
    }
  }
}
.sidebar-title {
  color: #202f49;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 8px;
}

/* contacts */
.contacts-type {
  color: #161d2a;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  margin-right: 8px;
}

.contacts-item {
  margin: 0;
}

.contacts-number {
  color: #161d2a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.contacts-email {
  color: #2979ff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 0px;

}

.project-item-linkedin-in {
  color: #2979ff;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin: 0px;

}

/* skils*/

.skils-list {
  margin: 0px;
  padding: 0 0 20px 18px;
}

.skils-list-item {
  color: #6d9bf5;
}

.skils-list-text {
  color: #161d2a;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.text-deliver {
  color: #81848a;
}

.tooltip span {
  border-radius: 5px 5px 5px 5px;
  visibility: hidden;
  position: absolute;
  left: 200px;
  background: #fff;
  box-shadow: -2px 2px 10px -1px #333;
  border-radius: 5px;
}

.tooltip:hover span {
  visibility: visible;
}

/* popup */
.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000000a1;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
}
.popup:target {
  opacity: 1;
  visibility: visible;
}
.popup:target .popup__content {
  transform: translate(0px, 0px);
  opacity: 1;
}
.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  transition: all 0.8s ease 0s;
}
.popup__area {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.popup__content {
  color: #000;
  position: relative;
  transition: all 0.8s ease 0s;
  opacity: 0;
  transform: translate(0px, -100%);
}
.popup__close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  color: #000;
  text-decoration: none;
}
.popup__image {
}
.popup__image img {
  max-width: 600px;
}
@media (max-width: 379.99px) {
  .popup__image img {
    max-width: 380px;
  }
}
@media (max-width: 319.99px) {
  .popup__image img {
  }
}

.popup_dyplom {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000000a1;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
}

.popup_dyplom:target {
  opacity: 1;
  visibility: visible;
}
.popup_dyplom:target .popup__content_dyplom {
  transform: translate(0px, 0px);
  opacity: 1;
}
.popup__area_dyplom {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.popup__body_dyplom {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  transition: all 0.8s ease 0s;
}
.popup__content_dyplom {
  color: #000;
  position: relative;
  transition: all 0.8s ease 0s;
  opacity: 0;
  transform: translate(0px, -100%);
}
.popup__close_dyplom {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  color: #000;
  text-decoration: none;
}
.popup__image_dyplom {
}
.popup__image_dyplom img {
  max-width: 1200px;
}
@media (max-width: 979.99px) {
  .popup__image_dyplom img {
    max-width: 600px;
  }
}
@media (max-width: 767.99px) {
  .popup__image_dyplom img {
    max-width: 400px;
  }
}
@media (max-width: 379.99px) {
  .popup__image_dyplom img {
    max-width: 380px;
  }
}
@media (max-width: 319.99px) {
  .popup__image_dyplom img {
    max-width: 300px;
  }
}
