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

:root {
  --ff-primary: "Source Sans Pro", sans-serif;
  -ff-secondary: "Source Code Pro", monospace;

  --fw-reg: 300;
  --fw-bold: 900;

  --clr-light: #fff;
  --clr-dark: #1a1a1a;
  --clr-accent: linear-gradient(
    90deg,
    rgba(179, 0, 0, 1) 0%,
    rgba(216, 117, 0, 1) 100%
  );

  --fs-h1: 4rem;
  --fs-h2: 2rem;
  --fs-body: 1.125rem;
}

/* General styles */
body {
  background: var(--clr-dark);
  color: var(--clr-light);
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: 300px;
  text-align: center;
  margin-bottom: 0px;
}

/* Typography */
h1,
h2 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container img {
  margin-bottom: 0px;
  padding: 0px;
}

.container *:not(:last-child) {
  margin-bottom: 8px;
}

.socials a:not(:last-child) {
  margin-right: 20px;
}

.socials i {
  padding-top: 8px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(179, 0, 0, 1)),
    to(rgba(216, 117, 0, 1))
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro,
.bio {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: var(--fw-reg);
}

@media (max-width: 860px) {
  :root {
    --fs-h1: 3rem;
    --fs-h2: 1.5rem;
    --fs-body: 1rem;
  }

  img {
    display: block;
    max-width: 100%;
    height: 200px;
    text-align: center;
    margin-bottom: 0px;
  }
}

@media (max-width: 560px) {
  :root {
    --fs-h1: 2.5rem;
    --fs-h2: 1.3rem;
    --fs-body: 0.7rem;
  }

  img {
    display: block;
    max-width: 100%;
    height: 200px;
    text-align: center;
    margin-bottom: 0px;
  }
}

@media (max-width: 560px) {
  img {
    display: block;
    max-width: 100%;
    height: 170px;
    text-align: center;
    margin-bottom: 0px;
  }
}
