body {
  margin: 0;
  font-family: 'Source Code Pro', monospace;
  background-color: #111;
  color: #ddd;
}

.credits-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  color: #ddd;
  font-family: 'Source Code Pro', monospace;
  text-align: center;
}  

.home-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  border-radius: 10px;
  padding: 20px;
  max-width: 600px;
  color: #ddd;
  font-family: 'Source Code Pro', monospace;
  text-align: center;
  z-index: 5;
}
.home-container h2 {
  margin-bottom: 12px;
}
.home-container a {
  color: #66ccff;
  text-decoration: none;
  font-weight: bold;
}
.home-container a:hover {
  text-decoration: underline;
}

#bgVideo {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: left bottom;
  z-index: -1;
}

/* NavBar */
.navbar {
  display: flex;
  justify-content: center;
  gap: 40px;
  background-color: rgba(17, 17, 17, 0.85); /* semi-transparent */
  padding: 16px;
  position: relative;
  z-index: 2;
}

.navbar a {
  color: #ddd;
  text-decoration: none;
  font-size: 1.2em;
  padding: 8px 12px;
}

.navbar a:hover {
  background-color: #222;
  border-radius: 8px;
}

/* Ship Builder specific styles: */

select, button, textarea {
  background-color: #222;
  color: #ddd;
  border: 1px solid #555;
  padding: 6px;
  margin: 4px;
  border-radius: 4px;
  font-family: inherit;
}

button:hover {
  background-color: #333;
  cursor: pointer;
}

img {
  max-width: 300px;
  display: block;
  margin: 10px 0;
}

.section {
  margin: 16px 0;
}

textarea {
  width: 100%;
  height: 80px;
  resize: none;
}

.dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dropdowns select {
  flex: 1 0 120px;
}