:root {
  --white: #f5f5f5;
  --lavender: #dfe0e2;
  --purple: #751cff;
  --dark: #282d38;
  --light: #4c556a;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--purple);
  overflow-x: hidden;
}

h1 {
  color: var(--dark);
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 3rem;
}

p {
  color: var(--light);
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 350;
  font-size: 1.25rem;
}

.content {
  min-height: 93vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  text-align: center;
  position: relative;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.content-wrapper {
  background-color: var(--white);
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#headshot {
  margin-top: 1rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--purple);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#blurb {
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 1.2rem;
}

.experience {
  padding-top: 4rem;
  width: 100%;
  max-width: 760px;
  padding: 2rem 1rem;
  text-align: left;
  background-color: var(--white);
}

.experience-wrapper {
  background-color: var(--white);
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.experience h2 {
  text-align: center;
  color: var(--dark);
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
}

.experience h2::after {
  content: "";
  display: block;
  width: 250px;
  height: 3px;
  background-color: var(--purple);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.job {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.job h3 {
  color: var(--dark);
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
}

.role {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--purple);
  margin-top: 0.5rem;
}

.location,
.dates {
  font-family: "Rubik", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--light);
}

.job-desc {
  margin-top: 0.5rem;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.5;
  font-weight: 200;
}

.projects {
  background-color: var(--lavender);
  padding: 1.9rem 1rem;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.projects-wrapper {
  background-color: var(--lavender);
  padding: 2rem 1rem;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projects h2 {
  color: var(--dark);
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.projects h2::after {
  content: "";
  display: block;
  width: 250px;
  height: 3px;
  background-color: var(--purple);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.project-card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  margin: 1rem auto;
  transition: transform 0.3s;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card h3 {
  color: var(--purple);
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
}

.project-desc {
  margin-top: 0.5rem;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.5;
}

.project-tech {
  margin-top: 0.25rem;
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  color: var(--light);
}

.footer {
  width: 100%;
  background-color: var(--purple);
  padding: 20px 0;
  color: #fff;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-content {
  max-width: 300px;
  margin: 0 auto;
  text-align: left;
}

.footer a {
  color: var(--white);
  font-family: "Rubik", sans-serif;
  font-weight: 250;
  font-size: 1.1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-icon {
  width: 32px;
  height: 32px;
  margin-right: 0.5rem;
}

.footer h2 {
  color: var(--white);
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.arrow-container {
  user-select: none;
  opacity: 0;
  width: 15px;
  animation: bounce 1600ms infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
  cursor: pointer;
  height: 20px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.arrow-down {
  height: 3px;
  background: var(--purple);
  transform: rotate(45deg);
  transform-origin: 0% 0%;
  border-radius: 2px;
}
.arrow-down:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 100%;
  border-radius: 2px;
  background: var(--purple);
  transform: rotate(-90deg);
  transform-origin: 0% 100%;
}

@keyframes bounce {
  50% {
    transform: translate(-50%, 12px);
  }
}

.visible {
  opacity: 100;
  transition: opacity 0.6s ease;
}

.hidden-smooth {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.navbar {
  width: 100%;
  background-color: var(--purple);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 7vh;
  min-height: 45px;
  box-sizing: border-box;
  padding-right: 2vw;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-list li a {
  color: var(--white);
  text-decoration: none;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-list li a:hover {
  color: var(--lavender);
}

@media (max-width: 768px) {
  .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-list li a {
    font-size: 0.9rem;
  }

  .arrow-container {
    display: none;
  }
}

.article {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background-color: var(--lavender);
  border-radius: 7px;
}

.article h4 {
  font-family: "Rubik", sans-serif;
  color: var(--dark);
  font-weight: 500;
  font-size: 1.3rem;
}

.article p {
  font-family: "Rubik", sans-serif;
  color: var(--dark);
  font-weight: 300;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.article-link {
  font-family: "Rubik", sans-serif;
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}

.article-link:hover {
  text-decoration: underline;
}
