/* AWS Workshop Theme - Clean and Compatible */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables for AWS-inspired colors */
:root {
    --MAIN-TEXT-color: #1a1a1a;
    --MAIN-TITLES-TEXT-color: #2d3748;
    --MAIN-LINK-color: #3182ce;
    --MAIN-LINK-HOVER-color: #2c5282;
    --MAIN-ANCHOR-color: #3182ce;

    --MENU-HEADER-BG-color: #667eea;
    --MENU-HEADER-BORDER-color: #4c51bf;
    
    --MENU-SEARCH-BG-color: #f7fafc;
    --MENU-SEARCH-BOX-color: #e2e8f0;
    --MENU-SEARCH-BOX-ICONS-color: #4a5568;

    --MENU-SECTIONS-ACTIVE-BG-color: #667eea;
    --MENU-SECTIONS-BG-color: #ffffff;
    --MENU-SECTIONS-LINK-color: #4a5568;
    --MENU-SECTIONS-LINK-HOVER-color: #2d3748;
    --MENU-SECTION-ACTIVE-CATEGORY-color: #ffffff;
    --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #667eea;

    --MENU-VISITED-color: #38a169;
    --MENU-SECTION-HR-color: #e2e8f0;
}

/* Typography improvements */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Code blocks */
pre {
    background: #1a202c !important;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #2d3748;
}

code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

pre code {
    background: transparent;
    padding: 0;
    color: #e2e8f0;
}

/* Navigation buttons */
#navigation a.nav-prev, 
#navigation a.nav-next {
    color: #667eea !important;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    /* border-radius: 8px; */
    background: #fefefe;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* margin: 0.5rem; */
    min-width: 70px !important;
    width: 50px !important;
}

#navigation a.nav-prev:hover, 
#navigation a.nav-next:hover {
    /* color: #ff6b6b !important; */
    color: #667eea !important;
    background: #e9eaee;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Navigation container */
#navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    flex-wrap: wrap;
    gap: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

#navigation .nav-prev {
    margin-right: auto;
}

#navigation .nav-next {
    margin-left: auto;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    #body {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Navigation responsive */
    #navigation {
        flex-direction: column;
        align-items: stretch;
    }
    
    #navigation .nav-prev,
    #navigation .nav-next {
        margin: 0.25rem 0;
        width: 100%;
        text-align: center;
    }
}
