*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* VARIABLES */
:root{
  --background-color: #ffffff;
  --font-main: "Epilogue", sans-serif;
  --font-heading: "DM Serif Display", serif;
}

html, body, figure, main{ 
  margin: 0;
  padding: 0;
  font-family: var(--font-main);

}

main{
  background-color: rgb(255, 255, 255);
}

/* FONT STYLES */

h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 600;
}

h1{
  font-size: clamp(40px, 6vw, 50px);
  line-height: normal;
  font-weight: 600;
}


h2{
  font-size: clamp(35px, 5vw, 42px);
  line-height: normal;
  letter-spacing: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

h3 {
  font-size: clamp(28px, 2vw, 32px);
  line-height: normal;
  letter-spacing: 0;
  margin-bottom: 12px;
  color:#000000;
  font-weight: 500;
}

h4 {
  font-size: clamp(22px, 1vw, 28px);
  line-height: normal;
  letter-spacing: 0;
  margin-bottom: 10px;
  color:#5b5b5b;
  font-weight: 500;
}


a{
  text-decoration: none;
}

p{
  font-size: 18px;
  line-height: 24px;
}

p.intro{
font-size: 18px;
line-height: 24px;
color: #000000;
letter-spacing: 0;


}

p.about{
  margin-bottom: 25px;
}

.center-text{
  text-align: center;
}


nav {
  position: fixed;
  width: 100%;
  /* max-width: 1600px; */
  height: 100px;
  top: 0;
  left: 50%; /* Start positioning from the middle */
  transform: translateX(-50%); /* Center the nav by shifting it left by half its width */
  display: flex;
  align-items: center;
  padding: 0px 30px;
  background-color: #fcfcfc; /* Assuming a background color */
  z-index: 1;
}

nav ul {
  font-size: 16px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

li.nav {
  margin-right: 30px;
}

#last {
  margin-right: 0px;
}

li a {
  font-size: 14px;
  letter-spacing: 0.54px;
  line-height: 18px;
  color: #000000;
}

li.nav a:hover{ 
  text-decoration: underline;
}

.active{
  text-decoration: underline;
}





img#logo {
  width: 100px;
  display: flex;
  align-items: center;
}

button.primary{
  padding: 12px 20px 10px 20px;
  font-size: 14px;
  background-color: #3e3e3e;
  border: #3e3e3e solid 1px;
  color: white;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  margin-top: 20px;
}

 button.primary:hover{
  background-color: #000000;
 }

button.secondary{
  padding: 12px 20px 10px 20px;
  font-size: 14px;
  font-family: var(--font-main);
  cursor: pointer;
  border: none;
  background-color: #ffffff;
  color: #3e3e3e;
  border: #3e3e3e solid 1px;
  margin: 20px 0px 0px 20px;
}

button.secondary:hover{
  background-color: #0000003e;
 }
/* Home Page Images */

figure.home-page{
  width: 50%;
  overflow: hidden;
  padding: 0px 0px 30px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

img.featured-project-image {
  width: auto;
  height: 100%;
  object-position: center;
}

/* SECTION STYLING */

section {
  position: relative;
  top: 100px;
  /* background-image: linear-gradient(180deg, #FFFFFF 0%, #D9D9D9 51%, #FFFFFF 100%); */
  
}

section.sticky {
  position: sticky;
  margin-top: 100px;
}

/* CONTACT FOOTER */
section.full-screen {
  height: 100vh;
  margin-top: 0;
  z-index: 3;
}

#cta{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(images/background-img.jpg);
  background-color: #6e0049;
  background-blend-mode: multiply;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

div.cta-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#footer-credits {
  height: auto;
  width: 100%;
  text-align: center;
  
}

p#contact{
  color: #fcfcfc;
  font-weight: 300;
  padding-bottom: 10px;
}

p.footer{
  color: #cecece;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: .25px;
  margin-bottom: 3px;
}

p.footer-credits{
  font-size: 10px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cecece;
  
}



#contact a{
  font-family: var(--font-heading);
  color: rgb(255, 255, 255) ;
  font-size: 5vw;
  transition: color 2s;
  font-size: 6.5vw;
}

div#footer-credits{
  padding: 15px;
  width: 100%;
  margin: 0 auto;
  background-color: #0b0b0b;
  
}

p#site-by{
  margin-bottom: 10px;
  font-size: 14px;
}




