@import url(style.css);


.container{
    padding: 1.9rem;
}


/* BREADCRUMBS */

.breadcrumbs {
    font-size: 0.875rem;
    padding: 16px 0;
    color: #666;
    width: 100%;
    overflow-x: auto;
}
  
.breadcrumbs ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}
  
.breadcrumbs li {
    display: flex;
    align-items: center;
}
  
.breadcrumbs li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}
  
.breadcrumbs li a:hover {
    color: #9746FF;
}
  
.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin: 0 8px;
    color: #ccc;
}
  
.breadcrumbs .current {
    color: #9746FF;
    font-weight: 600;
}

  
/* HERO */



.hero{
    padding: 24px 0;
    max-width: 800px;
    margin: 0 auto;

}

.hero-content{
    text-align: left;
    padding: 0;
}

.hero-content h2{
    margin: 0;
    color: var(--neutral-600);
    line-height: 1;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.live-btn{
    background-color: var(--accent-500);
    color: var(--neutral-100);
}

.live-btn:hover{
    background-color: var(--accent-600);
    color: var(--neutral-100);

}


/* SPECS */

.project-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    background-color: var(--neutral-200);
    padding: 32px 0;
    border-radius: 16px;
    margin: 0 auto;
    margin-bottom: 32px;
    max-width: 800px;


  }
  
 
  
  .info-label {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 8px;
  }
  
  .info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--neutral-900);
  }
  @media (max-width: 768px) {
    .project-info {
      flex-direction: column;
      padding: 16px;
    }

    .info-item{
        margin: 16px;
    }
  }
  

  
  /* ARTICLE */

  .article{
    margin: 0 auto;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 64px;
  }

  .article-cover{
    width: 100%;
    border-radius: var(--br-medium);
    margin: 24px 0;
  }

  .article-subtitle{
    letter-spacing: inherit;
    margin-top: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
  }


.hero-content .read{

  margin: 16px 0;
  text-transform: uppercase;
  color: var(--neutral-600);
}


/*CALLOUT*/
.callout-full{
  width: fit-content;
  margin: 1rem auto;
  background-color: var(--accent-100); /* or whatever bg color */
  padding: 2rem 1rem;
  border-radius: var(--br-medium);
}

.callout-container-full{
  padding: 2rem;
}
/*CALLOUT*/

.article-callout{
  width: 100vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: calc(-50vw + 50%);
  padding: 2rem 0;
}

.callout-container{
  display: flex;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;

}

.article-cards{
  padding: 0;
  margin-bottom: 3rem;
}

.article-paragraph-last{
  margin-bottom: 2rem;
}

.skills-grid{
  margin-bottom: 2rem
}

/* Responsive Typography */
.article-callout h3 {
  text-align: center;
  font-weight: 800;
  color: var(--accent-900);
  margin-bottom: 2rem;
  margin-top: 0;
}

.article-callout p {
  line-height: 1.6;
  text-align: center;
  color: var(--accent-800);
  max-width: 80ch;
  margin: 0 auto;
}



.callout-columns{
  margin: 1rem;

}
/* Corner Squares */
.corner-square {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--background-color);
  box-sizing: border-box;
}

/* Top-left */
.corner-top-left {
  top: -10px;
  left: -10px;
}

/* Top-right */
.corner-top-right {
  top: -10px;
  right: -10px;
}

/* Bottom-left */
.corner-bottom-left {
  bottom: -10px;
  left: -10px;
}

/* Bottom-right */
.corner-bottom-right {
  bottom: -10px;
  right: -10px;
}

/* Smaller corners on small screens */
@media (max-width: 600px) {

  .article-callout{
    width: fit-content;
    margin: 1rem auto;
    background-color: var(--accent-100); /* or whatever bg color */
    padding: 2rem 1rem;
    border-radius: var(--br-medium);

  }
  

  .callout-container{
    flex-direction: column;
    padding: 1rem;
  }


  .corner-square {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }

  .corner-top-left,
  .corner-top-right,
  .corner-bottom-left,
  .corner-bottom-right {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .corner-top-left {
    top: -7px;
    left: -7px;
  }

  .corner-top-right {
    top: -7px;
    right: -7px;
  }

  .corner-bottom-left {
    bottom: -7px;
    left: -7px;
  }

  .corner-bottom-right {
    bottom: -7px;
    right: -7px;
  }
}



/* ARTICLE PROGRESS BAR */

/* Progress bar container
#progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px; /* Height of the progress bar */
  /*background-color: #f3f3f3; /* Light background for the container */
  /*z-index: 1000; /* Make sure it stays on top */
  /*opacity: 0; /* Initially hidden */
  /*transition: opacity 0.3s ease-in-out; /* Fade-in/out effect */
/*}*/

/* Progress bar itself */
/*#progress-bar {
  height: 100%;
  width: 0%; /* Initial width (0%) */
  /*background-color: var(--accent-500); /* Green color for the progress */
  /*transition: width 0.25s ease-out; /* Smooth transition for width */
/*} */


/* Basic styling for the progress bar container */
#progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* Adjust as needed */
  background-color: transparent; /* Background color for the bar */
  opacity: 0;
  transition: opacity 0.3s ease-out; /* Fade transition */
  z-index: 100000000;
}

