*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
    background-color: #f4f4f4;
}

/* Sidebar styling */
.sidebar {
    width: 250px;
    background-color: #333;
    color: #FF5959;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10px;
}

/* Logo styling */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 20px;
}
.logo img {
    width: 250px; /* Adjust as needed */
}

/* Navigation links */
.sidebar-nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sidebar-nav a {
    color: #FF5959;
    text-decoration: none;
    /* padding: 10px 0;*/
    width: 100%;
    text-align: center;
    display: block;
    transition: background-color 0.3s;
}
.sidebar-nav li:hover {
    background-color: #555;
}

.sidebar-nav ul {
  list-style-type: none;
  text-align: center;
  padding:0;
  margin:0;
}

.sidebar-nav li{
  position:relative; /* important for submenu positioning */
  padding: 10px 0;
}

.sidebar-nav li:last-child{
  border-bottom:none;
}

.sidebar-nav .submenu {
  position: absolute;
  top: 0; /* this is the height of the li element */
  left:60%;          /* place submenu to the right of the parent, but not all the way */
  width:200px;
  background:#333;
  display:none;
  z-index:1000;
}



.sidebar-nav li:hover > .submenu {
  display: block;
}

.sidebar-nav .submenu li{
  border-bottom:1px solid #555;
}
.sidebar-nav .submenu a{
  padding:10px 15px;
  color:#fff;
}
.sidebar-nav .submenu a:hover{
  background:#555;
    }

.sidebar-nav .submenu li:hover{
  background:#555;
    }

/* Login section styling */
.login-section {
    padding: 20px;
    background-color: #222;
    text-align: center;
}
.login-section input[type="login"],
.login-section input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
}
.login-section button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #FF5959;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.login-section button:hover {
    background-color: #b35959;
}
.body_content {
    /*max-width: 100vh; *//* Set a maximum width for the content */
    width: 100%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left;
}

.boxed-code {
    font-family: monospace;
    border: 1px solid #333;
    padding: 4px;
    border-radius: 4px;
    background-color: #f9f9f9;
    display: inline-block;
}

.font-box {
    font-family: 'DejaVuSansMono', sans-serif; /* Fallback to sans-serif */
    font-size: 20px;
    border: 1px solid #333;
    padding: 10px;
    width: 50%;
    text-align: center;
    margin: 20px auto;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
body {
    flex-direction: column;
}
.sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}
.main-content {
    padding-top: 10px;
}
}