*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;

  background-color: #000000;
  color: #f5f5f7;

  font-size: 16px;
  line-height: 1.25;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

a {
  color: rgb(0, 102, 204);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter Tight";
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(22, 22, 23, .8);
  color: rgba(255, 255, 255, .8);
/*   font-size: 1.125rem; */
}

.header-nav {
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  display: flex;
  backdrop-filter: saturate(1.8) blur(20px);
}

.header-nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 0.5rem;
}

.header-nav ul li {
  padding: 0.5rem 0;
}


.header-nav ul li a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.header-nav ul li a:hover,
.header-nav ul li a:focus {
  background-color: #C5CAE9;
}

main {
  font-size: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 800px) {
  main {
    font-size: 1rem;
  }
}

.gradient {
  background: linear-gradient(135deg, #7dc99f 0%, #70cbd0 20%, #a471b1 40%, #f27db2 60%, #fcbb80 80%, #f5ed5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* -------------------------------- */
/* Intro */
/* -------------------------------- */

.section-intro {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 6rem 0.75rem;
  margin-bottom: 3rem;
  max-width: 1200px;
}

.section-intro .description {
  width: 70%;
}

.section-intro .description p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.section-intro .description h2 {
  font-size: 5rem;
}

.section-intro .description .logo {
  display: inline-block;
  text-decoration: none;
  margin-right: 0.5rem;
  margin-top: 2rem;
}

.section-intro .description .logo svg {
  width: 2.5rem;
  height: 2.5rem;
}

.section-intro .photo {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-intro .photo img {
  border-radius: 2rem;
  max-width: 100%;
  max-height: 50vh;
}

@media only screen and (max-width: 1200px) {
  .section-intro .description h2 {
    font-size: 4rem;
  }

  .section-intro .description p {
    font-size: 1.5rem;
  }
}


@media only screen and (max-width: 1000px) {
  .section-intro {
    padding: 2rem 0.75rem;
  }

  .section-intro .description {
    width: 100%;
  }

  .section-intro .description h2 {
    font-size: 3rem;
  }

  .section-intro .description p {
    font-size: 1.25rem;
  }
}

@media only screen and (max-width: 800px) {
  .section-intro .description h2 {
    font-size: 2rem;
  }

  .section-intro .description p {
    font-size: 1.125rem;
  }
}

@media only screen and (max-width: 600px) {
  .section-intro {
    flex-direction: column-reverse;
  }
}

/* -------------------------------- */
/* Overview */
/* -------------------------------- */

.section-overview {
  width: 100%;
  padding: 0 0.5rem 4rem;
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 2rem;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(#000, #1d1d1f);
}

.section-overview .video-content {
  margin: 0 auto;
}

.section-overview .content {
  display: grid;
  border-radius: 2rem;
  overflow: hidden;
}

.section-overview .entry {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.7);
}

.section-overview .entry h2,
.section-overview .entry p {
  width: 100%;
  height: 100%;
  padding: 2rem 3rem;
  margin: 0;
  font-size: 1.5rem;
  font-weight: normal;
  backdrop-filter: blur(100px);
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.section-overview .entry:nth-child(1) {
  background-color: #70cbd0;
}

.section-overview .entry:nth-child(2) {
  background-color: #a471b1;
}

.section-overview .entry:nth-child(3) {
  background-color: #f27db2;
}

.section-overview .entry:nth-child(4) {
  background-color: #fcbb80;
}

@media only screen and (max-width: 1000px) {
  .section-overview {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .section-overview .content {
    order: -1;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .section-overview .entry h2,
  .section-overview .entry p {
    font-size: 1rem;
    padding: 1.5rem 2rem;
  }
}

@media only screen and (max-width: 800px) {
  .section-overview .content {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  .section-overview .content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}

/* -------------------------------- */
/* Now */
/* -------------------------------- */

.section-now {
  padding: 5rem 0 6rem;
  background-color: #1d1d1f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
}

.section-now h2 {
  text-align: center;
  font-size: 2rem;
}

.section-now .content {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  max-width: 1200px;
  padding: 0 0.75rem;
}

.section-now .content .entry {
  font-size: 1.25rem;
  padding: 1.5rem;
  background-color: #333336;
  border-radius: 1rem;
  color: #a6a6ac;
}

.section-now .content .entry strong {
  font-weight: 500;
  color: #fff;
}

.section-now .content .entry:nth-child(2),
.section-now .content .entry:nth-child(3) {
  grid-column: auto / span 2;
}

@media only screen and (max-width: 800px) {
  .section-now {
    padding: 1rem;
  }

  .section-now .content {
    gap: 1rem;
  }

  .section-now .content .entry {
    font-size: 1rem;
    padding: 1rem;
  }
}

@media only screen and (max-width: 600px) {
  .section-now .content {
    grid-template-columns: 1fr;
  }

  .section-now .content .entry:nth-child(2),
  .section-now .content .entry:nth-child(3) {
    grid-column: auto;
  }
}

/* -------------------------------- */
/* Skills */
/* -------------------------------- */
.section-skills {
  padding: 3rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.section-skills .content {
  max-width: 1200px;
}

.section-skills h2 {
  font-size: 2rem;
}

.section-skills .skills-image {
  max-width: 100%;
  width: 100%;
}


/* -------------------------------- */
/* Skills Now */
/* -------------------------------- */
.section-skills-now {
  padding: 5rem 0;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: radial-gradient(100% 50% at center, #2c201a, #000);
  color: #c8c2bd;
}

.section-skills-now h2 {
  text-align: center;
  font-size: 2rem;
}

.section-skills-now .content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: flex-start;
  padding: 2rem 1.25rem 1rem;
  max-width: 1200px;
}

.section-skills-now .content .entry {
  background-color: #000000;
  padding: 1.5rem;
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-radius: 1rem;
  margin: -0.5rem;
}

.section-skills-now .content .entry:nth-child(2n) {
  margin-top: 3rem;
  background-color: #25201a;
}

.section-skills-now .content p {
  margin: 0;
}

.section-skills-now .content p.title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  background: linear-gradient(90deg, #efcdbb, #dab8a4 50%, #a3735e 100%);
  clip-path: content-box;
  background-clip: text;
  color: rgba(0,0,0,0);
}

@media only screen and (max-width: 1000px) {
  .section-skills-now .content .entry {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 800px) {
  .section-skills-now .content {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem 0 0;
  }
}

@media only screen and (max-width: 600px) {
  .section-skills-now {
    padding: 1rem;
  }

  .section-skills-now .content {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    padding: 0;
  }

  .section-skills-now .content .entry {
    height: auto;
    padding: 1rem;
    margin: 0;
  }

  .section-skills-now .content .entry:nth-child(2n) {
    margin-top: 0;
  }
}

/* -------------------------------- */
/* Portfolio */
/* -------------------------------- */
.section-portfolio {
  padding: 2rem 0.75rem 5rem;
  background-color: #f5f5f7;
  color: #1d1d1f;
  width: 100%;
  display: grid;
  justify-content: center;
}

.section-portfolio .content {
  max-width: 1200px;
}

.section-portfolio h2 {
  font-size: 2rem;
}

.section-portfolio .timeline-item {
  display: grid;
  gap: 1rem;
  grid-template-columns: 10rem 1rem 1fr;
}

.section-portfolio .timeline-overview {
  text-align: right;
}

.section-portfolio .timeline-range {
  font-weight: 500;
  margin-top: 0.15rem;
}

.section-portfolio .timeline-logo img {
  width: 100%;
  max-width: 6rem;
  margin-top: 0.5rem;
}

.section-portfolio .timeline-spacer {
  display: flex;
  justify-content: center;
  position: relative;
}

.section-portfolio .timeline-spacer::after {
  content: "";
  width: 1rem;
  height: 1rem;
  position: absolute;
  top: calc((1.25rem / 2) * 1.25 - (1rem / 2));
  background: linear-gradient(270deg, rgb(146, 127, 228) 0%, rgb(253, 187, 114) 100%);
  border-radius: 50%;
}

.section-portfolio .timeline-spacer::before {
  content: "";
  width: 0.25rem;
  top: 0;
  bottom: 0;
  position: absolute;
  margin: auto;
    background: linear-gradient(270deg, rgb(146, 127, 228, 0.1) 0%, rgb(253, 187, 114, 0.1) 100%);
}

.section-portfolio .timeline-item:first-of-type .timeline-spacer::before {
  top: 0.5rem;
}

.section-portfolio .timeline-item:last-of-type .timeline-spacer::before {
  bottom: 1.5rem;
}

.section-portfolio .timeline-details {
  padding-bottom: 1rem;
  line-height: 1.5rem;
}

.section-portfolio h3 {
  font-size: 1.675rem;
}

.section-portfolio .timeline-title {
  margin-top: 0;
}

.section-portfolio h4.timeline-title {
  font-size: 1.25rem;
}

.section-portfolio h5.timeline-title {
  font-size: 1.125rem;
}

@media only screen and (max-width: 800px) {
  .section-portfolio .timeline-item {
    grid-gap: 0.75rem;
    grid-template-columns: 8rem 1rem 1fr;
  }
}

/* -------------------------------- */
/* Certifications */
/* -------------------------------- */
.section-portfolio .certs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.section-portfolio .certs-item {
  width: 23rem;
  border-radius: 0.5rem;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  border: 2px solid #d8e4f0;
  font-size: 1rem;
}

.section-portfolio .certs-item .certs-icon {
  width: 5rem;
  height: 100%;
  padding: 0.5rem;
  object-fit: contain;
  background-color: #d8e4f0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.section-portfolio .certs-item .certs-details {
  padding: 0.5rem 1rem;
}

.section-portfolio .certs-item p {
  margin: 0.25rem 0;
}

.section-portfolio .certs-item p:nth-child(1) {
  font-weight: 600;
}

@media only screen and (max-width: 1000px) {
  .section-portfolio .certs-item .certs-icon {
    width: 4rem;
  }
}
