/* Minifier: https://www.cleancss.com/css-minify/ */

/*-----------------------------------*\
  #ADD FONTS
\*-----------------------------------*/

/* courgette-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Courgette';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/courgette/courgette-v18-latin-regular.woff2') format('woff2');
}

/* poppins-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/poppins/poppins-v23-latin-300.woff2') format('woff2');
}
/* poppins-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/poppins/poppins-v23-latin-regular.woff2') format('woff2');
}
/* poppins-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/poppins/poppins-v23-latin-500.woff2') format('woff2');
}
/* poppins-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/poppins/poppins-v23-latin-600.woff2') format('woff2');
}


/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
   * colors
   */

  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(240, 1%, 25%) 3%,
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
      to bottom right,
      hsla(240, 1%, 18%, 0.251) 0%,
      hsla(240, 2%, 11%, 0) 100%
    ),
    hsl(240, 2%, 13%);
  --bg-gradient-blue-1: linear-gradient(
    to bottom right,
    hsl(190, 82%, 72%) 0%,
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-blue-2: linear-gradient(
      135deg,
      hsla(190, 82%, 72%, 0.251) 0%,
      hsla(35, 100%, 68%, 0) 59.86%
    ),
    hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(0, 0%, 25%) 0%,
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-blue: linear-gradient(
    to right,
    hsl(190, 82%, 72%),
    hsl(190, 51%, 55%)
  );

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --sky-blue-crayola: hsl(190, 82%, 72%);
  --vegas-gold: hsl(190, 51%, 55%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
   * typography
   */

  /* font-family */
  --ff-poppins: "Poppins", sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * shadow
   */

  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a {
  text-decoration: none;
}

li {
  list-style: none;
}

img, ion-icon, a, button, .showcase-link, span {
  display: block;
}

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input,
textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--sky-blue-crayola);
  color: var(--smoky-black);
}

:focus {
  outline-color: var(--sky-blue-crayola);
}

html {
  font-family: var(--ff-poppins);
}

body {
  background: var(--smoky-black);
}

html, body {
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.hidden {
  display: none !important;
}

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--sky-blue-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.icon-box ion-icon {
  --ionicon-stroke-width: 35px;
}

article {
  display: none;
}

article.active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: capitalize;
}

.h2 {
  font-size: var(--fs-1);
}

.h3 {
  font-size: var(--fs-2);
}

.h4 {
  font-size: var(--fs-4);
}

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 7px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--text-gradient-blue);
  border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 5px; /* for vertical scrollbar */
  height: 5px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--sky-blue-crayola);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button {
  width: 20px;
}

#myVideo {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
  min-height: calc(100vh - 140px);
}

/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: var(--transition-2);
}

.sidebar.active {
  max-height: 405px;
}

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.avatar-box img {
  background: var(--bg-gradient-onyx);
}

/* Fullscreen modal */
#popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#popup.show {
  opacity: 1;
  pointer-events: auto;
}

#popup img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  transform: scale(0.7);
  transition: transform 1s ease;
}

#popup.show img {
  transform: scale(1);
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 3px 12px;
  border-radius: 8px;
}

.info-content h1:focus {
  outline: none;
  box-shadow: none;
}

.courgette-head h1 {
  font-family: "Courgette", Comic Sans MS;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--sky-blue-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus {
  background: var(--bg-gradient-blue-1);
}

.info_more-btn:hover::before,
.info_more-btn:focus::before {
  background: var(--bg-gradient-blue-2);
}

.info_more-btn span {
  display: none;
}

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, .showcase-link, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
}

.contact-info address {
  font-style: normal;
}

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
  transition: transform 0.5s ease, fill 0.5s ease;
}

.social-link:hover svg {
  fill: var(--sky-blue-crayola);
  transform: scale(1.1);
  transition: transform 0.5s ease, fill 0.5s ease;
}

/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 5;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  gap: 5px;
}

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-7);
  padding: 15px 3px;
  transition: color var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus {
  color: var(--light-gray-70);
}