article{
  background-color: var(--background-color);
  display: flex;
  height: calc(100vh - 100px);
  /* border: black solid 1px; */
}





div.text {
  width: 50%;
  padding: 100px;
}

.tag-bank {
margin-bottom: 15px;
}

.tag{
  text-transform:lowercase;
  font-size: 12px;
  line-height: 10px;
  font-weight: 300;
  letter-spacing: .5px;
  background-color: rgb(242, 242, 242);
  width: max-content;
  padding: 8px 10px 6px 10px;
  border-radius: 20px;
  margin: 0px 3px 8px 0px;
  display: inline-block;
  border: #cbcbcb .5px solid;
}


/* CASE STUDY SECTIONS */


section.project {
  padding: 0px 30px;
}

figure.project-page{
  width: 100%;
  overflow: hidden;
  padding: 100px 30px 100px 30px;
}

img.reg-project-image,
video.reg-project-image{
  width: 100%;
  height: auto;
  object-fit: cover;
}

figure.project-page.header{
  width: 100%;
  overflow: hidden;
  padding: 0px 30px 0px 30px;
}


figcaption{
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #424242;
}

div.project-content{
  margin-top: 100px;
}




/* ABOUT SECTION */

section.about article{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}



.title {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  justify-content: center;
  text-align: center;
  background: #6e0049;
  width: 33%;
  position: relative;
  overflow: hidden; /* Ensures that child elements don't overflow */
  box-shadow: inset 0px 0px 70px #000000d0;
}

section.about article .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 300%;
  transition: transform 0.3s ease-in-out, background-size 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 1;
}

article#title-tiles{
  margin: 0px;
  height: calc(100vh - 100px);
}

div#artist, 
div#developer   {
 border-top: #FFFFFF solid 0px;
 border-left: #FFFFFF solid 30px;
 border-right: #FFFFFF solid 30px;
 border-bottom: #FFFFFF solid 30px;
}
 
div#developer   {
 border-top: #FFFFFF solid 0px;
 border-right: #FFFFFF solid 30px;
 border-left: #FFFFFF solid 30px;
 border-bottom: #FFFFFF solid 30px;
}

div#designer {
  border-bottom: #FFFFFF solid 30px;
}



section.about article #artist .bg-image {
  background-image: url("images/background-img.jpg");
  background-color: #6e0049;
  background-position: left;
  background-blend-mode: multiply;
  opacity: 100%;
}

section.about article #designer .bg-image {
  background-image: url("images/background-img.jpg");
  background-color: #6e0049;
  background-position: center;
  background-blend-mode: multiply;
  opacity: 100%;

}

section.about article #developer .bg-image {
  background-image: url("images/background-img.jpg");
  background-color: #6e0049;
  background-position: right;
  background-blend-mode: multiply;
  opacity: 100%;
}

h1.editorial {
  font-family: var(--font-heading);
  font-size: 80px;
  color: var(--background-color);
  font-weight: 400;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Adds smooth transition to h1 */
  position: relative; /* Positions it relative to the parent */
  /* z-index: 1;  */
}


p.editorial { /* intial state */
  color: var(--background-color);
  font-size: 18px;
  font-weight: 300;
  
  /* starting slightly downwards and invsible */
  opacity: 0;
  transform: translateY(10px); 
  
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: relative;
  /* z-index: 1; */
  margin: 15px;
  text-align: center;
}


/* Hover effects */

section.about article .title:hover .bg-image { 
  opacity: 0.5; 
}

section.about article .title:hover p.editorial {
  opacity: 1; 
  transform: translateY(0); /* moving into original position */
}

section.about article .title:hover h1.editorial {
  transform: translateY(-20px);
}


section.about article .title:hover h1.editorial.about {
  transform: translateY(0px);
}

/* LOADING ANIMATION */

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('images/background-img.jpg') no-repeat center center;
  background-size: cover;
  background-color: #6e0049;
  background-blend-mode: multiply;
  font-family: serif;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100; /* Ensure it appears on top */
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
  transform: scale(1);
}

.loading-text {
  font-size: 4vw;
  color: white;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
  opacity: 1;
  transition: opacity 1s ease-out;
  font-family: var(--font-heading);
}

/* Fade-out and shrink effect for the loader */
.fade-out {
  opacity: 0;
  transform: scale(1); /* Shrink the image */
}

/* Hide the loader completely after the animation */
.hide-loader {
  display: none; /* Completely hide loader after fade-out */
}

