#message {
    display: none;
    color: green;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
}

.my-form {
  max-width: 400px;
  width: 90%; 
  margin: 40px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.my-form label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
}

.my-form input,
.my-form select,
.my-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.my-form input:focus,
.my-form select:focus,
.my-form textarea:focus {
  border-color: #007BFF;
  outline: none;
}

.my-form button {
  padding: 12px;
  background-color: #007BFF;
  color: white;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 48%;
  margin: 5px 1%;
}

.my-form button:hover {
  background-color: #0056b3;
}


@media (max-width: 600px) {
  header {
      flex-direction: column;
      text-align: center;
  }

  nav a {
      display: block;
      margin: 5px 0;
      font-size: 18px;
  }

  .my-form {
      width: 95%;
      padding: 15px;
  }

  .my-form button {
      width: 100%; 
      margin: 10px 0;
  }
}
