/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@100..900&display=swap");

body .a {
  font-family: "DM Sans";
}
body {
  font-family: "DM Sans";
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit";
  margin: 0;
}

p {
  margin: 0;
}

.container {
  /* width: 100%; */
  display: flex;
  flex-direction: column;
}
/* aside */
.sidebar {
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  align-self: stretch;
  justify-content: start;
}
.sidebar__content {
  display: flex;
  padding: 0px 48px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

.sidebar__hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.hero__banner {
  object-fit: cover;
  height: 280px;
  width: 100%;
}

.hero__header {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  padding: 0 48px;
}

.hero__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__title {
  font-weight: 500;
  text-align: center;
}

.hero__title--main {
  color: #2e2e48;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
}

.hero__title--secondary {
  font-size: 24px;
  line-height: 32px; /* 133.333% */
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, #a478e8 0%, #516cf7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.quote__text {
  color: #47516b;
  font-family: Outfit;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  width: 215px;
  display: block;
  position: relative;
  line-height: 24px;
  letter-spacing: 0.01em;
}
.quote__text::before {
  content: url(public/img/quoteStart.svg);
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: -24px;
}
.quote__text::after {
  content: url(public/img/quoteEnd.svg);
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  right: -24px;
}

.quote__author {
  color: #79819a;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
  letter-spacing: 0.01em;
}

.divider {
  display: flex;
  height: 0;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid #e2e6ee;
}

.list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.list__item {
  display: flex;
  flex: 1 0 228px;
  gap: 16px;
  align-items: center;
}

.list__details-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.list__icon {
  height: 20px;
  width: 20px;
}
.list__icon--social {
  height: 32px;
  width: 32px;
}
.list__icon--flat {
  width: 32px;
  height: 24px;
  flex-shrink: 0;
}
.list__icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: #e2e6ee;
  flex-shrink: 0;
}

.list__value--main {
  color: #79819a;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
}

.list__value--secondary {
  color: #47516b;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
}

.list__title {
  flex-basis: 100%;
  color: #79819a;

  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
  letter-spacing: 0.121px;
}

/* Main Section begins */

.main {
  display: flex;
  flex-basis: 576px;
  flex-grow: 1;
  padding: 64px 48px 64px 32px;
  align-items: flex-start;
  flex-shrink: 0;
  /* display: flex; */
  flex-direction: column;
}

.timeline {
  position: relative;
  /* max-width: 1200px; */
  margin: 0;
}

.timeline::after {
  content: "";
  align-self: self-start;
  height: 100%;
  position: absolute;
  width: 1px;
  background-color: #e2e6ee;
  /* bottom: 0; */
  top: 0;
  left: 16px;
  /* margin-left: -3px; */
}

.timeline__entry {
  margin-left: 64px;
  padding-bottom: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.timeline__entry::after {
  box-sizing: content-box;
  content: "";
  position: absolute;
  left: -63px;
  top: 0px;
  width: 8px;
  height: 8px;
  background-color: #5531a7;
  border: 12px solid #fff;
  border-radius: 50%;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.05),
    0px 12px 48px 0px rgba(0, 0, 0, 0.04),
    0px 2px 2px 0px rgba(0, 0, 0, 0.04) inset;

  z-index: 1;
}

.timeline__entry--end {
  padding-bottom: 0;
}

.entry__header {
  color: #2e2e48;
  font-family: Outfit;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px; /* 133.333% */
  letter-spacing: 0.01em;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}
.card {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  align-items: center;
  align-self: stretch;
  padding: 24px;
  gap: 16px;
  background: #f7f9fc;
}

.card__main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.card__main-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.card__icon {
  width: 48px;
  height: 48px;
}

.card__heading {
  color: #2e2e48;
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 125% */
}
.card__description {
  color: #79819a;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 128.571% */
  letter-spacing: 0.01em;
}

.card--round-right {
  border-radius: 0px 8px 8px 0px;
}
.card--round-left {
  border-radius: 8px 0px 0px 8px;
}

.card__footer.link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

.card--skills {
  height: 52px;
  padding: 8px 16px;
  justify-content: space-evenly;
  gap: 8px;
  flex: auto;
}

.card--row {
  flex-direction: row;
}

.card__heading--purple {
  color: #9251f7;
}
.card__heading--medium {
  font-size: 14px;
  line-height: 18px; /* 128.571% */
}
.card--skills.limit-width > .card__heading {
  width: 60px;
}

.link__icon {
  width: 24px;
  height: 24px;
}

.link__text {
  color: #516cf7;
  font-family: Outfit;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 125% */
}

/* exp section */

.timeline--secondary {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}
.timeline--secondary::after {
  left: 12px;
  background-color: #e2e6eeb0;
}

.timeline__entry--secondary {
  padding: 6px 0px 16px 0px;
  align-self: stretch;
  margin-left: 40px;
  gap: 16px;
  flex: 1 0 0;
}

