/* Font styles */
.abhaya-libre-regular {
  font-family: "Abhaya Libre", serif;
  font-weight: 400;
  font-style: normal;
}
.abhaya-libre-medium {
  font-family: "Abhaya Libre", serif;
  font-weight: 500;
  font-style: normal;
}
.abhaya-libre-semibold {
  font-family: "Abhaya Libre", serif;
  font-weight: 600;
  font-style: normal;
}
.abhaya-libre-bold {
  font-family: "Abhaya Libre", serif;
  font-weight: 700;
  font-style: normal;
}
.abhaya-libre-extrabold {
  font-family: "Abhaya Libre", serif;
  font-weight: 800;
  font-style: normal;
}

.courier-prime-regular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
}
.courier-prime-bold {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: normal;
}
.courier-prime-regular-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: italic;
}
.courier-prime-bold-italic {
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  font-style: italic;
}

/*Body*/
body {
  background-color: white;
  margin: 0 auto;
  overscroll-behavior: none;
  cursor: none !important;
  box-sizing: border-box;
}
/* Hide system cursor */
a,
button {
  cursor: none !important;
}
:root {
  --primary-color: white;
  --secondary-color: #565353;
  --tertiary-color: black;
  --primary-bg-color: #eaeaea;
  --hover-color: #4e0404cb;
  --text-fontsize: clamp(0.875rem, 0.5797rem + 0.6144vw, 1.125rem);
  --logo-fontsize: clamp(1.9375rem, 1.291rem + 1.0101vw, 2.1875rem);
  --bigtext-fontsize: clamp(3.5rem, 3.2047rem + 0.6144vw, 3.75rem);
  --heading-fontsize: clamp(2.25rem, 1.9547rem + 0.6144vw, 2.5rem);
  --abhaya-font: "Abhaya Libre", serif;
  --courier-font: "Courier Prime", monospace;
  --primary-mt: 1.25rem; /* 20px */
}
/* Custom cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  background: black;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.25s ease, height 0.25s ease,
    background 0.25s ease;
  z-index: 9999;
  mix-blend-mode: normal; /* makes it visible on both light/dark backgrounds */
}

/* Hover state for clickable items */
.custom-cursor.hover {
  width: 30px;
  height: 30px;
  background: var(--hover-color);
  transform: translate(-50%, -50%) scale(1.05);
}
/* scroll bar */
::-webkit-scrollbar {
  width: 0.5rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--tertiary-color);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--hover-color);
}

/*Main Container*/
.main-container {
  display: flex;
  max-width: 1440px;
  margin: 0 auto; /* centers the whole layout */
}

/* Sidebar Styling */
.sidebar {
  position: sticky;
  top: 0;
  align-self: flex-start; /* important when inside flexbox */
  max-width: 300px; /* smaller, more practical */
  height: fit-content; /* sidebar only takes as much height as needed */
  padding: 1.25rem;
  box-sizing: border-box;
}
.sidebar h1 {
  font-size: var(--logo-fontsize);
  font-family: var(--abhaya-font);
  font-weight: 400;
}
.sidebar a {
  text-decoration: none;
  color: var(--tertiary-color);
}

/*Page Container*/
.page-content {
  margin-top: 70px;
  padding: 1.9rem;
}
.resume-head {
  margin: auto;
  height: auto;
}
.title {
  font-size: var(--bigtext-fontsize);
  font-family: var(--abhaya-font);
  font-weight: 800;
  margin-bottom: 0;
  padding: 0;
  opacity: 1;
}

.title-name {
  font-size: var(--text-fontsize);
  font-family: var(--courier-font);
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
  padding-top: 0;
}
.head-desc {
  font-size: var(--text-fontsize);
  line-height: 1.7rem;
  font-family: var(--courier-font);
  font-weight: 400;
  max-width: 90vw;
  margin-top: 1.9rem;
  text-align: justify;
}
#block-quote {
  font-size: var(--text-fontsize);
  padding-left: 1.9rem;
  padding-top: 1.25rem;
  font-family: var(--courier-font);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6rem;
  white-space: wrap;
  overflow: hidden;
  border-right: 1px solid var(--tertiary-color);
  overflow: hidden;
  animation: blink 0.6s step-end infinite alternate;
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.animated-hr {
  width: 100%;
  height: 1px;
  background-color: #333;
  border: none;
  margin-top: 2rem;
}

/*Exhibitons*/
.exhibition {
  margin-top: 3.75rem;
}
[data-head] {
  font-size: var(--heading-fontsize);
  font-family: var(--abhaya-font);
  font-weight: 800;
  opacity: 1;
}
.exh-content {
  display: flex;
  justify-content: space-between; /* or space-between, center, flex-start, flex-end */
  align-items: center;
  gap: 0.35rem;
  text-align: justify;
}
.exh-text {
  /* Add styling for individual text blocks */
  font-family: var(--courier-font);
  font-weight: 400;
  padding-bottom: 0.9rem;
  font-size: var(--text-fontsize);
}
.exh-text span {
  font-weight: bold;
}

.ass-content {
  display: flex;
  justify-content: space-between; /* or space-between, center, flex-start, flex-end */
  align-items: center;
  text-align: justify;
}
.ass-text {
  /* Add styling for individual text blocks */
  font-family: var(--courier-font);
  font-weight: 400;
  padding-bottom: 0.9rem;
  font-size: var(--text-fontsize);
}
.ass-text span {
  font-weight: bold;
}

