@font-face {
  font-family: Sentient;
  src: url(SENTIENT-VARIABLE.TTF);
}

body{
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    margin: 0;
    padding: 0;
    background-color: #f5f3ee;
    font-family: Sentient;
}

body.loaded {
    opacity: 1;
}

/* Page exit animation */
body.exiting {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

::-webkit-scrollbar {
    width:auto;
    }
    /*track*/
    ::-webkit-scrollbar-track {
    background:rgb(201, 200, 196);
    border-width:2px;
    border-style:solid;
    border-color:black;
    }
    /*thumb*/
    ::-webkit-scrollbar-thumb {
    background:rgb(245, 243, 238);
    border-width:2px;
    border-style:solid;
    border-color:black;
    }

p{
    font-size: 16px;
}

.navbar {
    background-color: #f5f3ee;
    color: black;
    border-bottom: 4px solid black;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: black;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.nav-links a:hover {
    color: #036147; /* Color on hover */
    transform: scale(1.2); /* Grow on hover */
}

#StartingImage{
    background-color: #036147;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#VanPhoto{
    margin: auto;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.WhiteBackground{
    background-color: #f5f3ee;
    padding: 24px;
}

.GreenBackground{
    background-color: #036147;
    padding: 24px;
}

.PinkTitle{
    color:#f3cce7;
    font-size: 48px;
    text-align: center;
}

.GreenTitle{
    color:#036147;
    font-size: 48px;
    text-align: center;
}

.BlackText{
    color: black;
    line-height: 2;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}

.WhiteText{
    color: #f5f3ee;
    line-height: 2;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}

#Name{
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

.Eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
  color: #036147;
}

.MetaList {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem 2.4rem;
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 1.3rem 0 0;
  border-top: 2px solid black;
  width: min(92vw, 1000px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 2.4rem;
}

.MetaList li {
  text-align: center;
}

.MetaLabel {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-family: "Rubik", sans-serif;
  color: black;
  opacity: 0.65;
  margin-bottom: 0.3rem;
}

.MetaValue {
  display: block;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .MetaList {
    gap: 1rem 1.6rem;
    width: 100%;
  }
}

h2 {
  color: #036147;
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: min(94%, 950px);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.12;
}

.GreenBackground h2 {
  color: #f3cce7;
}

.SubsectionTitle {
  color: #036147;
  text-align: left;
  font-size: 1.25rem;
  width: 60%;
  margin: 2.5rem auto 1rem;
  margin-left: 20%;
}

.GreenBackground .SubsectionTitle {
  color: #f3cce7;
}

@media (max-width: 900px) {
  h2 {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }
}

#ClosingLink {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f5f3ee;
}

#ClosingLink a {
  color: #036147;
  text-decoration: underline;
  font-size: 0.95rem;
}

#ImageSectionDivider{
    margin-bottom: -8px;
    overflow: hidden;
}

#Footer{
    overflow: hidden;
}

#start{
    width: 60%;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

#testing{
    width: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.center{
    text-align: center;
}

body{
    margin: 0;
    padding: 0;
    font-family: Sentient;
}

::-webkit-scrollbar {
    width:auto;
    }
    /*track*/
    ::-webkit-scrollbar-track {
    background:rgb(201, 200, 196);
    border-width:2px;
    border-style:solid;
    border-color:black;
    }
    /*thumb*/
    ::-webkit-scrollbar-thumb {
    background:rgb(245, 243, 238);
    border-width:2px;
    border-style:solid;
    border-color:black;
    }

p{
    font-size: 16px;
}

.navbar {
    background-color: #f5f3ee;
    color: black;
    border-bottom: 4px solid black;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: black;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.5s ease;
}

.nav-links a:hover {
    color: #036147; /* Color on hover */
    transform: scale(1.2); /* Grow on hover */
}

#StartingImage{
    background-color: #036147;
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#VanPhoto{
    margin: auto;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.WhiteBackground{
    background-color: #f5f3ee;
    padding: 24px;
}

.GreenBackground{
    background-color: #036147;
    padding: 24px;
}

.PinkTitle{
    color:#f3cce7;
    font-size: 48px;
    text-align: center;
}

.GreenTitle{
    color:#036147;
    font-size: 48px;
    text-align: center;
}

.BlackText{
    color: black;
    line-height: 2;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}

.WhiteText{
    color: #f5f3ee;
    line-height: 2;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}

#Name{
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

#ImageSectionDivider{
    margin-bottom: -8px;
    overflow: hidden;
}

#start{
    width: 60%;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

#testing{
    width: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.center{
    text-align: center;
}

#demonstration1{
    width: 100%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

#demonstration2{
    width: 40%;
    padding-left: 30%;
    padding-right: 30%;
    background-color: black;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}


/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Navigation adjustments */
    .navbar {
        padding: 16px;
        justify-content: center;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Typography adjustments */
    .PinkTitle,
    .GreenTitle {
        font-size: 32px;
    }
    
    p {
        font-size: 15px;
    }
    
    /* Text content adjustments */
    .BlackText,
    .WhiteText {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        line-height: 1.8;
    }
    
    #Name {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    /* Background sections */
    .WhiteBackground,
    .GreenBackground {
        padding: 16px;
    }
    
    /* Image adjustments */
    #start {
        width: 90%;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    }
    
    #VanPhoto {
        max-width: 90%;
        height: auto;
    }
    
    /* Starting image section */
    #StartingImage {
        height: 60vh;
        padding: 16px;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    .navbar {
        padding: 12px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .PinkTitle,
    .GreenTitle {
        font-size: 24px;
    }
    
    p {
        font-size: 14px;
    }
    
    .BlackText,
    .WhiteText {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
        line-height: 1.6;
    }
    
    #Name {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
    }
    
    .WhiteBackground,
    .GreenBackground {
        padding: 12px;
    }
    
    #start {
        width: 95%;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    }
    
    #VanPhoto {
        max-width: 95%;
    }
    
    #StartingImage {
        height: 50vh;
        padding: 12px;
    }
    
    /* Disable hover effects on touch devices */
    .nav-links a:hover {
        transform: none;
    }
}
/* === Global Responsive Patch (Codex) === */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

#ImageSectionDivider img,
[id*="Divider"] img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .navbar {
    justify-content: center !important;
    padding: 14px 12px !important;
  }

  .nav-links {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 12px !important;
  }

  .nav-links a {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }

  #StartingImage {
    height: auto !important;
    min-height: 58vh;
    padding: 16px 12px;
  }

  .WhiteBackground,
  .GreenBackground {
    padding: 16px !important;
  }

  .PinkTitle,
  .GreenTitle {
    font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
    line-height: 1.15 !important;
  }

  .BlackText,
  .WhiteText,
  #AboutMeText,
  #ProjectContents,
  #ArtContents {
    width: min(92%, 760px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #Name,
  #VanPhoto,
  #GroupPhoto,
  #start,
  #testing,
  #brainstorming,
  #team,
  #documenting,
  #AllvanName,
  #ReframePhoto,
  #PresentationPhoto {
    width: min(92%, 860px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .Figmas {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: min(92%, 860px) !important;
    margin: 16px auto !important;
  }

  .Figmas img {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (min-width: 901px) and (max-width: 1199px) {
  .Figmas {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .Figmas img {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (hover: none) {
  .nav-links a:hover {
    transform: none !important;
  }
}

/* === Single Scrollbar Fix === */
html {
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
}

body {
  overflow-x: hidden;
  overflow-y: visible;
  height: auto;
}

/* === Final Scrollbar Normalization === */
html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
}

body {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

p {
  font-family: "Rubik", sans-serif;
}
