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

footer {
    text-align: center;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 0rem;
}

img {
  max-width: 100%;
  height: auto; /* This maintains the aspect ratio */
  display: block; /* Helps with alignment and removes extra space below the image */
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  border-radius: 10px;
  transition: all 1s ease;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}


img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.container {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-item:hover {
    border-color: #999;
    background: #fafafa;
}

.link-title {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.link-desc {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .about {
        font-size: 1rem;
    }
}

/* Nav */
nav {
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 2rem;
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

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

.nav-links a {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a.active {
    color: #000;
    font-weight: 500;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #ddd;
        padding: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        border-top: 1px solid #ddd;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: relative;
    }
}