@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  background-image: url('/assets/images/5026.png');
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.site-header {
  width: 100%;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  background-color: transparent;
  box-shadow: none;
}

.site-header h1 a {
  text-decoration: none;
  color: inherit;
}

.site-header h1 a:hover {
  text-decoration: underline;
}

/* Layout container */
.main-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}


/* Left Sidebar */
.sidebar {
  flex: 0 0 200px;
  background-color: #fff;
  padding: 1rem;
  border: 2px solid #333;
  box-sizing: border-box;
}

.sidebar strong:first-child {
  margin-top: 0;
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav li {
  margin-bottom: 0.4rem;
}

.sidebar nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.sidebar nav a:hover {
  color: #1e90ff;
  text-decoration: underline;
}

.sidebar strong {
  border-bottom: 1px solid #ccc;
  display: block;
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

/* Main content box */
.content-box {
  flex: 1 1 0;
  background-color: #fff;
  padding: 1rem 1rem 0.25rem;
  border: 2px solid #333;
  box-sizing: border-box;
  min-width: 0;
  margin-bottom: 2rem;
}

.content-box h1 {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Right Sidebar */
.right-sidebar {
  flex: 0 0 200px;
  background-color: #fff;
  padding: 1rem;
  border: 2px solid #333;
  box-sizing: border-box;
}

/* Responsive layout */
@media (max-width: 900px) {
  .main-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

    .content-box {
    order: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    flex: 0 0 auto;
    align-self: stretch;
  }

  .right-sidebar {
    order: 2; 
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    flex: 0 0 auto;
    align-self: stretch;
  }

  .sidebar {
    order: 3; 
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    flex: 0 0 auto;
    align-self: stretch;
  }

@media (max-width: 500px) {
  .sidebar nav a {
    font-size: 0.95rem;
  }

  .content-box {
    padding: 0.75rem 1rem;
  }
}
}

.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container-hr {
  border: none;
  height: 2px;
  background-color: #333;
  width: 100%;
  margin: 2rem 0;
}
