body {
margin: 0;
background: #1e1e1e;
color: #fff;
font-family: "Century", "Times New Roman", serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}

/* --- Decorative Border --- */
.content::before {
content: "";
position: fixed;
top: 20px;
left: 20px;
right: 20px;
bottom: 20px;
border: 4px solid rgba(255, 255, 255, 0.9);
box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
pointer-events: none;
z-index: 9999;
border-radius: 4px;
}

form {
background: #2a2a2a;
padding: 40px;
border-radius: 10px;
width: min(90vw, 500px);
display: flex;
flex-direction: column;
gap: 20px;
border: 1px solid #555;
}

h1 {
text-align: center;
margin: 0 0 10px;
font-size: 32px;
font-weight: 600;
}

input, textarea {
background: #1e1e1e;
color: #fff;
border: 1px solid #555;
border-radius: 6px;
padding: 10px 14px;
font-size: 16px;
resize: vertical;
}

input:focus, textarea:focus {
border-color: #fff;
outline: none;
}

button {
background: #fff;
color: #1e1e1e;
font-weight: 600;
border: none;
border-radius: 6px;
padding: 12px;
cursor: pointer;
transition: background 0.2s;
}

button:hover {
background: #ccc;
}

.message {
text-align: center;
font-size: 16px;
color: #8f8;
}


  /* --- Form Container --- */
.contact-card {
  width: 480px;
  max-width: 80vw;
  background: #1e1e1e;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
  text-align: center;
}

.contact-card h1 {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

/* --- Django form fields --- */
.contact-form p {
  margin: 0 0 14px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #151515;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bfbfbf;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fff;
}

/* --- Submit button --- */
.btn-submit {
  width: 100%;
  height: 62px;
  margin-top: 10px;
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.06s ease, opacity 0.2s ease;
}

.btn-submit:hover { opacity: 0.9; }
.btn-submit:active { transform: translateY(1px); }

@media (max-width: 400px) {
  form {
  background: #2a2a2a;
  padding: 10px;
  border-radius: 10px;
  width: 80vw;
  /*display: flex;
  flex-direction: column;*/
  gap: 10px;
  border: 0px;
  }

  .form textarea {
  width: 50%;
  background: #151515;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  box-sizing: border-box;
}

  h1 {
  text-align: center;
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
  }

  .btn-submit {
    height: 54px;
    font-size: 16px;
  }

  }