/* Hide main content initially */
main {
  opacity: 1;
  transition: opacity 1s ease-in;
}

/* Show main content once the loader finishes */
.show-main {
  opacity: 1;
}




/* DEEPER LEVEL PAGES */

/* CASE STUDY */


figure.project-image{
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: 30px;
  
}


div.project-intro {
  padding: 55px;
  display: flex;
  background-color: #fcfcfc;
}

div.left-column, div.right-column{
  width: 50%;
  padding: 45px;
}

div.credits{
  margin-top: 100px;
  border-top: 1px solid #5b5b5b;
  padding-top: 35px;
}

p.credits{
  text-transform:uppercase ;
  letter-spacing: .6px;
  font-size: 15px;
  line-height: 17px;
  margin-bottom: 8px;
}


/* ABOUT ME */

/* header */
article#about-me{
  height: 450px;
  margin-bottom: 150px;
}



/* value statement */

div.about-content{
  display: flex;
  flex-direction: row;
}


div.value-statement{
  align-items: center;
  justify-content: center;
  padding: 5%;
  width: 50%;
}

div.context{
  width: 50%;
  padding: 5%;
}

p.statement{
  font-size: 2.2em;
  color: #000000;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 42px;
  display: inline;
 }

 .highlight {
  display: inline;
  background-color: #e6e6e6;
  border-radius: 100px;
  padding: 0px 10px;
 }

 /* VENN DIAGRAM */

#graphic {
  background-color: #f9f9f9; /* Background color for the entire section */
  width: calc(100% - 60px); /* Reduce the width by 60px (30px on each side) */
  padding: 20px 0; /* 20px top/bottom padding, no left/right padding */
  box-sizing: border-box; /* Ensures padding is included in the width */
  margin: auto; /* Center the container */
  display: flex;
  justify-content: center;
  align-items: center;
}

.venn-diagram {
  position: relative;
  width: 100%;
  max-width: 800px; /* Limit the Venn diagram to 800px width */
  max-height: 800px; /* Limit the height to 800px */
  aspect-ratio: 1/1; /* Maintain a square aspect ratio */
  margin: auto; /* Centers the Venn diagram */
  background-color: #f9f9f9; /* Background color of the Venn diagram */
}

.circle {
  position: absolute;
  width: 45%; /* Relative size for circles */
  height: 45%;
  border-radius: 50%;
  border: black 1px solid;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.circle span {
  font-size: 2.5vw; /* Responsive font size */
  font-weight: bold;
  color: black;
  font-family: sans-serif;
}

#art {
  padding-bottom: 15%;
  padding-right: 30%;
}

#design {
  padding-bottom: 15%;
  padding-left: 30%;
}

#development {
  padding-top: 30%;
}

/* Individual circle styles */
.circle1 {
  top: 15%;
  left: 15%;
}

.circle2 {
  top: 15%;
  left: 40%;
}

.circle3 {
  top: 40%;
  left: 28%;
}

/* Intersection area */
.intersection {
  position: absolute;
  width: 20%; /* Responsive size */
  height: 20%;
  top: 40.15%; /* Adjusted for better alignment */
  left: 40.6%; /* Adjusted for better alignment */
  border-radius: 50%;
  z-index: 1;
}

/* Style the image */
.intersection img {
  height: 81%;
  object-fit: cover;
  opacity: 0; /* Hide initially */
  transition: opacity 0.3s ease;
}

/* Show the image on hover */
.intersection:hover img {
  opacity: 1;
}


/* Art Gallery */

/* Basic styling for gallery layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px;
}

.gallery-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-image {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(255, 255, 255);
  /* background-image: url(images/grid.png); */
  background-repeat: repeat;
  background-size: 50%;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  height: auto;
}

#caption {
  text-align: center;
  padding: 10px;
  color: #000000;
  font-family: var(--font-main);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;

}

.close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: rgb(0, 0, 0);
  font-size: 35px;
  font-weight:500;
  cursor: pointer;
}

.close:hover, .close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

div.skills{
  background-color: #e6e6e6;
  display: flex;
}

div#skills{
  width: 50%;
  padding: 5%;
}

div.skill-set{
  background-color:#f9f9f9;
  border: #ffffff solid 5px;
 
  width: 50%;
  padding: 30px;
}

li.skill{
  margin-bottom: 5px;
}


/* RESPONSIVE */

