@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Playwrite+IE:wght@100..400&display=swap&family=Noto+Sans+Mono:wght@100..900&display=swap");

:root {
  --sky-blue: #e8f9fd;
  /* Lighter, brighter sky blue */
  --soft-white: #f7fbfc;
  /* Slightly warmer white */
  --earth-brown: #562c2c;
  --text-gray: #515758;
  /* Softer gray */
  --accent-pink: #ed6a5a;
  /* Subtle pink accent color */
  --modal-bg: #f5f8fb;
  --modal-bg-hover: #ecf0f4;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Nunito Sans", serif;
  color: var(--earth-brown);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

h1 {
  font-family: "Playwrite IE", serif;
  font-weight: bold;
}

h2 {
  font-family: "Noto Sans Mono", serif;
  font-weight: bold;
  margin-top: 2px;
  margin-bottom: 6px;
}

.card-content-extra {
  color: var(--text-gray);
}

h3 {
  margin: 0;
  font-weight: 700;
}

header,
section,
footer {
  padding: 25px;
}

#sidebar{
  background-color: var(--sky-blue);
}

#profile-img {
  width: 90%;
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  clip-path: circle();
  border: 8px solid #F8FAFC;
}

footer {
  background-color: #F9F9F9;
}

#page-content {
  flex: 1;
}

a {
  color: var(--accent-pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a > i {
  color: #000;
}

a > i:hover {
  color: var(--accent-pink);
}

.projects-content {
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto;
  column-gap: 15px;
  row-gap: 20px;
}

.nav-item {
  display: inline-block;
  margin-left: 10px;
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.4s ease;
}

.nav-pills .nav-link {
  color: var(--text-gray);
  background-color: transparent;
}

.nav-pills .nav-link.active {
  color: #fff;
  background-color: var(--accent-pink);
}

.nav-item:hover {
  transition: background-color 0.4s ease;
  background-color: var(--accent-pink);
}

.nav-item a:hover {
  color: var(--soft-white);
  text-decoration: none;
}

.card {
  background-color: var(--modal-bg);
  border-radius: 15px;
  padding: 15px;
}

.card:hover {
  background-color: var(--modal-bg-hover);
}

.card-content p {
  margin: 0;
}

.tech-icon {
  width: 20px;
  height: 20px;
}

#name-header {
  text-align: center;
}

footer {
  text-align: center;
}

.col img {
  height: 340px;
  width: auto;
  margin-bottom: 20px;
}

.col img:hover {
  cursor: pointer;
}

a img, .contact-info a {
  text-decoration: none;
  color: var(--earth-brown);
}

#contact .contact-icon {
  height: 20px;
  width: 20px;
}

.contact-info a:hover {
  text-decoration: none;
  color: var(--accent-pink);
}

.icon-btn {
  display: inline-block;
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.skills-category {
  margin-bottom: 30px;
}

.skills-category h2 {
  font-family: "Noto Sans Mono", serif;
  font-weight: bold;
  color: var(--earth-brown);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.skills-category h2 i {
  margin-right: 10px;
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skills-list li {
  font-family: "Nunito Sans", serif;
  font-size: 1.1rem;
  color: var(--text-gray);
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.skills-list li i {
  color: var(--accent-pink);
  margin-right: 14px;
}

#skills-description {
  font-family: "Nunito Sans", serif;
  font-size: 1.1rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 40px;
}

.relevant-title
{
  font-weight: 800;
}

.timeline {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
}

.timeline .timeline-row {
  display: flex;
  column-gap: 64px;
  flex-wrap: wrap;
}

.timeline-row .timeline-column {
  flex: 1 1 320px;
}

.timeline-column .title {
  position: relative;
  display: inline-block;
  font-size: 28px;
  margin: 0 0 16px 0;
}

.timeline-column .timeline-box {
  position: relative;
  border-left: 2px solid var(--accent-pink);
}

.timeline-box .timeline-content {
  position: relative;
  padding-left: 27px;
}

.timeline-box .timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10.5px;
  width: 20px;
  height: 20px;
  background: var(--accent-pink);
  border-radius: 50%;
}

.timeline-content .content {
  padding: 24px;
  border: 2px solid var(--accent-pink);
  border-radius: 8px;
  margin-bottom: 45px;
}

.timeline-content .content .year {
  font-size: 16px;
  color: var(--accent-pink);
}

.timeline-content .content .year i {
  margin-right: 2px;
}

.timeline-content .content p {
  font-size: 16px;
}

.animate {
  position: absolute;
  top: 0;
  right: 0;
  width: 103%;
  height: 103%;
  background: #fff;
  animation: show-right .8s ease forwards;
  animation-delay: calc(.2s * var(--i));
}

@keyframes show-right {
  100% {
      width: 0;
  }
}

/* Override Bootstrap button primary color */
.btn {
  margin: 4px 0;
}

.btn-primary {
  background-color: var(--accent-pink);
  border-color: var(--accent-pink);
  text-decoration: none;
}

.btn-primary:hover {
  background-color: darken(var(--accent-pink), 10%);
  border-color: darken(var(--accent-pink), 10%);
  color: var(--accent-pink);
  text-decoration: none;
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(237, 106, 90, 0.5);
}

@media (max-width: 768px) {
  #profile-img {
    width: 40%;
  }
}

@media (min-width: 800px) {
  .card {
    width: 90%;
  }

  .project-imgs {
    width: 85%;
    margin: 0 auto;
  }

  .card.relevant {
    width: 85%;
  }
}