/*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 styles */
body {
  background-color: white;
  margin: 0 auto;
  overscroll-behavior: none;
  cursor: none !important;
}
/* 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 */
}
/* 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);
}
/* 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);
}
/*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 */
  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);
}

/*Pain 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: 0;
  animation: fadeIn 1.5s ease forwards;
}
.head-desc {
  font-size: var(--text-fontsize);
  line-height: 1.7rem;
  font-family: var(--courier-font);
  font-weight: 400;
  max-width: 90vw;
  margin-top: 0.35rem;
}
.animated-hr {
  width: 0;
  height: 1px;
  background-color: #333;
  border: none;
  margin-top: 2rem;
  animation: growWidth 1.5s ease forwards;
}

@keyframes growWidth {
  to {
    width: 100%;
  }
}
/*Inquiry*/
.inq {
  margin-top: 100px;
}
#reach {
  font-family: var(--courier-font);
  font-weight: 400;
  font-size: var(--text-fontsize);
  white-space: wrap;
  overflow: hidden;
}

/*Socials*/
.socials {
  margin-top: 100px;
}
.socials p {
  font-family: var(--courier-font);
  font-weight: 400;
  font-size: var(--text-fontsize);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 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;
  will-change: transform;
}
.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 {
  margin-bottom: 0;
  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;
    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: 5px;
    padding: 1rem;
    margin-left: auto;
    margin-bottom: 20px;
  }
  /* 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;
  }
}