.navbar-link.active {
  color: var(--sky-blue-crayola);
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title {
  margin-bottom: 15px;
}

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 15px;
}
/**
 * #highlights
 */

.highlights {
  margin-bottom: 15px;
}

.highlights-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  padding: 25px 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 25px;
}

.highlights-item {
  min-width: 50%;
  scroll-snap-align: start;
}

.highlights-item img {
  width: 100%;
  filter: grayscale(1);
  transition: var(--transition-1);
}

.highlights-item img:hover {
  filter: grayscale(0);
}

.h3.showcase-title,
.h3.highlights-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.h3.showcase-title ion-icon,
.h3.highlights-title ion-icon {
  font-size: 1em;
}

.showcase-posts { margin-bottom: 10px; }

.showcase-header {
    margin: 20px 0;
}

.showcase-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.showcase-post-item > a {
  position: relative;
  background: var(--border-gradient-onyx);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.showcase-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--eerie-black-1);
  z-index: -1;
}

.showcase-banner-box {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.showcase-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.showcase-post-item > a:hover .showcase-banner-box img {
    transform: scale(1.07);
}

.showcase-content { padding: 15px; }

.showcase-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.showcase-meta :is(.showcase-category, .showcase-link) {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.showcase-meta .dot {
  background: var(--light-gray-70);
}

.showcase-item-title {
  margin-bottom: 10px;
  line-height: 1.3;
  transition: var(--transition-1);
}

.showcase-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/**
 * #service
 */

.service-item-title {
  margin-bottom: 7px;
}

.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-3);
  line-height: 1.6;
}

/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

.article-title {
  margin-bottom: 30px;
}

/**
 * education and experience
 */

.timeline {
  margin-bottom: 30px;
}

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item {
  position: relative;
}

.timeline-item:not(:last-child) {
  margin-bottom: 20px;
}

.timeline-item-title {
  font-size: var(--fs-5);
  line-height: 1.3;
  margin-bottom: 7px;
}

.timeline-list span {
  color: var(--vegas-gold);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/**
 * skills
 */

.skills-title {
  margin-bottom: 20px;
}

.skills-list {
  padding: 20px;
}

.skills-item:not(:last-child) {
  margin-bottom: 15px;
}

.skill .title-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.skill .title-wrapper data {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
}

.skill-progress-bg {
  background: var(--jet);
  width: 100%;
  height: 8px;
  border-radius: 10px;
}

.skill-progress-fill {
  background: var(--text-gradient-blue);
  height: 100%;
  border-radius: inherit;
}

/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.portfolio-posts { margin-bottom: 10px; }

.portfolio-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.portfolio-post-item > a {
  position: relative;
  background: var(--border-gradient-onyx);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.portfolio-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--eerie-black-1);
  z-index: -1;
}

.portfolio-banner-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  transition: var(--transition-1);
}

.portfolio-banner-box:hover {
  transform: scale(1.03);
}

.portfolio-banner-box iframe {
  width: 370%;
  aspect-ratio: 16 / 9;
  border: none;
  transform: scale(0.27);
  transform-origin: top left;
  pointer-events: none;
}

.portfolio-post-item > a:hover .portfolio-banner-box iframe {
  transform: scale(0.27);
  filter: brightness(1.2);
}

.portfolio-banner-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
}

.portfolio-content { padding: 15px; }

.portfolio-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.portfolio-meta :is(.portfolio-category, .portfolio-link) {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.portfolio-meta .dot {
  background: var(--light-gray-70);
  width: 4px;
  height: 4px;
  border-radius: 4px;
}

.portfolio-item-title {
  margin-bottom: 10px;
  line-height: 1.3;
  transition: var(--transition-1);
}

.portfolio-post-item > a:hover .portfolio-item-title {
  color: var(--sky-blue-crayola);
 }

.portfolio-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid var(--jet);
  overflow: hidden;
}

.mapbox figure {
  height: 100%;
}

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1);
}

.contact-form {
  margin-bottom: 10px;
}

.form-title {
  margin-bottom: 20px;
}

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-input {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border: 1px solid var(--jet);
  border-radius: 10px;
  outline: none;
}

