@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;500;700&display=swap");

:root {
  --bg-color: #f1f5f9;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --primary-color: #fb7185;
  --secondary-color: #4f46e5;
  --font-family: "Quicksand", sans-serif;
  --alt-font-family: "Protest Revolution", sans-serif;
}
body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}

h1 {
  text-align: center;
  margin-top: 20px;
}

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

h2 {
  margin-top: 0;
}

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

form input[type="submit"],
form button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: #fff;
  cursor: pointer;
}

form input[type="submit"]:hover,
form button:hover {
  background-color: #0056b3;
}

.blog-post {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-post button {
  padding: 5px 10px;
  margin-top: 10px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

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

.blog-post button.editBtn {
  background-color: #ffc107;
  color: #000;
  margin-right: 10px;
}

.blog-post button.editBtn:hover {
  background-color: #e0a800;
}

/* Your existing CSS styles */

.blog-post img {
  float: left;
  margin-right: 10px;
  max-width: 100px; /* Adjust the maximum width as needed */
  height: auto;
}

/* Responsive Styles */

@media only screen and (max-width: 600px) {
  .container {
    padding: 0 10px;
  }
}
