/* Global styles */
:root {
  --background: #1e1e2e;
  --background-light: #f1eef7;
  --button: #8078c2;
  --text: #fdebf3;
  --text-light: #1e1e2e;
  --text-link: #505dad;
  --underline: #375a7f;
  --header: "Pacifico", cursive;
  --body: "Josefin Sans", sans-serif;
}

html {
  background-color: var(--background);
  color: var(--text);
}

body {
  margin: 0 auto;
  text-align: justify;
}

h1,
h2 {
  font-family: var(--header);
  font-weight: normal;
}

h1 {
  font-size: 2.6rem;
  margin: 0;
  margin-bottom: 5px;
}

h2 {
  text-decoration: underline var(--underline);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
  font-size: 2.1rem;
  margin-bottom: 0;
}

p {
  font-family: var(--body);
  font-size: 1.1rem;
  hyphens: auto;
  line-height: 1.5;
  text-indent: 1rem;
}

small,
li {
  font-family: var(--body);
}

/* Gifs */
.gif {
  margin: 20px 0 0 0;
  text-align: center;
}

/* Badge */
.badge {
  background-color: #584966;
  color: var(--text);
  border-radius: 6px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.3em 0.6em 0.2em;
}

.badge__list {
  text-indent: 1rem;
  list-style: none;
  padding: 0;
}

.badge__list > li {
  margin-top: 10px;
}

.badge--item {
  border-radius: 4px;
  font-size: 0.7rem;
  margin-right: 5px;
  padding: 0.5em 0.3em 0.3em 0.3em;
}

.badge__link {
  color: var(--text-link);
  text-decoration: none;
}

.badge__link:hover {
  text-decoration: underline;
}

/* Button */
.btn {
  text-align: center;
  background: rgba(0, 0, 0, 0);
  border: 2px solid var(--button);
  border-radius: 8px;
  color: var(--text);
  font: 600 16px var(--body);
  padding: 8px 16px;
  transition: background-color 0.4s, color 0.4s;
}

.btn:hover {
  background-color: var(--button);
  color: var(--text-light);
  cursor: pointer;
}

/* Skills */
.skills {
  margin-top: 8px;
}

.skills__img {
  margin: 8px 4px;
}

/* Items */
.center {
  text-align: center;
}

.pro-img {
  border-radius: 16px;
  margin-top: 10px;
}

/* 404 */
.lost {
  margin-top: 30%;
  text-align: center;
}

.lost__header {
  margin: 0 auto;
  text-align: center;
  border: 0;
  font-size: 7.5rem;
  letter-spacing: 10px;
}

.lost__body {
  color: #5c5b77;
}

.lost__link {
  color: var(--text-link);
  text-decoration: none;
}

/* Theme Icon */
html.light {
  background-color: var(--background-light);
  color: var(--text-light);
}

.light .navbar__title > a {
  color: var(--text-light);
}

.light .navbar__menu > a {
  color: var(--text-light);
}

.light .card__title {
  color: var(--text-light);
}

.light .card__txt {
  color: var(--text-light);
}

.light .btn {
  color: var(--text-light);
}

.light .btn:hover {
  color: var(--text);
}

.light .icon__link {
  border: 2px solid var(--text-light);
}

.light .icon__link:hover {
  border-color: var(--text-link);
}

.light .git-icon {
  content: url("/github-mark.svg");
}

.light .mail-icon {
  content: url("/mail.svg");
}

.light .linked-in {
  content: url("/li-in.png");
}

.light .badge__link {
  color: var(--text-link);
}