.form-input::placeholder {
  font-weight: var(--fw-500);
  opacity: 0.5;
}

.form-input:focus {
  border-color: var(--sky-blue-crayola);
}

textarea.form-input {
  min-height: 100px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 25px;
}

textarea.form-input::-webkit-resizer {
  display: none;
}

.form-input:focus:invalid {
  border-color: var(--bittersweet-shimmer);
}

.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--sky-blue-crayola);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: var(--fs-5);
  text-transform: capitalize;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.form-btn ion-icon {
  font-size: 16px;
}

.form-btn:hover {
  background: var(--bg-gradient-blue-1);
}

.form-btn:hover::before {
  background: var(--bg-gradient-blue-2);
}

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-btn:disabled:hover {
  background: var(--border-gradient-onyx);
}

.form-btn:disabled:hover::before {
  background: var(--bg-gradient-jet);
}

.contact-form-wrapper p {
  font-size: 0.75rem;
  opacity: 0.3;
  padding: 0 7px;
  color: var(--white-2);
  text-align: left;
  margin-bottom: 10px;
}

.contact-form-wrapper a {
  color: var(--sky-blue-crayola);
  text-decoration: underline;
  white-space: nowrap;
}

.contact-form-wrapper p a {
  display: inline;
  white-space: normal;
  word-break: break-word;
}

.grecaptcha-badge {
    visibility: hidden;
}

.contact-form-wrapper {
  margin-bottom: 10px;
}

.contact-form-box {
  background: var(--eerie-black-2);
  border-radius: 20px;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.upload-wrapper {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 14px;
  opacity: 0.7;
  font-size: var(--fs-5);
  color: var(--sky-blue-crayola);
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  cursor: pointer;
  transition: var(--transition-1);
  box-shadow: 0 0 0 transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.upload-btn:hover {
  opacity: 1;
}

.upload-btn ion-icon {
  font-size: 18px;
}

#file-upload {
  display: none;
}

.upload-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 6px;
  gap: 10px;
}

.upload-meta span {
  background: transparent;
  color: var(--white-1);
  font-size: 0.75rem;
  padding: 0 7px;
}

.upload-hint {
  opacity: 0.3;
}

.remove-file-btn {
  opacity: 0.5;
  cursor: pointer;
}

.remove-file-btn:hover {
  color: var(--bittersweet-shimmer);
  opacity: 1;
}

.form-btn .content {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease;
}

.pulse-loader {
  position: absolute;
  display: flex;
  gap: 7px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pulse-loader span {
  width: 5px;
  height: 6px;
  background: var(--sky-blue-crayola);;
  border-radius: 50%;
  animation: rippleDot 1.2s infinite ease-in-out;
  opacity: 0.6;
}

@keyframes rippleDot {
  0% { transform: scale(0.5); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 1; }
  100% { transform: scale(0.5); opacity: 0.4; }
}

.pulse-loader span:nth-child(1)  { animation-delay: 0s; }
.pulse-loader span:nth-child(2)  { animation-delay: 0.1s; }
.pulse-loader span:nth-child(3)  { animation-delay: 0.2s; }
.pulse-loader span:nth-child(4)  { animation-delay: 0.3s; }
.pulse-loader span:nth-child(5)  { animation-delay: 0.4s; }
.pulse-loader span:nth-child(6)  { animation-delay: 0.5s; }
.pulse-loader span:nth-child(7)  { animation-delay: 0.6s; }
.pulse-loader span:nth-child(8)  { animation-delay: 0.7s; }
.pulse-loader span:nth-child(9)  { animation-delay: 0.8s; }
.pulse-loader span:nth-child(10) { animation-delay: 0.9s; }
.pulse-loader span:nth-child(11) { animation-delay: 1s; }


.form-btn.loading .content {
  opacity: 0;
}

.form-btn.loading .pulse-loader {
  opacity: 1;
}

.form.sending {
  pointer-events: none;
  opacity: 0.7;
}


[data-popup-image] {
  cursor: pointer;
  transition: transform 0.3s ease;
}

[data-popup-image]:hover {
  transform: scale(1.1);
}

/*--- Contact details section ---*/

.contact-details-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: var(--eerie-black-2);
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--jet);
  box-shadow: var(--shadow-1);
}