.timeline__entry--secondary::after {
  box-sizing: content-box;
  content: "";
  position: absolute;
  left: -40px;
  top: 0px;
  width: 6px;
  height: 6px;
  background-color: #2e2e48;
  border: 9px solid #fff;
  border-radius: 50%;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.05),
    0px 12px 48px 0px rgba(0, 0, 0, 0.04),
    0px 2px 2px 0px rgba(0, 0, 0, 0.04) inset;

  z-index: 1;
}

.entry__header--secondary {
  display: flex;
  max-width: 242px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.entry__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: stretch;
}

.meta__data--date {
  color: #47516b;
  font-family: "DM Sans";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.101px;
}

.meta__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  align-self: stretch;
}

.meta__data--location {
  color: #79819a;
  font-family: "DM Sans";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.101px;
}

.entry__main {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  gap: 16px;
}

.entry__icon {
  width: 40px;
  height: 40px;
}
.entry__main--wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.entry__main--heading {
  color: #79819a;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
  letter-spacing: 0.121px;
}

.entry__main--subheading {
  color: #2e2e48;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
}

.entry__subsection {
  color: #79819a;
  font-size: 10px;
  font-weight: 400;
  line-height: 13.15px;
  letter-spacing: 0.1px;
  align-self: stretch;
}

/* education */

.card--education {
  padding: 16px 24px;
  align-items: flex-start;
  gap: 8px;
}
/* 
.edu-header {
  display: flex;
  align-items: center;
  gap: 16px;
  align-self: stretch;
} */

.card__heading--education {
  font-size: 12px;
  line-height: 16px; /* 133.333% */
  align-self: center;
}

.card__description-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  align-self: stretch;
}

.card__heading--small {
  font-size: 14px;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
}

.card__description--date {
  text-align: center;
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0.101px;
}

/* skills */

.grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.grid__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.grid__header {
  display: flex;
  flex-basis: 115px;
  padding: 16px 0px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

.grid__header-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.grid__title {
  color: #2e2e48;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.stack--skill {
  justify-content: center;
  flex: 1 0 0;
}
.subskill-container.blue .subskill-title {
  color: #516cf7;
}
/* 
.card--skills {
  height: 52px;
  padding: 8px 16px;
  justify-content: space-evenly;
  gap: 8px;
  flex: auto;
}

.card--row {
  flex-direction: row;
}

.card__heading--purple {
  color: #9251f7;
}
.card__heading--medium {
  font-size: 14px;
  line-height: 18px; 
}
.card--skills.limit-width > .card__heading {
  width: 60px;
} */

.text--center {
  text-align: center;
}
.subskill-divider {
  height: 20px;
  width: 1px;
  background-color: #e2e6ee;
}

.content-start {
  justify-content: flex-start;
  & > p {
    width: 95px;
    text-align: left;
  }
  & > ul {
    padding-left: 16px;
    text-align: left;
    & > li {
      text-align: left;
    }
  }
}

.vert-divider {
  /* position: relative; */
  height: 1px;
  /* width: 200%; */
  left: -50%;
  background-color: #e2e6ee;
}

/* tools section */

.stack--row-wrap {
  flex-flow: row wrap;
  align-items: center;
}

.card--tool {
  padding: 16px;
  justify-content: center;
  gap: 8px;
  flex: 1 0 22%;
  border-radius: 8px;
}

.card__icon--auto {
  width: auto;
  height: auto;
}

.mb-2p {
  margin-bottom: 2px;
}

.card__description {
  color: #79819a;
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.01em;
}

.card__description--small {
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0.101px;
}

@media (min-width: 768px) {
  .container {
    flex-direction: row;
    height: 100%;
    align-items: flex-start;
    /* gap: 32px; */
  }
  .sidebar {
    width: 30%;
    background-color: #f7f9fc;
    min-width: 356px;
    max-width: 425px;
  }
  .hero__banner {
    max-height: 164px;
  }
  .hero__titles {
    align-items: flex-start;
    text-align: left;
  }
  .quote {
    align-items: flex-start;
    text-align: left;
    padding-left: 24px;
  }
  .stack {
    flex-direction: row;
  }
  .timeline__entry {
    gap: 32px;
    align-self: stretch;
  }
  .grid-wrapper {
    width: 100%;
  }

  .timeline__entry--secondary {
    flex-direction: row;
    /* align-items: flex-start; */
    gap: 8px;
  }
  .entry__header--secondary {
    flex: 1 0 242px;
    width: 242px;
    /* flex-basis: 242px; */
  }

  .grid__header {
    width: 115px;
  }
  .stack--skill {
    flex-direction: row;
  }

  .card--skills {
    padding: 16px;
  }

  .vert-divider {
    width: 80%;
    left: 0;
    height: 0.75px;
  }
  .card__vertical-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .card--big {
    flex: 1 1 16%;
  }
  .card--small {
    flex: 1 1 0;
  }

  .content-start {
    justify-content: flex-start;
    & > p {
      width: auto;
      max-width: 156px;
      text-align: left;
    }
  }
}

@media (min-width: 1322px) {
  .card--big {
    flex: 1 1 20%;
  }
}
