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

@font-face {
  font-family: 'HersheyFuturaTriplex';
  src: url('fonts/Hershey-Noailles-Futura-Triplex-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'garamondt';
  src: url('./fonts/Garamondt-Italic.woff') format('woff');
  font-style: italic;
  font-weight: normal;
}


@font-face {
  font-family: 'HersheyOldFrench';
  src: url('fonts/Hershey-Noailles-OldFrench-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* second font face*/
@font-face {
  font-family: 'HoverFont';
  src: url('fonts/Hershey-Noailles-Times-Triplex-Italic-Bold.otf') format('opentype'); /* Replace with actual font */
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Anthony';
  src: url('fonts/Anthony.woff') format('opentype'); 
  font-weight: normal;
  font-style: normal;
}
/* STYLING THE PARAGRAPHS*/


.garamondt {
  font-family: 'Garamondt', serif;
  font-weight: bold;
  font-style: normal;
  font-size: 23pt;
  color: rgb(255, 255, 255);
  -webkit-text-stroke-width: 0.1pt;
  -webkit-text-stroke-color: rgb(75, 6, 6) ;
  text-shadow: 0 0 4px rgb(0, 208, 255);
}


.garamondt2 {
  font-family: 'Garamondt', serif;
  font-weight: bold;
  font-style: normal;
  color: rgb(255, 255, 255);
  -webkit-text-stroke-width: 0.1pt;
  -webkit-text-stroke-color: rgb(12, 6, 75) ;
  text-shadow: 0 0 4px rgb(255, 0, 0);
}


.garamondt-h1 {
  font-family: 'Garamondt', serif;
  font-weight: bold;
  font-style: normal;
  color: rgb(255, 255, 255);
  -webkit-text-stroke-width: 0.1pt;
  -webkit-text-stroke-color: rgb(75, 6, 6) ;
  text-shadow: 0 0 4px rgb(0, 208, 255);
  font-size: 50pt;
}

.garamondt-subtitles {
  font-family: 'Garamondt', serif;
  font-weight: bold;
  font-style: normal;
  color: rgb(255, 255, 255);
  -webkit-text-stroke-width: 0.1pt;
  -webkit-text-stroke-color: rgb(75, 6, 6);
  text-shadow: 0 0 4px rgb(0, 208, 255);
  font-size: 25pt;
  text-align: middle !important;
  display: inline-block;
  margin: 0;
}

.parent-container {
  text-align: left !important;
}



body {
  display: flex;
  font-family: 'HersheyOldFrench', sans-serif;
  font-weight: normal;
  font-style: normal;
}




/* <!--------  SIDEBAR -----------------------------------------------------------------------------> */


.sidebar {
  position: fixed;         
  top: 0;                 
  left: 0;               
  width: 240px;
  height: 100vh;         
  background: linear-gradient(to right, rgb(1, 33, 63), rgb(226, 238, 255), rgb(1, 33, 63));
  border-right: 2px solid black;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow-y: auto;        
  z-index: 1000;
  box-shadow: 0 0 20px 5px rgba(255, 0, 247, 0.7);      
}

.sidebar-arrow {
  font-family: 'garamondt-regular';
  font-size: 60px;           
  color: black;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-arrow:hover {
  color: #ff00ee;
  transform: scale(1.3);
  -webkit-text-stroke: #000;
  -webkit-text-stroke-width: 0.8pt;
  text-shadow: 0 0 8px #04ff00;
}


.nav-links-horizontal {
  display: flex;             
  gap: 20px;                 
  justify-content: center;   
  margin-top: 60pt;   
}




.logo {
  position: relative;
  display: inline-block;
  font-family: 'Anthony';
  font-size: 35px;
  font-weight: normal;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-text-stroke: 1.5px #000;
  color: rgb(0, 0, 0); 
  text-align: justify;
  hyphens: auto;
  text-shadow: 
  0 0 1px rgba(255, 247, 0, 0), 
  0 0 6px rgb(255, 0, 238),
   0 0 10px rgb(255, 255, 0);
  transition: transform 0.25s cubic-bezier(0.25, 1.25, 0.5, 1.0);
}

/* Shrink on click */
.logo:active {
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 5px; 
  margin-top: 30pt;
  margin-bottom: 30pt;
  height:20px;
  width:20px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 22px;
  transition: color 0.3s ease, padding-left 0.2s ease;
  margin-bottom: 20pt;
}

.nav-links a:hover,
.jump-links a:hover {
  color: #FF1F00; 
  padding-left: 8px;
}


.buttons {
  margin: 10px 0;
  margin-bottom: 20pt;
   margin-top: 10pt;

}

/* color change for buttons */
@keyframes flicker-colors {
  0%   { background-color: #FF1F00; }
  25%  { background-color: #FFD700; }
  50%  { background-color: #00FFFF; }
  75%  { background-color: #FF69B4; }
  100% { background-color: #FF1F00; }
}

@font-face {
  font-family: 'HersheyTriplexFutura';
  src: url('fonts/Hershey-Noailles-Futura-Triplex-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* <!-------- BUTTONS -----------------------------------------------------------------------------> */






button {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background-color: rgba(79, 49, 49, 0);
  border: 0.01px solid black;
  border-radius: 12px; 
  cursor: pointer;
  font-size: 22px;
  position: relative;
  box-shadow: 0 0 10px 5px rgba(0, 255, 17, 0.7);
  color: black;
  transition: background-color 0.3s ease, color 0.3s ease;
 -webkit-text-stroke-width: 1pt;
  font-family: 'HersheyTriplexFutura', sans-serif;
}



/* Underline animation */
button::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 20px;
  height: 2px;
  width: 0;
  background-color: #FF1F00;
  transition: width 0.3s ease;
}

/* Code button hover */
button.code-btn:hover {
  color: black;
  animation: flicker-colors 1s infinite;
}

button.code-btn:hover::after {
  background-color: black;
  width: calc(100% - 40px);
}

/* Donate button hover */
button.donate-btn:hover {
  color: black;
  animation: flicker-colors 1s infinite;
}

button.donate-btn:hover::after {
  background-color: black;
  width: calc(100% - 40px);
}











/* <!-------- PORTFOLIO MENU -----------------------------------------------------------------------------> */





/*PORTFOLIO 25*/

a{
  text-decoration: none;
  color: rgb(0, 0, 0);
}

a:visited{
  text-decoration: none;
  color: black;
}

.menuContainer{
  z-index: 3000;
  position: fixed;
  right: 80px;
  height:30px;
  border: 0px solid black;
  margin-top: 6px;
  font-family: 'menu-Regular', 'HersheyTriplexFutura';
  font-size: 22px;
  text-align: center;
  background-color: white;
      text-shadow: 
  0 0 1px rgba(255, 247, 0, 0), 
  0 0 6px rgb(255, 0, 238),
   0 0 10px rgb(255, 255, 0);
    -webkit-text-stroke-width: 1pt;
}

.menuEntree{
  width:30px;
  height:inherit;
  display:inline-block;
  border-left: 1px solid black;
  border-top: 1px solid black;
  border-right: 0px;
  border-bottom: 1px solid black;
  margin:0px;
  padding:0px;
  background-color: white;
}

.menuEntreeLast{
  width:30px;
  height:inherit;
  display:inline-block;
  border-left: 1px solid black;
  border-top: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  margin:0px;
  padding:0px;
  background-color: white;
}

.menuEntree p, .menuEntreeLast p{
  width:30px;
  height:30px;
    padding-top: 4px;
}

#actif{
  background-color: rgb(255, 0, 208);
}

#actif a{
  color: white;
}

.menuEntree:hover, .menuEntreeLast:hover, .boutonEnglobe:hover{
  animation: colorchange 0.5s;
  -webkit-animation-iteration-count: infinite;
  cursor: pointer;
}

/*menu*/

/*animations*/

@keyframes colorchange{
  0%   {background: red;}
  25%  {background: yellow;}
  50%  {background: blue;}
  75%  {background: green;}
  100% {background: red;}
}

@keyframes colorchange-text{
  0%   {color: red;}
  25%  {color: yellow;}
  50%  {color: blue;}
  75%  {color: green;}
  100% {color: red;}
}





/* <!-------- END OF PORTFOLIO MENU -----------------------------------------------------------------------------> */











/* <!-------- POPUPS OF BUTTONS -----------------------------------------------------------------------------> */


/*BEGINNING OF WINDOW POPUP ABOUT*/

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-overlay img {
  width: 50px;       
  height: auto;      /* maintain aspect ratio */
  display: block;    /* stack vertically */
  margin: 10px 0 0 0; /* vertical spacing, aligned left */
   opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay[style*="display: flex"] {
  opacity: 1;
}


/* Popup Modal Box */
.modal { 
  background: linear-gradient(to bottom, rgba(38, 255, 0, 0.439), rgb(226, 238, 255), rgba(38, 255, 0, 0.439));
  padding: 40px;
  border: 2px solid black;
  width: 500px;
  max-width: 90%;
  font-family: 'HersheyTriplexFutura', sans-serif;
  font-size: 20px;
  color: black;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  text-align: left;
  border-radius: 12px;
  -webkit-text-stroke: 1pt black;
  text-shadow: 
  0 0 1px rgba(255, 247, 0, 0), 
  0 0 6px rgb(255, 0, 238),
   0 0 10px rgb(255, 255, 0); ;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: black;
  transition: transform 0.1s ease; 
}

.close-btn:active {
  transform: scale(0.9); 
}


/* Title Styling */
.popup-title {
  font-size: 40px;
  font-weight: normal;
  margin-bottom: 20px;
  font-family: 'Anthony';
  text-align: center;
}

/*END OF WINDOW POPUP ABOUT*/

/*BEGINING OF WINDOW POPUP CONTACT*/
.contactPopup {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: center;    /* Center horizontally */
  justify-content: flex-start; /* Align items from top */
  z-index: 1000;
  background: transparent;
}

.contact-links a {
  display: inline-block;
  transition: transform 0.3s ease;
 font-family: 'HersheyTriplexFutura', sans-serif;
   font-size: 20pt;
}

.contact-links a:hover {
  transform: scale(1.1);
}


.contactPopup p {
  margin-top: 10px;
  text-align: center;
}


/*END OF WINDOW POPUP CONTACT*/







.grow-image {
  transition: transform 0.3s ease; /* smooth scaling */
  display: inline-block; /* ensure transform works properly */
}

.grow-image:hover {
  transform: scale(1.2); /* grows 20% on hover */
}
.nav-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  transform: scale(1.2);
}









/*END OF SIDEBAR STYLE*/

.project-section {
  display: flex;            /* Side-by-side layout */
  gap: 40px;                /* Space between columns */
  padding: 40px 10px;
  width: calc(100% - 80px); /* Adjust for padding/margin */
  margin-left: 300px;     /* align with sidebar */
}

.project-text{
 font-size: 17pt;
}

/* Right column: gallery */
.project-gallery {
  display: flex;
  flex-direction: column;  
  align-items: center;      
  gap:20px;
  width: 100%;
}

.project-media {
  display: flex;
  flex-direction: column;  
  align-items: center;      
  width: 100%;
  max-width: 800px;
}

.project-image img {
  width: 100%;
  height: auto;
  margin-bottom: 50px;
  padding-bottom: 80px;
   margin-top: 30px;  
}

.shirts {
  display: flex;
  flex-direction: row;   /* changed from column to row */
  justify-content: center;  /* centers the images horizontally */
  align-items: flex-start;  /* aligns them at the top */
  width: 100%;
  padding-bottom: 100px;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  gap:10px;
}

.shirts img {
  width: auto;          /* let image use its natural width */
  max-width: 100%;      /* don't overflow the container */
  height: auto;
}


  .project-text h1 {
  padding-bottom: 0.5em;
  font-family: 'HersheyOldFrench';
  font-size: 3em;
  letter-spacing: 0.5px;
  color: #1f1828;
  text-shadow: none;
   margin-top: 30px;
   hyphens: auto;  
}



/* <!--------  MENU TOGGLE (STAR) -----------------------------------------------------------------------------> */


.sidebar {
  width: 240px;
  height: 240vh;
  background-color: #F1FF00;
  border-right: 2px solid black;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: transform 0.3s ease;
}

/*  menu at the bottom-left */
.menu-toggle {
  display: none;
  position: fixed;
  bottom: 10px;   /* position from the bottom */
  left: 20px;     /* position from the left */
  color: #000000;
  background-color: #f2ff001a; /* optional background for contrast */
  padding: 10px;
  cursor: pointer;
  z-index: 10000;
  text-align: center;

  /* Shadow */
  box-shadow: 0px 0px 5px yellow;  
  border: 2px solid black;         
  border-radius: 4px;               
}





/* ----------------------------------------- */
/* 📱 Responsive Layout for Screens < 700px  */
/* ----------------------------------------- */
@media screen and (max-width: 700px) {

    .menuContainer {
    display: none !important;
  }


  /* Make body a centered column */
  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
  }

  /* Project section centered */
  .project-section {
    display: flex;
    flex-direction: column;
    align-items: center;     /* center horizontally */
    justify-content: center; /* center vertically if needed */
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
  }

  /* Text content centered */
  .project-text {
    width: 90%;
    font-size: 16pt;
    text-align: justify;
    hyphens: auto;
  }

  .project-text h1 {
    width: 100%;
    font-size: 36pt;
    text-align: center;
    margin-top:3em;
    hyphens: auto;
  }

  /* Center gallery */
  .project-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .project-media img,
  .project-media video {
    width: 90%;
    height: auto;
    margin: 10px 0;
  }

  /* Shirts layout in a single column */
  .shirts {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
  }

  .shirts img {
    width: 80%;
    height: auto;
  }

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* even spacing */
    background: linear-gradient(
      to bottom,
      rgb(1, 33, 63),
      rgb(226, 238, 255),
      rgb(1, 33, 63)
    );
    box-shadow: 0 4px 12px rgba(4, 255, 0, 0.311);
    border-bottom: 2px solid black;
    border-right: none;
    padding: 5px 0;
    overflow-x: auto;
  }

  /* Hide scrollbar in mobile */
  .sidebar::-webkit-scrollbar {
    display: none;
  }

  /* Adjust logo */
  .logo {
    font-size: 35px;
    padding-left: 2pt;
  }

  /* Make nav links horizontal */
  .nav-links {
    flex-direction: row;
    gap: 10px;
    margin: 0;
  }

  .nav-links a {
    font-size: 18px;
    margin: 0;
  }

  /* Stack buttons vertically */
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0px;
      padding-right: 7pt;
  }

  /* Full-width buttons */
  button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    text-align: center;
  }


  .popup-overlay {
  position: fixed;        /* already fixed, keep it */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;          /* controlled by JS */
  justify-content: center;
  align-items: center;
  z-index: 10001;         /* higher than sidebar's 9999 */
  background: rgba(0, 0, 0, 0.4); /* optional semi-transparent overlay */
}


  /* Popups */
  .modal {
    width: 90%;
    max-width: 500px;
    font-size: 16px;
    z-index: 1000;
  }

  .modal h1 {
    font-size: 40px;
  }


 .project-text h1{
    text-align: center;
  hyphens: auto;
  font-size: 40pt;
  margin-top:4em;
}

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

}

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

  /* -------------------- Custom Fonts -------------------- */
@font-face {
  font-family: 'Garamondt';
  src: url('./fonts/Garamondt-Italic.woff') format('woff');
  font-style: italic;
  font-weight: normal;
}

/* -------------------- Garamondt Text -------------------- */
.garamondt {
  font-family: 'Garamondt', serif;
  font-weight: normal;       
  font-style: italic;        
  font-size: 18pt;
  color: #ffffff;            
  -webkit-text-stroke-width: 0.1pt;
  -webkit-text-stroke-color: rgb(75, 6, 6);
  text-shadow: 0 0 4px rgb(0, 208, 255);
}


/* Ensure child spans inherit color */
.project-text .garamondt {
  color: #ffffff;
}
}


