header {
    border-bottom: none;
    background: #232323;
  }

body {
    background: #232323;
    font:17px/1.5 "OpenSansRegular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }

header h1 {
    color: royalblue;
  }

#main_content h1,
#main_content h2,
#main_content h3,
#main_content h4,
#main_content h5,
#main_content h6 {
  color: royalblue;
  text-shadow: none;
}

table {
    border-collapse: collapse;
    border-bottom: 1px dashed royalblue;
}

table th {
    border-bottom: 1px dashed royalblue;
}
 
a {
    color: royalblue;
    text-shadow: none;
  }

ul {
    list-style: none;
  }

ul li {
    list-style: none;
  }

ul li::before {
    content: none;
  }

ul li::marker {
    content: none;
  }

.header-logo {
    float: right;
    margin-top: 1px;
    margin-left: 10px;
    width: 192px;
    height: 192px;
  }

  /* Code block style */
  
.code.highlighter-rouge .err,
.punctuation,
.highlight .err,
.highlight,
.err {
    color: inherit;
    background-color: black;
    position: relative;
    border-radius:10px;
  }

  .btn-github .icon {
    opacity: 0.8;
  }

  .btn-copy {
    position: absolute;
    top: 14px; right: 14px;
    align-items: center;
    font-size: 18px;
    padding: 8px 12px;
    background-color: royalblue;
    color: #ffffff;
    border-radius:5px;
    border-color: royalblue;
    cursor: pointer;
  }

  .btn-copy i {
    font-size: 18px;
    margin-right: 6px;
  }
  
  .btn-copy:hover {
    background-color: #34549d;
  }
  


code.highlighter-rouge {
    background-color: black;
    color: white;
    font-size: 16px;
  }

.important-statement {
    color: red;
    font-weight: normal;
  }

img[alt='centered'] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

nav {
  display: flex;
  justify-content: space-evenly;
  font-size: 24px;
}

.home-container {
  display: flex;
  justify-content: space-between;
  max-width: 60%;
  margin: auto;
}

.main-container {
  display: flex;
  justify-content: space-between;
  max-width: 70%;
  margin: auto;
}

#main-area {
  flex: 70%; /* Adjust as necessary */
  /* Additional styles as necessary */
}

#categories {
  flex: 30%; /* Adjust as necessary */
  /* Additional styles as necessary */
}

.category-item {
  cursor: pointer;
}

/* CSS rules for narrow screens */
@media (max-width: 768px) {
  .home-container {
    flex-direction: column;
    max-width: 100%; /* Full width on mobile */
    padding: 0 10px;
  }
  
  .main-container {
    flex-direction: column;
    max-width: 100%; /* Full width on mobile */
    padding: 0 10px;
  }

  #main-area {
    order: 2;
    flex: 100%; /* Make the main area take up full width on mobile */
  }

  #categories {
    order: 1;
    flex: 100%; /* Make categories full width on mobile */
    margin-bottom: 20px; /* Add some space between the sections */
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.5em;
  }

  p {
    font-size: 1.2em;
  }

  /* Make images responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  .header-logo {
    width: 100px; /* Adjust the logo size on small screens */
    height: 100px;
    height: auto;
  }
}


body {
  display: flex;
  flex-direction: column;
  align-items: left;
  padding: 0;
  margin: 0;
}

@media only screen and (max-width: 480px) {
  /* Even more specific for very small devices (e.g., phones in portrait mode) */
  body {
    font-size: 1em; /* Make base font size smaller on mobile */
  }

  .header-logo {
    width: 100px; /* Adjust the logo size on small screens */
    height: auto;
  }

  #downloads a {
    font-size: 0.9em;
    padding: 8px;
  }
}