/*Commissions*/

.major-content {
  display: flex;
  justify-content: space-between; /* or space-between, center, flex-start, flex-end */
  align-items: center;
}
.maj-text {
  /* Add styling for individual text blocks */
  font-family: var(--courier-font);
  font-weight: 400;
  padding-bottom: 0.9rem;
  font-size: var(--text-fontsize);
}
.maj-text span {
  font-weight: bold;
}
/*Reviews*/

.rev-content {
  display: flex;
  justify-content: space-between; /* or space-between, center, flex-start, flex-end */
  align-items: center;
}
.rev-text {
  /* Add styling for individual text blocks */
  font-family: var(--courier-font);
  font-weight: 400;
  padding-bottom: 0.9rem;
  font-size: var(--text-fontsize);
}
.rev-text span {
  font-weight: bold;
}

/*Memberships*/

.mem-content {
  display: flex;
  justify-content: space-between; /* or space-between, center, flex-start, flex-end */
  align-items: center;
}
.mem-text {
  /* Add styling for individual text blocks */
  font-family: var(--courier-font);
  font-weight: 400;
  padding-bottom: 0.9rem;
  font-size: var(--text-fontsize);
}

/*Abstracts*/

.abst-desc {
  font-size: var(--text-fontsize);
  line-height: 1.7rem;
  font-family: var(--courier-font);
  font-weight: 400;
  max-width: 100vw;
  margin-top: 1.9rem;
  text-align: justify;
}

/* Image Section*/
.image-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: end; /* Horizontally centers the child */
  /* Optional: Set a height for the parent if vertical centering is desired */
}
/*Resume image*/
.resume-img {
  position: relative;
  overflow: hidden;
  width: 70vw;
  height: 100vh;
}
.resume-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: transform 1.2s ease, opacity 0.8s ease;
}
/* The
masking overlay */
.resume-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff; /* matches your site background */
  transform: translateX(0%);
  transition: transform 1.2s cubic-bezier(0.22, 0.9, 0.35, 1);
  z-index: 2;
} /* Reveal state */
.resume-img.revealed::before {
  transform: translateX(-100%);
}
.resume-img.revealed img {
  opacity: 1;
  transform: scale(1);
}

/* Footer */
.footer {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: end;
  min-width: 440px;
  max-width: 1400px;
  margin: 1.9rem;
  margin-bottom: 0;
}
.footer-logo {
  direction: ltr;
  color: var(--tertiary-color);
  letter-spacing: 1px;
  text-transform: none;
  margin-left: auto;
  font-family: var(--abhaya-font);
  font-weight: 800;
  font-size: var(--heading-fontsize);
  margin-bottom: 0;
}
.footer p {
  display: block;
  font-family: var(--courier-font);
  font-weight: 400;
  font-size: var(--text-fontsize);
}
/* Media query mobile 768px */
@media (max-width: 48rem) {
  :root {
    --bigtext-fontsize: clamp(3.25rem, 3.25rem + 0.5208vw, 3.5rem);
    --heading-fontsize: clamp(2rem, 2rem + 0.5208vw, 2.25rem);
  }
  /* Custom cursor */
  .custom-cursor {
    display: none;
  }
  /*Main Container*/
  .main-container {
    display: flex;
    padding: 1rem;
    flex-direction: column;
    max-width: 1440px;
    margin: 0 auto; /* centers the whole layout */
  }

  /* Sidebar Styling */
  .sidebar {
    position: relative;
    align-self: flex-start; /* important when inside flexbox */
    height: fit-content; /* sidebar only takes as much height as needed */
    padding: 1.25rem;
    box-sizing: border-box;
  }
  .side-menu {
    margin-top: 20px;
    padding: 0;
  }
  /*Page Container*/
  .page-content {
    margin-top: 10px;
    padding: 1rem;
    margin-left: auto;
  }
  .exh-content {
    display: flex;
    flex-direction: column; /* or space-between, center, flex-start, flex-end */
    align-items: start;
    gap: 0.35rem;
    text-align: justify;
  }
  .ass-content {
    display: flex;
    flex-direction: column; /* or space-between, center, flex-start, flex-end */
    align-items: start;
    text-align: justify;
    gap: 0.35rem;
  }
  .major-content {
    display: flex;
    flex-direction: column; /* or space-between, center, flex-start, flex-end */
    align-items: start;
    text-align: justify;
    gap: 0.35rem;
  }
  .rev-content {
    display: flex;
    flex-direction: column; /* or space-between, center, flex-start, flex-end */
    align-items: start;
    text-align: justify;
    gap: 0.35rem;
  }
  .mem-content {
    display: flex;
    flex-direction: column; /* or space-between, center, flex-start, flex-end */
    align-items: start;
    text-align: justify;
    gap: 0.35rem;
  }
  /* Image Section*/
  .image-section {
    align-items: center;
    display: flex;
    justify-content: center; /* Horizontally centers the child */
    /* Optional: Set a height for the parent if vertical centering is desired */
  }
  /*Resume image*/
  .resume-img {
    width: 80%;
    height: 80%;
  }
  .resume-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
  /* Footer */
  .footer {
    width: 80%;

    justify-content: space-between;

    margin: 0.625rem;
    min-width: auto;
  }
  .footer-logo {
    margin-right: auto;

    font-size: var(--heading-fontsize);
  }
  .footer p {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
