body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f7fa;
}

/* Main styles */
.main {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
}

/* main-content style */

.main-content {
  background-color: #ffffff;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1);
  padding: 100px 90px;
}

/* about styles  */
.ai-answer {
  font-size: 1px;
  color: white;
}

.about {
  margin-bottom: 40px;
}

.about-podition {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 17px;
  color: #000000;
  margin-bottom: 20px;
}

.about-name {
  font-style: normal;
  font-weight: 700;
  font-size: 45px;
  line-height: 55px;
  color: #000000;
  margin-bottom: 25px;
}

.about-discription {
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 17px;
  color: #474747;
  width: 400px;
}

/* projects styles */

.projects {
  margin-bottom: 50px;
}

.title {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  color: #000000;
  margin-bottom: 10px;
}

.projects-lists {
  padding: 0;
  margin-left: 15px;
}

.project-item {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #000000;
}

.project,
.project-link {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #474747;
}
.project-link {
  margin-left: 10px;
}

.project-bracket {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #000000;
}
/* work styles */

.work {
  margin-bottom: 45px;
}

.work-position {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  margin-bottom: 10px;
}

.organization {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #fb6d3a;
}

.period {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 15px;
  color: #a8a8a8;
  margin-bottom: 10px;
}

.line {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #000000;
}

.work-list {
  padding: 0;
  margin-left: 15px;
}

.work-list-item {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #474747;
  margin-bottom: 5px;
}

/* education styles  */

/* .education {
} */
.educ-position {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  margin-bottom: 10px;
}

.educ-organization {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #fb6d3a;
}

.educ-list-item {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #474747;
}

/* sidebar styles */

.sidebar {
  background-color: #1e2939;
  padding-top: 85px;
  width: 370px;
}

.photo {
  width: 370px;
  margin-bottom: 50px;
}

.contacts,
.tech-skills,
.soft-skills,
.sertificates {
  margin-left: 40px;
}

.contacts {
  margin-bottom: 50px;
}
.tech-skills {
  margin-bottom: 45px;
}

.sidebar-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  margin-bottom: 10px;
}

.contact-type {
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 25px;
  color: #ffffff;
  margin-right: 5px;
}

.contact-link {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #bfc4cd;
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
  color: #ffffff;
}
.contact-link-prefered {
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 15px;
  color: #999a9c;
  text-decoration: none;
}

.icon-link {
  text-decoration: none;
}
.cv-link-box {
  color: #ffffff;
  padding: 0;
  margin-top: 30px;
  margin-left: 40px;
}
.cv-link {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #ffffff;
  margin-right: 5px;
  text-decoration: none;
}
.cv-link:hover {
  text-decoration: underline;
}
.fab {
  margin-right: 5px;
  color: #bfc4cd;

  font-size: 18px;
}
.fab:hover {
  cursor: pointer;
  color: #ffffff;
}

.tech-skills-list,
.soft-skills-list {
  color: #ffffff;
  padding: 0;
  margin-left: 17px;
}

.tech-skills-item,
.soft-skills-item {
  color: #fb6d3a;
}

.tech-skills-text,
.soft-skills-text {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
}

.certificate1__btn,
.certificate2__btn,
.certificate3__btn,
.certificate4__btn {
  width: 170px;
  height: 30px;
  margin-bottom: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid 1px #ffffff;
  border-radius: 5px;
  font-style: normal;
  color: #ffffff;
  text-decoration: none;
}

.certificate1__btn:hover,
.certificate2__btn:hover,
.certificate3__btn:hover,
.certificate4__btn:hover {
  background-color: #ffffff;
  color: rgba(0, 0, 0, 1);
  cursor: pointer;
  /* box-shadow: 0px 0px 0px 2px #fb6d3a; */
}

/* Сертификати */
.popup,
.popup_2,
.popup_3 {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hiden;
  transition: all 0.8 ease 0s;
}

.popup.active,
.popup_2.active,
.popup_3.active {
  opacity: 1;
  visibility: visible;
}

.cert__card {
  position: fixed;
  display: flex;
  justify-content: center;
  /* background-color: #00000037; */
  left: 0;
  top: 0;
  width: 100%;

  padding: 50px;
  z-index: 10;
}

.cert__item {
  position: relative;
  background-color: #1e2939;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 1);
  border-radius: 30px;
  padding: 30px;
  color: #ffffff;
}

.cert__item_title {
  display: flex;
  justify-content: space-between;
}

.cert__pic {
  width: 777px;
  height: 546px;
}

.btn__exit1,
.btn__exit2,
.btn__exit3 {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  width: 33px;
  height: 33px;
  background-color: #ffffff;
  color: #1e2939;
  font-size: 15px;
  cursor: pointer;
}
/* Media  */
@media (max-width: 990px) {
  body {
    zoom: 70%;
  }

  .cert__pic {
    width: 90%px;
    height: 90%px;
  }
}
@media (max-width: 770px) {
  body {
    zoom: 50%;
  }

  .cert__pic {
    width: 90%px;
    height: 90%px;
  }
}

@media (max-width: 575px) {
  body {
    zoom: 50%;
  }

  .cert__pic {
    width: 90%px;
    height: 90%px;
  }
}
@media (max-width: 499px) {
  body {
    zoom: 30%;
  }

  .cert__card {
    width: 90%;
    height: auto;
  }
  .cert__pic {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 390px) {
  body {
    zoom: 30%;
  }

  .cert__card {
    width: 90%;
    height: auto;
  }
  .cert__pic {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 320px) {
  body {
    zoom: 25%;
  }

  .cert__card {
    width: 90%;
    height: auto;
  }
  .cert__pic {
    width: 100%;
    height: auto;
  }
}
/* popup */
/* 
.popup__body {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}
.popup.open .popup__content {
  transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
}

.popup__content {
  background-color: #fff;
  color: #000000;
  max-width: 800px;
  padding: 30px;
  position: relative;
  transition: all 0.8 ease 0s;
  opacity: 0;
  transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}
.popup__title {
}
.popup__close {
  font-size: 20px;
  position: absolute;
  right: 10px;
  top: 10px;
} */
