html {
  font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica, Helvetica Neue, Arial, sans-serif;
  scroll-behavior: smooth;
}
@font-face {
  font-family: 'SegoeUI';
  src: url('assets\fonts\SegoeUI.woff2') format('woff2');
  font-style: normal;
}
@font-face {
  font-family: 'SegoeUI';
  src: url('assets\fonts\SegoeUI-Bold.woff2') format('woff2');
  font-style: normal;
}
.wrapper {
  min-height: 100%;
  overflow: hidden;
}
.header {
  left: 0;
  top: 0;
  width: 100%;
  font-weight: 600;
}
.header-container{
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background-color: rgb(163, 201, 253);
}
.main-top {
  height: 100%;
  max-width: 1024px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  background-color: inherit;
  padding-bottom: 5px;
}
.menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: 60px;
  font-size: 22px;
  font-weight: 600;
  align-items: center; /*  Выравнивание по вертикали во Flex-контейнере */
  }
.link-top {
  transition: .1s;
  color: rgb(21, 31, 100);
}
.link-top:hover {
   font-size: 24px;
   font-weight: bold;
   text-decoration: underline;
   background-color: rgb(163, 201, 253);
 }
.bottom {
  top: 0;
  left: 0;
  width: 100%;
  max-height: 180px;
  background-color: rgb(255, 255, 255);
}
.h-container-bottom {
  height: 180px;
  display: flex;
  margin: 0 auto;
  max-width: 1024px;
  align-items: center;
  justify-content: center;
  background-color: inherit;
}
.my-photo {
  max-width: 155px;
  max-height: 155px;
}
.photo {
  max-width: 155px;
  max-height: 155px;
}
.maincv {
  height: 200px;
  display: flex;
  margin-top: 44px;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  justify-content: space-between;
}
.main-name {
  width: 100%;
  height: 128px;
  display: flex;
  justify-content: space-between;
}
.sub-name{
  width: auto;
  height: 100%;
  display: flex;
  font-size: 20px;
  text-align: right;
  flex-direction: column;
  justify-content: flex-end;
}
.txt-name {
  font-size: 40px;
  line-height: 120%;
}
.all-contacts {
  height: 100%;
  display: flex;
  white-space: pre;
  font-size: 15.5px;
  padding-top: 13px;
  font-style: normal;
  flex-direction: column;
  justify-content: space-between;
}
.icon-contact {
  width: 20px;
}
.sub-contacts {
  display: flex;
  align-items: center;
}
.main {
  width: 100%;
  font-weight: 600;
  background-color: rgb(163, 201, 253);
}
.main-container {
  height: 100%;
  margin: 0 auto;
  max-width: 1024px;
  background-color: inherit;
}
.flex-main {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
  justify-content: space-between;
}
.info-top {
  font-size: 25px;
  margin-top: 14px;
  padding-bottom: 16px;
  color: rgb(21, 31, 100);
}
.skills {
  font-size: 25px;
  margin-top: 40px;
  padding-bottom: 16px;
  color: rgb(21, 31, 100);
}
.languages {
  font-size: 25px;
  margin-top: 30px;
  padding-bottom: 16px;
  color: rgb(21, 31, 100);
}
.projects {
  font-size: 25px;
  margin-top: 30px;
  padding-bottom: 16px;
  color: rgb(21, 31, 100);
}
.code-example {
  font-size: 25px;
  margin-top: 30px;
  padding-bottom: 16px;
  color: rgb(21, 31, 100);
}
.info-line {
  padding-bottom: 10px;
  border-top: solid 2px rgb(21, 31, 100);
}
.main-text-head {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  color: rgb(21, 31, 100);
}
.code {
  width: 418px;
  height: 300px;
  padding: 20px;
  overflow: auto;
  margin-top: 10px;
  margin-bottom: 40px;
  background-color: rgb(255, 255, 255);
}
.main-text-head > li {
  list-style: circle;
  padding-bottom: 10px;
}
.footer {
  width: 100%;
  height: 65px;
  font-size: 22px;
  margin-top: 65px;
  font-weight: 600;
  background-color: rgb(163 201 253);
}
.link-top {
 transition: .4s;
 color: rgb(21, 31, 100);
}
.link-top:hover {
  transition: .1s;
  font-size: 24px;
  font-weight: bold;
  color: rgb(255, 0, 0);
  text-decoration: none;
}
.footer-container {
  height: 100%;
  display: flex;
  margin: 0 auto;
  max-width: 1024px;
  align-items: center;
  color: rgb(21 31 100);
  background-color: inherit;
  justify-content: space-between;
}
.footer-img {
  display: flex;
}
.img-git {
  height: 38px;
  transition: .4s;
}
.img-git:hover {
  height: 45px;
  transition: .1s;
}
.img-rss {
  height: 38px;
  transition: .4s;
}
.img-rss:hover {
  height: 45px;
  transition: .1s;
}
@media (max-width: 720px){
.header {
  height: auto;
}
.menu {
  padding: 0 10px;
  font-size: 18px;
  font-weight: 500;
}
.bottom {
  max-height:max-content;
}
.h-container-bottom {
  height: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content:space-between;
}
.my-photo {
  margin: 20px;
}
.maincv {
  width: 100%;
  height: auto;
}
.main-name {
  height: auto;
  padding: 20px;
  align-items: center;
  flex-direction: column;
}
.txt-name {
  text-align: center;
}
.flex-main {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  flex-direction: column;
}
.info-main {
  width: 355px;
}
.code {
  font-size: 13px;
}
.footer-container {
  padding: 20px;
}
}
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}
a {
 text-decoration: none;
}
ul,
ol,
li {
 list-style: none;
}
img {
 vertical-align: top;
}
h1,
h2 {
 font-weight: inherit;
 font-size: inherit;
}