@media (min-width: 1600px) {
  
  /* main {
    margin:  auto;
    max-width: 1600px;
  } */

  

  body{
    background-color: #e5e5e5;
  }

  main, nav, footer{
    border-right: #6e0049 1px solid;
    border-left: #6e0049 1px solid;
  }

  #contact a{
    font-size: clamp(100px, 10.5vw, 110px);
  }

  .circle span {
    font-size: 1.5vw;
  }

  div.text {
    padding: 200px;
  }
}

@media only screen and (max-width:1280px){
  h1.editorial{
    font-size: clamp(55px, 6vw, 75px); /* Scales fluidly between 1280px and 1024px */
  }
  
}


@media only screen and (max-width:1024px){
  
  /* home page - about me */
  
  h1.editorial{
    font-size: clamp(50px, 1vw, 90px); 
    line-height: 45px;
  }

  p.editorial{
    line-height: 18px;
  }
  
  section.about article{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0px 0px 30px 0px;
  }

  div.title, div.text {
    width: 100%;
  }

  div.text{
    padding: 55px;
  }
  
  article{
    flex-direction: column;
  }

  article#about-me{
    height: 350px;
    margin-bottom: 80px;
  }

  figure.home-page{
    width: 100%;
    height: 50%;
  }

  img.featured-project-image{
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }

  img.featured-project-image{
    transform: scale(1);
  }

  article#title-tiles{
    margin: 0px;
    height: calc(100vh - 70px);
  }
  

  div#artist, 
  div#developer   {
  border: #FFFFFF solid 20px;
  }

  div#designer {
    border-top: #FFFFFF solid 0px;
    border-bottom: #FFFFFF solid 0px;
    border-left: #FFFFFF solid 20px;
    border-right: #FFFFFF solid 20px;
  }

  section.project {
    padding: 0px 20px;
  }

  
  /* changing title image positions */

  section.about article #artist .bg-image{
    background-position: top;
    background-size: 400%;
  }

  section.about article #designer .bg-image{
    background-position: center;
    background-size: 400%;
  }

  section.about article #developer .bg-image{
    background-position: bottom;
    background-size: 400%;
  }

  p.editorial { /* intial state */
    opacity: 100;
    font-size: 14px;
    transform: translateY(0px); 
  }

  /* adjusting image size */

  section.about article .bg-image {
      background-size: 140%;
  }

  
  /* home page - projects */

  div.text{
    padding: 40px;
  }

  /* about me */

  div.about-content{
    flex-direction: column;
    padding: 3%;
  }

  div.value-statement{
    width: 100%;
    order: 1;
    padding: 3%;
  }

  div.context{
    width: 100%;
    order: 2;
    padding: 3%;
  }

  div#skills{
    width: 100%;
    padding: 3%;
    order: 2;
  }

  div.skill-set{
    width: 100%;
  }

  /* case studies */

  div.project-intro{
    flex-direction: column;
    padding: 0%;
  }

  div.left-column{
    width: 100%;
    padding: 30px 30px 10px 30px;
  }

  div.right-column{
    width: 100%;
    padding: 0px 30px 10px 30px;
  }

  figure.project-page{
    padding: 30px;
  }

  div.credits{
    margin-top: 35px;
  }
  .circle span {
    font-size: 3vw; 
  }

  nav{
    padding: 0px 20px;
  }

  img#logo {
    width: 100px;
    display: flex;
    align-items: center;
  }



  


  }

  @media only screen and (max-width:768px){

    img.featured-project-image{
      width: 100%;
      height: auto;
      transition: transform 0.3s ease;
    }
  
    img.featured-project-image{
      transform: scale(2);
    }
   
  figure.home-page{
    width: 100%;
    height: 50%;
  }

  div.skills{   
    display: block;
  }

  div.skill-set{
    margin: 0px;
  }

  h1 {
    font-size: clamp(32px, 5vw, 40px);
  }

  h2 {
    font-size: clamp(28px, 4vw, 36px);
  }

  h3 {
    font-size: clamp(24px, 3vw, 30px);
  }

  h4 {
    font-size: clamp(20px, 2vw, 26px);
  }

  p.statement{
    font-size: 1.75em;
    line-height: 1.25;
  }

  p.intro{
    font-size: 16px;
    line-height: 1.2;
  }
 
  div.text{
    padding: 20px;
  }

  .tag-bank{
    margin-bottom: 5px;
  }

  

  #graphic{
    width: 100%;
  }


  }





