/* usikkerhet.zip — den onde tvillingen til sikkerhet.zip
   Samme rosa palett som originalen (så slektskapet er tydelig),
   men med et par "kaotiske" detaljer. Innholdet er morsomt-dårlig;
   selve siden er faktisk tilgjengelig og sporer deg IKKE. */

/* Style body */
body {
  background-color: #535353;
  max-width: 80vmax;
  margin: 0 auto;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Style the header */
header {
  background-color: #FFEBFA;
  border: 1px solid red;
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color: #454545;
}

header h2 {
  margin: 0.2em 0 0;
}

/* En liten advarsel-stripe — som et dårlig nettsted fra 2003 */
.banner {
  background: repeating-linear-gradient(
    45deg, #ffd400, #ffd400 20px, #000 20px, #000 40px);
  color: #000;
  text-align: center;
  font-weight: 700;
  padding: 6px;
}
.banner span {
  background: #ffd400;
  padding: 2px 8px;
}

/* Container rundt nav + main. Som i originalen ligger nav som en
   horisontal stripe på toppen, og main under — så .flexclass er en
   vanlig blokk (ikke flex). */

/* Style the navigation menu */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #ED9FD7;
  padding: 20px;
  border: 1px solid #D60098;
}

nav a {
  background-color: #FFEBFA;
  padding: 8px;
  margin: 4px 5px;
  text-decoration: none;
  color: #454545;
  border: 1px solid #D60098;
}

nav a:hover,
nav a:focus-visible {
  background-color: #D60098;
  color: #fff;
  outline: 2px solid #454545;
}

/* style the main section */
.main {
  display: flex;
  justify-content: space-between;
  border: 1px solid #D60098;
  background-color: #FFEBFA;
}

/* style the innlegg */
.innlegg {
  flex: 2;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
}

/* Style the article */
article {
  color: #454545;
  padding: 1em;
  margin: 0.5em;
  border: 1px dashed #D60098;
}

article h1,
article h2 {
  color: #b3007f;
}

/* "Terminal"-aktige linjer, som originalens > whoami */
.term {
  font-family: ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
}

/* Den falske, herlig dårlige nedlastingsknappen */
.fakebtn {
  display: inline-block;
  background: #D60098;
  color: #fff;
  border: 2px solid #454545;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  margin: 8px 0;
}
.fakebtn:hover,
.fakebtn:focus-visible {
  background: #454545;
  outline: 2px solid #D60098;
}

/* Style the hoyrebox */
.hoyrebox {
  flex: 1;
  padding: 10px;
  text-align: center;
}

/* "Redacted" profilbilde-boks */
.redacted {
  background: #111;
  color: #0f0;
  font-family: ui-monospace, monospace;
  border: 1px solid #D60098;
  padding: 40px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* Style the footer */
footer {
  background-color: #D60098;
  padding: 10px;
  text-align: center;
  color: #ffffff;
}

footer a { color: #ffe; }

/* Den blinkende "viktig"-teksten — men kun for de som tåler bevegelse */
.blink {
  font-weight: 700;
  color: #b3007f;
}
@media (prefers-reduced-motion: no-preference) {
  .blink { animation: blink 1.1s steps(2, start) infinite; }
}
@keyframes blink { to { visibility: hidden; } }

/* Falsk cookie-vegg (kun JA-knapper, så klart) */
.cookiewall {
  position: fixed;
  inset: auto 0 0 0;
  background: #FFEBFA;
  border-top: 3px solid #D60098;
  padding: 16px;
  text-align: center;
  color: #454545;
}
.cookiewall button {
  background: #D60098;
  color: #fff;
  border: 2px solid #454545;
  padding: 8px 14px;
  margin: 6px 4px 0;
  font-weight: 700;
  cursor: pointer;
}
.cookiewall button:focus-visible { outline: 2px solid #454545; }

/* Responsivt: stable kolonnene oppå hverandre på smal skjerm */
@media (max-width: 600px) {
  .main { flex-direction: column; }
}
