@import url(/style/reset.css);
@import url(/style/header.css);
/* ===================================================*/
body{
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1.5;
}
.container{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  overflow: hidden;
}
.main {
  border-radius: 0 0 5px 5px;
  display: flex;
  max-width: 100%;
  justify-content: center;
  overflow: hidden;
}
.sidebar {
  flex: 0 0 30%;
  padding: 20px 20px;
  background-color: #2e2e2e;
  color: #d8d8d8;
}
.sidebar__img {
  margin: 50px auto;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  width: 150px;
  height: 150px;
}
.sidebar__img img{
  width: 100%;
  height:100%;
  object-fit:cover;
}
.sidebar__me {
  display: none;
  position: relative;
  padding-bottom: 50px;
}
.sidebar__about-me {
  position: relative;
  padding-bottom: 50px;
}
.about-me__text span:not(:last-child) {
  padding-bottom: 10px;
  display: inline-block;
}
.sidebar__about-me::after{
  position: absolute;
  bottom: 25px;
  width: 100%;
  height: 1px;
  content: "";
  background-color: #fff;
}
.about-me__title {
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}
.sidebar__contact {
  position: relative;
  padding-bottom: 50px;
}
.sidebar__contact::after{
  position: absolute;
  bottom: 25px;
  width: 100%;
  height: 1px;
  content: "";
  background-color: #fff;
}
.sidebar__contact h2{
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}
.sidebar__contact p{
  margin-bottom: 10px;
}
.phone {
  color: #d8d8d8;
}
.mail {
  color: #d8d8d8;
} 
.sidebar__skills {
  padding-bottom: 50px;
}
.skills__title {
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}
.skills__item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.skills__item::before{
  position: absolute;
  border-radius: 50%;
  top: 5px;
  left: 10px;
  content: "";
  background-color: #515151;
  width: 10px;
  height: 10px;
}
.section {
  flex: 0 0 70%;
  padding: 60px 50px 0 50px;
  background-color: #ebebeb;
  color: #515151;
  overflow: hidden;
}
.section__me {
  position: relative;
  padding-bottom: 50px;
}
.me::after{
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 100%;
  height: 1px;
  content: "";
  background-color: #515151;
}
.me__name {
  font-size: 30px;
  margin-bottom: 10px;
}
.me__specialty {
  font-size: 18px;
}
.section__works {
  position: relative;
  padding-bottom: 80px;
}
.section__works::after{
  position: absolute;
  bottom: 25px;
  width: 100%;
  height: 1px;
  content: "";
  background-color: #515151;
}
.works__title {
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
}
.works__experience {
  display: flex;
  align-items: center;
}
.works__factory-date {
  width: 20%;
}
.works__factory {
  text-transform: uppercase;
  margin-bottom: 5px;
}
.position__title {
  margin-bottom: 10px;
  text-transform: uppercase;
}
.position{
  position: relative;
  width: 80%;
  padding: 10px 0px 10px 60px;
}
.position::after{
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: #515151;
  left: 40px;
  top: 13px;
}
.position::before{
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: #515151;
  left: 36px;
  top: 12px;
  border-radius: 50%;
}
.position__item {
  position: relative;
  padding-left: 30px;
}
.position__item::before{
  position: absolute;
  border-radius: 50%;
  top: 7px;
  left: 10px;
  content: "";
  background-color: #515151;
  width: 8px;
  height: 8px;
}
.education {
  position: relative;
  padding-bottom: 30px;
  border-bottom: 1px solid #515151;
}
.education__title {
  text-transform: uppercase;
  margin-bottom: 20px;
}
.education__conteiner {
  display: flex;
  align-items: center;
}
.education__university-date {
  width: 20%;
}
.education__university {
  text-transform: uppercase;
  width: 100%;
  display: block;
  margin-bottom: 5px;
}
.education__date {
  width: 100%;
  display: block;
}
.education__specialtu{
  position: relative;
  width: 80%;
  padding: 10px 0px 10px 60px;
  text-transform: uppercase;
}
.education__specialtu::after{
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: #515151;
  left: 40px;
  top: 14px;
}
.education__specialtu::before{
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: #515151;
  left: 36px;
  top: 14px;
  border-radius: 50%;
}
.courses {
  padding-top: 20px;
}
.courses__title{
  text-transform: uppercase;
  padding-bottom: 20px;
}
.courses__conteiner {
  display: flex;
  align-items: center;
}
.courses__courses-date {
  width: 20%;
}
.courses__name {
  padding-bottom: 5px;
}
.courses__specialtu {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 80%;
  padding: 10px 0px 10px 60px;
}
.courses__specialtu::before{
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  background-color: #515151;
  left: 36px;
  top: 14px;
  border-radius: 50%;
}
.courses__specialtu::after{
  content: "";
    position: absolute;
    height: 90%;
    width: 1px;
    background-color: #515151;
    left: 40px;
    top: 14px;
}
.link__certificate {
  padding: 10px 0 15px 25px;
  cursor: pointer;
}

.certificate__link-foto {
  text-align: center;
  width: 100px;
}
.certificate__link-foto img {
  width: 100%;
  object-fit: cover;

}
.certificate {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(81, 81, 81, 0.7);
  min-width: 0%;
  min-height: 0%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  opacity: 0;
  transition: all .5s ease;
 }

.certificate__img {
  width: 50%;
  overflow: hidden;
}

.certificate__img img {
  width: 100%;
  object-fit: cover;
}
.icon__close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 45px;
  height: 45px;
  top: 10px;
  right: 20px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  transition: all .5s ease;
  background-color: rgba(254, 254, 254, 0.2);
}

.reviews {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px; 
  background-color: #2e2e2e;
  border-radius: 10px;
  color: #d8d8d8;
  font-size: 0.725rem;
}
.reviews:hover {
  background-color: #515151;
}
.reviews__modal {
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(81, 81, 81, 0.7);
  width: 0;
  height: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  opacity: 0;
  transition: all .5s ease;
}
.reviews__img {
  height: 100%;
  min-height: 426px;
  overflow-x: auto;
}
.reviews__img img {
  height: 100%;
  object-fit: cover;
}
 @media(min-width: 719.98px) {
  .link__certificate:hover .certificate__link-foto{
    transition: all .2s ease;
    font-size: 16px;
    width: 110px;
  }
  .icon__close:hover {
    transform: rotate3d(1, 0, 0, 180deg);
  }
 }
 @media(max-width: 719.98px){
  .container{
    padding: 10px;
  }
  .main{
    display: block;
  }
  .sidebar{
    padding: 10px 15px;
  }
  .sidebar__me{
    display: block;
    text-align: center;
  }
  .sidebar__skills{
    padding-bottom: 10px;
  }
  .section{
    padding: 20px 15px 0 15px;
  }
  .section__me{
    display: none;
  }
  .certificate__img {
    width: 100%;
  }
 }
 @media(max-width: 399.98px){
  .about-me__title{
    font-size: 16px;
  }
  .sidebar{
    padding: 10px 10px;
  }
  .sidebar__contact{
    font-size: 16px;
  }
  .skills__title{
    font-size: 16px;
  }
  .section{
    padding: 20px 10px 0 10px;
  }
  .position{
    padding: 10px 0px 10px 60px;
  }
  .position::after{
    left: 50px;
  }
  .position::before{
    left: 45px;
  }
  .works__title{
    font-size: 16px;
  }
  .courses__courses-date {
    max-width: 100px;
  }
 }
