@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: local("Roboto Regular"), url("../fonts/Roboto/Roboto-Regular.woff") format("woff");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: local("Lato Regular"), url("../fonts/Lato/Lato-Regular.woff") format("woff");
}
* {
  transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, fill 0.15s ease-out, box-shadow 0.15s ease-out;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.3;
  color: #444;
  background-image: url("../img/bg-big.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
  -webkit-background-size: cover;
}

h1 {
  margin: 0;
}
h1 span.p-name {
  font-family: "Roboto", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin: 0;
  color: #444;
  display: block;
}
h1 span.p-job-title {
  font-size: 20px;
  font-family: Lato, sans-serif;
  line-height: 1.1;
  font-weight: 700;
  margin: 10px 0;
  color: #444;
  display: block;
}
h1 span.p-location {
  font-size: 15px;
  font-family: Lato, sans-serif;
  line-height: 1;
  font-weight: 700;
  margin: 5px 0;
  color: #444;
  display: block;
}

section#about {
  width: 550px;
  margin: 150px auto 50px auto;
  max-width: -webkit-calc(100vw - 10px);
  max-width: calc(100vw - 10px);
  text-align: center;
  background-color: #fff;
  -webkit-border-radius: 5px;
  border-radius: 15px;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  min-height: 40vh;
  vertical-align: baseline;
}

section a#btn_connect {
  margin: 20px auto 5px auto;
  background-color: #014976;
  color: #fff;
  -webkit-box-shadow: inset 0 0 0 100px hsla(0, 0%, 100%, 0);
  box-shadow: inset 0 0 0 100px hsla(0, 0%, 100%, 0);
  transition: all 0.15s ease-out;
  font-size: 20px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  user-select: none;
  border: 1px solid #014976;
  box-sizing: border-box;
  padding: 0;
  max-width: 440px;
  width: 100%;
  -webkit-box-direction: normal;
  white-space: nowrap;
  text-decoration: none;
  line-height: 60px;
  height: 60px;
}
section a#btn_connect img {
  display: inline-flex;
  align-self: center;
  padding-top: 13px;
}
section a#btn_connect h2 {
  display: inline-flex;
  align-self: center;
  vertical-align: top;
  margin: 0 4px;
  text-transform: uppercase;
  line-height: 60px;
  height: 60px;
  padding: 0;
  font-size: 17px;
  font-family: Lato, sans-serif;
  font-weight: 800;
}
section a#btn_connect:focus {
  outline-color: rgba(8, 114, 180, 0.4);
}
section a#btn_connect:hover {
  background-color: #07639c !important;
  border-color: #07639c !important;
}
section section#info {
  max-width: 440px;
  margin: 10px auto 0 auto;
  text-align: justify;
  font-family: Lato, sans-serif;
  font-weight: 400;
}
section p {
  color: #333;
  padding: 4px 8px;
  margin: 5px 0;
}

img:-moz-loading {
  visibility: hidden;
}

div#avatar {
  width: 125px;
  height: 125px;
  background-image: url(../img/rumen_damyanov.jpg);
  background-size: cover;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  margin: -75px auto 15px;
  transform: rotate(-1deg);
}

#info h3 {
  display: none;
}

#social-links {
  max-width: 450px;
  margin: 20px auto;
}
#social-links h3 {
  display: none;
}
#social-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  display: flex;
  -webkit-box-pack: center;
}
#social-links li {
  padding: 0;
  margin: 0 10px 10px 10px;
  width: 35px;
  height: 35px;
  font-size: 35px;
  line-height: 35px;
  cursor: pointer;
  display: block;
  -webkit-font-smoothing: antialiased;
  color: #999;
  opacity: 1;
  -webkit-transition: opacity 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;
  will-change: opacity;
}
#social-links li:hover {
  opacity: 0.65;
}

@media only screen and (max-width: 460px) {
  section a#btn_connect {
    margin: 10px auto;
    max-width: -webkit-calc(100vw - 20px);
    max-width: calc(100vw - 20px);
  }
  section a#btn_connect h2 {
    font-size: 16px;
  }
  section#about {
    margin: 80px auto 20px auto;
  }
  #social-links li {
    margin: 8px 6px;
    width: 27px;
    height: 27px;
    font-size: 27px;
    line-height: 27px;
  }
  #social-links li a img {
    width: 26px;
    height: 26px;
    font-size: 26px;
    line-height: 26px;
  }
}
@media only screen and (max-width: 380px) {
  section a#btn_connect h2 {
    font-size: 15px;
  }
}
