/* Palette & base style */
:root {
  --bg: #071126;
  --card: #0b1220;
  --accent: lightskyblue;
  --hover: lightblue;
}

* {
  box-sizing: border-box;
  font-family: "Comic Sans MS", cursive, monospace;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: white;
}

/* Container */
.wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.card {
  width: 900px;
  max-width: 100%;
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Headers */
h1, h3 {
  color: white;
  font-family: monospace;
  text-shadow: 1px 1px 5px var(--accent);
  transition: all 0.2s ease;
}

h1:hover {
  color: var(--hover);
  font-size: 35px;
}

h3:hover {
  color: var(--hover);
  font-size: 20px;
}

/* Logo */
.logo {
  width: 60px;              /* size of circle */
  height: 60px;
  border-radius: 20%;
  background: lightskyblue; /* circle background */
  display: flex;            /* centers content */
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  box-shadow: 0 0 10px lightblue;
}

.logo img {
  width: 40px;   /* image size */
  height: 40px;
  object-fit: contain; /* keeps proportions */
}


/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
}

.display, .history {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  text-shadow: 1px 1px 5px var(--accent);
}

.bigkey {
  font-size: 96px;
  font-weight: 700;
  text-align: center;
  padding: 22px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 14px;
  text-shadow: 2px 2px 8px var(--accent);
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  background: rgba(255,255,255,0.05);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 5px var(--accent);
}

.info {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.row {
  background: rgba(255,255,255,0.02);
  padding: 10px;
  border-radius: 8px;
}

/* History */
.history {
  max-height: 360px;
  overflow: auto;
}

.controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: monospace;
  text-shadow: 1px 1px 5px var(--accent);
  transition: all 0.2s ease;
}

button:hover {
  color: var(--hover);
  border-color: var(--hover);
}

button.primary {
  background: var(--accent);
  color: #071126;
  border: none;
}

footer {
  margin-top: 12px;
  color: white;
  font-size: 13px;
  text-shadow: 1px 1px 5px var(--accent);
}

@media (max-width:860px) {
  .grid { grid-template-columns: 1fr; }
}
a:hover{
  color: lightblue;
  font-size: 20px;
}
a{
  color: white;
  text-decoration: none;
  display: inline-block;
  padding: 20px 5px;
  width: 100%;
  font-weight: 100;
  font-family: "comic sans ms", cursive;
  text-shadow: 1px 1px 5px lightskyblue;
}
li{
  list-style: none;
}
