html {
  box-sizing: border-box;
}

.container {
  width: 621px;
  height: 900px;
  margin: 20px auto ;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  border: 2px solid #2e2e2e;
  
 
}

.left-section {
  width: 216px;
  height: 636px;
  background-color: #E3E4E5;
  padding-left: 24px;
}

.profile img{
  width: 146px;
  height: 146px;
  border-radius: 73px;
  margin: 10px 32px 24px 24px;
}
.personal h3{
 border-bottom: 2px solid #2e2e2e;
 padding: 3px;
}
.personal {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;  
}

.data-birth {
 margin: 10px 0px 6px;
}

.town{
  margin: 0 0 26px 0;
}

.languages-box {
  font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 14px;
   
}
.languages-box h3 {
  border-bottom: 2px solid #2e2e2e;
  padding: 3px;
}
.languages {
display: flex;
flex-direction: column;
margin: 10px 0px 6px;

}
.languages em{
  margin: 0 0 8px 0;
  font-style: normal;
}
.languages em:last-child{
  margin: 0 0 26px 0;
}
.portfolio{
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.portfolio li {
  margin-top: 15px;
  list-style: none;
}
.portfolio h3{
  border-bottom: 2px solid #2e2e2e;
   padding: 3px;
}
.contacts{
  font-family: "Montserrat",sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin: 60px 0 0 0 ;
}

.contacts h3{
  border-bottom: 2px solid #2e2e2e;
  padding: 3px;
}
.contacts li{
  margin-top: 15px;
  list-style: none;
}
.phone {
 color: #2e2e2e;
  margin: 0 0 8px 0;
}

.mail {
  color: #2e2e2e;
  font-size: 10px;
  margin: 0 0 26px 0;
}
.interests{
  width: 216px;
  height: 264px;
  background-color: #2e2e2e;
  padding-left: 24px;
}
.interests h3{
  border-bottom: 2px solid #F9F6FF;
  padding: 3px;
  color: #F9F6FF;
}
.interests ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
    margin-left: 21px;
    list-style: none;

}
.interests li{
 width: auto;
 height: 55px;
 margin-bottom: 20px;
}
.interests li img{
width: 30px;
height: 30px;
}
.interests p{
  color: #F9F6FF;
}
.right-section {
  width: 380px;
  height: 842px;
  
}

.name {
  height: 110px;
  background-color: #2e2e2e;
}
.name h3, h4{
  color: #F9F6FF;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;

}
.name h4{
  font-size: 24px;
  padding: 26px 30px 5px;
}
.name h3{
  font-size: 18px;
  padding: 7px 0px 7px 28px;
}
.education{
  margin-left: 50px;
  color: #2e2e2e;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}
/* .education::after {
  content: '';
  border-bottom: 2px solid #2e2e2e;
} */
.education h3{
border-bottom: 2px solid #818D90;
padding: 3px;
width: 294px;
}
.education ul{
 position: relative;
 margin-top: 10px;
}
.education ul::before{
  content: '';
  position: absolute;
  top: 9px;
  bottom: 73px;
  left: -15px;
  width: 1px;
  border-left: 1px solid #2e2e2e;
}
.education p{
margin: 18px;
}
.education em{
  
  font-style: normal;
}
.skills h3{
 width: 294px;
  border-bottom: 2px solid #818D90;
  padding: 3px;
}
.skills{
  margin-left: 50px;
    color: #2e2e2e;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.skills p {
  margin: 8px;
  font-size: 12px;
}
.experience h3{
  border-bottom: 2px solid #818D90;
  padding: 3px;
  width: 294px;
}
.experience{
  margin-left: 50px;
    color: #2e2e2e;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.experience ul{
  margin-top: 10px;
  list-style: none;
}
.experience p {
  margin: 18px;
}
.about-me h3{
  border-bottom: 2px solid #818D90;
  padding: 3px;
  width: 294px;
}
.about-me{
  margin-left: 50px;
    color: #2e2e2e;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}
.about-me p {
  margin: 18px;
}