@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  scroll-behavior: smooth;

  /* ********** Colour Pallet ********** */
  --clr-white: #fafafa;
  --clr-black: #050505;
  --clr-darkGray: #101014;
  --clr-gray: #a3a3a3;
  --clr-brightPink: #f72585;
  --clr-pink: #b5179e;
  --clr-violet: #7209b7;
  --clr-darkPurple: #3a0ca3;
  --clr-purple: #3f37c9;
  --clr-blue: #4895ef;
  --clr-brightBlue: #4cc9f0;
  --clr-lightBlue: #a1e3f7;
  --clr-brightGreen: #16db93;
  --clr-green: #83e377;
  --clr-yellow: #ffde01;

  /* ********** Font Sizes ********** */
  --fs-hero: 5rem;
  --fs-sectionHeading: 3.5rem;
  --fs-subHeading: 2.8rem;

  --fs-body: 1.6rem;
  --fs-description: 1.4rem;

  --fs-primaryButton: 1.6rem;
  --fs-secondaryButton: 1.4rem;

  --fs-navMenu: 1.6rem;

  --fs-formLabel: 1.4rem;
  --fs-formText: 1.4rem;

  --fs-footerText: 1.2rem;

  /* ********** Font Weights ********** */
  --fw-hero: 700;
  --fw-sectionHeading: 600;
  --fw-subHeading: 500;

  --fw-body: 400;
  --fw-description: 300;

  --fw-primaryButton: 600;
  --fw-secondaryButton: 500;

  --fw-navMenu: 500;

  --fw-formLabel: 400;
  --fw-formText: 300;

  --fw-footerText: 300;

  /* ********** Spacing ********** */
  --sp-maxWidth: 1440px;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  background: var(--clr-white);
  color: var(--clr-black);
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Kanit", sans-serif;
}

button,
nav {
  font-family: "Kanit", sans-serif;
}

ol,
ul {
  list-style: none;
  padding-inline: 0;
}

a {
  color: var(--clr-black);
  text-decoration: none;
}

img {
  display: block;
  max-inline-size: 100%;
}

hr {
  border: solid 1px var(--clr-black);
}

textarea {
  resize: none;
}

/* ********** Full body and background settings ********** */
.background-container {
  background: var(--clr-black);
  cursor: url("./assets/images/circle-small.svg"), auto;
  cursor: url("./assets/images/circle-small.svg") 15 15, move;
}

.page-container {
  margin: auto;
  max-width: var(--sp-maxWidth);
}

/* ********** Navbar ********** */
.hamburger-menu {
  display: none;
}

.off-screen-menu {
  background-color: #101014fc;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  right: -100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.5s ease;
  z-index: 8;
}

.off-screen-menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.off-screen-menu a {
  color: var(--clr-white);
  font-size: 4em;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  cursor: url("./assets/images/circle-medium-pink.svg"), auto;
  cursor: url("./assets/images/circle-medium-pink.svg") 15 15, move;
}

.off-screen-menu.active {
  right: 0;
}

.off-screen-menu a:hover {
  color: var(--clr-brightBlue);
  filter: brightness(1.25);
}

.nav-container {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  left: 0;
  background: #0505058b;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 48px min(5vw, 64px);
  width: min(100%, var(--sp-maxWidth));
  cursor: url("./assets/images/circle-small.svg"), auto;
  cursor: url("./assets/images/circle-small.svg") 15 15, move;
}

.nav-logo,
.nav-logo a,
.nav-links a,
.nav-button,
.nav-socials a {
  cursor: url("./assets/images/circle-medium-pink.svg"), auto;
  cursor: url("./assets/images/circle-medium-pink.svg") 15 15, move;
}

.nav-logo:hover {
  transform: scale(1.1);
  filter: brightness(1.25);
}

.nav-button:hover {
  background: var(--clr-darkPurple);
  background-image: linear-gradient(
    90deg,
    var(--clr-brightBlue) 0%,
    var(--clr-purple) 100%
  );
  box-shadow: 0 0 5px 0 var(--clr-white);
  box-shadow: -40px 0 100px #4ccaf080, 40px 0 100px #f7258580;
  filter: brightness(1.25);
}

