/* Setting the body's background colour and font family */
*{
    margin: 0;
    padding: 0;
}

body {
    background-color: #101010;  /* background */
    font-family: serif;       /* Using serif font */
    margin: 0;                /* Remove default margin */
    padding: 0;            /* Add some padding to the body */
    color: #aaaaaa;
    min-height: 100vh;
}


/* Styling the content box */
.content-box {
    width: 85%;           /* Varible */
    max-width: 800px;
    margin: 0 auto;          /* Centre the box horizontally */
    padding: 20px;           /* Add padding inside the box */
    background-color: #202020;  /*  background for the text box */
    box-shadow: 0 0 40px rgba(0, 0, 0, 1); /* Optional: subtle shadow for depth */
    border-radius: 8px;      /* Optional: rounded corners */
    text-align: justify;      /* Justifying the text */
    margin-bottom: 15px;     /* Space between paragraphs */
}

/* Styling for headings and paragraphs */
h1 {
    color: #aaaaaa;  
    font-size: 28px;         /* Font size for the heading */
    margin-top: 5px;
    margin-bottom: 20px;     /* Space below the heading */
}

h2 {
    color: #aaaaaa;  
    font-size: 24px;         /* Font size for the heading */
    margin-bottom: 10px; 
    margin-top:  50px;  
}

h3 {
    color: #aaaaaa;  
    font-size: 20px;         /* Font size for the heading */
    margin-bottom: 5px;     /* Space below the heading */
    /*adding-left: 15px;*/
    font-weight: normal; 
}

p{
    margin-bottom: 15px;
    font-size: 18px;
}

ul {
    margin-bottom:15px;
    padding-left: 50px;
    font-size: 18px;
   }

li {
    margin-bottom:0px;
    margin-left: 50px;
    font-size: 18px;
    padding-bottom:5px;
    align-items: center;
}

a{
    color: #aaaaaa;
    /*text-decoration: none;*/
}

img{
    max-width: 80%;
    /*max-height: 50vh;*/
    margin: auto;
    display: block;
    margin-bottom: 15px;
}

table {
    text-align: left;
    margin-top:30px;
    margin-bottom:30px;
}

th, td {
    border: 2px solid grey;
    padding: 5px;
    background-color: #ffffff;
}



/* Auto hiding Top Bar */
#app {
    padding-top: 120px;
  }
  
  .main-header {
    position: fixed;
    top: -100px;
    left:10px;
    right:10px;
    transition: all 200ms linear;
    list-style: none; /* Get rid of bullet points*/
    background-color: #202020;
    box-shadow: 0 0 40px rgba(0, 0, 0, 1); /* Optional: subtle shadow for depth */
    /*width: 85%;           /* Variable width 
    max-width: 800px;*/
    padding: 20px; 
    border-radius: 8px;      /* Optional: rounded corners */
    margin-top: 10px; 
    height:50px;
        
    &.is-sticky {
      top: 0;
    }
  }

nav ul{
    width: 100%;
    list-style: none; /* Get rid of bullet points*/
    display: flex; /*Display items flexibly rather than as vertical list */ 
    justify-content: flex-end; /*right align*/
    align-items: center;
    padding-left: 0px;
}

nav li{
    height: 50px;
}

nav a{
    height: 100%;
    padding: 0 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #aaaaaa;
}

nav a:hover{
    background-color: #00320d;
}

nav li:first-child{
    margin-right: auto;
}

.sidebar{
    position:fixed;
    top: 15px;
    right: 15px;
    height: 80vh;
    width: 300px;
    z-index: 999;
    border-radius: 8px;      /* Optional: rounded corners */
    background-color: rgba(0, 0, 0, 0.521);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;


}

.sidebar li{
    width:240px;
}

.sidebar a{
    width:100%;
}

.hideOnDesktop{
    display:none;
}

@media(max-width: 920px){
    .hideOnMobile{
        display: none;
    }
    .hideOnDesktop{
        display: block;
    }
}


  