body {
  background-image: url('https://64.media.tumblr.com/c65597d007b5fb24e5b3befd6ee2e91b/26751645c002e373-aa/s250x400/4a629f42075102e0d6a61ec893607adec71aa8ba.pnj');
  background-repeat: repeat;
  background-color: #fefcf9;
    font-family: 'Cormorant';
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 0;
    text-align: justify;
    color: #7a3142;
}

a { 
    text-decoration: none;
    color: #fe91a7;
}

a:hover {
    background: #ffc2cd;
}

header {
    text-align: center;
}

.site-name {
    margin-top: 10px;
    font-size: 28px;
    font-family: 'Uncial Antiqua', serif;
    letter-spacing: 3px;
    color: #bf213f;
}

nav {
    text-align: center;
    padding: 6px 0;
    margin-bottom: 10px;
}

nav a {
    color: #9eaa6d;
    text-transform: lowercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    border-radius: 5px;
    gap: 3px;
}

nav a:last-child {
    margin-right: 0;
}

main {
    border-right: 1px solid #d82547;
    flex: 1;
    padding-right: 20px;
    align-self: stretch;
}

.sidebar {
    width: 160px;
    padding: 0; 
}

.sidebar > div {
    margin-bottom: 0px;
}

.content-wrapper {
    display: flex !important;   /* Force flexbox layout */
    flex-direction: row;        /* Explicitly force side-by-side */
    gap: 30px;                  
    margin: 20px 0;
    align-items: flex-start;
    width: 100%;                /* Ensure container takes full wrapper width */
    box-sizing: border-box;
}

.title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #d25672;
}

.main-title {
    display: flex;
    gap: 10px;  
    color: #d25672;
    font-size: 30px;
    margin: 0px 0px 6px;
    letter-spacing: 2px;
    line-height: 50px;
}

footer {
    text-align: center;
    padding: 40px 8px;
    font-size: 12px;
}

.bottom-right-img {
    position: absolute;
    bottom: 40px; 
    right: -50px;  
    width: 50px; 
    height: auto;
    opacity: 0.8; 
    filter: brightness(0) saturate(100%) invert(48%) sepia(21%) saturate(1478%) hue-rotate(303deg) brightness(91%) contrast(87%);
}

.headerborder {
    width: 100%; 
    justify-content: center;
    display: flex;
    margin: 10px 0;
}

.headerborder img {      /* Keeps the image from stretching or distorting */
    max-height: 25px;       /* Forces the image to be short (Adjust this number to taste!) */   /* Ensures the image scales down cleanly without cropping */
}

.headerimg {
    filter: brightness(0) saturate(100%) invert(48%) sepia(21%) saturate(1478%) hue-rotate(303deg) brightness(91%) contrast(87%);
}

.page-container{
  position: relative;
  max-width: 900px;           /* Sets a nice, readable width for a blog or profile site */
    width: 90%;                 /* Keeps it responsive on smaller screens */
    background-color: #fefcf9;  /* This is the white box containing your content */
    margin: 40px auto;
    padding: 30px;/* Centers the entire white box on top of the background image */
    box-sizing: border-box;     /* Keeps padding from breaking your layout widths */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}