/* The actual progress bar element */
#progress-bar {
  height: 100%;
  background-color: var(--accent-500); /* Adjust color for the progress bar */
  border-right: 1px solid var(--accent-500);
  border-radius:  0 8px 8px 0;
}

/* When the progress bar container is visible (fade-in effect) */
#progress-bar-container.fade-in {
  opacity: 1;
}

/* When the progress bar container is invisible (fade-out effect) */
#progress-bar-container.fade-out {
  opacity: 0;
}


.article-video {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: var(--br-medium);
  margin-top: 3rem;
  margin-bottom: 2rem;
}

iframe{
  border-radius: 16px;
}

.text-highlight {
  color: var(--accent-color);
  font-weight: 600;
}

.article-profile-pic{
  width: 30%;
  height: 100%;
  margin-right: 2rem;
}

.article-flex{
  display: flex;

}

/* TABLE */
.table-wrapper {
  max-width: 960px;    
  margin: 0 auto; 
  margin-top: 3rem;
  margin-bottom: 3.8rem;
  font-family: var(--font-text);

}

/* Scroll container */
.table-container {
  overflow-x: auto;
  margin-bottom: 24px;  

}

table{
  border-bottom: none;
}

/* Desktop table */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  box-shadow: var(--shadow); 

  
}

.responsive-table th,
.responsive-table td {
  padding: 16px;          
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--neutral-200);
  background-color: var(--neutral-200);
}


.responsive-table thead th {
  background: var(--accent-100);
  color: var(--accent-400);
  font-weight: 600;
  font-size: 16px; 
  border-top: none;
  border-bottom: 1px solid var(--neutral-200);
  
}

.responsive-table thead th:nth-child(1){
  border-radius: 0.5rem 0 0 0;
  

}

.responsive-table thead th:nth-child(2){
  border-radius: 0 0.5rem 0 0 ;
  

}

.fa-check {
  color: var(--accent-400);         
  margin-right: 8px;     
  font-weight: bold;
}



.fa-circle-check{
  color: var(--accent-400);
}

/* NEW: Outer rounding wrapper */
.table-rounder {
  border-radius: 0.5rem;  /* 8px on all corners */
  overflow: hidden;
  border: 1px solid var(--accent-200);
}

/* TABLE: remove any rounding on the table itself */
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-radius: 0;       /* reset */
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* CELLS: ensure no corner rounding sneaks in */
.responsive-table th,
.responsive-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--neutral-200);
  background-color: var(--neutral-100);
  border-radius: 0;
}

strong{
  font-weight: 600;
}

/* Expanded/collapsed row animations */
.responsive-table tbody tr {
  overflow: hidden;
  max-height: none;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
.responsive-table tbody tr.hidden {
  display: none;
  transition: max-height 0.4s ease, opacity 0.2s ease;
}

/* 2) Style for the toggle button */
.table-toggle {
  display: block;
  width: 100%;
  margin: auto 0;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--accent-100);
  color: var(--accent-400);
  border: none;
  border-top: 1px solid var(--accent-200);
  border-radius: 0 0 8px 8px;
  cursor: pointer;
  transition: .3s;
}

.table-toggle:hover {
  background-color: var(--accent-400);
  color: var(--accent-100);
}

/* Mobile “card” reflow at 640px (8×80) */
@media (max-width: 640px) {

  .responsive-table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table th,
  .responsive-table td,
  .responsive-table tr {
    display: block;
  }

  .table-container {
    border: none;
    box-shadow: none;
  }

  .responsive-table thead tr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .responsive-table tr {
    margin-bottom: 24px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .responsive-table td {
    position: relative;
    padding: 16px;
    border: none;
  }

  .responsive-table td+td {
    border-top: 1px solid #eeeeee;
  }

  .responsive-table td:before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #555555;
  }

  .table-rounder {
    border: none;
  }
}

.app-paragraph{
  margin-top: 0;
  margin-bottom: 1rem;
}

.project-cards{
  margin-top: 32px;
}