﻿@charset "UTF-8";
/* --------------------------------------------------
   Root Variables — Colors, Spacing, Typography
-------------------------------------------------- */
:root {
  --nav-bg: #0d0f1a;
  --nav-bg: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --nav-text: #ffffff;
  --nav-accent: #00e887;
  --nav-hover: rgba(255,255,255,0.08);
  --nav-border: rgba(255,255,255,0.12);
  --transition: 0.25s ease;
  --radius: 6px;
  --font-nav: "Poppins", sans-serif;
}

/* --------------------------------------------------
   Desktop Navigation
-------------------------------------------------- */
.main-nav {
  align-items: center;
  background: var(--nav-bg);
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: space-between;
  padding: 1rem 2rem;
  font-family: var(--font-nav);
}

.dashboard-menu > ul > li > a {
  color: #fff;
  font-family: Poppins;
  text-transform: uppercase;
}

.nav-level-1 {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item > a {
  color: var(--nav-text);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  position: relative;
  transition: var(--transition);
}

.nav-item > a:hover {
  color: var(--nav-accent);
}

/* Dropdown Container */
.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius);
  padding: 0.75rem 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 20;
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  padding: 0.6rem 1rem;
  display: block;
  color: var(--nav-text);
  text-decoration: none;
  transition: var(--transition);
}

.nav-dropdown li a:hover {
  background: var(--nav-hover);
  color: var(--nav-accent);
}

/* --------------------------------------------------
   Mobile Navigation
-------------------------------------------------- */
.mobile-nav {
  display: none;
  background: var(--nav-bg);
  padding: 1rem 1.5rem;
  position: relative;
}

