:root {
    --primary-color:  #30416C;
    --secondary-color: ##40578f;
    --background-color: #F5F5F8;
    --text-dark: #000000;
    --text-light: #30416C;
    --card-bg: #ffffff;
    --placeholder-bg: #d9d9d9;
}

a:-webkit-cursor {
  cursor: cell;
}

a:-webkit-any-link {
/* set cursor here */
}

html {
  scroll-behavior: smooth;
  height: 100%;
  box-sizing: border-box;
    font-size: 18px;
  /* font-size: 16px; */
  margin-left: 0;
  margin-right: 0;
}

header {
  z-index: 2;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* width: 100%; */
  background-color: var(--background-color);
  overflow: hidden;
}

body {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  letter-spacing: .05rem;
  font-family:'FormaText';
  background-color: var(--background-color);
  color: var(--text-dark);
  font-weight: normal;
  height: 100%;
  /* background-image: url("../images/bg-texture.png");
  background-repeat: repeat;
  background-size: auto; */
  /* overflow: hidden; */
}

footer {
  margin-left: 3rem;
  margin-right: 3rem;
  font-size: 0.8rem;
}

h1{
  font-size: 2.2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'FormaBanner';
  font-weight: normal;
  color: var(--text-dark);
}

p {
  /* font-family:'Helvetica'; */
  font-family:'FormaText';
  letter-spacing: 0.25px;
  line-height: 1.4;

}

li{
  font-family: "FormaText";
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 1rem;
  margin-left: -1rem;
  letter-spacing: 0.25px;
}

nav a {
  font-weight: normal;
  margin: .5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: 0.05s;

}

nav a:hover, nav a:focus {
  font-weight: bold;
  /* font-style: italic; */
  /* text-decoration: underline; */
  color: var(--text-light);
}

nav {
 text-align: center;
 margin-right: 3rem;
}

a {
  color: inherit;
}

strong {
  letter-spacing: 0.7px;
}

.in-text-link {
  color: var(--text-light);
  position: relative;
  text-decoration: none;
}

.in-text-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background-color:  var(--text-light);
  transition: width 0.3s ease;
}

.in-text-link:hover::after {
  width: 100%;
}


/* .in-text-link:hover, .in-text-link:active { */
  /* font-style: italic; */
  /* color: var(--text-light);
  text-decoration: none;
} */

button {
  font-family:'FormaText';
  font-size: 0.9rem;
  border: none;
  text-align: center;
  border-radius: 1rem;
  display: inline-block;
  padding: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  color: white;
  background-color: var(--primary-color);
  text-decoration: none;
  transition-duration: 0.3s;
}

button a{
  text-decoration: none;
}

button:hover, button:focus {
  background-color: var(--secondary-color);
  border: solid;
  border-width: thin;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.page {
  min-height: 100%;
}

.title{ /* needed for the nav spacinge */
  margin-left: 3rem;
  flex: 1;
  flex-wrap: wrap;
}

.title-text { /* also needed for nav styling*/
  font-weight: bold;
  text-decoration: none;
  transition: 0.5s;
  color: var(--text-light);
}

/* title text colour */
.title-txt {
  color: var(--text-light);
  font-family: "FormaBannerBold";
  /* opacity: 0; */
}

#title-txt {
  opacity: 0;
}

/* nav bar spacing */
.main-nav {
  flex: 2;
  margin-top: 1.5rem;
  text-align: right;
  /* margin-right: 6rem; */
}

/* ------------- CSS Styling specifially for the Home Page ------------- */
/* make the scrolling text go off the screen */
.main-cont{
  /* margin-left: -3rem;
  margin-right: -3rem; */
  overflow: hidden;
  height: 100%;
}

/* intro text size and position */
.home-name {
  margin-top: 30vh;
  font-size: 3.2rem;
  align-content: flex-end;
}

.home-text-container {
  min-height: 60vh;
  text-align: center;
}

