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

:root {
    --primary-color: 333#;
    --background-color: #2c3e50;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
}

header {
    background-color: var(--background-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

nav h1 {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

nav a:hover {
    background-color: #34495e;
    color: #3498db;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

img {
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8%;
    transition: transform 0.3s ease-in-out;
}

img:hover {
    transform: scale(110%);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

#about {
    background-color: #f8f9fa;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

#skills {
    background-color: white;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.skill-item {
    background-color: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.skill-item:hover {
    background-color: #073655;
}

.interests {
    margin-top: 2rem;
}

.interests h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.interests ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.interests li {
    margin-bottom: 0.5rem;
}

#projects {
    background-color: #f8f9fa;
}

.projects-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
    color: var(--background-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-card .tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tech-stack span {
    background-color: #ecf0f1;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--background-color);
}

.project-card a {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-card a:hover {
    color: #2980b9;
}

#contact {
    background-color: white;
    text-align: center;
}

#contact p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

footer {
    background-color: var(--background-color);
    color: white;
    text-align: center;
    padding: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contact-info a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
     color: #5dade2;
}


@media (max-width: 768px) {
nav {
    flex-direction: column;
    gap: 1rem;
}

nav ul {
    gap: 1rem;
}

section {
    padding: 3rem 1rem;
}

.projects-container {
    flex-direction: column;
}

.contact-info {
    flex-direction: column;
    gap: 0.5rem;
}
}