@import url("https://fonts.googleapis.com/css?family=Karla:400,700&display=swap");

:root {
  --textColor: white;
  --invertColor: black;
  --font: "Karla", sans-serif;
}

html {
  /*FONT:*/
  font-family: var(--font);
  color: var(--textColor);
  font-size: 22px;
  font-weight: 400;

  /*BACKGROUND:*/
  /*background: url("./images/background.gif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;*/
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto; /*auto - center the linktree*/
}

img {
  width: 130px;
  height: 130px;
  display: block;
  margin: 20px auto;
  border-radius: 50%; /*round image*/
}

.bg {
  background: url("./images/background.gif");
  background-repeat: no-reapeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  position: fixed;
}

.content {
  position: absolute;
  margin-top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
}

#userName {
  font-weight: 700; /*bold*/
  font-size: 28px;
}

#description {
  margin: 20px auto;
}

linkButtons {
  width: auto;
  max-width: 500px;
  margin: auto;
}

/*LINKS*/
a {
  /*LINKS TEXT*/
  color: var(--textColor);
  text-decoration: none;
  text-align: center;

  /*LINKS BORDER:*/
  border: 2px solid var(--textColor);
  border-radius: 10px;

  display: block; /*each link takes a whole line*/
  margin: 10px;
  padding: 10px;
  transition: 0.2s;
}

a:hover {
  background-color: var(--textColor);
  color: var(--invertColor);
  transition: 0.2s;
}