.contact-details {
  flex: 1 1 180px;
  min-width: 180px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white-2);
}

.contact-text {
  font-size: var(--fs-6);
  color: var(--light-gray);
}

.qr-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image {
  width: 140px;
  height: auto;
  border-radius: 12px;
  opacity: 0.7;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 1);
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 1);
  border-radius: 10px;
  width: 90px;
  height: 54px;
}

/*-----------------------------------*\
  #GALLERY
\*-----------------------------------*/

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 30px 0;
}

.card-wrap {
  perspective: 1000px;
  cursor: pointer;
}

.card {
  position: relative;
  width: 160px;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  background: #333;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.2s ease;
  box-shadow:
    rgba(0, 0, 0, 0.66) 0 30px 60px,
    inset #333 0 0 0 5px,
    inset rgba(255, 255, 255, 0.5) 0 0 0 6px;
}

.card-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: inherit;
  pointer-events: none;
}

.card-info {
  position: absolute;
  bottom: 0;
  padding: 15px;
  color: #fff;
  transform: translateY(40%);
  transition: transform 0.6s ease-in-out;
  pointer-events: none;
  user-select: none;
}

.card-info h2 {
  font-family: Comic Sans MS, Brush Script;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.7;
  margin: 0;
  text-shadow: rgba(0, 0, 0, 0.5) 0 10px 10px;
}

.card-info p {
  font-size: 9px;
  padding: 2px;
  opacity: 0;
  text-shadow: rgba(0, 0, 0, 1) 0 2px 3px;
  transition: opacity 0.3s ease-in-out;
}

.card-info::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  background-blend-mode: overlay;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.8s ease, opacity 1s ease;
  z-index: 0;
}

.card-info * {
  position: relative;
  z-index: 1;
}

/* Hover Effects */
.card-wrap:hover .card {
  transform: rotateX(8deg) rotateY(8deg);
  box-shadow:
    rgba(255, 255, 255, 0.2) 0 0 40px 5px,
    rgba(255, 255, 255, 1) 0 0 0 1px,
    rgba(0, 0, 0, 0.66) 0 30px 60px,
    inset #333 0 0 0 5px,
    inset white 0 0 0 6px;
}

.card-wrap:hover .card-bg {
  transform: scale(1.05) translateY(-10px);
  opacity: 0.8;
}

.card-wrap:hover .card-info {
  transform: translateY(0);
}

.card-wrap:hover .card-info p {
  opacity: 0.7;
}

.card-wrap:hover .card-info::after {
  opacity: 1;
  transform: translateY(0);
}

footer {
  display: none;
  position: relative;
  height: 40px;
  width: 100%;
  background-color: #333333;
  text-align: center;
  color: #fff;
  font-size: 0.9em;
  padding: 10px;
}

.footer span {
    display: inline;
}

.buttonContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  max-width: 100%;
  overflow-x: auto; /* Enable horizontal scrolling on smaller screens */
  white-space: nowrap; /* Prevent buttons from wrapping */
  margin: 0;
}

.toolBtn {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 8px 8px; /* Increased padding for better visual balance */
  border-radius: 8px;
  display: flex;
  align-items: center; /* This centers items on the cross axis */
  gap: 0.5rem;
  flex-direction: row-reverse;
  line-height: 1; /* This ensures text height matches icon */
}

.toolBtn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em; /* Make icon size relative to font size */
  height: 1em; /* Make icon size relative to font size */
  flex-shrink: 0; /* Prevents icon from shrinking */
}

.toolBtn .icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

#gallery-popup {
  position: fixed;
  top: 0; left: 0;
  inset: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.99);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
}

#gallery-popup.show {
  display: flex;
}

#gallery-popup img,
#gallery-popup picture > img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
  transform: scale(1);
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-inner {
  position: relative;
  display: inline-block;
}

