/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: white;
    color: black;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
    padding: 20px;
    border-bottom: 1px solid black;
}

.nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: normal;
    transition: all 0.3s ease;
    padding: 5px 10px;
}

.nav-links a:hover {
    text-decoration: underline;
    background-color: #f0f0f0;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Main content */
main {
    padding-top: 120px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 0;
}

.hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.about-section {
    padding: 0 20px;
    margin-bottom: 50px;
}

/* ABC Section Styles */
.abc-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.abc-section:nth-child(odd) {
    background-color: #fafafa;
}

.abc-section:nth-child(even) {
    background-color: white;
}

.letter-container {
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.letter {
    font-size: 8rem;
    font-weight: bold;
    color: #16a34a;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.term {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: black;
}

.definition {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
}

/* Letter-specific styling */
#letter-a .letter { color: #ef4444; }
#letter-b .letter { color: #f97316; }
#letter-c .letter { color: #eab308; }
#letter-d .letter { color: #22c55e; }
#letter-e .letter { color: #06b6d4; }
#letter-f .letter { color: #3b82f6; }
#letter-g .letter { color: #8b5cf6; }
#letter-h .letter { color: #ec4899; }
#letter-i .letter { color: #f43f5e; }
#letter-j .letter { color: #84cc16; }
#letter-k .letter { color: #14b8a6; }
#letter-l .letter { color: #0ea5e9; }
#letter-m .letter { color: #6366f1; }
#letter-n .letter { color: #a855f7; }
#letter-o .letter { color: #d946ef; }
#letter-p .letter { color: #16a34a; }
#letter-q .letter { color: #f59e0b; }
#letter-r .letter { color: #ef4444; }
#letter-s .letter { color: #10b981; }
#letter-t .letter { color: #06b6d4; }
#letter-u .letter { color: #8b5cf6; }
#letter-v .letter { color: #f97316; }
#letter-w .letter { color: #22c55e; }
#letter-x .letter { color: #6366f1; }
#letter-y .letter { color: #eab308; }
#letter-z .letter { color: #ec4899; }

/* Responsive design */
@media (max-width: 768px) {
    .letter {
        font-size: 6rem;
    }
    
    .term {
        font-size: 2.5rem;
    }
    
    .definition {
        font-size: 1.2rem;
    }
    
    .letter-container {
        padding: 20px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .letter {
        font-size: 4rem;
    }
    
    .term {
        font-size: 2rem;
    }
    
    .definition {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
}

