/* --- 1. Base Layout & Reset --- */
* {
    box-sizing: border-box; /* Prevents padding from breaking width */
}

body {
    margin: 0;
    padding: 0;
    background-color: #F7F4EA;
}

#container {
    display: flex;
}

/* --- 2. Sidebar Configuration --- */
#sidebar {
    position: fixed;
    width: 280px;
    height: 100vh;
    padding: 20px;
    overflow-y: auto; /* Ensures links aren't cut off on small screens */
    
    background-color: #DED9E2;
    border-right: 2px solid #A99FD1;
    font-family: 'Doto', sans-serif;
}

#sidebar h2 {
    margin-bottom: 10px;
    color: #A99FD1;
    font-size: 3rem;
}

#sidebar ul {
    padding: 0;
    list-style-type: none;
}

#sidebar li {
    margin: 15px 0;
}

#sidebar a {
    color: #80A1D4;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

#sidebar a:hover {
    color: #75C9C8;
    text-decoration: underline;
}

#sidebar p {
    color: #80A1D4;
    font-size: 1rem;
    font-weight: bold;
}

/* --- 3. Main Content Area --- */
#main-content {
    flex-grow: 1;
    margin-left: 280px; /* Matches sidebar width */
    min-height: 100vh;
    padding: 40px;
    
    color: #A99FD1;
}

/* --- 4. Typography --- */
h1 {
    margin-top: 0;
    font-family: 'Doto', sans-serif;
    font-size: 4rem;
    font-weight: 800; /* Standard way to handle variable weight */
}

h2 {
    font-family: 'Datatype', sans-serif;
    font-size: 3rem;
}
h3 {
    font-family:'Datatype', sans-serif;
    font-size: 2rem;
}

p {
    font-family: 'Datatype', sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
}

/* --- 5. Images --- */
img {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
}

#randomImage {
    display: block;
    max-height: 125px;
    margin: 20px auto;
}