/* Reset some default browser styles */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f6f8;
  color: #00ff66;
  line-height: 1.6;
  background-image: url('/css/img/background4.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  background-attachment: fixed;

}
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: transparent; 
}
.content-wrap {
  flex: 1;
}

/*Navigation bar */
/* Header / Nav */
header {
  background: rgba(0,0,0,0);
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  transition: background 0.5s ease;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-container nav {
  display: flex;
  gap: 30px;
}

/* Navigation buttons */
.nav-container nav a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;           
  background-color: #00ff66;     
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover effect for nav buttons */
.nav-container nav a:hover {
  background-color: #72deec80;    
  transform: scale(1.05);        
  box-shadow: 0 4px 15px rgba(9, 246, 49, 0.975); /* Glow effect */
}
/* Login/Register container */
.container0 {
  display: flex;           /* Enables Flexbox */
  justify-content: center;
  font-weight: bolder;
  margin: 1rem;
  text-align: right;
  font-size: 24px;
}

.container0 li {
  display: inline;
  margin-left: 1rem;
}

.container0 a {
  color: #1e2a38;
  text-decoration: none;
  font-weight: bold;
}

.container0 a:hover {
  color: #0077cc;
}

/* User sections */
.container1, .container2, .container3 {
  background: white;
  margin: 1rem auto;
  padding: 1rem;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #01000a;
}

.container1 img,
.container2 img,
.container3 img {
  border-radius: 50%;
  border: 2px solid #ddd;
}
.error-box{
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
/* Footer */
p {
  text-align: center;
  margin-top: 15px;
}

p a {
  color: #00cc66;
  text-decoration: none;
  font-weight: bold;
}

p a:hover {
  text-decoration: underline;
}


#stockTicker {
  width: 100%;
  overflow: hidden;
  background-color: white;
  color: #0f0;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  padding: 20px 0;
  font-size: 18px;
  box-sizing: border-box;
}

/* Scrolling content */
.ticker-content {
  display: inline-block;
  padding-left: 100%; 
  animation: scroll-left 80s linear infinite; 
}

/* Each ticker item */
.ticker-item {
  display: inline-block;
  margin-right: 50px;
  font-weight: bold;
}


.transparency-message {
    position: fixed;
    top: 70px;
    right: 10px;
    background-color: rgba(0, 0, 0, 1); /* slightly lighter */
    color: #00ff66;
    padding: 5px 8px; /* smaller padding */
    border-radius: 5px; /* smaller corners */
    font-size: 11px; /* smaller text */
    font-weight: bold;
    z-index: 9999;
    max-width: 220px; /* smaller width */
    text-align: right;
    line-height: 1.2;
}




/* Footer */
footer {
  margin-top: 2rem;
  background-color: #72deec80;
  color: #ffffff;            
  text-align: center;
  padding: 1rem 0;
  width: 100%;                     
  bottom: 0;                 
  font-weight: bold;         
  font-size: 1rem;           
}
