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

body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background: #1a1a2e;
  color: #e0e0e0;
}

header {
  background: #162447;
  padding: 10px 0;
  border-bottom: 1px solid #00c2cb;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

nav {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 30px;
  padding: 20px;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 700;
  padding: 5px 0;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #00c2cb;
}

nav a.active {
  color: #00c2cb;
  border-bottom: 2px solid #00c2cb;
}

.page-title {
  text-align: center;
  margin: 40px 0;
  font-size: 42px;
  color: #00c2cb;
}

.content {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background: #162447;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  line-height: 1.7;
  font-size: 18px;
  border: 1px solid #00c2cb;
}

.content a {
  color: #00c2cb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.content a:hover {
  color: #00ff41;
  text-decoration: underline;
}

h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #00c2cb;
  padding-bottom: 10px;
  color: #e0e0e0;
}

h3 {
  font-size: 24px;
  margin-top: 30px;
  color: #e0e0e0;
}

h4 {
  font-size: 20px;
  margin-top: 25px;
  font-style: italic;
  color: #e0e0e0;
}

.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  border: 1px solid #00c2cb;
}

.scitat, .caesar, .viginere, .enigma, .hagelin {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #00c2cb;
}

button, a.button {
  display: block;
  width: 200px;
  margin: 40px auto;
  background: #00c2cb;
  color: #1a1a2e;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
  text-decoration: none;
}

button:hover, a.button:hover {
  background: #00ff41;
  color: #1a1a2e;
}

footer {
  margin-top: 60px;
  padding: 30px;
  text-align: center;
  font-size: 14px;
  color: #e0e0e0;
  background: #162447;
  border-top: 1px solid #00c2cb;
}