:root {
  --heading-color: #d4d4d4;
  --text-color: #ffffff;
  --nav-color: #707873;
  --nav-bar-color: #eaebee;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Rubik, sans-serif;
  font-size: 18px;
  color: var(--text-color);
  overflow-wrap: break-word;
}

.page-bg {
  flex: 1;
  background-image: url("../img/bg2.jpg");
  background-size: 100% 100%;
}


h1, h2 {
  font-family: "Roboto Mono", monospace;
  color: var(--heading-color);
  text-align: center;
}

h1 { font-size: 32px; margin-top: 170px; }
h2 { font-size: 22px; margin-top: 0; }

p {
  text-align: center;
  margin-left: 140px;
  margin-right: 140px;
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 10px 10px 100px;
  min-height: 80px;
  box-sizing: border-box;
  background-image: url("../img/nav8.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar a {
  font-family: "Roboto Mono", monospace;
  font-size: 18px;
  color: var(--nav-bar-color);
  text-decoration: none;
  text-align: center;
  padding: 5px 10px;
  margin: 8px;
}

.navbar a:hover { color: white; }

.navbar a.logo-link {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
}

.logo {
  display: block;
  height: 64px;
  width: auto;
  image-rendering: pixelated;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 24px;
  justify-content: center;
}

.cards article {
  padding: 24px;
  border-radius: 28px;
  background: #ffffff7e;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  line-height: 1.6;
}

.cards p { margin: 0; }

.cards ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.cards ul a {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--nav-color);
  color: var(--nav-bar-color);
  font-weight: 500;
  text-decoration: none;
}

.cards ul a:hover {
  background: #5d655f;
  color: white;
}

.contact-title {
  margin-top: 40px;
  margin-bottom: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 40px);
  max-width: 460px;
  margin: 0 auto 60px;
  padding: 28px;
  box-sizing: border-box;
  border-radius: 28px;
  background: #00000055;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.contact-form label {
  font-family: "Roboto Mono", monospace;
  font-size: 14px;
  color: var(--heading-color);
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  color: #222;
  background: #ffffffdd;
  border: 2px solid transparent;
  border-radius: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--nav-color); }

.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button:hover { color: white; background: #5d655f; }

.contact-form button {
  margin-top: 16px;
  padding: 14px;
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  color: var(--nav-bar-color);
  background: var(--nav-color);
  border: none;
  border-radius: 14px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .navbar { padding-left: 70px; }
  .navbar a { font-size: 16px; margin: 4px; padding: 4px 6px; }
  .logo { height: 44px; }
  .cards { grid-template-columns: 1fr; }
}



