body {
  background-color: #E9E9DB;
  font-family: var(--font-primary);
  letter-spacing: 0.1rem;
  margin: 0;
}

html {
  font-size: 16px; /* Base font size */
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Small phones */
@media screen and (max-width: 320px) {
  html {
    font-size: 50%; /* 8px */
  }
}

/* Larger phones */
@media screen and (min-width: 321px) and (max-width: 767px) {
  html {
    font-size: 62.5%; /* 10px */
  }
}

/* Tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 75%; /* 12px */
  }
}

/* Laptops and small desktops */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  html {
    font-size: 87.5%; /* 14px */
  }
}

/* Large desktops */
@media screen and (min-width: 1440px) {
  html {
    font-size: 100%; /* 16px */
  }
}

/* Optional: Fluid scaling for very large screens */
@media screen and (min-width: 1800px) {
  html {
    font-size: calc(100% + 0.5vw);
  }
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0px;
  padding: 3vh 0;
  opacity: 0;
  background-color: var(--bg-dark);
  z-index: 4;
  font-family: "Metamorphous", serif;
  letter-spacing: normal;
  transition: opacity var(--transition-duration) ease;
  pointer-events: none; /* Make menu unclickable by default */
}

.menu_buttons {
  display: flex;
  justify-content: space-between;
}

.menu_dark {
  height: clamp(20px, 5vw, 30px);
  margin: 3vh 2vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  transition: transform var(--transition-duration) ease-out;
}

.menu_dark:hover {
  transform: scale(1.2);
}

.menu_dark:hover {
  cursor: pointer;
}

.menuWords {
  display: flex;
  align-items: center;
  gap: 3vw;
  margin-left: 10vw;
  font-size: 1.5rem;
  letter-spacing: normal;
}

.menu .menuWords .portfolio-link {
  color: var(--text-light);
}

.menu a {
  transition: transform var(--transition-duration) ease-out;
  text-decoration: none;
}

.menu a:hover {
  transform: scale(1.2);
}

.menu a:link,
.menu a:visited {
  color: var(--accent-blue);
}




.hero-wrapper{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: lighter;
    color: #2C2D26;
    font-weight: bold;
}
.heroimg{
  width: 40%;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .heroimg{
    width: 60%;
  }
}
@media screen and (max-width: 767px) {
  .heroimg{
    width: 90%;
  }
}
.zine a {
    padding: 1vh 1.5vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5vw;
    font-family: 'Spectral', serif;
    border: #2C2D26 solid 1px;
    border-radius: 100px;
    margin: 2vh 0;
    font-size: 1.5rem;
    text-decoration: none;
    color: #2C2D26;
}
.zine a:hover {
    transition: all var(--transition-duration) ease-in-out;
    transform: scale(1.1);
}



.casestudymenu {
  background-color: #A54C48;
  background-image: url("images/artistsvsaicasestudy/menuBG.avif");
  background-size: cover; 
  /* how do you make the image stay on the right and bottom side instead of the left and top??? */
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 2.5vw 10vw 0 10vw;
}

.menusection {
  color: #E9E9DB;
  font-size: 4rem;
  align-self: flex-start;
  padding-left: 15vw;
  font-family: var(--font-primary);
  font-weight: bold;
}


h1{
  font-family: 'Spectral', serif;
  font-size: 3rem;
}
h2{
  font-size: 2rem;
}
#problem p{
  font-size: 1.5rem;
}



#methods {
  background-color: #2C2D26;
  color: #E9E9DB;
  background-image: url("images/artistsvsaicasestudy/MethodsBGtext.svg");
  /* background-size: ; */
  /* how do i make it only one ???*/
}
#methods p{
  font-size: 1.5rem;
}
#methods img{
  width: 25vw;
}
.methodscontainer{
  display: flex; 
  flex-direction: row; 
  align-items: center; 
  justify-content: center;
  gap: 1vw;
}
.methodsgrid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1vw;
}
.greenbox{
  background-color: #0D1F20;
  border-radius: 30px;
  height: 100%;
  padding: 1vh 2vw;
}
@media screen and (max-width: 768px){
  .methodscontainer{
    flex-direction: column;
  }
  #methods img{
    width: 80%;
  }
  .methodsgrid{
    display: flex;
    flex-direction: column;
    gap: 1vh; 
  }
  .greenbox{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .greenbox h2{
    margin: 0
  }
}

.insightsgrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
}
.insightsgrid img {
  max-width: 40vw;
}
@media screen and (max-width: 768px){
  .insightsgrid{
    display: flex;
    flex-direction: column;
    gap: 1vh; 
  }
  .insightsgrid img {
    max-width: 80vw;
    align-self: center;
  }
}
.quote {
  font-size: 1.5rem;
  color: #A54C48;
}

