/* --------------------- Open Props --------------------------- */
/* the props */
@import "https://unpkg.com/open-props";
/* optional imports that use the props */
@import "https://unpkg.com/open-props/normalize.min.css";
@import "https://unpkg.com/open-props/buttons.min.css";
/* ------------------------------------------------------------ */
body {
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
}

.navbar {
  background: var(--surface-2);
  padding: var(--size-3);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: var(--layer-1);
  box-shadow: 0 4px 6px var(--surface-3);
}
.navbar .nav-link {
  color: var(--text-2);
  text-decoration: none;
  padding: var(--size-2) var(--size-3);
  border-radius: var(--radius-3);
  transition: all var(--transition-ease-in);
}
.navbar .nav-link:hover {
  background: var(--surface-3);
  color: var(--text-1);
}
.navbar .nav-link.active {
  background: var(--surface-4);
  color: var(--text-1);
}

.footer {
  background: var(--surface-2);
  padding: var(--size-3);
  width: 100%;
  position: sticky;
  bottom: 0;
  z-index: var(--layer-1);
  display: flex;
  flex-direction: row;
  justify-content: center;
  box-shadow: 0 -4px 6px var(--surface-3);
}
.footer .link {
  margin: var(--size-3);
}
.footer img:hover {
  transform: scale(1.1);
}

.root-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.content-container {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.round-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.round-image img {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0%, -15%);
}

img.invert {
  filter: none;
}
@media (prefers-color-scheme: dark) {
  img.invert {
    filter: invert(1);
  }
}

@media screen and (max-width: 600px) {
  .cv-table td:before {
    content: attr(data-label);
    font-weight: bold;
    display: inline-block;
    margin-right: 2rem;
    text-transform: capitalize;
  }
  .cv-table thead {
    display: none;
  }
  .cv-table td, .cv-table .narrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cv-table .narrow {
    width: auto !important;
    justify-content: center;
    background: var(--surface-2);
  }
}
.cv-table {
  max-width: 800px;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 2rem auto;
  background: var(--surface-1);
  border-radius: var(--radius-3);
  overflow: hidden;
  box-shadow: 0 4px 6px var(--surface-3);
}
.cv-table th,
.cv-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 2px solid var(--surface-2);
}
.cv-table th {
  background-color: var(--surface-2);
}
.cv-table tr:last-child td {
  border-bottom: none;
}
.cv-table tr:hover {
  background-color: var(--surface-3);
}
.cv-table .narrow {
  width: 25%;
}

.buttons {
  display: flex;
  justify-content: space-evenly;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
  margin: 0 auto;
  padding: 2rem;
}

p,
button {
  margin: var(--size-6);
}

body > picture,
button {
  display: block;
  text-align: center;
  margin: 2rem;
}
