html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

.header {
  background-color: #202026;
  height: 80px;
  width: 1214px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin-left: 220px;
}

.nav-link {
  padding: 0 20px;
  line-height: 50px;
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
  transition: color 0.5s;
}

.nav-link:hover {
  color: #808080;
}

.nav-item {
  height: 50px;
  font-size: 20px;
  font-weight: 100;
}

.main {
  display: flex;
}

.container.main-container {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
}

.photo {
  width: 220px;
  border-radius: 50%;
  overflow: hidden;
  height: 220px;
  margin-bottom: 20px;
  margin-left: 80px;
}

.myphoto {
  width: 220px;
  margin-top: -70px;
}

.aboutme {
  margin-top: 40px;
  border-bottom: 15px solid white;
  height: 300px;
  width: 100%;
}

.description {
  display: block;
  margin-left: 710px;
  margin-top: -240px;
  text-align: center;
}

.description h1 {
  font-size: 42px;
}

.description h3 {
  font-size: 20px;
}

#contacts {
  border-bottom: 5px solid #ffffff;
  margin-left: 40px;
}

#summary {
  width: 672.38px;
  height: 184px;
  margin-left: 40px;
}

.section {
  width: 40%;
}

@media (max-width: 768px) {
  .section {
    width: 100%;
  }
}

#contacts {
  margin-left: 80px;
}

#summary {
  width: 45%;
  border-bottom: 5px solid #ffffff;
}

#skills {
  margin-left: 80px;
  border-bottom: 5px solid #ffffff;
}

#code {
  width: 45%;
  border-bottom: 5px solid #ffffff;
  margin-left: 40px;
}

#hobbies {
  margin-left: 80px;
  border-bottom: 5px solid #ffffff;
}

#projects {
  border-bottom: 5px solid #ffffff;
  margin-left: 40px;
  width: 45%;
  transition: 0.3s;
  transition: color 0.5s;
}

.cv,
.website,
.calc,
.momentum,
.codejam,
.travel {
  text-decoration: none;
  color: white;
}

a:hover {
  color: #808080;
  transition: 0.5s;
}

#education {
  margin-left: 80px;
  border-bottom: 5px solid #ffffff;
}

#english {
  border-bottom: 5px solid #ffffff;
  margin-left: 40px;
  width: 45%;
}

.footer {
  padding-top: 10px;
  color: #ffffff;
  background-color: #202026;
  width: 1214px;
  margin: 0 auto;
  display: flex;
}

.copy {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-top: 15px;
  margin-left: 25px;
}

.container {
  max-width: 1214px;
  margin: 0 auto;
  display: flex;
  background-color: #202026;
}

p.year {
  margin-left: 15px;
  font-size: 26px;
  margin-top: 15px;
}

.github {
  font-size: 26px;
  text-decoration: none;
  margin-left: 320px;
  margin-top: 15px;
  color: #d3d3d3;
  transition: 0.3s;
  transition: color 0.5s;
}

.github:hover {
  color: #808080;
}

.insta {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  margin-top: 12px;
  margin-left: 25px;
}

.vk {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  margin-top: 10px;
  margin-left: 30px;
}

.label {
  width: 80px;
  height: 50px;
  padding: 0;
  margin-top: 3px;
  margin-left: 370px;
}
