/* Import Roboto Mono */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap');

/* ===== GLOBAL RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace;
  color: var(--fg);
}

body {
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== ROOT VARIABLES ===== */
:root {
  --bg: #000;                       /* pure black background */
  --fg: #fff;                       /* pure white foreground */
  --input-bg: #111;                 /* very dark gray for inputs */
  --border-gray: rgba(255,255,255,0.3);
  --border-hover: rgba(255,255,255,0.5);
}

/* ===== HEADER ===== */
#header {
  background-color: var(--bg);
  padding: 20px;
  text-align: center;
}

#header h1 {
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header img {
  width: 80%;
  height: auto;
}

/* ===== CONTENT ===== */
#content {
  text-align: center;
  padding: 20px;
  margin-top: -4%;
}

#content h1 {
  font-size: 24px;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ===== SEARCH BAR INPUT ===== */
#searchbar {
  text-align: center;
  margin: 20px auto;
}

.form__input {
  padding: 10px;
  width: 300px;
  background-color: var(--input-bg);
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 5px var(--border-gray);
  text-align: center;
  color: var(--fg);
  font-size: 16px;
}

.form__input::placeholder {
  color: var(--border-gray);
}

.form__input:focus {
  outline: none;
  box-shadow: 0 0 5px var(--border-hover);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: box-shadow 0.2s;
}

.btn.primary {
  background-color: var(--fg);
  color: var(--bg);
}

.btn.secondary {
  background-color: transparent;
  color: var(--fg);
  border-color: var(--fg);
}

.btn:hover {
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* You can now apply <a class="btn primary"> or <button class="btn secondary"> */

/* ===== POPULAR SITES ICONS ===== */
#popularSites img {
  width: 50px;
  height: 50px;
  margin: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s;
}

#popularSites img:hover {
  transform: scale(1.1);
}

/* ===== BIG TITLE IMAGE ===== */
#bigTitle img {
  width: 75vw;
}

/* ===== FOOTER ===== */
#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 7.5px 0;
  background-color: var(--bg);
  border-top: 1px solid var(--fg);
  font-size: 14px;
  text-align: center;
}

#footer p {
  margin: 0;
}

/* ===== FA ICONS ===== */
.fa {
  font-size: 24px;
  margin-right: 10px;
  color: var(--fg);
  transition: color 0.2s;
}

.fa:hover {
  color: var(--border-gray);
}

/* ===== CANVAS ===== */
#canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
