/* Base font size on html: scales fluidly between 14px and 16px */
html {
  font-size: 11px;
}

/* Base text styles on body and common text elements */
body,
p,
span,
a,
li,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
div,
label,
input,
textarea,
button,
select {
  font-family: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  font-size: 1rem; /* 1rem = html font-size */
  color: #000;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

*::-webkit-scrollbar {
  display: none;
}

a:hover {
  text-decoration: none !important;
}

.accent-text {
  color: grey;
  font-weight: 500;
}

img,
video {
  object-fit: contain;
  max-height: 50vh;
  max-width: 75vw;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Optional: tweak font size on very large screens */
@media (min-width: 1000px) {
  html {
    font-size: 12px;
  }

  img,
  video {
    max-width: 40vw;
  }
}

/* Navigation */
.navigation-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 15px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-container {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000;
  padding: 15px;
  pointer-events: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Optional: allow clicking through the nav background if needed */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* disables nav catching clicks */
  z-index: 999;
}

/* But allow inner elements to receive clicks */
nav > * {
  pointer-events: auto;
}

.navigation-projects-container {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.projects-details-container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 2.5px;
}

/* CUSTOM CURSOR */

/* Hide the default cursor */
body {
  cursor: none;
}

body:hover {
  cursor: none;
}

/* Custom cursor circle */
.custom-cursor {
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: orange;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-25%, -25%);
  transition: width 0.15s ease, height 0.15s ease;
  z-index: 9999;
}

/* Shrink on link hover */
a:hover ~ .custom-cursor,
.custom-cursor.link-hover {
  width: 12px;
  height: 12px;
  background: lightblue;
}

/* Hide the default pointer everywhere */
html,
body,
a,
button,
[role='button'],
input,
textarea,
select {
  cursor: none !important;
}

/* Don’t show custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
  body {
    cursor: default;
  }
}
