body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f6;
}

.container1 {
  text-align: center;
  margin-top: 200px;
}
.title {
  color: #333;
  font-size: 2rem;
}

.paragraph {
  color: #555;
  margin-top: 50px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.buttons {
  margin-top: 60px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

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

/* page.php */

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #0558f4;
}

nav ul {
  list-style-type: none;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007bff;
}
a {
  position: relative;
  color: #003bfd;
  text-decoration: none;
  font-weight: 500;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -2px;
  height: 2px;
  background-color: #003bfd;
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
nav a:hover::after {
  transform-origin: bottom left;
  transform: scaleX(1);
}

.bx {
  font-size: 30px;
}

.main {
  margin-top: 50px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

/* comments.php */

.message {
  display: flex;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.message-info {
  flex: 1;
  max-width: 100%;
  text-align: left;
}

.message p strong {
  color: #007bff;
  font-weight: 600;
}

.message p {
  margin-bottom: 10px;
  width: 100%;
}
.message-image {
  max-width: 100%;
  text-align: center;
}

.message-image img {
  max-width: 130px;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media (width < 450px) {
  nav {
    display: flex;
  }
  form {
    margin: 10px;
    padding: 10px;
  }
}

@media (width < 400px) {
  h1 {
    font-size: 1.5rem;
  }
  nav {
    display: flex;
  }
  .message {
    width: 90%;
  }
  p {
    width: 97%;
  }
}

@media (width < 350px) {
  h1 {
    font-size: 18px;
  }

  nav a {
    font-size: 13px;
  }
  .message-image img {
    max-width: 100%;
    margin: 10px auto;
  }

  .message {
    width: 89%;
  }
  p {
    width: 97%;
  }
}
