:root {
  --typeface-header: 'Overpass Mono';
  --typeface-text: 'Planet';
  --main-column-width: 660px;
  --accent-color: #43B9A3;
}

@font-face {
  font-family: 'Overpass Mono';
  src: url('assets/OverpassMono-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Planet';
  src: url('assets/PlanetWeb-Regular.woff2') format('woff2');
  font-weight: 400;
}

html {
  font-family: var(--typeface-text);
  line-height: 1.4;
  color: #FFFFFF;
  background: #30383D;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  max-width: calc(var(--main-column-width) + 40px);
  margin: 0 auto;
  padding: 20px;
}

a {
  text-decoration: none;
  color: var(--accent-color);
}

a:hover {
  text-decoration: underline;
}

header {
  margin-top: 80px;
  margin-bottom: 60px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

header img {
  width: 42.484%;
  height: 42.484%;
}

@media only screen and (max-width: 640px) {
  header img {
    width: 53.03%;
    height: 53.03%;
  }
}

header .avatar {
  margin-right: -3.03%;
}

header .face {
  border-radius: 50%;
  margin-left: -3.03%;
  z-index: 1;
}

h1 {
  font-family: var(--typeface-header);
  color: var(--accent-color);
  font-size: 48.83px;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

p {
  font-family: var(--typeface-text);
  font-size: 25px;
  line-height: 40px;
  margin-bottom: 20px;
}

footer {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 40px;
  text-align: center;
}
