:root {
    --header-image: url('IMAGELINK');
    /* colors */
    --content-bg: #181825;
    --sidebar-bg: #11111B;
    --topbar-bg: #11111B;
}

body {
    margin: 0;
    background-color: #1E1E2E;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

#container {
    max-width: 1250px;
    margin: 0 auto;
}

#container a {
    font-weight: bold;
    text-decoration: none;
    padding: 0px 0px;
}

#topbar {
    width: 100%;
    height: auto;
    padding: 10px;
    font-size: smaller;
    text-align: center;
    font-weight: bolder;
    background-color: var(--topbar-bg);
    color: #CCD5F4;
}

#header {
    width: 100%;
    background-color: bisque;
    height: 150px;
    background-image: var(--header-image);
    background-size: cover; /* Changed to cover for better filling */
    background-position: center;
}

#flex {
    display: flex;
}

/* Sidebar styling */
aside {
    background-color: var(--sidebar-bg);
    width: 250px;
    padding: 20px;
    font-size: smaller;
}

#leftSidebar {
    order: 1;
}

/* Main content area */
main {
    background-color: var(--content-bg);
    flex: 1;
    padding: 12px;
    order: 2;
    color: #CCD5F4;
}

footer {
    background-color: #181825;
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

.button{
  background-color: #343546;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.noto-sans-regular {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.noto-sans-bold {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
div.justify {
    text-align: justify;
    text-justify: inter-word;
}
h1 {
    color: #CDD6F4;
    text-align: left;
}
h2, h3 {
    color: #A6ADC8;
}

h3 {
    color: #BAC2DE;
}

h1 {
    font-size: 25px;
}

strong {
    color: #1B1616;
}

ol {
    counter-reset: item;
}

ol li {
    padding-bottom: 5pt;
    text-align: left;
    display: block;
    direction: ltr; /* Changed from rtl to prevent text pushing off-screen */
}

ol li::before {
    content: counter(item) ""
    ;
    counter-increment: item;
    padding-right: 20px;
}

div.flexbox {
    display: flex;
    flex-direction: row; 
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    /* Ensure nothing spills out of the main container */
    overflow: hidden; 
}

div.flexbox .element:first-child {
    flex-shrink: 0; /* Keeps the image container from squishing */
}

div.flexbox .element:last-child {
    flex: 1; /* Forces the text container to stay within the remaining space */
    min-width: 0; /* Essential for preventing flex-item overflow */
}

.element img {
    max-width: 300px;
    height: auto;
    display: block;
}

div.flexbox {
    display: flex;
    gap: 20px; /* Space between the two boxes */
    align-items: flex-start;
}

.main-text {
    flex: 2; /* Takes up 2/3 of the space */
}

.side-box {
    background-color: #1e1e2e; /* Slightly lighter than your background */
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #cba6f7; /* Adds a nice accent line */
    text-indent: 1px;
    color: #CCD5F4;
}

/* Link colors */
a {
  color: #89B4FA;
  font-weight: bold;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}

 /* Style all font awesome icons */
 .fa {
  padding: 20px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-github {
  background: #3B5998;
  color: white;
}

/* Twitter */
.fa-twitter {
  background: #55ACEE;
  color: white;
} 

/* Images */

.myImage {
  float: left;
  height: 75px;
  width: 235px;
  font-family: Veranda;
}
.heading {
  float:right;
}
