@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
  text-decoration: none;
}
nav {
  width: 100%;
  background-color: #7749f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 100px;
  color: white;
  position: fixed;
  top: 0;
}

nav a {
  font-weight: 400;
  font-size: 22px;
}

nav a {
  color: white;
}
main h3 {
  font-weight: 400;
}
header {
  width: 100%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  padding: 16px 100px;
  position: fixed;
  top: 47px;
  background-color: #fff;
}
.buttons {
  width: 100%;
  align-items: flex-start;
  margin-top: 20px;
}
.buttons a {
  margin-right: 10px;
}

header h1 {
  font-weight: 600;
  font-size: 30px;
}

main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 160px 100px 100px 100px;
  background-color: #9597990e;
  flex-direction: column;
  height: auto;
}

.blogs {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  flex-direction: column;
}

main .blog img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

main .blog {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 881px;
  flex-direction: column;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  margin-top: 20px;
  border: 1px solid #8c939d18;
}

.image-user {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.buttons a {
  cursor: pointer;
  padding: 10px 30px;
  border: 1px solid #fff;
  transition: 0.3s;
}
.buttons a:hover {
  border: 1px solid #7749f8;
  border-radius: 5px;
}
.user-name {
  margin-left: 30px;
}

main p {
  width: 100%;
  text-align: left;
}

main a {
  text-align: left;
  width: 100%;
  margin-top: 10px;
  color: #7749f8;
}

nav div {
  display: flex;
}
nav > div > a:last-child {
  margin-left: 20px;
}

.form-blog {
  width: 881px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  background-color: #fff;
  padding: 30px;
  display: none;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input,
textarea {
  padding: 10px 10px;
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #dee2e6;
  outline: 0;
  border-radius: 5px;
}
button {
  padding: 10px 30px;
  border-radius: 5px;
  background-color: #7749f8;
  border: 1px solid #7749f8;
  color: #fff;
  cursor: pointer;
}
