*, ::after, ::before {
  box-sizing: border-box
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent
}

@-ms-viewport {
  width: device-width
}

body {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  text-align: left;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start
}

h1, h2 {
  display: inline;
  margin: 0;
  font-weight: bolder;
  font-size: inherit
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects
}

a:hover {
  color: #0056b3;
  text-decoration: underline
}

.container {
  margin-top: 8vmin;
  max-width: 900px
}

.col-info, .col-photo {
  position: relative;
  min-height: 1px;
  padding: 1rem
}

.col-info {
  max-width: 500px
}

@media (min-width:500px) {
  .col-info, .col-photo {
    padding: 1rem 3vw
  }
}

.col-photo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start
}

img {
  vertical-align: middle;
  border-style: none;
  border-radius: 50%;
  min-width: 32px;
  width: 100%;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain
}

.social {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  padding-left: 32px
}

.social a {
  margin-right: 12px
}

.social a:last-child {
  margin-right: 0
}

.social i {
  display: block;
  height: 32px;
  width: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: initial
}

.ico-telegram {
  background-image: url(telegram.svg)
}

.ico-linkedin {
  background-image: url(linkedin.svg)
}

.ico-github {
  background-image: url(github.svg)
}

@media (max-width:320px) {
  .col-photo {
    overflow: hidden
  }
  .col-info, .container {
    width: 100%
  }
}

@media (min-width:768px) {
  .social {
    display: none
  }
  .container {
    margin-top: 10vmin;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
  }
  .col-info, .col-photo {
    padding: 1rem 2rem
  }
  .col-photo {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    overflow: hidden;
    padding-right: 0
  }
  .col-photo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 300px;
    border-radius: 6px
  }
  .col-info {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%
  }
}
