/* Base Styling */
html, body {
  height: 100%;
  max-width: 100vw;
  padding: 10px;
  font-family: 'Courier New', monospace;
  color: #ffffff;
  background: url('../public/starbackground.gif');
  background-size: auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: repeat;
}

/* Nav Bar Styling */
nav {
  background: transparent;
  width: 90vw;
  height: fit-content;
}

nav ol {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 2rem;
}

nav li a {
  font-family: 'Press Start 2P', cursive;
  text-decoration: none;
  color: chartreuse;
  border: 2px solid chartreuse;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

nav li a:hover {
  background: linear-gradient(145deg, #ff77ff, #ff00ff);
  color: black;
  border-color: #ff00ff;
  text-shadow: 0 0 2px #000;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li a {
    width: 100%;
    text-align: center;
  }
}


/* Content Styling */
main {
  max-width: 80vw;
  height: fit-content;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2); /* 70% opacity */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.7); /* 70% opacity */
  color: chartreuse;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Form Styling */
form {
  background: rgba(255, 255, 255, 0.1); /* 70% opacity */
  border: 1px solid #ff00ff;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#message {
  max-width: 300px;
}

/* Message container Styling */
#messages-container {
  background: rgba(255, 255, 255, 0.1); /* 70% opacity */
  border: 1px solid #ff00ff;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Message container Styling */
#code-container {
  background: rgba(255, 255, 255, 0.1); /* 70% opacity */
  border: 1px solid #ff00ff;
  padding: 0.5rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
 display: flex;
 flex-direction: column;
 justify-content: center;
}

/* Buttons */
#send-button {
  margin-top: 1rem;
  background: none;
  color: white;
  border: 1px solid #ff00ff;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

button:hover {
  background: linear-gradient(145deg, #ff77ff, #ff00ff);
}

a {
  color: chartreuse;
}


code {
  color: chartreuse;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  box-sizing: border-box;
}


#post-feedback {
  color: chartreuse;
}

#code-space-image {
  width: 100%;
}

#how-image {
  width: 40%;
}

#deploy-video {
  width: 100%;
}