.popup-nav-btn {
  position: absolute;
  top: 10%;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0);
  height: 90%;
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}

.popup-prev {
  left: 0;
}

.popup-next {
  right: 0;
}

/* Close Button Style (clean corner pill) */
#popup-close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 0);
  border-radius: 0 10px 0 30%;
  padding: 20px 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.3s ease;
}

.keys {
  position: fixed;
  bottom: 20px;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 1rem;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
}

.watermark {
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    font-family: 'Courgette';
    background: rgba(0, 0, 0, 0.5);
    color: white;
    box-shadow: 0px 0px 30px 30px rgb(0 0 0 / 50%);
    opacity: 0.2;
    animation: fade 3s linear(0 0%, 0 50%, 0.07 70%, 0.15 85%, 0.2 100%);
    pointer-events: none;
    user-select: none;
}

/* ----- TOAST ----- */
#toast-container {
  position: fixed;
  top: 15px;
  right: 12px;
  z-index: 9999;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 100%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
  opacity: 1;
  animation-name: slide;
  animation-duration: 0.5s;
  animation-fill-mode: both;
  backdrop-filter: blur(4px);
  font-family: "Rubik", sans-serif;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.toast i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-glow {
  position: absolute;
  inset: -20px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 70%);
  pointer-events: none;
  filter: blur(16px);
  z-index: -1;
}

.professional {
  background: var(--bg-gradient-onyx);
  color: #fff;
}

.toast.success ion-icon { color: #00ff88; }
.toast.error ion-icon { color: #ff4d4f; }
.toast.warning ion-icon { color: #ffa500; }
.toast.info ion-icon { color: #4dabf7; }
.toast.default ion-icon { color: #4dabf7; }


@keyframes slide {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.toast.fade-out {
  animation: fadeOut 1s forwards;
}

.toast ion-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  color: currentColor;
}




/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive larger than 450px screen
 */

@media (min-width: 420px) {
  /**
   * highlights
   */

  .highlights-item {
    min-width: calc(33.33% - 10px);
  }

  .mobile-only {
    width: 120px;
    height: 72px;
  }

  .card {
    width: 175px;
    height: 250px;
  }

  .card-info p {
    font-size: 10px;
    padding: 3px;
  }
}

/**
 * responsive larger than 580px screen
 */

@media (min-width: 576px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;
  }

  /**
   * #REUSED STYLE
   */

  .sidebar,
  article {
    width: 520px;
    margin-inline: auto;
    padding: 30px;
  }

  .article-title {
    font-weight: var(--fw-600);
    padding-bottom: 15px;
  }

  .article-title::after {
    width: 70px;
    height: 5px;
  }

  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }

  /**
   * #MAIN
   */

  main {
    margin-top: 50px;
    margin-bottom: 100px;
  }

  /**
   * #SIDEBAR
   */

  .sidebar {
    max-height: 180px;
    margin-bottom: 30px;
  }

  .sidebar.active {
    max-height: 584px;
  }

  .sidebar-info {
    gap: 25px;
  }

  .avatar-box {
    border-radius: 15px;
  }

  .avatar-box img {
    background: var(--bg-gradient-onyx);
    width: 120px;
  }

  .info-content .name {
    margin-bottom: 15px;
  }

  .info-content .title {
    padding: 5px 18px;
  }

  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 10px 15px;
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }

  .info_more-btn ion-icon {
    display: none;
  }

  .separator {
    margin: 32px 0;
  }

  .contacts-list {
    gap: 20px;
  }

  .contact-info {
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }

  /**
   * #NAVBAR
   */

  .navbar {
    border-radius: 20px 20px 0 0;
  }

  .navbar-list {
    gap: 20px;
  }

  /**
   * #ABOUT
   */

  .about .article-title {
    margin-bottom: 20px;
  }

  .about-text {
    margin-bottom: 40px;
  }

  /* highlights */

    .highlights-list {
      gap: 50px;
      scroll-padding-inline: 45px;
    }

    .highlights-item {
      min-width: calc(33.33% - 35px);
    }

  .showcase-posts-list { gap: 30px; }

  .showcase-content { padding: 25px; }

  /**
   * #RESUME
   */

  .timeline-list {
    margin-left: 65px;
  }

  .timeline-item:not(:last-child)::before {
    left: -40px;
  }

  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }

  .skills-item:not(:last-child) {
    margin-bottom: 25px;
  }

    /**
     * #PORTFOLIO
     */

  .portfolio-posts-list { gap: 30px; }

  .portfolio-content { padding: 25px; }

  /**
   * #CONTACT
   */

  .mapbox {
    height: 380px;
    border-radius: 18px;
  }

  .input-wrapper {
    gap: 30px;
    margin-bottom: 30px;
  }

  textarea.form-input {
    margin-bottom: 30px;
  }
}

/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {
  /**
   * REUSED STYLE
   */

  .sidebar,
  article {
    width: 700px;
  }

  .has-scrollbar::-webkit-scrollbar-button {
    width: 100px;
  }

  /**
   * SIDEBAR
   */

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }

  .showcase-posts-list { grid-template-columns: 1fr 1fr; }

    /**
     * PORTFOLIO
     */

  .portfolio-posts-list { grid-template-columns: 1fr 1fr; }

  /**
  * Gallery
  */

  .container {
    padding: 50px 10px;
    gap: 20px;
  }

  .card {
    width: 240px;
    height: 320px;
  }

  .card-info h2 {
    font-size: 23px;
    margin: 0px 0px 13px 0px;
  }

  .card-info p {
    font-size: 13px;
  }

  .watermark {
    font-size: 2rem;
  }

  /**
   * CONTACT
   */

  .input-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .form-btn {
    width: 13rem;
    margin-left: auto;
  }

  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }

  .contact-form-box {
    padding: 20px;
    border: 1px solid var(--jet);
    box-shadow: var(--shadow-1);
  }
}

