/* ---------------------------------------------------------- */
a {
  color: hsl(0, 0%, 75%);
}

footer {
  width: 100%;
  background-color: hsl(220, 10%, 10%);
  height: 8rem;
  display: grid;
  place-items: center;
}
footer div {
  height: 4rem;
  max-width: 80rem;
  padding: 1rem;
  display: grid;
  font-size: 80%;
  gap: 0 1rem;
}
footer div .title {
  font-weight: bold;
}
footer div * {
  margin: 0;
  padding: 0;
}

.glassy-box {
  --border-width: 0.1rem;
  backdrop-filter: blur(5px);
  background-color: var(--glass-colour);
  position: relative;
}
.glassy-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--border-width) solid transparent;
  filter: blur(5px);
  background: linear-gradient(hsl(220, 10%, 10%), hsl(220, 10%, 60%)) border-box;
  mask: linear-gradient(white) border-box, linear-gradient(white) padding-box;
  mask-composite: subtract;
}

.header {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 0.5rem;
}
.header .header-title {
  display: block;
  font-size: 150%;
}

img {
  transition: all 0.5s ease-in-out;
}
img:hover {
  opacity: 1;
  scale: 110%;
}

.picture {
  max-height: 25rem;
  max-width: 25rem;
  border: 0.1rem solid hsl(220, 10%, 60%);
  object-fit: contain;
  border-radius: 1rem;
  opacity: 0.7;
}

ul {
  margin-left: 1rem;
}

.section {
  position: relative;
  border-radius: 1rem;
}
.section h2 {
  display: none;
}