.nav-socials a:hover {
  color: var(--clr-blue);
  transform: scale(1.5);
  text-shadow: 0 0 100px #4ccaf080;
  filter: brightness(1.25);
}

.nav-links a:hover {
  color: var(--clr-blue);
  transform: scale(1.1);
  filter: brightness(1.25);
  box-shadow: -40px 0 100px #4ccaf080, 40px 0 100px #f7258580;
}

.nav-socials,
.nav-logo,
.nav-links-container {
  width: 33.333%;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-socials a {
  color: var(--clr-white);
  font-size: 3rem;
  transition: all 0.3s ease-in-out;
}

.nav-logo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

.logo-wrapper {
  position: relative;
  width: min(15rem, 15vw);
}

.nav-logo img {
  width: min(15rem, 15vw);
}

.logo-wrapper::before {
  content: "";
  position: absolute;
  top: 112.5%;
  left: 13.5%;
  width: 0;
  height: 100%;
  rotate: -20deg;
  background: url("./assets/images/brushStroke.webp") no-repeat;
  background-size: contain;
  transform-origin: left;
  transition: linear 0.5s;
  opacity: 0;
}

.logo-wrapper:hover::before {
  width: 110%;
  left: 7.5%;
  opacity: 0.85;
}

.nav-links-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: var(--fs-navMenu);
  font-weight: var(--fw-navMenu);
}

.nav-links a {
  color: var(--clr-white);
  font-weight: 700;
  line-height: 75%;
  transition: all 0.3s ease-in-out;
}

.nav-button {
  padding: 8px 12px;
  border: none;
  border-radius: 24px;
  background: var(--clr-white);
  color: var(--clr-black);
  font-size: var(--fs-secondaryButton);
  font-weight: var(--fw-se--fs-secondaryButton);
  transition: all 0.3s ease-in-out;
}

.nav-active {
  text-decoration: underline solid 5px var(--clr-blue);
  text-underline-offset: 7.5px;
  pointer-events: none;
}

.nav-links a.nav-active {
  color: var(--clr-blue);
}

/* ********** Work Hero ********** */

.about-hero-section {
  width: 100%;
  cursor: url("./assets/images/circle-small.svg"), auto;
  cursor: url("./assets/images/circle-small.svg") 15 15, move;
}

.about-title-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30rem min(5vw, 64px) 0;
}