/* Hamburger Icon */
.hamburger {
  width: 32px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 4px;
  background: var(--nav-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle {
  display: none;
}

/* Mobile Menu Panel */
.mobile-menu {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.nav-toggle:checked ~ .mobile-menu {
  display: flex;
}

/* Mobile Section Headers */
.mobile-section {
  color: var(--nav-text);
  font-weight: 600;
  cursor: pointer;
}

.mobile-section ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-section a {
  color: var(--nav-text);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-section a:hover {
  color: var(--nav-accent);
}

/* --------------------------------------------------
   Responsive Breakpoints
-------------------------------------------------- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
}
.footer {
  grid-template-columns: repeat(1, 1fr);
}

/*@import 'Partials/_reset.scss';
@import 'partials/WebsiteTemplates/_fonts.scss';
@import 'Partials/WebsiteTemplates/_colors.scss';

@import 'Partials/WebsiteTemplates/_headings.scss';
@import 'Partials/WebsiteTemplates/_buttons.scss';
*/
/* Root Variables */
:root {
  --color-primary: #3b82f6; /* Blue accent */
  --color-secondary: #9333ea; /* Purple accent */
  --color-accent: #f59e0b; /* Orange accent */
  --color-bg: #f9fafb;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --radius: 6px;
  --transition: 0.3s ease;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Raleway", sans-serif;
}

.hamburger-button {
  display: none;
}

.hidden {
  display: none;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  height: auto;
  min-height: 2000px;
  overflow-y: auto;
  line-height: 1.6;
}

/* Header */
header {
  /*display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);*/
}

.top-line {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu ul li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  text-transform: uppercase;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--color-primary);
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0 0;
  padding: 0;
}

.logo {
  position: absolute;
  top: 1rem;
}

/* DASHBOARD Section */
section.dashboard {
  display: flex;
  justify-content: center;
}

.container {
  /*border: 1px solid #1f2937;*/
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  padding: 1rem;
  width: 1200px;
}

.container-add-page {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  padding: 1rem;
  width: max-content;
}

.dashboard-heading {
  text-transform: uppercase;
}

table.dashboard-table {
  border-collapse: collapse;
  border-top-left-radius: 8px;
}

.dashboard-table {
  margin-top: 1rem;
  width: 100%;
}

.dashboard-table > thead {
  background: #856d4d;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
}

.dashboard-table > thead > tr > th {
  padding: 1rem;
  text-align: left;
}

.dashboard-table > tbody > tr > td {
  padding: 1rem;
}

.dashboard-table > thead > tr:first-child th:first-child {
  border-top-left-radius: 18px;
}

.dashboard-table > thead > tr:first-child th:last-child {
  border-top-right-radius: 18px;
}

/* DASHBOARD ADD PAGE Section */
.form-wrapper {
  /*display: flex;
  flex-direction: column;*/
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.page-section {
  border: 1px solid #000;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.page-section > .form-set {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 150px 300px;
}

.form-set > label:first-child {
  text-align: right;
}

.form-set > input, .form-set > textarea, .form-set > select {
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 0.5rem;
  box-shadow: none;
  padding: 0.5rem 1rem;
}

.form-set > select {
  margin-bottom: 1rem;
}

.form-set > .form-check-input {
  justify-self: start;
}

.form-set > textarea {
  height: 200px;
}

.form-set.grid-align-start {
  align-items: start;
}

/* Hero Section */
section.hero {
  display: grid;
  justify-items: center;
  display: none;
}

section.hero > .container {
  padding: 0;
  width: 1500px;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

section.content {
  display: grid;
  justify-items: center;
  margin-top: 2rem;
  width: 100%;
}

section.content > .container {
  width: 1200px;
}

.content-img {
  width: 100%;
}

.content-img-medium {
  width: 75%;
}

.two-column-content {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.two-column-content > div:last-child {
  text-align: center;
}

ul {
  list-style: none;
  margin-left: 2rem;
}

ul.four-column-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.content-img-small {
  width: 75%;
}

/* Buttons */
.btn {
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  outline: none;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.4s background ease-in-out;
}

.btn:hover {
  background: var(--color-secondary);
}

.button-group {
  margin-top: 1rem;
  text-align: right;
}

.btn-primary {
  background: hsl(219, 90%, 60%);
  color: #fff;
}

/* Footer */
.footer-wrapper {
  margin-top: 2rem;
}

.footer-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-top: 1px solid #e5e7eb;
  color: white;
  display: grid;
  justify-items: center;
  font-size: 0.9rem;
  padding: 2rem;
}

.footer {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(5, 1fr);
}

.footer-column > h5 {
  color: hsl(232, 97%, 11%);
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-column > ul {
  margin-left: unset;
}

.bottom-line {
  color: #1f2937;
  font-style: italic;
  font-size: 0.75rem;
  margin-top: 2rem;
}

.bottom-line > hr {
  margin: 2rem 0;
}

.dashboard-heading {
  text-transform: uppercase;
}

.icon {
  color: hsl(221, 89%, 61%);
  transition: 0.4s color ease-in-out;
}

.icon:hover {
  color: hsl(266, 81%, 58%);
}

.odd {
  background: hsl(266, 82%, 58%);
  color: #fff;
}

.odd .icon {
  color: #fff;
  transition: 0.4s color ease-in-out;
}

.odd .icon:hover {
  color: hsl(221, 89%, 61%);
}

/************************************************************/
/* GAME */
/************************************************************/
.game {
  display: grid;
  justify-items: center;
  margin-top: 8rem;
}

.row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tile {
  width: 50px;
  height: 50px;
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  border: 2px solid #ccc;
  border-radius: 6px;
}

.correct {
  background: #6aaa64;
  color: white;
}

.present {
  background: #c9b458;
  color: white;
}

.absent {
  background: #787c7e;
  color: white;
}

#controls {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

button {
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  border: none;
  background: #333;
  color: white;
}

#reveal {
  background: #b33a3a;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  footer {
    justify-items: unset;
  }
  .footer {
    grid-template-columns: repeat(1, 1fr);
  }
}