.intro-txt {
  font-size: 17px;
  color: var(--text-dark);
  flex-wrap: wrap;
  border-color: white;
  border: 2px;
  margin-top: -.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.diff-bold {
  font-family: "FormaBannerBold";
  color: var(--text-light);
}

.mobile-br {
  display: none;
}

.marquee {
  position: relative;
  width: 100vw;
  /* overflow: hidden; */
}

.marquee-inner {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--text-light);

  /* font-weight: lighter; */
  /* text-transform: lowercase; */
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { transform: none !important; transition: none !important; }
}

.typing-text {
  margin-bottom: -15px;
  border-right: 2px solid black; /* cursor */
  padding-right: 2px;
  padding-left: 3px;
  white-space: nowrap;
  overflow: hidden;
}

.projects-section {
  margin-left: 7rem;
  margin-right: 7rem;
  margin-bottom: 8rem;
}

.projects-title {
  margin-top: 4rem;
  margin-left: 0.25rem;
  text-align: left;
  font-family: "FormaBannerBold";
  color: var(--text-light);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2rem;
}

.project-image {
  width: 100%;
  overflow: hidden;
  object-fit: cover; /* Crops to fit the container */
  object-position: center; /* Centers the image within the container */
}

.project-info {
  padding-left: 2rem;
  position: relative;
  margin-top: -3rem;
  background-color: var(--card-bg);
  border-radius: 2rem 0 12px 12px;
  padding-top: 1rem;
}

.proj-name {
  color: var(--text-light);
  margin-bottom: -0.8rem;
  margin-top: -0.05rem;
  font-family: "FormaBannerBold"
}

.project-tags {
  display: flex;
  flex-direction: row;
  font-size: 9pt;
}

.tag{
  margin-top: -.5rem;
  margin-right: .5rem;
  background-color: var(--primary-color);
  border-radius: 1rem;
  padding: 3px 10px;
  color: white;
}

.project-card {
 -webkit-border-radius: 12px;
 -moz-border-radius: 12px;
 border-radius: 12px;
 -webkit-box-shadow: rgba(0,0,0,0.1) 0px 0 10px;
 -moz-box-shadow: rgba(0,0,0,0.1) 0 0 10px;
 box-shadow: rgba(0,0,0,0.1) 0 0 10px;
 transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card a {
  text-decoration: none;
  color: black;
}

.project-card img {
  cursor: pointer;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  -webkit-box-shadow: rgba(0,0,0,0.5) 0px 0 10px;
  -moz-box-shadow: rgba(0,0,0,0.5) 0 0 10px;
  box-shadow: rgba(0,0,0,0.5) 0 0 10px;
}

.expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  z-index: 10;
}

#transparent {
  opacity: 0;
}

/* ------------- CSS Styling specifically for the Projects Page ------------- */
.hero-section {
  background-image: url('../images/placeholder.png');
  background-size: cover;
  background-position: center;
  position: relative;
  height: 98vh;
  width: 100vw;
  /* margin-left: -1rem; */
  /* margin-right: -0.5rem; */
  z-index: -4;
  overflow: ;
  max-width: 100%;
}

.bottom-overlay {
  position: absolute; /* Positions the overlay relative to the parent */
  bottom: 0; /* Aligns the overlay to the bottom */
  left: 0;
  width: 100vw;
  height: 5rem; /* Adjust height of the solid box */
  background-color: var(--background-color); /* Solid color with some transparency */
  border-radius: 50px 0px 0px 0px;
  z-index: -3;
  max-width: 100%;

}

.proj-disclaimer {
  margin-bottom: 3rem;
  opacity: 50%;
}

.project-title {
  font-family: "FormaBannerBold";
  margin-top: -3rem;
  color: var(--text-light);
}

.jump-end {
  margin-top: 1.5rem;
  margin-left: 0.25rem;
}

.project-txt-margin {
  margin: 1rem 25vw 0rem 25vw;
}

.project-section-heading{
  font-family:"FormaText";
  color: var(--text-light);
  opacity: 80%;
  margin-bottom: -0.5rem;
  /* letter-spacing: 0; */
}

#above-video {
  margin-bottom: 0.5rem;
  margin-top: 4rem;
}

#vid-start {
  margin-top: 5rem;
  margin-bottom: -3rem;
}

