﻿
body {
    background: #aae0ff;
    font-family: 'Roboto', Arial, sans-serif; 
    color: #333333; 
    margin: 0;
    padding: 0;
}


:root {
    --header-offset: 100px; 
}

html {
    scroll-padding-top: var(--header-offset);
    scroll-behavior: smooth;
}

section {
    gap: 12px;
    flex-wrap: wrap;
}


body {
    font-size: 1em;
    color: #c19a6b; 
    padding: 6px 10px;
#page {
    width: 900px;
    margin: auto;
    padding: 20px;
    background: #e2ddcb; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    border-radius: 10px; 
}


header {
    border-bottom: 4px solid #c19a6b; 
    margin-bottom: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    background: #e2ddcb; 
    z-index: 30;
    padding: 12px 0;
    transition: box-shadow 180ms ease, padding 180ms ease;
}

header h1 {
    font-family: 'Poppins', sans-serif; 
    font-size: 2.8em;
    margin: 0;
    color: #c19a6b;
}


header.scrolled {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 8px 0;
}

header.scrolled h1 {
    font-size: 2.1em;
}

header h2 {
    font-size: 1.4em;
    margin: 5px 0 20px;
    color: #6c757d; 
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    font-size: 0.95em;
    color: #c19a6b;
    padding: 5px 8px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover {
    background: #8b5e3c; 
    color: #ffffff; 
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 2em;
    color: #c19a6b; 
    border-bottom: 3px solid #c19a6b;
    padding-bottom: 8px;
    margin-bottom: 20px;
}


article, aside {
    display: block;
    
    text-align: justify;
}

article {
    max-width: 980px;
    margin: 0 0 20px 20px;
}


aside {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    max-width: 30%;
    background: #c19a6b; 
    color: #fdf5e6; 
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 20;
}


.lang-switch {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}

.lang-switch a {
    display: inline-block;
    padding: 6px 10px;
    font-weight: 700;
    color: #6c757d;
    background: #fdf5e6;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.06);
    transition: background 160ms ease, color 160ms ease, transform 120ms ease;
}

.lang-switch a:hover {
    background: #c19a6b;
    color: #fff;
    transform: translateY(-1px);
}


@media (max-width: 420px) {
    .lang-switch a { padding: 6px 8px; font-size: 0.95em; }
}

aside h3 {
    margin-top: 0;
    font-size: 1.5em;
}

aside img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}


@media (max-width: 900px) {
    body {
        padding: 20px;
    }
    aside {
        position: static;
        width: auto;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
    article {
        margin: 0 0 20px 0;
    }
    nav ul {
        gap: 12px;
        flex-wrap: wrap;
    }
}


.accordion-list,
.accordion-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

details summary {
    cursor: pointer;
    padding: 12px;
    border-radius: 5px;
    background: #fdf5e6;
    border-left: 5px solid #c19a6b;
    margin-bottom: 6px;
    font-weight: 600;
    transition: background 0.15s, transform 0.15s;
    color: #c19a6b; 
}

details[open] summary {
    background: #f8ecd9;
    transform: translateX(5px);
}

details .desc {
    padding: 12px;
    margin-top: 6px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    color: #2b3a4a; 
}


#about p {
    color: #2b3a4a;
    line-height: 1.6;
}

.accordion-list > li {
    margin-bottom: 15px;
}


ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 15px;
    padding: 15px;
    background: #fdf5e6; 
    border-left: 5px solid #c19a6b; 
    border-radius: 5px;
    transition: transform 0.2s;
}

ul li:hover {
    transform: translateX(5px); 
    background: #f8ecd9;
}


footer {
    text-align: center;
    font-size: 0.9em;
    color: #6c757d; 
    margin-top: 30px;
}

footer a {
    color: #c19a6b; 
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
} } 