html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
  text-size-adjust: 100%;
  box-sizing: border-box;
  margin: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background: url(img/bg.png) right center no-repeat;
  background-size: cover;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: normal;
  font-weight: normal;
  color: #fff;
}

a {
  color: #3876e7;
}
h1 {
  margin-bottom: 20px;
  font-size: 40px;
}
h2 {
  margin-bottom: 25px;
  font-size: 36px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: normal;
  font-weight: 700;
}
p {
  margin-bottom: 30px;
}
a {
  color: #3876e7;
  text-decoration: none;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.logo {
  padding: 30px 15px;
  display: block;
  background-color: #47525a;
}
.logo img {
  display: block;
  margin: auto;
}
img {
  max-width: 100%;
}

.btn {
  position: relative;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 3px solid #fff;
  padding: 7px 9px;
  width: 60px;
  height: 60px;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  color: #fff;
  text-transform: uppercase;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}
.btn img {
  display: block;
}
.btn span {
  display: none;
}
.btn:hover {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 1);
}
.btn::after {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  top: 0;
  left: 0;
  padding: 0;
  box-shadow: 0 0 0 3px #fff;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
}
.btn:hover::after {
  -webkit-transform: scale(0.85);
  -moz-transform: scale(0.85);
  -ms-transform: scale(0.85);
  transform: scale(0.85);
  opacity: 0.8;
}
.header {
  padding-bottom: 20px;
  text-align: center;
}
.header .name {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 33px;
  color: #fff;
}
.user-phone,
.user-email {
  font-size: 22px;
}
.site-middle {
  position: relative;
  padding: 25px 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.site-middle::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #334f63;
  opacity: 0.7;
}
.site-right {
  padding: 30px 15px;
  text-align: center;
}
.man {
  width: 100%;
}
.social-list {
  padding: 40px 0 10px;
  border-top: 10px solid rgba(255, 255, 255, 0.4);
  border-bottom: 10px solid rgba(255, 255, 255, 0.4);
}
.social-list ul {
  list-style: none;
  margin: 0 -10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.social-list ul li {
  flex-basis: 33.33%;
  width: 33.33%;
  padding: 0 15px;
  margin-bottom: 30px;
  text-align: center;
}

.footer {
  padding: 30px 0 20px;
  background-color: #39444f;
}
.footer ul {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.footer ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 45px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.footer ul li img {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

@media only screen and (min-width: 992px) {
  body {
    font-size: 24px;
  }
  .site {
    display: flex;
    width: 100%;
  }
  .site-left {
    flex-basis: 25%;
    width: 25%;
    flex-shrink: 0;
  }
  .site-middle {
    flex-basis: 40%;
    width: 40%;
    flex-shrink: 0;
  }
  .site-right {
    flex-basis: 35%;
    width: 35%;
    flex-shrink: 0;
  }
  body::before {
    content: '';
    width: 165px;
    background-color: #39444f;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    bottom: 0;
  }
  .logo {
    position: relative;
    background-color: transparent;
  }
  .logo::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    top: 74px;
    height: 68px;
    width: 100%;
    background-color: #39444f;
  }
  .logo img {
    margin: 0;
  }
  .main ul li .btn {
    font-size: 35px;
  }
  .header {
    margin-top: auto;
    padding-bottom: 40px;
  }
  .header .name {
    font-size: 43px;
  }
  .user-phone,
  .user-email {
    font-size: 25px;
  }
  .main {
    margin-bottom: auto;
  }
  .site-right {
    padding: 0 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-right::before {
    content: '';
    position: absolute;
    z-index: -1;
    right: 0;
    background-color: #39444f;
    width: 100%;
    height: 68px;
  }
  .site-right::before {
    top: 74px;
  }
  .site-middle {
    max-width: none;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .social-list ul li {
    width: 16.66%;
    flex-basis: 16.66%;
  }
  .footer ul {
    font-size: 17px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
  }
  .footer ul li:nth-child(2) {
    width: 55%;
    flex-basis: 55%;
  }
  .footer ul li:nth-child(1) {
    width: 25%;
    flex-basis: 25%;
  }
  .footer ul li:nth-child(3) {
    width: 20%;
    flex-basis: 20%;
  }
}

@media only screen and (min-width: 1600px) {
  .site-middle {
    flex-basis: 760px;
    width: 760px;
  }
  .site-left {
    flex-basis: calc(65% - 760px);
    width: calc(65% - 760px);
  }
}