.start-cont {
  display: flex;
  /* flex-direction: column; */
}

.start-txt {
  font-size: 16px;
  letter-spacing: 0;
}

.contributions{
  margin-right: 1rem;
  flex: 3;
}

.roles-other {
 margin-left: 1rem;
 flex: 1;
}

#section-space {
  margin-top: 5rem;
}

#space {
  margin-top: 3rem;
}

.standout {
  max-width: 100vw;
  background-color:  var(--primary-color);
  /* overflow: clip; */
  padding: 5rem 25vw 5rem 25vw;
  margin-bottom: 3rem;
  margin-top: 5rem;
  color: white;
}

#stand-head {
  color: white;
}

.standout-txt {
  font-family: "FormaBannerBold";
  letter-spacing: 1px;
  font-size: 25px;
}

.highlight {
  font-family: "FormaBannerBold";
  letter-spacing: 0.75px;
  font-size: 22px;
  color: var(--primary-color);
}

.project-img-margin {
  margin: 2rem 15vw 2rem 15vw;
}

#full-width {
  margin: 2rem 5vw 2rem 5vw;
}

.process-img {
  max-width: 100%;
  border-radius: 1rem;
}

.embed-vid {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px
}

.embed-vid iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.embed-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px
}

.embed-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.mobile-mock-text {
  display: flex;
}

.mobile-screen {
  min-width: 10rem;
  margin-right: 3rem;
}

.mobile-text {
  align-content: flex-end;
}

.reflection {
  font-size: 1rem;
}

/* .proj-intro-img{
  width: 70rem;
  height: 30rem;
  margin-left: 15rem;
  margin-right: 15rem;
}

.proj-intro-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
} */

#no-round {
  border-radius: 0;
}

#AgeWell {
  background-image: url('../images/iso-phonesmockup_agewell.png'); /* Replace with your image path */
}

#EternalDusk {
  background-image: url('../images/EternalDusk.jpg'); /* Replace with your image path */
}

#LaBatie {
  background-image: url('../images/LaBatie-MainMockup.png');
  background-size: cover; /* Ensures the image covers the entire area */
}

#Hemmings {
  background-image: url('../images/HemmingsMockup.png');
  background-size: cover; /* Ensures the image covers the entire area */
}

#below-img {
  margin-top: 4rem;
}

#standout-img {
  margin-top: 1rem;
}

/* delete this after */
.end-space {
  margin-top: 5rem;
}

/* ------------- CSS Styling specifically for the Sandbox Page ------------- */
.sand-page {
  min-height: 100%;
  margin-top: 6rem;
  margin-left: 7rem;
  margin-right: 7rem;
}

.sandbox-title {
  font-family: "FormaBannerBold";
  margin-bottom: -1rem;
  color: var(--text-light);
}

.three-img, .two-img{
  display: flex;
  /* margin-top: 6rem; */
}

.img-1 {
  max-width: 40rem;
  padding: 0 1rem 1rem 0;
  max-height: 30rem;
  flex: 3;
}

.img-1 img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.img-2 {
  max-width: 40rem;
  padding: 0 1rem 1rem 0;
  max-height: 30rem;
  flex: 2;
}

.img-2 img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.img-3 {
  max-width: 60rem;
  padding: 0 1rem 1rem 0;
  max-height: 30rem;
  flex: 2;
}

.img-3 img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.end-txt {
  color: var(--primary-color);
  margin-bottom: 7rem;
  margin-top: 4rem;
  /* font-size: 1.5rem; */
  text-align: center;
  text-underline-offset: 15px;
}



/* ------------- CSS Styling specifically for the About Page ------------- */
.about-content {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 95vh; /* Ensures body takes full viewport height */
}

.about-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: baseline;
  max-width: 60%;
  margin-bottom: 1rem;
  padding-top: 100px;
}

.about-img {
  max-width: 90%;
  border-radius: 8px;
  /* height: auto; */
  /* display: block; */
}

.about {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* text-align: center; */
  /* margin: 1rem 25vw 1rem 25vw; */
}

