@charset "utf-8";
* {
  box-sizing: border-box;
  margin: 0;
  font-family: 'Montserrat Light', sans-serif;
}

:root {
	--primary-color: rgb(30,30,30);
	--hover-color: rgb(45,45,45);
	--accent-color: #00ffb0;
	--text-color:#c9c9c9;
}

/* === HOME === */
#backgroundSection{
	background: #006244;
	background: linear-gradient(180deg, rgba(0, 98, 68, 1) 27%, rgba(0, 176, 120, 1) 100%);
	width: 100%;
	min-height: 120vh
}

.mainContent {
  background-origin: border-box;
	height: auto;
}

.mainContentDivs {
  margin: 0 35px auto;
	height:auto;
}

.mainContentDivs h1 {
  font-size: 50px;
  color:#00ffb0;
  text-align: left;
  margin: 0em auto 0;
}

.mainContentDivs p {
  color:#fff;
  font-size: 25px;
}

#logoutLink {
  text-decoration: none;
  font-size: 25px;
  color: rgba(255,255,255, .5);
  margin-top: 0px;
  background: transparent;
  border: none;
}

#logoutLink:hover {
  color: rgb(0, 255, 176);
}

.mainLogo {
  margin: 0 0 0 75%;
  max-width: 25%;
  justify-content: center;
  position: absolute;
}

#discordLogin {
  text-decoration: none;
  font-size: 25px;
  color: rgba(255,255,255, .5);
  margin-top: 0px;
  background: transparent;
  border: none;
}

#discordLogin:hover {
  color: rgb(0, 255, 176);
}

#weAreLooking{
	padding:5px;
	max-width:50%; 
	height:auto;
	margin: 4em auto auto;
	border-style: outset;
	border-color: rgb(0, 255, 176);
	border-width: 4px;
	border-radius: 15px;
	background-color: rgba(0,98,68,0.70);
	color:white;
	transition: transform .5s ease, box-shadow .5s ease;
}
#weAreLooking:hover{
	transform:translateY(-1em);
	box-shadow: 0 0.5em 10px rgba(0,0,0,0.4), 0 1em 20px rgba(0,0,0,0.2);
}
#weAreLooking h1{
	color: rgb(0, 255, 176);
	font-size:25px;
	word-spacing: 5px;
	text-align:center;
}
#weAreLooking p{
	color:white;
	font-size:18px;
	word-spacing: 2px;
}
#weAreLooking a{
	color:rgba(0, 255, 176, .7);
	font-size:18px;
	text-decoration: none;
	transition: color .5s ease, text-decoration 1s ease;
}
#weAreLooking a:hover{
	color:rgba(0, 255, 176, 1);
	text-decoration: underline;
}
/* === HOME === */

/* === NAVBAR === */
.navbar {
  background-color: #006244;
  color: #00ffb0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 1em;
  position: relative;
  z-index: 1000;
  font-family: "Montserrat Light", sans-serif;
}

.navbar button {
    background: transparent;
    font-size: 1.5em;
    border: transparent;
    color: #00ffb0;
    font-family: "Montserrat Light", sans-serif;
}

/* Logo */
.nav-logo a {
  color: #00ffb0;
  font-size: 1.6em;
  text-decoration: none;
  font-weight: bold;
  font-family: "Montserrat Light", sans-serif;
  width:84px;
  height:84px;
}

.nav-logo img {
  width:60px;
  height:60px;
}

/* Toggle (Hamburger) */
.nav-toggle {
  display: none;
  font-size: 1.8em;
  color: #00ffb0;
  cursor: pointer;
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #00ffb0;
  font-size: 1.5em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background-color: rgba(150, 255, 150, .05);
}

/* Social Icons */
.nav-icons a {
  color: #FFD93D;
  margin-left: 8px;
  font-size: 1.3em;
}

.nav-icons a:hover {
  color: #00ffb0;
}