.tags {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tag {
  position: relative;
  background-color: hsla(210, 80%, 50%, 0.4);
  border-radius: 1rem;
  font-size: 80%;
  padding: 0.5rem 1rem;
}

@keyframes glowColour {
  0% {
    background-color: var(--glass-colour);
  }
  100% {
    background-color: var(--glow-colour);
  }
}
@property --border-position {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes circleBorder {
  0% {
    --border-position: 0deg;
  }
  100% {
    --border-position: 360deg;
  }
}
.about-me {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 1rem;
  gap: 1rem;
}
.about-me .about-me-picture {
  float: right;
}
.about-me .column {
  flex: 1;
  display: flex;
  flex-direction: column;
  --glass-colour: hsla(0, 0%, 40%, 0.5);
  border-radius: 1rem;
  margin-right: 2rem;
  padding: 1rem;
}

.achievements {
  display: grid;
  grid-template-columns: repeat(3, 20rem);
  gap: 0.5rem 2.5rem;
  padding: 1rem 3rem;
  padding-left: 0;
  width: 100%;
  justify-content: center;
}
.achievements .achievement-badge {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
  justify-items: center;
  align-items: center;
  border-radius: 0.7rem;
  padding: 1rem;
  --glass-colour: hsla(210, 80%, 30%, 0.4);
  --glow-colour: hsla(210, 80%, 50%, 0.4);
}
.achievements .achievement-badge img {
  width: 2rem;
  height: 2rem;
}
.achievements .achievement-badge div {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-items: center;
  border-radius: 0.7rem;
}
.achievements .achievement-badge div h2 {
  display: inline-block;
  font-size: 80%;
}
.achievements .achievement-badge div p {
  text-wrap: wrap;
  font-size: 80%;
}
.achievements .achievement-badge:hover {
  animation: glowColour 0.5s forwards;
}
.achievements .pending {
  --glass-colour: hsla(40, 40%, 50%, 0.5);
  --glow-colour: hsla(60, 60%, 60%, 0.5);
}

.career {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  min-height: 32rem;
  align-items: center;
}
.career .timeline {
  display: flex;
  flex-direction: row;
  padding: 2rem;
  padding-bottom: 0.5rem;
  width: 90%;
}
.career .timeline .timeframe-wrapper {
  display: flex;
  flex-direction: column;
  border-top: 0.1rem solid hsl(0, 0%, 90%);
}
.career .timeline .timeframe-wrapper .timeframe {
  display: inline-block;
  height: 1rem;
  cursor: pointer;
  background-color: transparent;
  border-right: 0.1rem solid hsl(0, 0%, 90%);
  --glass-colour: transparent;
  --glow-colour: hsl(from hsla(210, 80%, 50%, 0.4) h s l / 0.5);
}
.career .timeline .timeframe-wrapper .timeframe:hover {
  animation: glowColour 0.5s forwards;
}
.career .timeline .timeframe-wrapper .active {
  background-color: hsla(210, 80%, 50%, 0.4);
  --glass-colour: $accent-2;
}
.career .timeline .timeframe-wrapper .date {
  left: -2ch;
  max-width: 7ch;
  font-size: 80%;
  font-style: italic;
}
.career .content {
  position: relative;
  flex: 1;
  transition: translate 0.5s ease-in-out;
  width: 100%;
}
.career .content .entry {
  position: absolute;
  width: 100%;
}
.career .content .entry .job {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
  padding: 1rem;
}
.career .content .entry .job .job-card {
  display: flex;
  flex-direction: column;
  width: 20rem;
  margin: 1rem;
  border-radius: 0.7rem;
  --glass-colour: hsla(210, 80%, 30%, 0.4);
  gap: 0.5rem;
  padding: 1rem;
}
.career .content .entry .job .job-card .job-card-item {
  font-weight: normal;
  font-size: 100%;
  text-wrap: wrap;
}
.career .content .entry .job .job-card .job-card-item svg {
  margin-right: 1rem;
}
.career .content .entry .job .job-card .company {
  font-weight: bold;
  font-size: 100%;
}
.career .content .entry .job .job-card .description {
  font-style: italic;
  font-size: 80%;
}
.career .content .entry .job .job-children {
  flex: 1;
  text-wrap: wrap;
  margin: 1rem;
  margin-left: 0rem;
  margin-right: 3rem;
  padding: 1rem;
  border-radius: 0.7rem;
  --glass-colour: hsla(0, 0%, 40%, 0.5);
}
.career .content .entry .job .job-children .venture-description {
  font-size: 80%;
  font-style: italic;
  margin: 0.5ch;
  margin-left: 1rem;
}

.experience {
  display: flex;
  flex-direction: row;
  width: 100%;
}
.experience .about {
  --glass-colour: hsla(0, 0%, 40%, 0.5);
  display: flex;
  flex-direction: column;
  margin: 1rem;
  gap: 0.5rem;
  border-radius: 0.7rem;
  padding: 1rem;
  flex: 1;
}
.experience .skillpoints {
  display: grid;
  grid-template-columns: repeat(3, 10rem);
  gap: 0.5rem 2.5rem;
  padding: 1rem 3rem;
  padding-left: 0;
}
.experience .skillpoints .skillpoint {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.25rem;
  justify-items: center;
  align-items: center;
  border-radius: 0.7rem;
  padding: 1rem;
  --glass-colour: hsla(210, 80%, 30%, 0.4);
  --glow-colour: hsla(210, 80%, 50%, 0.4);
}
.experience .skillpoints .skillpoint h2 {
  display: inline-block;
  font-size: 80%;
}
.experience .skillpoints .skillpoint div {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-items: center;
  width: 100%;
  border-radius: 0.7rem;
  overflow: hidden;
}
.experience .skillpoints .skillpoint div span {
  height: 0.5rem;
  background-color: hsl(220, 10%, 45%);
}
.experience .skillpoints .skillpoint div .active {
  background-color: hsla(210, 80%, 50%, 0.4);
}
.experience .skillpoints .skillpoint:hover {
  animation: glowColour 0.5s forwards;
}

.introduction {
  margin-top: 2rem;
}
.introduction .row {
  padding: 1rem 3rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.introduction .row .column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.introduction .row .column h3 {
  font-size: 500%;
  font-weight: bold;
  margin: 1rem;
  color: hsl(0, 0%, 100%);
}
.introduction .row .column p {
  font-size: 150%;
  margin: 0.5rem;
}
.introduction .row .column .contact-buttons {
  display: flex;
  flex-direction: row;
  height: 4rem;
  gap: 3rem;
}
.introduction .row .column .contact-buttons .timed-button {
  aspect-ratio: 1;
  border-radius: 0.7rem;
  position: relative;
  padding: 1rem;
  transition: filter 0.5s ease-in-out;
}
.introduction .row .column .contact-buttons .timed-button img {
  height: 2rem;
}
.introduction .row .column .contact-buttons .timed-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 0.1rem solid transparent;
  filter: blur(1px);
  background: conic-gradient(from var(--border-position), hsl(0, 0%, 90%), hsl(220, 10%, 10%), hsl(0, 0%, 90%), hsl(220, 10%, 10%), hsl(0, 0%, 90%)) border-box;
  mask: linear-gradient(white) border-box, linear-gradient(white) padding-box;
  mask-composite: subtract;
  animation: 4s circleBorder infinite;
  animation-timing-function: linear;
}
.introduction .row .column .contact-buttons .timed-button:hover {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(24%) hue-rotate(25deg) brightness(110%) contrast(105%);
}
.introduction .row .introduction-picture {
  float: right;
}

.projects {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin: 2rem;
}
.projects .projects-header {
  --glass-colour: hsla(0, 0%, 40%, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 0.7rem;
  padding: 1rem;
  width: 20rem;
  margin-bottom: 1rem;
}
.projects ul {
  flex: 1;
}
.projects ul .project {
  background-color: hsla(210, 80%, 30%, 0.4);
  color: hsl(0, 0%, 75%);
  border-radius: 0.7rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.projects ul .project h2 {
  display: block;
  margin-top: 0;
}
.projects ul .disabled {
  background-color: hsla(0, 0%, 10%, 0.6);
}

.testimonials {
  height: 15rem;
  margin: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
}
.testimonials .carousel {
  position: relative;
  transition: translate 0.5s ease-in-out;
}
.testimonials .carousel .testimony {
  width: 95%;
  position: absolute;
  border-radius: 1rem;
  padding: 1rem;
  --glass-colour: hsla(0, 0%, 40%, 0.5);
}
.testimonials .carousel .testimony h2 {
  width: 100%;
  font-size: 150%;
  text-wrap: wrap;
  text-align: center;
  font-weight: normal;
}
.testimonials .carousel .testimony p {
  width: 100%;
  font-size: 100%;
  margin-top: 2rem;
  text-align: center;
}
.testimonials .carousel .testimony p span {
  font-weight: bold;
}
.testimonials .bullets {
  width: 100%;
  justify-content: center;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.testimonials .bullets a {
  height: 1rem;
  aspect-ratio: 1;
  border-radius: 1000rem;
  cursor: pointer;
  background-color: hsl(220, 10%, 45%);
}
.testimonials .bullets .active {
  background-color: hsl(0, 0%, 75%);
}

* {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  /* background: url("static/images/fractal2.png") fixed; */
  /* background-position: 50% 20%; */
  /* background-color: black; */
  /* background-repeat: no-repeat; */
  font-size: 100%;
  font-family: Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: hsl(0, 0%, 75%);
  overflow-x: hidden;
}

.background {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: -1;
}
.background .point {
  position: fixed;
  border-radius: 100rem;
  width: 10px;
  height: 10px;
  filter: blur(5px);
}

.main-content {
  max-width: 80rem;
  background-color: hsla(0, 0%, 10%, 0.6);
  backdrop-filter: blur(7px);
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
.main-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 0.1rem solid transparent;
  border-top: none;
  border-bottom: none;
  background: linear-gradient(hsl(220, 10%, 10%), hsl(220, 10%, 60%)) border-box;
  mask: linear-gradient(white) border-box, linear-gradient(white) padding-box;
  mask-composite: subtract;
  filter: blur(1px);
}
.main-content * {
  position: relative;
}
