/* General styles for the body */
body {
  font-family: Arial, sans-serif;
  background-color: #0c1226;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

/* Header styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e2233;
  padding: 20px;
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}


/* Container styling */
.container {
  max-width: 95%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: flex-start;
}

/* Specific styling for mainContent divs */
#mainContent0, #mainContent0a, #mainContent1 {
  width: 100%; /* Ensure full width */
  margin-left: 0; /* Remove any left margin */
  text-align: left; /* Align text to the left */
}

/* If you want some padding from the left edge of the page */
#mainContent0, #mainContent0a, #mainContent1 {
  padding-left: 20px; /* Adjust as needed */
}

/* Heading colors */
h1, h2 {
  color: #7289da;
}

/* Button styling */
button {
  background-color: #7289da;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #5a6fc7;
}

/* Input styling */
input {
  background-color: #1e2233;
  color: #ffffff;
  border: 1px solid #7289da;
  padding: 5px 10px;
  margin: 5px 0;
  border-radius: 5px;
}

/* Horizontal rule styling */
hr {
  border: 1px solid #7289da;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background-color: #1e2233;
  padding: 20px;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #7289da;
}

th {
  background-color: #7289da;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

/* Header right section */
.header-right {
  display: flex;
  align-items: center;
}

.header-right h2 {
  margin-left: 20px;
}

/* Token balance header */
#tokenBalanceHeader {
  margin-left: 20px;
}

/* Stake list styling */
#stakeList {
  width: 100%;
  overflow-x: auto;
}

#stakeList table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#stakeList th,
#stakeList td {
  padding: 12px;
  text-align: center;
  border: 1px solid #7289da;
}

#stakeList th {
  background-color: #7289da;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

/* Spinner styling */
.spinner {
  display: none;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #7289da;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pagination styling */
.pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination button {
  margin-right: 5px;
  padding: 5px 10px;
  background-color: #7289da;
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.pagination button.active {
  background-color: #5a6fc7;
}

.pagination button:hover {
  background-color: #5a6fc7;
}

/* Nav link styles in the header */
header nav a {
  color: #7289da; /* Link color */
  text-decoration: none; /* Remove underline */
  font-size: 16px; /* Font size */
  display: flex;
  align-items: center;
  margin: 0 10px;
  padding: 5px 0; /* Add padding to create space */
}

header nav a img {
  height: 30px;
  width: 30px;
  margin-right: 10px;
  transition: opacity 0.3s ease-in-out;
}

header nav a:hover {
  color: #5a6fc7; /* Hover color */
}

header nav a:hover img {
  opacity: 0.7; /* Image hover effect */
}

/* Stake info styling */
#stakeInfo {
  display: flex;
  justify-content: center;
}

#stakeInfo table {
  width: auto;
  border-collapse: collapse;
  margin-top: 20px;
}

#stakeInfo th,
#stakeInfo td {
  padding: 12px;
  text-align: left;
  border: 1px solid #7289da;
}

#stakeInfo th {
  background-color: #7289da;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 20px;
}

/* Stake index example */
.stake-index-example {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* General link styles */
a {
  color: #7289da; /* General link color */
  text-decoration: none; /* Remove underline */
  font-size: 16px; /* Font size */
}

a:hover {
  color: #5a6fc7; /* Hover color */
}

.video-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.youtube-video {
  flex: 0 0 560px;
  margin-right: 20px;
}

.twitter-post {
  flex: 1;
}

.hidden {
  display: none;
}
