* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-image: url('images/polygrid.svg');
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    min-height: 100vh;
    color: rgb(255, 255, 255);
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    z-index: 1000;
}
nav {
    display: flex;
    gap: 30px;
    background-color: rgba(55, 132, 167, 0.425);
    border-radius: 50px;
    padding: 12px 30px;
}
nav a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 0.95rem;
}
nav a:hover {
    text-decoration: underline;
}
main {
    padding-top: 80px;
}
section {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}
#hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
#hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}
h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#about p {
    color: rgba(255, 255, 255, 0.8);
}
.project-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.project-list li {
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-list a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1rem;
}
.project-list a:hover {
    text-decoration: underline;
}
.project-list p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 5px;
}
.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}
.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
#contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}
#contact a {
    color: rgb(97, 147, 221);
    text-decoration: none;
}
#contact a:hover {
    text-decoration: underline;
}
footer {
    text-align: center;
    padding: 30px 40px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stack-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}
.stack-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.stack-list img {
    width: 60px;
    height: 60px;
}
.stack-list span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

html {
  scroll-behavior: smooth;
}