/* General styles */
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: #ffffff;
  font-size: 14px;
  padding: 0;
}

/* Header styles */
h1 {
  text-align: center;
  color: #003366;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Description styles */
.description {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

/* Authors section styles */
.authors-section {
  text-align: center;
  margin-top: 50px;
}

.author {
  display: inline-block;
  width: 30%;
  vertical-align: top;
}

.author-name a {
  color: #D32F2F; /* A nice red color */
  font-size: 24px;
  margin: 0;
  text-decoration: none;
  transition: color 0.3s; /* Smooth transition for hover effect */
}

.author-name a:hover {
  color: #B71C1C; /* Slightly darker red on hover */
}

.author-affiliation {
  color: #777;
  font-size: 18px;
}

.underline {
  text-decoration: underline; /* Underline only the word "Authors" */
}

/* Navbar styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 15px 30px;
  border-bottom: 2px solid #003366;
  position: fixed;
  top: 0;
  width: 95%;
  z-index: 10000;
}

.navbar .menu a {
  text-decoration: none;
  color: #003366;
  font-size: 16px;
  padding: 5px 10px;
  transition: color 0.3s;
}

.navbar .menu a:hover {
  color: #0099cc;
}

/* Sidebar styles */ 
.sidebar {
  background-color: #ffffff;
  border-right: 1px solid #dcdcdc;
  position: fixed;
  top: 0; 
  left: -100%; /* Hide the sidebar by default on mobile */
  width: 250px;
  height: 100%;
  z-index: 2000;
  transition: left 0.3s ease;
  padding: 20px;
  padding-bottom: 100px; /* Adds space at the bottom */
  margin: 55px 0 0 0;
  overflow-y: auto; /* Add this line to enable scrolling */
}



.sidebar.show {
  left: 0; /* Show sidebar when hamburger is clicked */
}

.sidebar a {
  color: #003366;
  padding: 8px;
  padding-left: 20px; /* Space for the arrow */
  transition: color 0.3s;
  cursor: pointer;
  margin: 0 0 4px 5px; /* Reduced space between subcategories */
  font-size: 14px; /* Reduced font size */
  display: block; /* Make each subcategory appear one after the other */
  position: relative; /* Position relative to add arrow */
}

.sidebar a:hover {
  color: #0099cc; /* Add hover effect for sidebar links */
}

/* .sidebar a::before { 
  content: '\25B6'; /* Unicode for a right-pointing triangle 
  position: absolute; 
  left: 5px; /* Position the arrow on the left 
  color: #003366; /* Color to match the site theme 
} */

.sidebar a::before {
  content: '';
  position: absolute;
  left: 5px; /* Position the arrow on the left */
  width: 10px; /* Adjust width as needed */
  height: 10px; /* Adjust height as needed */
  background-image: url('arrow.png'); /* Use your image */
  background-size: contain; /* Ensure the image fits within the dimensions */
  background-repeat: no-repeat;
  top: 50%; /* Move the arrow vertically to the center */
  transform: translateY(-50%); /* Adjust to center it perfectly */
}


.sidebar h2 {
  color: #003366;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 12px;
}

.sidebar a:hover, .sidebar h2:hover {
  color: #0099cc;
}

.content {
  width: 100%;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

/* Plot and link styles for revenues.html */
.plot-container {
  height: 100%; /* Reduced the height to fit better */
  width: 100%;
}

.link-container {
  text-align: left;
  margin-top: 5px; /* Reduced the top margin */
  font-size: 16px; /* Slightly smaller font size for the link */
}

.plotly-graph-div{
  height:90%; 
  width:100%;
} 

#plotFrame{
	height: 145vh;
	overflow: visible;
}

/* Hamburger menu */
.hamburger {
  display: block;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 10000;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #003366;
  margin: 5px 0;
  transition: 0.4s;
}

.hamburger.show .bar1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.show .bar2 {
  opacity: 0;
}

.hamburger.show .bar3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Media queries for larger screens */
@media (min-width: 950px) {
  .navbar {
    padding: 15px 30px;
  }

  .sidebar {
  width: 20vw;
  position: fixed;
  left: 0;
  top: 60;
  height: 100vh;
  padding: 0;
  float: left;
  padding-bottom: 100px; /* Adds space at the bottom */
  overflow-y: auto;
}

  .content {
    width: 74vw;
    float: right;
    display:block;
    height; 100vh;
  }
  
  .hamburger {
    display: none; /* Hide the hamburger menu on larger screens */
  }
}