#takeaways {
  background-color: #A54C48;
  color: #E9E9DB;
  padding-top: 3vh;
  background-image: url("images/artistsvsaicasestudy/NextStepsBGtext.svg");
}
.designdirections {
  width: 80vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.takeaways-list {
  --dot-col: 28px;
  --dot-size: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 2.5rem 0 4rem;
  padding-left: 0;
}

.takeaways-list::before {
  content: "";
  position: absolute;
  left: calc(var(--dot-col) / 2);
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  background-color: #E9E9DB;
}

.takeaway-item {
  display: grid;
  grid-template-columns: var(--dot-col) 1fr;
  column-gap: 2rem;
  align-items: start;
}

.takeaway-dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background-color: #E9E9DB;
  border: 2px solid #E9E9DB;
  margin-top: 0.6rem;
  justify-self: center;
}

.takeaway-content h3 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  color: #E9E9DB;
  letter-spacing: 0.04rem;
}

.takeaway-content p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #D6D1C6;
}

@media screen and (max-width: 767px) {
  .takeaways-list {
    gap: 2rem;
    --dot-col: 22px;
    --dot-size: 14px;
    padding-left: 0;
  }
  .takeaway-item {
    grid-template-columns: var(--dot-col) 1fr;
    column-gap: 1.25rem;
  }
  .takeaway-dot {
    margin-top: 0.5rem;
  }
  .takeaway-content h3 {
    font-size: 1.6rem;
  }
  .takeaway-content p {
    font-size: 1.05rem;
  }
}






.contact {
  display: flex;
  justify-content: space-between;
  color: var(--accent-green);
  background-color: var(--bg-dark);
  padding: 2vh 5vw;
  font-size: 3rem;
  gap: 2vw;
  font-family: 'Metamorphous', serif;
  align-items: center;
  letter-spacing: normal;
}

.contact p {
  white-space: nowrap;
  margin: 0;
}

.links {
  display: flex;
  justify-content: center;
  flex-direction: column;
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: normal;
}

.linkedin,
.email,
.github {
  display: flex;
  align-items: center;
}

.linkedin img,
.email img,
.github img {
  width: 30px;
  margin-right: 1vw;
}

/* Link styles */
.contact a {
  color: var(--accent-green);
  transition: all var(--transition-duration) ease;
  margin-top: auto;
  margin-bottom: auto;
  text-decoration: none;
}

.contact a:hover,
.linkedin a:hover,
.github a:hover {
  text-decoration: underline;
  color: var(--accent-green);
}

.email p {
  margin: auto 0;
}

.hero-wrapper {
  /* Subtract total navbar padding (3vh margin top + 2vh text + 3vh margin bottom) */
  min-height: calc(100vh - 8vh);
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .hero-wrapper {
    padding-top: 4rem;
    min-height: calc(100vh - 8vh - 4rem);
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .hero-wrapper {
    padding-top: 8rem;
    min-height: calc(100vh - 8vh - 8rem);
  }
}

.intro-content {
  justify-content: center;
  align-items: center;
  margin: 0;
}

section {
  color: #2C2D26;
  padding: 10vh 10vw;
  margin: 0;
}

.divider {
  display: flex;
  justify-content: center;
  padding: var(--spacing-standard) 0;
  margin-bottom: -2.75rem;
}

.divider img {
  width: auto;
  height: auto;
}

@media screen and (max-width: 767px) {
  .divider img {
    width: 100%;
  }
  .divider5 {
    max-width: 50%;
    display: flex;
    justify-self: center;
  }
}

.menusection li {
  cursor: pointer;
  transition: color 0.2s ease;
  list-style: decimal;
}

.menusection li:hover {
  color: #2C2D26;
}

.menusection a {
  color: inherit;
  text-decoration: none;
}

/* smaller screens */
@media screen and (max-width: 768px) {
}

/* even smaller screens */
@media screen and (max-width: 480px) {
}




:root {
  --text-light: #f4e9e3;
  --text-muted: #9a8c98;
  --accent-blue: #43a9b7;
  --accent-green: #7effbc;
  --bg-dark: black;
  --color-ink-menu: #4a4e68;
  /* Font families */
  --font-primary: "Jost", sans-serif;
  --font-title: "Jost", sans-serif;
  --font-secondary: "Spectral", serif;
  --font-special: "Emilia", serif;
  /* New variables */
  --menu-opacity: 85%;
  --spacing-standard: 2rem;
  --border-radius: 8px;
  --transition-duration: 0.3s;
  --max-content-width: 1200px;
}

.contact {
  color: var(--accent-green);
  background-color: var(--bg-dark);
}

.contact a,
.linkedin a,
.github a {
  color: var(--accent-green);
}

.contact a:hover,
.linkedin a:hover,
.github a:hover {
  text-decoration: underline;
}