/* === Responsive Dropdown with Animation === */
@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    background-color: rgb(30, 30, 30);
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 1px solid rgb(60, 60, 60);
    overflow: hidden;
    max-height: 0;                /* Collapsed by default */
    opacity: 0;                   /* Hidden */
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .nav-menu.show {
    max-height: 650px;            /* Large enough for all links */
    opacity: 1;
  }

  .nav-menu li {
    text-align: center;
    margin: 0em 0 0.2em;
  }

  .nav-menu li a {
    display: block;
    padding: 10px;
  }

  .nav-icons {
    display: flex;
    justify-content: center;
    gap: auto;
    margin-top: 0em;
  }
}
/* === NAVBAR === */

/* === DASHBOARD === */
#dashboardMainContent{
	border-bottom: 3px solid rgb(0, 89, 62, 1);
	text-align: center;
}

#dashboardLayout{
	display:flex;
	height:100vh;
}

/* Sidebar */
#side-navigation {
  background-color: rgb(30,30,30);
  width: 250px;
  border-right: 3px solid rgb(0, 89, 62);
  color: white;
  overflow-y: auto;
}
#main-dashboard {
  flex: 1;                   /* takes remaining space */
  background-color: rgb(30,30,30);
  color: white;
  overflow-y: auto;
}
/* === DASHBOARD === */

/* === DISCORD FEED === */
.discord-feed {
  max-width: 60%;
  margin: 0 auto;
  padding: 10vh 1.5rem;
  border-radius: 1rem;
  color: #fff;
  font-family: "Montserrat Alternates Light", sans-serif;
}

.message {
  background: #36393f;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  margin-bottom: 1rem;
  text-align:left;
  font-size: 1.5rem;
}

.timestamp {
  color: #888;
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

code {
  background: #202225;
  padding: 0.1rem 0.3rem;
  border-radius: 0.3rem;
}

.discord-feed h2 {
  font-size: 25px;
  position: relative;
  text-align: center;
  color: #00ffb0;
  margin: 35px auto 0;
  z-index: 3;
}

@media (max-width: 2560px) {
  .discord-feed h2 {
    top: -6em;
  }
}

@media (max-width: 2000px) {
  .discord-feed h2 {
    top: -3em;
  }
}

@media (max-width: 768px) {
  .discord-feed h2 {
    top: -2.75em;
  }
}

@media (max-width: 500px) {
  .discord-feed h2 {
    top: -2.5em;
  }
}
/* === DISCORD FEED === */

/* === FOOTER CONTAINER === */
.footer {
  width: 100%;
  background-color: rgb(30,30,30);
  text-align: center;
  color: #fff;
  padding: 2em 1em;
  border-top: outset rgb(0, 89, 62);
  box-sizing: border-box;
}

/* Articles grid */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row on desktop */
  gap: 5em;
  justify-content: center;
  justify-items: center;
  width: 100%;
  max-width: 1200px; /* optional: keeps grid from stretching too wide */
  margin: 0 auto;    /* center the grid container */
  box-sizing: border-box;
}

/* Individual article styling */
.articles article {
  background-color: rgba(30, 30, 30, 0.75);
  color: #fff;
  font-size: 17px;
  padding: 1.5em;
  border-radius: 12px; /* optional: rounded corners */
  text-align: center;
  width: 100%; /* fills the grid cell */
  box-sizing: border-box;
}

/* Article headings */
.articles article h1 {
  color: #00ffb0;
  font-size: 25px;
  margin-bottom: 0.5em;
}

/* Footer logo */
.footer-logo {
  display: block;
  margin: 1em auto;
  width: 80px;
  height: auto;
  border-radius: 12px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Footer divider */
.footer-div {
  border-top: outset rgb(0, 89, 62);
  max-width: 90%;
  margin: 20px auto;
}

/* Footer links */
.footer a {
  color: rgba(150,150,150,0.7);
  text-decoration: none;
  transition: color 0.5s ease;
}

.footer a:hover {
  color: #fff;
}

/* Footer bottom text */
.footer p {
  margin-top: 1em;
  font-size: 16px;
}

/* === RESPONSIVE MEDIA QUERIES === */
@media (max-width: 1024px) {
  .articles {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    gap: 3em;
  }
}

@media (max-width: 500px) {
  .articles {
    grid-template-columns: 1fr;   /* 1 per row on mobile */
    gap: 2em;
    width: 90%;                   /* almost full width */
    margin: 0 auto;               /* center grid container */
  }

  .articles article {
    width: 100%;                  /* fill each row */
  }
}