@import url('https://fonts.googleapis.com/css2?family=Mali:ital,wght@0,200;0,700;1,400&display=swap');

body {
    margin: 0;
    background-image: url(https://textures.neocities.org/textures/pattern-and-prints/hunterceramic4x4195.jpg);
    font-family: "Mali", cursive;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#container {
    width: 900px;
    margin: 30px auto;
    background-color: white;
    border: 3px solid white;
    border-radius: 10px;
    display: flex !important; 
    flex-direction: row !important; 
    flex-wrap: nowrap !important;   
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#header {
    width: 220px;
    flex-shrink: 0; 
    background-color: #fcfcfc;
    padding: 25px;
    border-right: 1px solid #eee;
    box-sizing: border-box;
}

.sidebar-image img {
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}

#header h1 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
}

#header ul {
    list-style-type: none;
    padding: 0;
}

#header li {
    margin-bottom: 12px;
}

#header li a {
    text-decoration: none;
    color: #556b2f;
    font-weight: 600;
}

#content {
    flex-grow: 1;
    min-width: 0; 
    padding: 40px;
    line-height: 1.7;
    background: #fff;
    overflow-wrap: break-word;
}

#content img {
    max-width: 100% !important; 
    height: auto;
}

#footer {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    margin: 20px auto 50px auto !important;
    clear: both !important;
}

.sticky-note {
    background: #fefabc;
    padding: 20px;
    width: 260px;
    font-size: 0.85rem;
    color: #444;
    text-align: center;
    box-shadow: 5px 5px 12px rgba(0,0,0,0.15);
    transform: rotate(-1.5deg);
    border: 1px solid #f0e9a0;
    position: relative;
    display: block;
}

.sticky-note::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

@media (max-width: 800px) {
    #container {
        width: 95%;
        flex-direction: column !important; 
    }
    #header {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

.sticker {
    position: absolute;
    z-index: 999; 
    pointer-events: none; 
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.2)); 
}
