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

:root{
--accent-color: #fd77d7;
--accent-hover: #fd77d7;
--card-text:      #fff;
--project-card-bg: #1e1d2f;
}
/* Main Content Styles */
.project-container{
top:250px;
max-width:max-content;
margin: 40px auto;
padding: 20px;
background: inherit;
}

.project {
background: var(--project-card-bg);
padding: 30px;
border-radius: 20px;
margin-bottom: 40px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
position: relative;
overflow: hidden;
cursor:pointer;
}
.project:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project h2 {
font-size: 2.2rem;
margin-bottom: 15px;
color: var(--accent-color);
background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.project p {
font-size: 1rem;
margin-bottom: 5px;
color: #fff;
}

.project-container {
max-width: max-content;
margin: 40px auto;
background: inherit;
}

.project-title {
font-size: 2.8rem;
font-weight: bold;
color: var(--accent-color);
margin-bottom: 15px;
text-align: center;
}

.sticky-title {
position: -webkit-sticky;
position: sticky;
top: 0;
background-color: var(--main-bg-color);
z-index: 100;
padding-top: 4%;
padding-bottom: 1%;
}

/* project Content */
.project-content {
font-size: 1.2rem;
line-height: 1.8;
color: var(--card-text);
}


/* Headings Inside project */
.project-content h2,
.project-content h3 {
color: var(--accent-color);
margin-top: 30px;
font-weight: 700;
}

/* .project-content li {
text-indent: 20px;
} */

.project-content ul{
padding-left: 50px;
}

/* Blockquote (Quotes in project) */
.project-content blockquote {
font-style: italic;
padding: 15px;
border-left: 5px solid var(--accent-color);
background: rgba(92, 72, 156, 0.1);
margin: 20px 0;
}


/* Images Inside Blog project */
.project-content img {
max-width: 100%;
display: block;
margin: 20px auto;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Links */
.project-content a {
color: var(--accent-color);
font-weight: bold;
transition: color 0.3s;
}

.project-content a:hover {
color: var(--accent-hover);
}


/* Responsive Design */
@media (max-width: 768px) {
    .project-container {
      max-width: 100%;
      padding: 15px;
      margin: 20px auto;
    }
  
    .project {
      padding: 20px;
      border-radius: 15px;
      margin-bottom: 30px;
    }
  
    .project h2 {
      font-size: 1.8rem;
    }
  
    .project p {
      font-size: 0.9rem;
    }
  
    .project-title {
      font-size: 2.2rem;
    }
  
    .project-content {
      font-size: 1rem;
      line-height: 1.6;
    }
  
    .sticky-title {
      position: static;
      padding-top: 3%;
      padding-bottom: 2%;
    }
  
    .project-content img {
      max-width: 90%;
    }
  }
  
  @media (max-width: 480px) {
    .project-container {
      padding: 10px;
    }
  
    .project {
      padding: 15px;
      border-radius: 10px;
      margin-bottom: 20px;
    }
  
    .project h2 {
      font-size: 1.5rem;
    }
  
    .project p {
      font-size: 0.85rem;
    }
  
    .project-title {
      font-size: 2rem;
    }
  
    .project-content {
      font-size: 0.9rem;
      line-height: 1.5;
    }
  
    .project-content ul {
      padding-left: 20px;
    }
  
    .project-content img {
      max-width: 100%;
    }
  }