
body {
    margin: 40px auto;
    max-width: 650px;
    line-height: 1.6;
    font-size: 18px;
    color: #444;
    padding: 0 10px
}

h1,
h2,
h3 {
    line-height: 1.2
}


nav {
    height: 4rem;
    display: flex;
    align-items: center;
}

.return-home-blog svg {
    margin-left: 0.5rem;
}
.return-home-blog {
    text-decoration: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}


.nav-link-blog:hover {
    color: rgb(65, 65, 65);
}
.nav-link-blog {
    text-decoration: none;
    border: 0;
    height: fit-content;
    color: rgb(95, 95, 95);
    padding-left: .75rem;
    padding-right: .75rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
}

#header-img {
    width: 100%;
    height:50%;
}

#header .title {
    margin-bottom: 1rem;
}

#header .description {
    padding: 0 2rem 0 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

p {
    padding: 0 1rem 0 1rem;
    font-size: 1.1rem;
}

.create-inputs input {
    margin-bottom:1rem;
}

.create-inputs {
    width: 50%;
    display: flex;
    flex-direction: column;
}

#back-to-blog-home {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: 0.875rem;
    color: rgb(78, 78, 228);
    text-decoration: none;
}

#blog-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.blog-post:visited {
    color: #444;
}
.blog-post {
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    color: #444;
    cursor: pointer;
    text-decoration: none;
}
.blog-post > .title {
    line-height: 1.3;
    padding: 0.5rem 1rem 1rem 1rem;
    font-weight: 600;
    font-size: 1rem;
}
.blog-post > .description {
    padding: 0 1rem 1rem 1rem;
    font-weight: 400;
    font-size: 0.875rem;
}
.blog-post > img {
    border-radius: 1rem 1rem 0 0 ;
    width: 100%;
    height: 10rem;
}