/* Set global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

html,
body {
  height: 100%;
}

body {
  background-color: #222831;
  color: #eeeeee;
}

/* Style the navigation bar */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 10px;
}

nav a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  background-color: #f7f7f7;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav a:hover {
  background-color: #333;
  color: #fff;
}

nav a.active {
  background-color: #333;
  color: #fff;
}

nav a.btn {
  background-color: #5a5ae5;
  color: #fff;
  font-weight: bold;
}

nav a.btn:hover {
  background-color: #8a8aff;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #393e46;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  border-radius: 50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 10px;
}

nav a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  background-color: #f7f7f7;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

nav a:hover {
  background-color: #333;
  color: #fff;
}

nav a.active {
  background-color: #333;
  color: #fff;
}

nav a.btn {
  background-color: #5a5ae5;
  color: #fff;
  font-weight: bold;
}

nav a.btn:hover {
  background-color: #8a8aff;
}

/* Message page styles */
.message-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  background-color: #eeeeee;
}

.message-page h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #222831;
  text-align: center;
}

.message-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  background-color: #393e46;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.message-form label {
  font-size: 1.2rem;
  color: #eeeeee;
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}

.message-form input[type="text"],
.message-form input[type="date"],
.message-form input[type="email"],
.message-form select,
.message-form textarea {
  padding: 10px;
  margin-bottom: 20px;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
}

.message-form input[type="submit"] {
  background-color: #00adb5;
  color: #eeeeee;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.message-form input[type="submit"]:hover {
  background-color: #06f7ff;
}

@media screen and (max-width: 768px) {
  .message-form {
    padding: 20px;
  }

  .message-form input[type="submit"] {
    margin-top: 20px;
  }
}

/* Style the footer */
footer {
  background-color: #393e46;
  padding: 20px 0;
  text-align: center;
  width: 100%;
  bottom: 0;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

footer p {
  font-size: 14px;
  color: #eeeeee;
}

/* Styles for screens with a width of 768px or less */
@media screen and (max-width: 768px) {
  /* Adjust the form label and input styling */
  .message-form label {
    font-size: 16px;
  }
  .message-form input,
  .message-form select {
    font-size: 14px;
    padding: 8px;
  }
  /* Adjust the form submit button */
  .message-form button {
    margin-top: 20px;
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* Styles for screens with a width of 576px or less */
@media screen and (max-width: 576px) {
  /* Adjust the form label and input styling */
  .message-form label {
    font-size: 14px;
  }
  .message-form input,
  .message-form select {
    font-size: 12px;
    padding: 6px;
  }
  /* Adjust the form submit button */
  .message-form button {
    margin-top: 20px;
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* Add animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

header {
  animation: fadeIn 0.5s ease;
}

.hero h1 {
  animation: fadeIn 0.5s ease;
}

.message-page {
  animation: fadeIn 0.5s ease;
}

.message-form label,
.message-form input,
.message-form select,
.message-form textarea,
.message-form input[type="submit"] {
  animation: fadeIn 0.5s ease;
}
