* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
}

header {
  background-color: #a9a9a9;
}

.menu-icon {
  display: none;
  /* flex-direction: column; */
  /* justify-content: center; */
  /* align-items: center; */
  width: 40px;
  height: 30px;
  /* margin-top: 5px; */
  margin-left: auto;
  cursor: pointer;
  /* user-select: none; */
  /* z-index: 15; */
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 50px;
}

.main-container {
  display: flex;
  flex-wrap: wrap;
}

.section {
  width: calc(50% - 20px);
  padding: 10px;
  padding-bottom: 35px;
  flex-grow: 1;
  border-bottom: 10px solid #a9a9a9;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}

.nav-link {
  padding: 0 30px;
  line-height: 50px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}

.nav-link:hover {
  color: #000000;
  transition: 0.3s;
}

.section-profile {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 45px 35px 40px;
  align-items: center;
}

.profile-avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(3, 3, 3, 0.6);
}

.section-subtitle {
  font-weight: 400;
}

.section-list {
  list-style: none;
  padding: 0;
}

.icons {
  width: 21px;
  height: 21px;
  margin-right: 10px;
}

.section-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.contacts-item > a {
  text-decoration: none;
  /* color: rgb(94, 91, 91); */
  color: #000000;
  font-weight: bold;
  margin-left: 5px;
}

.contacts-item > a:hover {
  color: #a9a9a9;
  transition: 0.3s;
}

.icon-skills {
  width: 13px;
  height: 13px;
  margin-right: 10px;
}

.icon-education-english {
  width: 12px;
  height: 12px;
  margin-right: 10px;
}

.education-item > span > a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

.education-item > span > a:hover {
  color: #a9a9a9;
  transition: 0.3s;
}

.section-education,
.section-english {
  border-bottom: 0;
}

footer {
  background-color: #a9a9a9;
  padding: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-evenly;
}

.rs-school {
  width: 121px;
  height: 45px;
  background-image: url(./assets/rs_school_js.svg);
}

.year {
  font-weight: bold;
  color: #ffffff;
}

#code {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 10px;
  padding-bottom: 0;
  border-bottom: 10px solid #a9a9a9;
}

.pre {
  margin: 0;
}

.code-title {
  margin: 0;
}

.menu-icon {
  width: 25px;
  cursor: pointer;
}

@media (max-width: 770px) {
  .nav-list {
    display: block;
    text-align: center;
  }

  .section {
    width: 100%;
  }

  .section-profile {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .section-profile-title {
    text-align: center;
  }
}

@media screen and (max-width: 1440px) {
  .container {
    padding: 0 20px;
  }
}
