/* Default styles for all screen sizes */
/* Put your existing CSS styles here */


/* Reset default margin and padding */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Set a background color */
body {
  background-color: #162233;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  min-height: 100vh;
}

/* Logo styles */
#logo {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 100%;
  height: auto;
  border: 2px solid #3e4b61;
}
#logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header styles */
#header {
  background-color: #3e4b61;
  color: #ffffff;
  padding: 5px;
  text-align: center;
  width: 400px;
}

#header h1 {
  font-size: 24px;
  margin: 0;
}

#header p {
  font-size: 16px;
  margin: 10px 0;
}

/* Center the main content */
.container {
  width: 800px;
  padding: 20px;
  background-color: #3e4b61;
  margin-right: auto;
  margin-left: auto;
}

/* Style the sidebar */
.sidebar {
  background-color: #1d2d44;
  padding: 20px;
  width: 200px;
  color: #ffffff;
}

/* Style the sidebar sections */
.sidebar section {
  margin-bottom: 20px;
}

/* Clear floats after the main content and sidebar */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Footer styles */
footer {
  background-color: #0f1722;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 0;
}

/* Navigation styles */
nav {
  background-color: #1d2d44;
  padding: 2px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin-right: 10px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #ffffff;
  color: #1d2d44;
}

/* Flexbox layout */
main {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: flex-start; /* Align content at the top */
}

.sidebar {
  margin-left: 20px; /* Add margin between container and sidebar */
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(50% - 400px);
  height: 100%;
  background-color: #2b3a4e;
  z-index: -1;
}