.about-txt {
  margin: .5rem 25vw 0rem 25vw;
}

.about-title{
  font-family: "FormaBannerBold";
  color: var(--text-light);
  margin-bottom: -0.5rem;
  text-align: center;
  margin: 6rem 25vw 1rem 25vw;

}

.connect-txt {
  color: var(--primary-color);
  margin-bottom: 7rem;
  margin-top: 9rem;
  font-size: 1.5rem;
  text-align: center;
  text-underline-offset: 15px;
}

/* ------------- CSS Styling specifially for the site footer ------------- */
footer{
 display: flex;
 margin-top: auto;
 color: var(--text-light);
 font-family: 'FormaText';
}

.footer-container-links{
  font-weight: 100;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  align-items: baseline;
  text-align: left;
  flex-wrap: wrap;
  flex: 1;
  margin-top: auto;
  font-family: 'FormaText';
}

.footer-container-text {
  font-family: 'FormaText';
  font-weight: 100;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  align-items: baseline;
  text-align: center;
  flex-wrap: wrap;
  flex: 2;
  margin-top: auto;
  margin-bottom: 0;
}

.footer-container-copy {
  font-weight: 100;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  align-items: right;
  text-align: right;
  flex-wrap: wrap;
  flex: 1;
  margin-top: auto;
  font-family: 'FormaText';
}

#linkedin, #email {
  margin-right: 0.5rem;
}

/* ------------- CSS Styling specifially for Mobile Breakpoitns ------------- */
/* Styles for screens narrower than 768px (e.g., tablets and mobiles) */
@media (max-width: 767px) {
    body {
        font-size: 12px;
    }
}

/* Styles for screens narrower than 480px (e.g., small mobile devices) */
@media (max-width: 500px) {
  body {
    text-align: left;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  header {
    width: 100vw;
    padding-right: 0rem;
    padding-left: 0rem;
  }
  h1{
    font-size: 1.75rem;
  }
  nav {

  }
  .button {
    /* if anything needs to be changed add here */
  }
  .title{ /* needed for the nav spacinge */
    flex: 1;
    flex-wrap: nowrap;
  }
  /* nav bar spacing */
  .main-nav {
    flex: 1;
    margin-right: 1.5rem;
  }
  /* ------------- CSS Styling specifially for the Home Page on mobile ------------- */
  /* make the scrolling text go off the screen */
  .main-cont{
    margin-left: 0;
    margin-right: 0;
  }
  /* intro text size and position */
  .home-name {
    /* margin-top: 30vh; */
    font-size: 1.9rem;
    /* align-content: flex-end; */
  }
  .intro-txt {
    font-size: 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .web-br {
  display: none;
  }
  .mobile-br {
  display: inline;
  }
  .projects-section {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 4rem;
  }
  .projects-title {
    margin-top: 0.5rem;
  }
  .project-grid {
      grid-template-columns: repeat(1, 1fr);
      gap: 2rem;
  }
  .project-info {
    border-radius: 10px 0px 50px 0px;
    padding-top: 0.75rem;
  }
  .project-tags {
    font-size: 7pt;
  }
  .tag{
    margin-top: -0.25rem;
  }

  /* ------------- CSS Styling specifically for the Projects Page on mobile------------- */
  .hero-section {
    height: 60vh; /* Adjust height as needed */
    width: 100vw;
    margin-left: -1rem;
    margin-right: 0;
  }

  .bottom-overlay {
    width: 100vw;
    border-radius: 20px 0px 0px 0px;
  }

  /* ------------- CSS Styling specifically for the About Page on mobile ------------- */
  .about-img-container {
    display: flex;
    max-width: 90%;
    margin-bottom: 0;
    margin-top: 0;
  }

  .about-img {
    max-width: 90%;
    border-radius: 8px;
  }

  .about-txt {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 0;
  }

  .about-title{
    margin-bottom: 0;
  }

  .facts-list-parent {
    margin-left: -1rem;
    margin-right: 1rem;
  }

  /* ------------- CSS Styling specifially for the site footer on mobile------------- */
  .footer-container-text {
    display: none;
  }
}
