* {
    box-sizing: border-box;
    font-size: 18px;
    font-family: Poppins, sans-serif;
    margin: 0;
}

body {
    background-color: #232830;
    margin: 5rem;
}

h1, #categories-list a, #page-nav a {
    font-family: "Recursive", sans-serif;
    font-style: italic;
}

h1 {
    color: #FF7575;
    font-size: 4rem;
    font-weight: 500;
    margin: 2.6rem 0 1rem 0;
}

h1+p {
    color:#fff;
    font-size: 1.5rem;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #FF7575;
}

/* header starts */

#site-title {
    font-size: 1.6rem;
    color: white;
}

#navigation > a {
    color: white;
    font-size: 1.3rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem 0;
}

#navigation {
    display: flex;
    gap: 2rem;
}

/* header end */

/* hero */

#logo {
    margin: 0 auto;
    display: block;
}

h1, h1+p {
    text-align: center;
}

#hero {
    margin: 5.5rem 0;
}

/* hero */

/* categories */

#categories {
    display: flex;
    justify-content: space-around;
    margin: 5rem 0;
    align-items: center;
}

#categories #icon {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
}

#categories-list {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#categories-list a {
    color: #909090;
    font-size: 1.5rem;
}

/* categories */

/* articels */

#articles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-around;
    gap: 1.5rem;
}

.post {
    background-color: #fff;
    border-radius: 20px;
    border: 0;
    padding: 1rem;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post h3 {
    margin: 1.5rem 0 1rem 0;
    font-weight: 700;
}

.post p, .post a {
    font-size: .8rem;
}

.info-post {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* articels */

#page-nav {
    display: flex;
    justify-content: space-evenly;
    margin: 5rem 20rem;
    align-items: center;
}

#page-nav a {
    color: #909090;
}

#page-nav ul li a:hover {
    color: #FF7575;
}

#page-nav ul {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    padding: 0;
}

#page-nav ul li {
    display: inline-flex;
    list-style-type: none;
    padding: .5 1rem;
}

/* 
#page-nav ul li:hover {
    border-top: 3px solid #FF7575;
} */

/* footer */

footer {
    display: flex;
    justify-content: space-between;
}

footer a {
    color: #fff;
}

footer > div > a+a {
    background-color: #4699e0;
    padding: 2px 4px;
    border-radius: 5px;
    font-size: .7rem;
}

footer > div+div > a {
    background-color: #4699e0;
    padding: 2px 4px;
    border-radius: 5px;
    font-size: .7rem;
    font-weight: 500;
}


/* footer */
