article,
details,
section,
summary,
aside,
main,
menu,
nav,
figcaption,
figure,
footer,
header,
hgroup {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
dfn {
  font-style: italic;
}
mark {
  background: #ff0;
  color: #000;
}
b,
strong {
  font-weight: bold;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
article,
details,
section,
summary,
aside,
main,
menu,
nav,
figcaption,
figure,
footer,
header,
hgroup {
  display: block;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden],
template {
  display: none;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
dfn {
  font-style: italic;
}
mark {
  background: #ff0;
  color: #000;
}
b,
strong {
  font-weight: bold;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1em 40px;
}
hr {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
  cursor: pointer;
  -webkit-appearance: button;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type='checkbox'],
input[type='radio'] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}
input[type='search'] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
html,
body {
  height: 100%;
  position: relative;
}
body {
  font-size: 11pt;
  background: #000 url("../img/hrybanov.jpg") 49% center no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  background-size: contain;
  padding: 5%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: rgba(255,255,255,0.3);
  font-family: mont, Arial, sans-serif;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -o-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-align: center;
  -moz-box-align: center;
  -o-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

body.black-bg {
  background-color: #000;
  background-image: none;
}

a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  border-bottom: 5pt #fff solid;
}
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul li {
  display: inline-block;
}
h1,
h2,
p,
a {
  -webkit-transition: color;
  -moz-transition: color;
  -o-transition: color;
  -ms-transition: color;
  transition: color;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -o-transition-duration: 1s;
  -ms-transition-duration: 1s;
  transition-duration: 1s;
}
h1:hover,
h2:hover,
p:hover,
a:hover {
  color: #fff;
}
h1 {
  font-size: 4em;
  line-height: 1em;
  white-space: nowrap;
  margin: 0;
}
h2 {
  font-size: 1em;
  margin: 0;
}
.me {
  position: relative;
}
.me .contacts {
  position: absolute;
  bottom: -5em;
}
@media (min-height: 640px) {
  .me .contacts {
    bottom: -10em;
  }
}
.projects {
  min-width: 10em;
}
.projects a {
  font-size: 4em;
  font-weight: bold;
  margin-right: 2ex;
  line-height: 2em;
}
@media only screen and (orientation: landscape) {
  .spacer {
    display: none;
  }
  .me {
    width: 25%;
  }
  .projects {
    width: 25%;
  }
}
@media only screen and (orientation: landscape) and (min-width: 1460px) {
  .projects {
    width: 30%;
  }
}
@media only screen and (orientation: portrait) {
  body {
    -webkit-box-align: end;
    -moz-box-align: end;
    -o-box-align: end;
    -ms-flex-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    background-position: top;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -o-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
  .spacer {
    width: 50%;
  }
  .projects ul {
    display: inline-block;
    width: auto;
  }
}
@media only screen and (orientation: portrait) and (max-width: 600px) {
  body {
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -o-box-orient: vertical;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: end;
    -moz-box-pack: end;
    -o-box-pack: end;
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
  }
  .me {
    width: 100%;
    margin-bottom: 2em;
  }
  .me .contacts {
    position: static;
  }
  .projects {
    width: 100%;
  }
  .projects a {
    font-size: 2em;
  }
  .spacer {
    display: none;
  }
}


.telegram-container {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.telegram {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.telegram__image {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0px 0px 7px 1px rgba(255,255,255,.5);
}

.telegram__image img {
  display: block;
  width: 100%;
  height: auto;
}

.telegram__title {
  margin: 50px 0 20px;
  font-size: 36px;
  line-height: 1.23;
  color: #fff;
}

.telegram__subtitle {
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.telegram__subtitle a {
  border-bottom: none;
}

.telegram__button {
  border-bottom: none;
  background-color: rgba(255,255,255,.3);
  border: 0 none;
  border-radius: 60px;
  font-size: 16px;
  padding: 0 60px;
  line-height: 60px;
  color: rgba(255,255,255,1);
  transition: 1s all linear;
}

.telegram__button:hover {
  background-color: rgba(255,255,255,1);
  color: rgba(0,0,0,1);
}

@media only screen and (max-width : 767px) {
  .telegram__image {
    width: 160px;
    height: 160px;
  }

  .telegram__title {
    margin: 30px 0 10px;
    font-size: 24px;
  }

  .telegram__subtitle {
    margin: 0 0 30px;
    font-size: 14px;
  }

  .telegram__button {
    font-size: 14px;
    padding: 0 50px;
    line-height: 50px;
  }
}

@media only screen and (orientation: landscape) and (max-height : 412px) {
  .telegram__image {
    width: 100px;
    height: 100px;
  }

  .telegram__title {
    margin: 30px 0 10px;
    font-size: 24px;
  }

  .telegram__subtitle {
    margin: 0 0 30px;
    font-size: 14px;
  }

  .telegram__button {
    font-size: 14px;
    padding: 0 50px;
    line-height: 50px;
  }
}