/* Core Layout Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    overflow-x: hidden;
    color: #000000;
    background-color: #999991;
}

/* 1. Hide the checkbox off-screen safely, sort of necessary for Firefox */
.toggle-checkbox {
    position: absolute;
    top: -9999px;
    left: -9999px;
    opacity: 0;
}

/* 2. Style the Box you click */
.toggle-box {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
    /* Transition applied to 'left' so it moves smoothly with the layout */
    transition: background-color 0.2s ease, left 0.3s ease-in-out;
}

.LinkDescription {
    font:  10px "Times New Roman", sans-serif;
}

.toggle-box:hover {
    background-color: #555;
}

/* 3. Style the Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Width is 250px, starts completely hidden */
    width: 250px;
    height: 100vh;
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 20px 20px 20px;
    transition: left 0.3s ease-in-out;
    z-index: 50;
}

.sidebar ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar ul li a {
    display: block;
    color: #bbb;
    text-decoration: none;
    padding: 10px 0;
}

/* 4. Main Content Area (With Push Transition) */
.content {
    padding: 80px 20px;
    position: relative;
    left: 0;
    /* Crucial: Must match the timing and easing of the sidebar slide */
    transition: left 0.3s ease-in-out; 
}


/* Slide the Sidebar in */
.toggle-checkbox:checked ~ .sidebar {
    left: 0;
}

/* Move the Button over so it stays accessible */
.toggle-checkbox:checked ~ .toggle-box {
    background-color: #ff4757;
    left: 270px; /* 250px (sidebar width) + 20px padding */
}

/* Push the Main Content to the right by exactly the width of the sidebar */
.toggle-checkbox:checked ~ .content {
    left: 250px;
}



.DescriptorSeperator {
    border: none;               /* Removes the default ugly border */
    height: 2px;                /* Makes the line 2 pixels thick */
    background-color: #333333;  /* Sets the line color */
    width: 100%;                /* Spans the full width of its container */
    margin: 20px 0;             /* Adds space above and below the line */
}


.tldr {
    text-decoration: none; /* Removes the underline */
    color: black;        /* Removes color text*/
    display: block;
    max-width: 60%;
    width: 60%;           /* Takes up the middle 60% */
    margin: 0 auto;       /* Spreads the remaining 40% equally (20% left, 20% right) */
    text-align: center;   /* Centers the text inside the 60% box */
    max-height: 20%;
}

.tldrphoto {
    max-width: 100%;        /* Prevents the photo from ever spilling out of the .tldr box */
    max-height: 300px;      /* Use a fixed unit (px or rem) for height limits instead of % */
    width: auto;            /* Keeps the photo's aspect ratio perfect */
    height: auto;           /* Safely scales down dynamically */
    display: block;         /* Eliminates default inline spacing bugs */
    margin: 10px auto;      /* Centers the photo inside the link box */
}