:root {
  --orange: #f4613e;
  --purple: #9554c8;
  --pink: #ee3b7e;
  --yellow: #f9bc2f;
  --blue: #3a8def;
  --green: #6db56d;
  --white: #fefefe;
  --white-semi-transparent: rgba(255, 255, 255, 0.95);
  --black: rgba(0, 0, 0, 0.8);
  --black-light: rgba(0, 0, 0, 0.7);
  --black-lighter: rgba(0, 0, 0, 0.6);
  --light-gray: #b2b2b2;
  --text: var(--black);
  --text-light: var(--black-light);
  --text-lighter: var(--black-lighter);
  --separator: var(--light-gray);
  --text-reverse: var(--white);
  --text-reverse-semi-transparent: var(--white-semi-transparent);
  --section-title: var(--orange);
  --gradient: linear-gradient(230deg, #f4613e, #f75153, #f54368, #ee3b7e, #e23a94, #cf40a8, #b54ab9, #9554c8);
}

body {
  font-family: "Roboto", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  margin: 0;
  background-color: var(--white);
}

/* Util */
.icon {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  margin-top: -2px;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 1rem 0;
}

/* Main theme */
ul {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-reverse);
}
ul li,
ul a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resume {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 4px 28px 16px rgba(0, 0, 0, 0.14);
}
.resume a {
  color: var(--text-reverse);
  text-decoration: none;
}

.body {
  color: var(--text);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.print-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-image: var(--gradient);
  color: var(--text-reverse-semi-transparent);
  border: none;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: bold;
}
.print-button:hover {
  filter: brightness(1.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.print-button:active {
  filter: brightness(0.9);
}

[popover] {
  inset: unset;
  bottom: 2rem;
  right: 10.5rem;
  overflow: visible;
  border: none;
  background: none;
}
[popover] span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
}
[popover] span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
  position: absolute;
  border-left: 8px solid var(--black);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