.about-title-bold {
  font-size: min(6vw, 11rem);
  font-weight: 800;
  letter-spacing: 0.5rem;
  line-height: 100%;
  margin-bottom: 7.5rem;
  background: linear-gradient(
    to right,
    var(--clr-brightBlue) 0%,
    var(--clr-purple) 50%,
    var(--clr-brightPink) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-intro {
  display: flex;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.about-image {
  flex: 1;
  max-width: 40rem;
}

.about-image img {
  width: 100%;
}

.about-text {
  flex: 1.5;
}

.about-text h2 {
  font-size: min(4rem, 4vw);
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    to right,
    var(--clr-brightBlue) 0%,
    var(--clr-purple) 50%,
    var(--clr-brightPink) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-text p {
  font-size: min(1.6rem, 3vw);
  font-weight: 400;
  line-height: 1.5;
  color: var(--clr-gray);
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--clr-white);
  font-weight: 500;
}

/* ********** Journey Section ********** */

.about-journey-section {
  padding: min(5vw, 64px);
  padding-bottom: 0;
}

.about-journey-section-container {
  position: relative;
}

.journey-section {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}

.journey-card {
  flex: 1;
  background-color: rgb(40, 40, 40);
  padding: min(36px, 8vw);
  border-radius: 14px;
  position: relative;
}

.journey-icon {
  font-size: min(2rem, 3vw);
  margin-bottom: 1rem;
  color: var(--clr-white);
}

.journey-card h3 {
  color: var(--clr-white);
  font-weight: 600;
  font-size: min(2.4rem, 3vw);
  margin-bottom: 1rem;
}

.journey-card p {
  color: var(--clr-gray);
  font-size: min(1.4rem, 2.75vw);
  font-weight: 400;
  line-height: 1.5;
}

/* Skills section */
.skills-section {
  padding: min(5vw, 64px);
  padding-bottom: 0;
}

.skills-section h2 {
  color: var(--clr-white);
  font-size: min(4rem, 4vw);
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    to right,
    var(--clr-brightBlue) 0%,
    var(--clr-purple) 50%,
    var(--clr-brightPink) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.skill-category {
  background-color: rgb(40, 40, 40);
  padding: min(36px, 8vw);
  border-radius: 14px;
}

.skill-category h3 {
  color: var(--clr-white);
  font-weight: 600;
  font-size: min(2.4rem, 3vw);
  margin-bottom: 2rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.skill-item {
  color: var(--clr-gray);
  font-size: min(1.4rem, 2.5vw);
  font-weight: 400;
  padding: 5px 8px;
  border-radius: 24px;
  background: transparent;
  border: 2px solid var(--clr-gray);
}

/* Fun Facts section */
.fun-facts-section {
  padding: min(5vw, 64px);
  padding-bottom: 0;
}

.fun-facts {
  background-color: rgb(40, 40, 40);
  padding: min(36px, 8vw);
  border-radius: 14px;
}

.fun-facts h2 {
  color: var(--clr-white);
  font-size: min(4rem, 4vw);
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  margin-bottom: 3rem;
  background: linear-gradient(
    to right,
    var(--clr-brightBlue) 0%,
    var(--clr-purple) 50%,
    var(--clr-brightPink) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.fact-icon {
  color: var(--clr-white);
  font-size: 2rem;
  line-height: 100%;
  min-width: 30px;
}

.fact-content h3 {
  color: var(--clr-white);
  font-weight: 600;
  font-size: min(2.4rem, 3vw);
  line-height: 80%;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.fact-content p {
  color: var(--clr-gray);
  font-size: min(1.6rem, 3vw);
  font-weight: 400;
  line-height: 1.5;
}

/* Call to action */
.cta-and-quote-section {
  padding: min(8vw, 128px);
  padding-bottom: 0;
}

.cta-section {
  text-align: center;
}

.cta-section h2 {
  color: var(--clr-white);
  font-size: min(4rem, 4vw);
  font-weight: 600;
  letter-spacing: 0.1rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--clr-gray);
  font-size: min(1.6rem, 3vw);
  font-weight: 400;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-btn {
  padding: 8px 24px;
  border: none;
  border-radius: 24px;
  text-decoration: none;
  font-size: min(var(--fs-primaryButton), 2.5vw);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.5s ease-in-out;
  cursor: url("./assets/images/circle-medium-pink.svg"), auto;
  cursor: url("./assets/images/circle-medium-pink.svg") 15 15, move;
}

.cta-primary {
  background: linear-gradient(
    to right,
    var(--clr-brightBlue) 0%,
    var(--clr-darkPurple) 100%
  );
  color: var(--clr-white);
}

.cta-secondary {
  background-color: rgb(40, 40, 40);
  color: var(--clr-white);
  border: 1px solid var(--clr-gray);
}

.cta-primary:hover,
.cta-secondary:hover {
  background: var(--clr-darkPurple);
  background-image: linear-gradient(
    90deg,
    var(--clr-brightBlue) 0%,
    var(--clr-purple) 100%
  );
  box-shadow: 0 0 5px 0 var(--clr-white);
  box-shadow: -40px 0 100px #4ccaf080, 40px 0 100px #f7258580;
  filter: brightness(1.1);
}

/* Quote section */
.quote-section {
  text-align: center;
  padding: min(8vw, 128px);
  padding-bottom: 0;
  position: relative;
}

.quote-text {
  font-size: min(3em, 3.5vw);
  font-weight: 600;
  letter-spacing: 0.1rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 3rem;
  position: relative;
  color: var(--clr-gray);
}

.quote-text::before,
.quote-text::after {
  content: '"';
  font-size: 4rem;
  color: var(--clr-gray);
  position: absolute;
}

.quote-text::before {
  top: -2rem;
  left: -2rem;
}

.quote-text::after {
  bottom: -3rem;
  right: -2rem;
}

.quote-author {
  font-size: min(1.4rem, 2.5vw);
  font-weight: 400;
  color: var(--clr-gray);
}

/* ********** Footer Section ********** */

.footer-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45rem;
  margin-top: 15rem;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.51) 0%,
    rgba(63, 55, 201, 0.51) 66%,
    rgba(76, 201, 240, 0.51) 100%
  );
}

.footer-container {
  max-width: var(--sp-maxWidth);
  padding: 0 min(5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.footer-logo a,
.footer-socials a,
.footer-links a,
.footer-mail a,
.footer-back-to-top a,
.footer-back-to-top a span,
.superman-icon,
.back-to-top-text {
  cursor: url("./assets/images/circle-medium-pink.svg"), auto;
  cursor: url("./assets/images/circle-medium-pink.svg") 15 15, move;
}

.footer-logo {
  width: 10rem;
  transition: all 0.5s ease-in-out;
}

.footer-links-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
}

.footer-socials,
.footer-links,
.footer-mail {
  width: 33.333%;
}

.footer-socials a {
  margin-right: 12px;
  font-size: 2rem;
  color: var(--clr-white);
}

.footer-socials a i {
  transition: all 0.3s ease-in-out;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.footer-links a,
.footer-mail a {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--clr-white);
  transition: all 0.3s ease-in-out;
}

.footer-mail {
  display: flex;
  justify-content: flex-end;
}

.footer-copyright-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.footer-copyright-text {
  color: var(--clr-white);
  font-size: var(--fs-footerText);
  font-weight: var(--fw-footerText);
}

.footer-back-to-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  transition: all 0.5s ease-in-out;
}

.superman-icon {
  height: 5rem;
  margin: auto;
  transition: all 0.5s ease-in-out;
}

.back-to-top-text {
  color: var(--clr-white);
  font-size: 1.2rem;
  transition: all 0.5s ease-in-out;
}

.footer-logo:hover,
.footer-links a:hover,
.footer-mail a:hover,
.footer-back-to-top:hover {
  transform: scale(1.1);
  filter: brightness(1.25);
  opacity: 0.5;
}

.footer-socials a i:hover {
  transform: scale(1.5);
  opacity: 0.5;
}

/* ********** MEDIA QUERIES ********** */

@media screen and (max-width: 1025px) {
  .nav-socials {
    gap: 12px;
  }

  .nav-socials a {
    font-size: 2rem;
  }

  .nav-logo img {
    width: min(12.5rem, 15vw);
  }

  .nav-links a,
  .nav-button {
    font-size: min(1.2rem, 1.75vw);
  }

  .about-hero-section {
    min-height: unset;
  }

  .about-title-container {
    padding-top: 25rem;
    height: unset;
  }

  .about-intro {
    flex-direction: column;
  }

  .about-image {
    max-width: 60%;
  }

  .journey-section,
  .skills-container,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .journey-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .journey-card {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .nav-links-container {
    display: none;
  }

  .nav-socials,
  .nav-logo,
  .hamburger-menu {
    width: 33.333%;
  }

  .hamburger-menu {
    display: block;
    height: 35px;
    width: 30px;
    margin-left: auto;
    position: relative;
    cursor: url("./assets/images/circle-medium-pink.svg"), auto;
    cursor: url("./assets/images/circle-medium-pink.svg") 15 15, move;
  }

  .hamburger-menu span {
    height: 4px;
    width: 100%;
    background-color: var(--clr-white);
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
  }

  .hamburger-menu:hover span {
    background-color: var(--clr-brightBlue);
  }

  .hamburger-menu span:nth-child(1) {
    top: 25%;
  }

  .hamburger-menu span:nth-child(3) {
    top: 75%;
  }

  .hamburger-menu.active span {
    background-color: var(--clr-white);
  }

  .hamburger-menu.active:hover span {
    background-color: var(--clr-brightBlue);
  }

  .hamburger-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

@media screen and (max-width: 769px) {
  .nav-logo img {
    width: 20rem;
  }

  .footer-socials {
    display: none;
  }

  .footer-links {
    justify-content: space-around;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

@media screen and (max-width: 481px) {
  .footer-links {
    gap: 12px;
  }

  .footer-links a,
  .footer-mail a {
    font-size: 1.2rem;
  }
}
