body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    background: #181818; /* fallback dark sky */
}

.section {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
}

.section-title {
    background: transparent;
}
.section-about {
    background: transparent;
}
.section-projects {
    background: transparent;
}
.section-experience {
    background: transparent;
}
.section-contacts {
    background: transparent;
}

body {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

/* Add these styles for the canvas background */
#leaves-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* allows clicks to pass through */
    z-index: 1;
}

#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Section Headings */
.section h2 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 16px #000a, 0 1px 0 #fff2;
    transition: color 0.3s;
}

/* Description Text */
.card {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    font-size: 1.3rem;
    color: #e0e0e0;
    background: rgba(32,32,32,0.7);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.2rem 2rem;
    box-shadow: 0 2px 12px rgba(44,62,80,0.12);
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: 0.01em;
    transition: background 0.3s, transform 0.18s, box-shadow 0.18s;
}

.card:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 6px 24px rgba(44,62,80,0.22);
}

.card-list {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    margin-top: 1.5rem;
    align-items: center;
    gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .section h2 {
        font-size: 2rem;
    }
    .card {
        font-size: 1rem;
        padding: 1rem 0.7rem;
        max-width: 90vw;
        margin: 0.5rem 0;
    }
    .card-list {
        padding: 0.5rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 400px) {
    .section h2 {
        font-size: 2rem;
    }
    .card {
        font-size: 0.8rem;
        padding: 1rem 0.7rem;
        max-width: 80vw;
        margin: 0.5rem 0;
    }
    .card-list {
        padding: 0.5rem;
        margin-top: 0.5rem;
    }
}