/* CSS Reset */
* {
    margin: 0;          /* Removes all margin */
    padding: 0;         /* Removes all padding */
    box-sizing: border-box; /* Ensures padding and borders are included in element width/height */
}


:root[data-theme="light"] {
    --background: #ffffff;
    --current-line: #e0e0e0;
    --selection: #d6d6d6;
    --foreground: #000000;
    --comment: #a0a0a0;
    --cyan: #008b94;
    --green: #228b22;
    --orange: #b4593b;
    --pink: #ff69b4;
    --purple: #8a2be2;
    --red: #dc143c;
    --yellow: #ffd700;
    --navbar_link: #f3f3f3;
    --nav_button_background: #c8ccd5;
    --nav_button_hover: #dfe3e8;
    --delete: #8B0000FF;
}

:root {
    --background: #282a36;
    --current-line: #44475a;
    --selection: #6272a4;
    /*--foreground: #f8f8f2;*/
    --foreground: #b2b2af;
    --comment: #6272a4;
    --cyan: #8be9fd;
    --green: #50fa7b;
    --orange: #ffb86c;
    --pink: #ff79c6;
    --purple: #bd93f9;
    --red: #ff5555;
    --yellow: #f1fa8c;
    --navbar_link: #444;
    --nav_button_background: #0550b4;
    --nav_button_hover: #0861dc;
    --delete: #8B0000FF;
}

body {
    background-color: var(--background); /* Background of the site */
    color: var(--foreground);            /* Default text color */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Arrange the children (content and footer) in a vertical column */
    min-height: 100vh; /* Ensure the body stretch to fill at least the full viewport height */
}

h1, h2, h3, h4, h5 {
    margin: 20px;
    color: var(--orange); /* Headings use the pink accent */
}

p {
    margin-left: 40px;
}

button {
    background-color: var(--navbar_link);
    color: var(--foreground);
    border: 1px solid var(--selection);
    /*padding: 0.5rem 1rem;*/
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;

    padding: 5px 10px;
    cursor: pointer;

}

button:hover {
    background-color:var(--selection);
}

.basic_paragraph {
    /*margin: 20px;*/
    /*padding: 20px;*/
    /*font-family: Arial, sans-serif;*/
    /*line-height: 1.5;*/
}

.basic_paragraph h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

.basic_paragraph ul {
    list-style-type: disc;
    margin: 20px 40px;
    padding-left: 40px;
}

.basic_paragraph li {
    margin: 10px 0;
    font-size: 1.2em;
}

.basic_paragraph p {
    font-size: 1.1em;
    text-align: justify;
}

/* Footer styling */
footer {
    /*background-color: #ff0000; !* Add a light background for visibility *!*/
    padding: 10px 20px; /* Add some padding */
    text-align: center; /* Center the text inside the footer */
    box-sizing: border-box; /* Include padding in width calculation */
    margin-top: auto; /* Push the footer to the bottom when content is short */
}

footer p {
    margin: 20px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar_wide {
        flex-direction: column; /* Stack links vertically on narrow screens */
    }

    .navbar_wide a {
        margin: 0.5rem 0; /* Add spacing between links */
    }
}