/* Header Styles */
#page-header {
  padding: 2rem 1.5rem;
}

#page-header .btn-text {
  color: #ffffff;
}
@media (min-width: 768px) {
  #page-header {
    padding: 2rem 3rem;
  }
}
@media (min-width: 1024px) {
  #page-header {
    padding: 2rem 6rem;
  }
}

@media (max-width: 760px) {
  .project-description{
    display: none;
  }
}

.main-content-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  max-width: 720px; 
  padding: 0 24px 120px 24px;
  margin: 0 auto;
}

.projects-header { 
  margin-bottom: 3rem;
}

#projects-section-subtitle {
  color: var(--text-muted-color);
  font-family: var(--font-portfolio-sans);
  font-weight: 450;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0;
  word-spacing: 3px;
}

a{
text-decoration: none!important;
background-color: transparent;
}

.project-item {
  transition: background-color 0.2s ease;
  padding: 1.5rem 0.5rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer; 
  position: relative;
}

.project-item:hover {
  border-radius: 1rem;
  background-color: var(--hover-bg-alpha);
}
 
.project-title { 
  margin-top: 0;
  color: var(--text-color);
}

.project-description { 
  color: var(--text-muted-color);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.875rem; 
}

.divider{
  width: 100%;
  /* background-attachment: scroll; */
  flex: 1 1 0%;
  position: relative;
  border: 1px solid var(--border-color-alpha);
  margin: 0 5px -10px 5px;
}
 
.divider::after{
  content: "";
  position: absolute;
  bottom: -5rem;
  height: 1px;
  width: 10px;
  z-index: 3;
}

.project-year { 
  color: var(--text-year);
  font-size: 0.875rem;
  white-space: nowrap; 
  margin-left: 1rem; 
}

 
#page-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 999;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-color: var(--container-bg-alpha-medium);
}

@media (max-width: 640px){
 .footer-nav-container{
    width: max-content;
    overflow-x: auto;
 }
 
}

/* style the horizontal scroll */
.footer-nav-container { 
  border: .5px solid var(--primary-color);
  background: var(--background-color);
  border-radius: var(--border-radius-pill);
  padding: .3rem; 
  display: flex;
  align-items: center;
  gap: .47rem; 
  z-index: 999;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-icon {
width: 2.75rem; 
height: 2.75rem;
border-radius: var(--border-radius-round);
display: flex;
align-items: center;
justify-content: center;
background-color: rgb(26, 25, 25);
border: none;
cursor: pointer;
padding: 0; 
color: white;  
filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
position: relative;      
transition-property: padding,background-color ,color;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 
transform-origin: bottom;
transition-duration: 700ms;
z-index: 9999;
}

/* tooltip code  */
.tooltip-text {
position: absolute; 
opacity: 0;        
bottom: 50%; 
left: 50%;
transform: translateX(-50%) translateY(10px); 
margin-bottom: 3px;   
white-space: nowrap; 
transition-property: opacity, transform, color;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 700ms;
background-color: var(--background-color);
border: 1px solid var(--primary-color);
border-radius: calc(var(--border-radius-default) - 3px);
font-size: .7rem;  
padding: .3rem;
}

.nav-icon:hover .tooltip-text {
opacity: 1;                            
transform: translateX(-50%) translateY(-2.5rem); 
z-index: 999;
}

