body{
    font-family: Arial;
    margin:0;
    background: #1D8C5F;
    }
    
    p{  font-family: 'YGO-Title';
      
    }
    
    /* NAV */
    
    nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    background: #2E1A47;
    }
    
    nav ul{
    display:flex;
    gap:20px;
    list-style:none;
    }
    
    nav a{
    text-decoration:none;
    color:#D4AF37;
    }
    
    
    /* HOME */
    
    .home{
    padding:40 20px;
    text-align:center;
    }
    
    .about-text {
      max-width: 800px;
      margin: 0 auto 30px auto; /* Centers the text and adds space ONLY at the bottom */
      color: white;
      font-size: 1.1rem;
      line-height: 1.6;
      text-transform: none; /* Prevents h3 styles from making everything uppercase */
  }


    .button{
    background:#BC1E60;
    color:#CFD9DF;
    padding:10px 20px;
    text-decoration:none;
    }
    
    
    /* ABOUT */
    


    
    .about img{
    width:200px;
    height: 300px;
    }
    
    .shows img{
      width: 180px;           /* Consistent width for all show posters */
      height: 260px;
      object-fit: cover;
      border: 3px solid #2E1A47; /* Pharaoh Purple border */
      border-radius: 10px;
      transition: transform 0.3s;
    }
    
    
    /* WORK */
    
    .work{
    padding:80px;
    background: #1D8C5F;
    }
    
    .project-grid{
      display: grid; /* tells the browser to use a grid layout */
      grid-template-columns: repeat(2, 1fr); /* creates 2 columns of equal width */
      gap: 15px;
      max-width: 800px;  /* This stops the grid from spreading too wide */
  margin: 0 auto; /* adds space between your photos (optional, but looks better) */
    }
    
    .project img{
      width: 100%;
      height: 200px;    /* Force a specific height */
      object-fit: cover; /* Crops the image to fill the box without stretching */
    }
    
    
    /* CONTACT */
    
    .contact{
      background-color: #1D8C5F; /* Spell Green */
      color: white;
      padding: 100px 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;             /* Ensures it takes the full width */
      box-sizing: border-box;
      min-height: 100vh;       /* Makes the section at least as tall as the screen */
    margin: 0;
    }
    
  
    
    input, textarea{
    padding:10px;
    }
    
    button{
    background:black;
    color:white;
    padding:10px;
    border:none;
    }

    .profile{
        height: 100px;
        
    }

    .profile-flex {
      display: flex;
      justify-content: center; /* Centers photo and text horizontally */
      align-items: center;     /* Aligns text vertically with your photo */
      gap: 50px;              /* Creates space between photo and bio */
      max-width: 1000px;
      margin: 40px auto;      /* Centers the whole container on the page */
      padding: 0 20px;
      }
      


      .profile-pic {
        width: 250px;          /* Adjust this size to fit your design */
        height: auto;
        border: 4px solid #2E1A47; /* Pharaoh Purple */
      }
      
      .profile-pic:hover {
        transform: scale(1.05);    /* Slight "pop" forward */
    border-color: #D4AF37;     /* Glows Gold on hover */
    /* OR use border-color: #005CB9; if you want the Ritual Blue glow */
    cursor: pointer;
      }


      /* Fix for mobile: Stacks them back up so it doesn't look squished */
      @media (max-width: 768px) {
        .profile-flex {
          flex-direction: column;
          text-align: center;
        }
      }


      .shows {
        display: flex;
        justify-content: center; /* Centers the images inside the flex box */
        gap: 20px;
        flex-wrap: wrap;
        
        /* THE FIX: These two lines snap the whole group to the center of the screen */
        max-width: 1000px; 
        margin: 0 auto 60px auto;
      }
      
      /* ensure the images don't overflow their grid cells */
      .shows img {
        width: 100%;
        max-width: 200px;  /* Keeps them from getting too huge on big monitors */
        aspect-ratio: 1/1; /* FORCES the square shape */
        object-fit: cover; /* Keeps characters from looking stretched */
        border: 4px solid #2E1A47; /* Pharaoh Purple */
        border-radius: 12px;
        transition: transform 0.3s ease;
      }

      .shows img:hover {
        transform: scale(1.05);  /* Slight "pop" effect on hover */
        border-color: goldenrod;   /* Ritual Blue glow */
    }


      .about p {
        max-width: 700px;    /* Stops the text from spreading across the whole screen */
        margin: 0 auto;      /* Centers the text block */
        line-height: 1.6;    /* Adds space between lines so it's easier to read */
        font-size: 1.1rem;   /* Makes the text a comfortable size */
        color: #333;         /* Dark grey is often easier on the eyes than pure black */
        text-align: left;    /* Keeps the "designer" look, or use 'center' if you prefer */
        padding: 20px;       /* Keeps it from hitting the edges on mobile */
      }
      
      /* If you want the "Hello, I'm Kyle" title centered too */
      .about {
        text-align: center;
        margin-bottom: 20px;
        color: white;
      }

      footer{
        display: block;         /* Makes it a solid block */
        clear: both;            /* The "Magic Card" that stops floating */
        background: #2E1A47;    /* Pharaoh Purple */
        padding: 30px 0;
        width: 100%;
        border-top: 3px solid #D4AF37;
      }

      footer ul{
        display: flex;
        justify-content: center;
        gap: 40px;
        list-style: none;
        margin: 0;
        padding: 0;
        }
        
        footer a{
          color: #D4AF37;         /* Gold links */
          text-decoration: none;
          font-weight: bold;
        }

        p{
          color: white;
        }

        h2{
          color: white;
          text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
        }

        h3{
          color: white;
          text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    text-transform: uppercase;
        }

        ul{
          color: white;
        }

      li{
          color: white;
        }

        .card-scene {
          width: 350px;
          height: 500px;
          perspective: 1000px;
      }
      
      .card-inner {
          position: relative;
          width: 100%;
          height: 100%;
          transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
          transform-style: preserve-3d;
          cursor: pointer;
      }
      
      /* Flip on Hover */
      .card-scene:hover .card-inner {
          transform: rotateY(180deg);
      }
      
      .card-front, .card-back {
          position: absolute;
          width: 100%;
          height: 100%;
          backface-visibility: hidden;
          border: 5px solid black; /* Gold Border */
          border-radius: 15px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          padding: 20px;
          box-sizing: border-box;
      }
      
      /* Front Design (The Hidden Side) */
      .card-front {
          background: #3C2415; /* Pharaoh Purple */
      }
      
      .card-design {
          width: 80%;
          height: 90%;
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 5rem;
          color: #D4AF37;
      }
      
      /* Back Design (The Revealed Side) */
      .card-back {
          background:#BC1E60; ;
          color: #2E1A47;
          transform: rotateY(180deg);
      }
      
      .card-back h2 {
          color: white;
          font-size: 1.5rem;
          margin-bottom: 15px;
      }
      
      .card-back p {
          color: white;
          font-size: 1rem;
          margin-bottom: 25px;
      }
        

      .project-grid {
        display: grid;
        /* This forces exactly 2 columns of equal width */
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px;
        max-width: 900px; /* Adjust this to make the grid wider or narrower */
        margin: 0 auto;
        padding: 20px;
    }
    
    /* Make sure images fill the top of the card nicely */
    .card-back img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
        border-bottom: 2px solid #CF862D;
    }
    
    /* Ensure the back content stays centered */
    .card-back {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Pushes button to the bottom */
        padding-bottom: 20px;
    }

    -----------

    .ritual-card {
      background-color: #005CB9; /* Your Ritual Blue */
      border: 5px solid #0096D6;
      color: white;
  }
  
  .ritual-card h2, .ritual-card p {
      color: white;
  }
  
  .ritual-card .button {
      background-color: white;
      color: #005CB9;
      font-weight: bold;
  }



  .card-scene {
    width: 350px;
    height: 500px;
    perspective: 1000px;
    margin: 0 auto;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.card-scene:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 5px solid black; 
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

/* --- 2. FRONT SIDE (Dark Brown) --- */
.card-front {
  background-image: url('images/Back-DOR-VG.webp'); 
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
    border-radius: 15px;
    border: 5px solid black; 
    overflow: hidden;
}

.card-design {
    width: 80%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; /* Shrank font-size so "reveal face down" fits */
    color: #D4AF37;
    text-align: center;
    text-transform: uppercase;
}

/* --- 3. THE RITUAL BLUE BACK --- */
/* We use .card-back.ritual-card to make sure the blue wins over the pink */
.card-back.ritual-card {
    background: #005CB9 !important; 
    border: 5px solid #0096D6;
    transform: rotateY(180deg);
    color: white;
}

.card-back.ritual-card h2, 
.card-back.ritual-card p {
    color: white !important;
}

/* --- 4. THE BUTTON INSIDE THE BLUE CARD --- */
.card-back.ritual-card .button {
    background: white !important;
    color: #005CB9 !important;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 20px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.skills-list li {
  background: black; /* Pharaoh Purple */
  color: #D4AF37;      /* Gold text */
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #D4AF37;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: 0.3s;
}

.skills-list li:hover {
  background: skyblue; /* Turns Ritual Blue on hover */
  color: white;
}

.profile-flex {
  display: flex;
  justify-content: center; /* Centers the whole unit horizontally */
  align-items: center;     /* Aligns text vertically with the photo */
  gap: 50px;              /* Big gap between photo and text */
  max-width: 1000px;
  margin: 40px auto;      /* Centers the container on the screen */
  padding: 0 20px;
}

.profile-flex p {
  flex: 1;                 /* Let's the text fill the space next to the image */
  max-width: 600px;        /* Prevents the lines from getting too long */
  color: white;
  text-align: left;        /* Keeps the bio easy to read */
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Centering the Work Section --- */
.work {
  text-align: center; /* Centers the "Recent Project" title */
  padding: 80px 20px;
  background: #1D8C5F;
}

.project {
  display: flex;
  flex-direction: column; /* Stacks items vertically */
  align-items: center;    /* THE FIX: Centers image, h2, and button horizontally */
  gap: 20px;              /* Adds space between elements */
  max-width: 1000px;
  margin: 0 auto;        /* Centers the whole block on the page */
}

.project img {
  width: 100%;
  max-width: 900px;      /* Matches the width seen in your layout */
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Fixes the "slanted" button */
.project .button {
  display: inline-block;
  width: fit-content;    /* Prevents the button from stretching too wide */
  margin-top: 10px;
}

.card-inner, .button, .shows img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.3s ease;
}

/* This makes the card "pop" toward the user when the sound plays */
.card-scene:hover .card-inner, .shows img:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}


.video-container {
  max-width: 700px;
    margin: 30px auto; 
    border: 5px solid #D4AF37; 
    border-radius: 15px;
    overflow: hidden;
    background: #2E1A47; /* Makes it look solid while loading */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* This is the "Animation" they asked for! */
.video-container:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

/* 3. The "Transition" & "Center Button" Fix */
.home .button {
  display: inline-block;
  transition: all 0.4s ease; /* THIS FIXES THE 'NO TRANSITIONS' FEEDBACK */
  margin-top: 10px;
}

.home .button:hover {
  transform: scale(1.1); /* Adds the 'Animation' they asked for */
  background-color: #D4AF37; /* Smooth color change */
  color: #2E1A47;
}

.audio-track {
  max-width: 500px;
  margin: 20px auto;
  background: #2E1A47;
  padding: 20px;
  border-radius: 50px; /* Makes it a pill shape like a high-end player */
  border: 3px solid #D4AF37;
  text-align: center;
}

here body{

  font-family: Arial;
  
  margin:0;
  
  background: #1D8C5F;
  
  }
  
  
  p{ font-family: 'YGO-Title';
  
  
  }
  
  
  /* NAV */
  
  
  nav{
  
  display:flex;
  
  justify-content:space-between;
  
  align-items:center;
  
  padding:20px;
  
  background: #2E1A47;
  
  }
  
  
  nav ul{
  
  display:flex;
  
  gap:20px;
  
  list-style:none;
  
  }
  
  
  nav a{
  
  text-decoration:none;
  
  color:#D4AF37;
  
  }
  
  
  
  /* HOME */
  
  
  .home{
  
  padding:80px;
  
  text-align:center;
  
  background: image();
  
  }
  
  
  .button{
  
  background:#BC1E60;
  
  color:#CFD9DF;
  
  padding:10px 20px;
  
  text-decoration:none;
  
  }
  
  
  
  /* ABOUT */
  
  
  
  
  
  
  
  .about img{
  
  width:200px;
  
  height: 300px;
  
  }
  
  
  .shows img{
  
  width: 180px; /* Consistent width for all show posters */
  
  height: 260px;
  
  object-fit: cover;
  
  border: 3px solid #2E1A47; /* Pharaoh Purple border */
  
  border-radius: 10px;
  
  transition: transform 0.3s;
  
  }
  
  
  
  /* WORK */
  
  
  .work{
  
  padding:80px;
  
  background: #1D8C5F;
  
  }
  
  
  .project-grid{
  
  display: grid; /* tells the browser to use a grid layout */
  
  grid-template-columns: repeat(2, 1fr); /* creates 2 columns of equal width */
  
  gap: 15px;
  
  max-width: 800px; /* This stops the grid from spreading too wide */
  
  margin: 0 auto; /* adds space between your photos (optional, but looks better) */
  
  }
  
  
  .project img{
  
  width: 100%;
  
  height: 200px; /* Force a specific height */
  
  object-fit: cover; /* Crops the image to fill the box without stretching */
  
  }
  
  
  
  /* CONTACT */
  
  
  .contact{
  
  background-color: #1D8C5F; /* Spell Green */
  
  color: white;
  
  padding: 100px 20px;
  
  text-align: center;
  
  display: flex;
  
  flex-direction: column;
  
  align-items: center;
  
  justify-content: center;
  
  width: 100%; /* Ensures it takes the full width */
  
  box-sizing: border-box;
  
  min-height: 100vh; /* Makes the section at least as tall as the screen */
  
  margin: 0;
  
  }
  
  
  
  
  input, textarea{
  
  padding:10px;
  
  }
  
  
  button{
  
  background:black;
  
  color:white;
  
  padding:10px;
  
  border:none;
  
  }
  
  
  
  .profile{
  
  height: 100px;
  
  
  }
  
  
  
  .profile-flex {
  
  display: flex;
  
  justify-content: center; /* Centers photo and text horizontally */
  
  align-items: center; /* Aligns text vertically with your photo */
  
  gap: 50px; /* Creates space between photo and bio */
  
  max-width: 1000px;
  
  margin: 40px auto; /* Centers the whole container on the page */
  
  padding: 0 20px;
  
  }
  
  
  
  
  
  
  .profile-pic {
  
  width: 250px; /* Adjust this size to fit your design */
  
  height: auto;
  
  border: 4px solid #2E1A47; /* Pharaoh Purple */
  
  }
  
  
  .profile-pic:hover {
  
  transform: scale(1.05); /* Slight "pop" forward */
  
  border-color: #D4AF37; /* Glows Gold on hover */
  
  /* OR use border-color: #005CB9; if you want the Ritual Blue glow */
  
  cursor: pointer;
  
  }
  
  
  
  
  
  /* Fix for mobile: Stacks them back up so it doesn't look squished */
  
  @media (max-width: 768px) {
  
  .profile-flex {
  
  flex-direction: column;
  
  text-align: center;
  
  }
  
  }
  
  
  
  
  
  .shows {
  
  display: flex;
  
  justify-content: center; /* Centers the images inside the flex box */
  
  gap: 20px;
  
  flex-wrap: wrap;
  
  
  /* THE FIX: These two lines snap the whole group to the center of the screen */
  
  max-width: 1000px;
  
  margin: 0 auto 60px auto;
  
  }
  
  
  /* ensure the images don't overflow their grid cells */
  
  .shows img {
  
  width: 100%;
  
  max-width: 200px; /* Keeps them from getting too huge on big monitors */
  
  aspect-ratio: 1/1; /* FORCES the square shape */
  
  object-fit: cover; /* Keeps characters from looking stretched */
  
  border: 4px solid #2E1A47; /* Pharaoh Purple */
  
  border-radius: 12px;
  
  transition: transform 0.3s ease;
  
  }
  
  
  
  .shows img:hover {
  
  transform: scale(1.05); /* Slight "pop" effect on hover */
  
  border-color: goldenrod; /* Ritual Blue glow */
  
  }
  
  
  
  
  
  .about p {
  
  max-width: 700px; /* Stops the text from spreading across the whole screen */
  
  margin: 0 auto; /* Centers the text block */
  
  line-height: 1.6; /* Adds space between lines so it's easier to read */
  
  font-size: 1.1rem; /* Makes the text a comfortable size */
  
  color: #333; /* Dark grey is often easier on the eyes than pure black */
  
  text-align: left; /* Keeps the "designer" look, or use 'center' if you prefer */
  
  padding: 20px; /* Keeps it from hitting the edges on mobile */
  
  }
  
  
  /* If you want the "Hello, I'm Kyle" title centered too */
  
  .about {
  
  text-align: center;
  
  margin-bottom: 20px;
  
  color: white;
  
  }
  
  
  
  footer{
  
  display: block; /* Makes it a solid block */
  
  clear: both; /* The "Magic Card" that stops floating */
  
  background: #2E1A47; /* Pharaoh Purple */
  
  padding: 30px 0;
  
  width: 100%;
  
  border-top: 3px solid #D4AF37;
  
  }
  
  
  
  footer ul{
  
  display: flex;
  
  justify-content: center;
  
  gap: 40px;
  
  list-style: none;
  
  margin: 0;
  
  padding: 0;
  
  }
  
  
  footer a{
  
  color: #D4AF37; /* Gold links */
  
  text-decoration: none;
  
  font-weight: bold;
  
  }
  
  
  
  p{
  
  color: white;
  
  }
  
  
  
  h2{
  
  color: white;
  
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  
  font-size: 1.4rem;
  
  text-transform: uppercase;
  
  text-align: center;
  
  }
  
  
  
  h3{
  
  color: white;
  
  text-align: center;
  
  margin-top: 60px;
  
  margin-bottom: 30px;
  
  text-transform: uppercase;
  
  }
  
  
  
  ul{
  
  color: white;
  
  }
  
  
  
  li{
  
  color: white;
  
  }
  
  
  
  .card-scene {
  
  width: 350px;
  
  height: 500px;
  
  perspective: 1000px;
  
  }
  
  
  .card-inner {
  
  position: relative;
  
  width: 100%;
  
  height: 100%;
  
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  transform-style: preserve-3d;
  
  cursor: pointer;
  
  }
  
  
  /* Flip on Hover */
  
  .card-scene:hover .card-inner {
  
  transform: rotateY(180deg);
  
  }
  
  
  .card-front, .card-back {
  
  position: absolute;
  
  width: 100%;
  
  height: 100%;
  
  backface-visibility: hidden;
  
  border: 5px solid black; /* Gold Border */
  
  border-radius: 15px;
  
  display: flex;
  
  flex-direction: column;
  
  justify-content: center;
  
  align-items: center;
  
  padding: 20px;
  
  box-sizing: border-box;
  
  }
  
  
  /* Front Design (The Hidden Side) */
  
  .card-front {
  
  background: #3C2415; /* Pharaoh Purple */
  
  }
  
  
  .card-design {
  
  width: 80%;
  
  height: 90%;
  
  display: flex;
  
  justify-content: center;
  
  align-items: center;
  
  font-size: 5rem;
  
  color: #D4AF37;
  
  }
  
  
  /* Back Design (The Revealed Side) */
  
  .card-back {
  
  background:#BC1E60; ;
  
  color: #2E1A47;
  
  transform: rotateY(180deg);
  
  }
  
  
  .card-back h2 {
  
  color: white;
  
  font-size: 1.5rem;
  
  margin-bottom: 15px;
  
  }
  
  
  .card-back p {
  
  color: white;
  
  font-size: 1rem;
  
  margin-bottom: 25px;
  
  }
  
  
  
  
  .project-grid {
  
  display: grid;
  
  /* This forces exactly 2 columns of equal width */
  
  grid-template-columns: repeat(2, 1fr);
  
  gap: 40px;
  
  max-width: 900px; /* Adjust this to make the grid wider or narrower */
  
  margin: 0 auto;
  
  padding: 20px;
  
  }
  
  
  /* Make sure images fill the top of the card nicely */
  
  .card-back img {
  
  width: 100%;
  
  height: 200px;
  
  object-fit: cover;
  
  border-radius: 10px 10px 0 0;
  
  border-bottom: 2px solid #CF862D;
  
  }
  
  
  /* Ensure the back content stays centered */
  
  .card-back {
  
  display: flex;
  
  flex-direction: column;
  
  justify-content: space-between; /* Pushes button to the bottom */
  
  padding-bottom: 20px;
  
  }
  
  
  
  -----------
  
  
  
  .ritual-card {
  
  background-color: #005CB9; /* Your Ritual Blue */
  
  border: 5px solid #0096D6;
  
  color: white;
  
  }
  
  
  .ritual-card h2, .ritual-card p {
  
  color: white;
  
  }
  
  
  .ritual-card .button {
  
  background-color: white;
  
  color: #005CB9;
  
  font-weight: bold;
  
  }
  
  
  
  
  
  
  
  .card-scene {
  
  width: 350px;
  
  height: 500px;
  
  perspective: 1000px;
  
  margin: 0 auto;
  
  }
  
  
  
  .card-inner {
  
  position: relative;
  
  width: 100%;
  
  height: 100%;
  
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  transform-style: preserve-3d;
  
  cursor: pointer;
  
  }
  
  
  
  .card-scene:hover .card-inner {
  
  transform: rotateY(180deg);
  
  }
  
  
  
  .card-front, .card-back {
  
  position: absolute;
  
  width: 100%;
  
  height: 100%;
  
  backface-visibility: hidden;
  
  border: 5px solid black;
  
  border-radius: 15px;
  
  display: flex;
  
  flex-direction: column;
  
  justify-content: center;
  
  align-items: center;
  
  padding: 20px;
  
  box-sizing: border-box;
  
  }
  
  
  
  /* --- 2. FRONT SIDE (Dark Brown) --- */
  
  .card-front {
  
  background-image: url('images/Back-DOR-VG.webp');
  
  background-repeat: no-repeat;
  
  background-size: 100% 100%;
  
  background-position: center;
  
  border-radius: 15px;
  
  border: 5px solid black;
  
  overflow: hidden;
  
  }
  
  
  
  .card-design {
  
  width: 80%;
  
  height: 90%;
  
  display: flex;
  
  justify-content: center;
  
  align-items: center;
  
  font-size: 1.5rem; /* Shrank font-size so "reveal face down" fits */
  
  color: #D4AF37;
  
  text-align: center;
  
  text-transform: uppercase;
  
  }
  
  
  
  /* --- 3. THE RITUAL BLUE BACK --- */
  
  /* We use .card-back.ritual-card to make sure the blue wins over the pink */
  
  .card-back.ritual-card {
  
  background: #005CB9 !important;
  
  border: 5px solid #0096D6;
  
  transform: rotateY(180deg);
  
  color: white;
  
  }
  
  
  
  .card-back.ritual-card h2,
  
  .card-back.ritual-card p {
  
  color: white !important;
  
  }
  
  
  
  /* --- 4. THE BUTTON INSIDE THE BLUE CARD --- */
  
  .card-back.ritual-card .button {
  
  background: white !important;
  
  color: #005CB9 !important;
  
  font-weight: bold;
  
  border-radius: 5px;
  
  padding: 10px 20px;
  
  }
  
  
  
  .skills-list {
  
  display: flex;
  
  flex-wrap: wrap;
  
  justify-content: center;
  
  gap: 15px;
  
  list-style: none;
  
  padding: 0;
  
  margin-top: 20px;
  
  }
  
  
  
  .skills-list li {
  
  background: black; /* Pharaoh Purple */
  
  color: #D4AF37; /* Gold text */
  
  padding: 10px 20px;
  
  border-radius: 30px;
  
  border: 1px solid #D4AF37;
  
  font-weight: bold;
  
  text-transform: uppercase;
  
  font-size: 0.85rem;
  
  transition: 0.3s;
  
  }
  
  
  
  .skills-list li:hover {
  
  background: skyblue; /* Turns Ritual Blue on hover */
  
  color: white;
  
  }
  
  
  
  .profile-flex {
  
  display: flex;
  
  justify-content: center; /* Centers the whole unit horizontally */
  
  align-items: center; /* Aligns text vertically with the photo */
  
  gap: 50px; /* Big gap between photo and text */
  
  max-width: 1000px;
  
  margin: 40px auto; /* Centers the container on the screen */
  
  padding: 0 20px;
  
  }
  
  
  
  .profile-flex p {
  
  flex: 1; /* Let's the text fill the space next to the image */
  
  max-width: 600px; /* Prevents the lines from getting too long */
  
  color: white;
  
  text-align: left; /* Keeps the bio easy to read */
  
  font-size: 1.1rem;
  
  line-height: 1.6;
  
  }
  
  body{
  
  font-family: Arial;
  
  margin:0;
  
  background: #1D8C5F;
  
  }
  
  
  p{ font-family: 'YGO-Title';
  
  
  }
  
  
  /* NAV */
  
  
  nav{
  
  display:flex;
  
  justify-content:space-between;
  
  align-items:center;
  
  padding:20px;
  
  background: #2E1A47;
  
  }
  
  
  nav ul{
  
  display:flex;
  
  gap:20px;
  
  list-style:none;
  
  }
  
  
  nav a{
  
  text-decoration:none;
  
  color:#D4AF37;
  
  }
  
  
  
  /* HOME */
  
  
  .home{
  
  padding:80px;
  
  text-align:center;
  
  background: image();
  
  }
  
  
  .button{
  
  background:#BC1E60;
  
  color:#CFD9DF;
  
  padding:10px 20px;
  
  text-decoration:none;
  
  }
  
  
  
  /* ABOUT */
  
  
  
  
  
  
  
  .about img{
  
  width:200px;
  
  height: 300px;
  
  }
  
  
  .shows img{
  
  width: 180px; /* Consistent width for all show posters */
  
  height: 260px;
  
  object-fit: cover;
  
  border: 3px solid #2E1A47; /* Pharaoh Purple border */
  
  border-radius: 10px;
  
  transition: transform 0.3s;
  
  }
  
  
  
  /* WORK */
  
  
  .work{
  
  padding:80px;
  
  background: #1D8C5F;
  
  }
  
  
  .project-grid{
  
  display: grid; /* tells the browser to use a grid layout */
  
  grid-template-columns: repeat(2, 1fr); /* creates 2 columns of equal width */
  
  gap: 15px;
  
  max-width: 800px; /* This stops the grid from spreading too wide */
  
  margin: 0 auto; /* adds space between your photos (optional, but looks better) */
  
  }
  
  
  .project img{
  
  width: 100%;
  
  height: 200px; /* Force a specific height */
  
  object-fit: cover; /* Crops the image to fill the box without stretching */
  
  }
  
  
  
  /* CONTACT */
  
  
  .contact{
  
  background-color: #1D8C5F; /* Spell Green */
  
  color: white;
  
  padding: 100px 20px;
  
  text-align: center;
  
  display: flex;
  
  flex-direction: column;
  
  align-items: center;
  
  justify-content: center;
  
  width: 100%; /* Ensures it takes the full width */
  
  box-sizing: border-box;
  
  min-height: 100vh; /* Makes the section at least as tall as the screen */
  
  margin: 0;
  
  }
  
  
  
  
  input, textarea{
  
  padding:10px;
  
  }
  
  
  button{
  
  background:black;
  
  color:white;
  
  padding:10px;
  
  border:none;
  
  }
  
  
  
  .profile{
  
  height: 100px;
  
  
  }
  
  
  
  .profile-flex {
  
  display: flex;
  
  justify-content: center; /* Centers photo and text horizontally */
  
  align-items: center; /* Aligns text vertically with your photo */
  
  gap: 50px; /* Creates space between photo and bio */
  
  max-width: 1000px;
  
  margin: 40px auto; /* Centers the whole container on the page */
  
  padding: 0 20px;
  
  }
  
  
  
  
  
  
  .profile-pic {
  
  width: 250px; /* Adjust this size to fit your design */
  
  height: auto;
  
  border: 4px solid #2E1A47; /* Pharaoh Purple */
  
  }
  
  
  .profile-pic:hover {
  
  transform: scale(1.05); /* Slight "pop" forward */
  
  border-color: #D4AF37; /* Glows Gold on hover */
  
  /* OR use border-color: #005CB9; if you want the Ritual Blue glow */
  
  cursor: pointer;
  
  }
  
  
  
  
  
  /* Fix for mobile: Stacks them back up so it doesn't look squished */
  
  @media (max-width: 768px) {
  
  .profile-flex {
  
  flex-direction: column;
  
  text-align: center;
  
  }
  
  }
  
  
  
  
  
  .shows {
  
  display: flex;
  
  justify-content: center; /* Centers the images inside the flex box */
  
  gap: 20px;
  
  flex-wrap: wrap;
  
  
  /* THE FIX: These two lines snap the whole group to the center of the screen */
  
  max-width: 1000px;
  
  margin: 0 auto 60px auto;
  
  }
  
  
  /* ensure the images don't overflow their grid cells */
  
  .shows img {
  
  width: 100%;
  
  max-width: 200px; /* Keeps them from getting too huge on big monitors */
  
  aspect-ratio: 1/1; /* FORCES the square shape */
  
  object-fit: cover; /* Keeps characters from looking stretched */
  
  border: 4px solid #2E1A47; /* Pharaoh Purple */
  
  border-radius: 12px;
  
  transition: transform 0.3s ease;
  
  }
  
  
  
  .shows img:hover {
  
  transform: scale(1.05); /* Slight "pop" effect on hover */
  
  border-color: goldenrod; /* Ritual Blue glow */
  
  }
  
  
  
  
  
  .about p {
  
  max-width: 700px; /* Stops the text from spreading across the whole screen */
  
  margin: 0 auto; /* Centers the text block */
  
  line-height: 1.6; /* Adds space between lines so it's easier to read */
  
  font-size: 1.1rem; /* Makes the text a comfortable size */
  
  color: #333; /* Dark grey is often easier on the eyes than pure black */
  
  text-align: left; /* Keeps the "designer" look, or use 'center' if you prefer */
  
  padding: 20px; /* Keeps it from hitting the edges on mobile */
  
  }
  
  
  /* If you want the "Hello, I'm Kyle" title centered too */
  
  .about {
  
  text-align: center;
  
  margin-bottom: 20px;
  
  color: white;
  
  }
  
  
  
  footer{
  
  display: block; /* Makes it a solid block */
  
  clear: both; /* The "Magic Card" that stops floating */
  
  background: #2E1A47; /* Pharaoh Purple */
  
  padding: 30px 0;
  
  width: 100%;
  
  border-top: 3px solid #D4AF37;
  
  }
  
  
  
  footer ul{
  
  display: flex;
  
  justify-content: center;
  
  gap: 40px;
  
  list-style: none;
  
  margin: 0;
  
  padding: 0;
  
  }
  
  
  footer a{
  
  color: #D4AF37; /* Gold links */
  
  text-decoration: none;
  
  font-weight: bold;
  
  }
  
  
  
  p{
  
  color: white;
  
  }
  
  
  
  h2{
  
  color: white;
  
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  
  font-size: 1.4rem;
  
  text-transform: uppercase;
  
  text-align: center;
  
  }
  
  
  
  h3{
  
  color: white;
  
  text-align: center;
  
  margin-top: 60px;
  
  margin-bottom: 30px;
  
  text-transform: uppercase;
  
  }
  
  
  
  ul{
  
  color: white;
  
  }
  
  
  
  li{
  
  color: white;
  
  }
  
  
  
  .card-scene {
  
  width: 350px;
  
  height: 500px;
  
  perspective: 1000px;
  
  }
  
  
  .card-inner {
  
  position: relative;
  
  width: 100%;
  
  height: 100%;
  
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  transform-style: preserve-3d;
  
  cursor: pointer;
  
  }
  
  
  /* Flip on Hover */
  
  .card-scene:hover .card-inner {
  
  transform: rotateY(180deg);
  
  }
  
  
  .card-front, .card-back {
  
  position: absolute;
  
  width: 100%;
  
  height: 100%;
  
  backface-visibility: hidden;
  
  border: 5px solid black; /* Gold Border */
  
  border-radius: 15px;
  
  display: flex;
  
  flex-direction: column;
  
  justify-content: center;
  
  align-items: center;
  
  padding: 20px;
  
  box-sizing: border-box;
  
  }
  
  
  /* Front Design (The Hidden Side) */
  
  .card-front {
  
  background: #3C2415; /* Pharaoh Purple */
  
  }
  
  
  .card-design {
  
  width: 80%;
  
  height: 90%;
  
  display: flex;
  
  justify-content: center;
  
  align-items: center;
  
  font-size: 5rem;
  
  color: #D4AF37;
  
  }
  
  
  /* Back Design (The Revealed Side) */
  
  .card-back {
  
  background:#BC1E60; ;
  
  color: #2E1A47;
  
  transform: rotateY(180deg);
  
  }
  
  
  .card-back h2 {
  
  color: white;
  
  font-size: 1.5rem;
  
  margin-bottom: 15px;
  
  }
  
  
  .card-back p {
  
  color: white;
  
  font-size: 1rem;
  
  margin-bottom: 25px;
  
  }
  
  
  
  
  .project-grid {
  
  display: grid;
  
  /* This forces exactly 2 columns of equal width */
  
  grid-template-columns: repeat(2, 1fr);
  
  gap: 40px;
  
  max-width: 900px; /* Adjust this to make the grid wider or narrower */
  
  margin: 0 auto;
  
  padding: 20px;
  
  }
  
  
  /* Make sure images fill the top of the card nicely */
  
  .card-back img {
  
  width: 100%;
  
  height: 200px;
  
  object-fit: cover;
  
  border-radius: 10px 10px 0 0;
  
  border-bottom: 2px solid #CF862D;
  
  }
  
  
  /* Ensure the back content stays centered */
  
  .card-back {
  
  display: flex;
  
  flex-direction: column;
  
  justify-content: space-between; /* Pushes button to the bottom */
  
  padding-bottom: 20px;
  
  }
  
  
  
  -----------
  
  
  
  .ritual-card {
  
  background-color: #005CB9; /* Your Ritual Blue */
  
  border: 5px solid #0096D6;
  
  color: white;
  
  }
  
  
  .ritual-card h2, .ritual-card p {
  
  color: white;
  
  }
  
  
  .ritual-card .button {
  
  background-color: white;
  
  color: #005CB9;
  
  font-weight: bold;
  
  }
  
  
  
  
  
  
  
  .card-scene {
  
  width: 350px;
  
  height: 500px;
  
  perspective: 1000px;
  
  margin: 0 auto;
  
  }
  
  
  
  .card-inner {
  
  position: relative;
  
  width: 100%;
  
  height: 100%;
  
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  
  transform-style: preserve-3d;
  
  cursor: pointer;
  
  }
  
  
  
  .card-scene:hover .card-inner {
  
  transform: rotateY(180deg);
  
  }
  
  
  
  .card-front, .card-back {
  
  position: absolute;
  
  width: 100%;
  
  height: 100%;
  
  backface-visibility: hidden;
  
  border: 5px solid black;
  
  border-radius: 15px;
  
  display: flex;
  
  flex-direction: column;
  
  justify-content: center;
  
  align-items: center;
  
  padding: 20px;
  
  box-sizing: border-box;
  
  }
  
  
  
  /* --- 2. FRONT SIDE (Dark Brown) --- */
  
  .card-front {
  
  background-image: url('images/Back-DOR-VG.webp');
  
  background-repeat: no-repeat;
  
  background-size: 100% 100%;
  
  background-position: center;
  
  border-radius: 15px;
  
  border: 5px solid black;
  
  overflow: hidden;
  
  }
  
  
  
  .card-design {
  
  width: 80%;
  
  height: 90%;
  
  display: flex;
  
  justify-content: center;
  
  align-items: center;
  
  font-size: 1.5rem; /* Shrank font-size so "reveal face down" fits */
  
  color: #D4AF37;
  
  text-align: center;
  
  text-transform: uppercase;
  
  }
  
  
  
  /* --- 3. THE RITUAL BLUE BACK --- */
  
  /* We use .card-back.ritual-card to make sure the blue wins over the pink */
  
  .card-back.ritual-card {
  
  background: #005CB9 !important;
  
  border: 5px solid #0096D6;
  
  transform: rotateY(180deg);
  
  color: white;
  
  }
  
  
  
  .card-back.ritual-card h2,
  
  .card-back.ritual-card p {
  
  color: white !important;
  
  }
  
  
  
  /* --- 4. THE BUTTON INSIDE THE BLUE CARD --- */
  
  .card-back.ritual-card .button {
  
  background: white !important;
  
  color: #005CB9 !important;
  
  font-weight: bold;
  
  border-radius: 5px;
  
  padding: 10px 20px;
  
  }
  
  
  
  .skills-list {
  
  display: flex;
  
  flex-wrap: wrap;
  
  justify-content: center;
  
  gap: 15px;
  
  list-style: none;
  
  padding: 0;
  
  margin-top: 20px;
  
  }
  
  
  
  .skills-list li {
  
  background: black; /* Pharaoh Purple */
  
  color: #D4AF37; /* Gold text */
  
  padding: 10px 20px;
  
  border-radius: 30px;
  
  border: 1px solid #D4AF37;
  
  font-weight: bold;
  
  text-transform: uppercase;
  
  font-size: 0.85rem;
  
  transition: 0.3s;
  
  }
  
  
  
  .skills-list li:hover {
  
  background: skyblue; /* Turns Ritual Blue on hover */
  
  color: white;
  
  }
  
  
  
  .profile-flex {
  
  display: flex;
  
  justify-content: center; /* Centers the whole unit horizontally */
  
  align-items: center; /* Aligns text vertically with the photo */
  
  gap: 50px; /* Big gap between photo and text */
  
  max-width: 1000px;
  
  margin: 40px auto; /* Centers the container on the screen */
  
  padding: 0 20px;
  
  }
  
  
  
  .profile-flex p {
  
  flex: 1; /* Let's the text fill the space next to the image */
  
  max-width: 600px; /* Prevents the lines from getting too long */
  
  color: white;
  
  text-align: left; /* Keeps the bio easy to read */
  
  font-size: 1.1rem;
  
  line-height: 1.6;
  
  }


  .project {
    background: #3C2415 ;
    padding: 30px;
    border-radius: 20px;
    color: #1a472a; /* Dark text so it's readable on white */
}
.project img {
  width: 100%;       /* 3. Forces the image to fill that new 1100px width */
  height: auto;
  display: block;
}

/* The "Special Summon" Flip Animation */
@keyframes cardReveal {
  from {
      opacity: 0;
      transform: rotateX(-90deg); /* Starts "flat" or face-down */
  }
  to {
      opacity: 1;
      transform: rotateX(0deg);   /* Flips up to face the user */
  }
}

/* Apply it to your home section content */
.home h2 {
  animation: cardReveal 0.8s ease-out forwards;
  transform-origin: top; /* Makes it flip from the top edge */
}

.about-text {
  animation: cardReveal 1s ease-out forwards;
  animation-delay: 0.4s; /* Delays the bio so the name flips first */
  transform-origin: top;
  opacity: 0; /* Keeps it hidden until the animation starts */
}

.button {
  animation: cardReveal 0.8s ease-out forwards;
  animation-delay: 1s; /* The button is the last thing to appear */
  opacity: 0;
}

/* Container Logic */
.case-study-container {
  max-width: 950px;
  margin: 40px auto;
  padding: 20px;
}

/* Section Cards */
.cs-card {
  background: white;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  color: #333;
  text-align: left;
  line-height: 1.7;
}

/* Gold Accent Headers */
.cs-card h2 {
  color: #1a472a;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-left: 5px solid #D4AF37; /* Yu-Gi-Oh Gold */
  padding-left: 15px;
}

/* Hero Header Styling */
.cs-hero {
  text-align: center;
  color: black;
  margin-bottom: 50px;
}

.cs-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.subtitle {
  color: #D4AF37;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Bullet Points */
.cs-card ul {
  list-style: none;
  padding-left: 0;
}

.cs-card li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.cs-card li::before {
  content: "◈";
  position: absolute;
  left: 0;
  color: #D4AF37;
}

/* Prototype Button */
.figma-button {
  background: #D4AF37;
  color: #1a472a;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  transition: 0.3s;
}

.figma-button:hover {
  background: #1a472a;
  color: black;
}

/* Conclusion Quote */
.takeaway {
  background: #f0f4f1;
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
  margin-top: 20px;
}

/* This targets the container and every text element inside it */
.case-study-container, 
.cs-card, 
.cs-card p, 
.cs-card li, 
.cs-card h2, 
.cs-card strong,
.takeaway {
    color: #111111 !important; /* Forces text to be dark */
    text-shadow: none !important; /* Removes any glows or shadows from previous styles */
}

/* Specifically styling the headers to be your brand green, but dark */
.cs-card h2 {
    color: #1a472a !important; 
    font-weight: 800;
}

/* Making sure the bold text really stands out */
.cs-card strong {
    color: #000000 !important;
    font-weight: bold;
}