/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
    * shadow
    */

    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
  }

  /**
   * REUSED STYLE
   */

  .sidebar,
  article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }

  /**
   * MAIN
   */

  main {
    margin-bottom: 50px;
  }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }

  /**
   * NAVBAR
   */

  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 20px;
    padding: 0 10px;
    box-shadow: none;
  }

  .navbar-list {
    gap: 17px;
    padding: 0 10px;
  }

  .navbar-link {
    font-weight: var(--fw-500);
  }

  /**
   * ABOUT
   */

  /* highlights */

  .highlights-item {
    min-width: calc(25% - 38px);
  }

  .form-btn {
    margin-top: -30px;
  }

  .contact-form p {
    margin-bottom: 0px;
  }

  .footer {
    display: block;
  }
}

/**
 * responsive larger than 1250px screen
 */

@media (min-width: 1250px) {
  /**
   * RESET
   */

  body::-webkit-scrollbar {
    width: 20px;
  }

  body::-webkit-scrollbar-track {
    background: var(--smoky-black);
  }

  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--smoky-black);
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 20px;
    box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
      inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  }

  body::-webkit-scrollbar-thumb:hover {
    background: hsla(0, 0%, 100%, 0.15);
  }

  body::-webkit-scrollbar-button {
    height: 60px;
  }

  /**
   * REUSED STYLE
   */

  .sidebar,
  article {
    width: auto;
  }

  article {
    min-height: 100%;
  }

  /**
   * MAIN
   */

  main {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
  }

  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }

  /**
   * SIDEBAR
   */

  .sidebar {
    position: sticky;
    top: 50px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 40px;
    z-index: 1;
  }

  .sidebar-info {
    flex-direction: column;
  }

  .avatar-box img {
    background: var(--bg-gradient-onyx);
    width: 170px;
  }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title {
    margin: auto;
  }

  .info_more-btn {
    display: none;
  }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list {
    grid-template-columns: 1fr;
  }

  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info :is(.contact-link, .showcase-link, address) {
    --fs-7: 14px;
    font-weight: var(--fw-300);
  }

  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }

  .social-list {
    justify-content: center;
  }

  /**
	 * RESUME
	 */

  .timeline-text {
    max-width: 700px;
  }
}