* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #212529;
  background: #fff;
}

main {
  flex: 1 0 auto;
}

svg {
  fill: #212529;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* header */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand svg {
  width: 25px;
  height: 25px;
  display: block;
}

.social {
  display: flex;
}

.social a {
  display: flex;
  padding: 8px 16px;
}

.social svg {
  width: 25px;
  height: 25px;
  transition: fill 0.15s ease-in-out;
}

.icon-github:hover svg {
  fill: #0fbf3e;
}

.icon-linkedin:hover svg {
  fill: #0077b5;
}

/* hero */

.hero {
  position: relative;
  padding: 125px 0 100px;
  margin-bottom: 48px;
  text-align: center;
  background: url("img/hero@2x.jpg") 0 0 / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 50% 100%, 0 calc(100% - 6vw));
}

.hero__mark {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.2;
}

.hero__subtitle {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
}

/* intro */

.intro .container {
  max-width: 570px;
  text-align: center;
}

.intro p {
  margin: 0 0 27px;
}

/* footer */

.site-footer {
  padding: 150px 0 25px;
  text-align: center;
  background: url("img/hero@2x.jpg") 100% 100% / cover no-repeat;
  clip-path: polygon(0 6vw, 50% 0, 100% 6vw, 100% 100%, 0 100%);
}

.site-footer svg {
  width: 30px;
  height: 30px;
  transition: fill 0.15s ease-in-out;
}

.icon-leaf:hover {
  fill: #dc3545;
}
