@import url('reset.css');
@import url('fonts/sentient.css');
@import url('fonts/publicsans.css');


/* Fonts
font-family: 'Public Sans';
font-family: 'Sentient-Bold';
*/


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
    padding-top: 2.222rem;
    font-size: 18px;
    line-height: 32px;
    font-family: 'Sentient-Regular';
    color: #444444;
}

a {
    color: #444444;
    transition: color .3s ease-out;
    text-decoration: none;
}
a:hover {
    color:#888888;
}

.nav-main {
    max-width: 710px;
    margin: 0 auto;
    margin-bottom: 120px;
}

.logo {
    display: block;
    width: 155px;
    height: auto;
}

.nav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
}

.nav-item-logo {
    list-style: none;
    margin-right: auto;
}

.nav-item {
    font-family: 'Public Sans';
    font-size: 16px;
    list-style: none; 
    margin-left: 16px;
}

main {
    max-width: 710px;
    margin: 0 auto;
}

main h3 {
    color:#888888;
    font-size: 18px;
    font-weight: 400;
    border-bottom: 2px solid #E7E7E7;
    padding-bottom: 18px;
}
main h3:not(:first-child) {
    margin-top: 60px;
}

.nav-posts {
    margin-right: auto;
    margin-left: auto;
    max-width: 710px;   
}
.nav-posts a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 0.3rem;
    line-height: 48px;
}
.nav-posts a p {
    margin: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.nav-posts hr {
    margin: 0 0 18px;
    align-self: end;
    height: 1px;
    border: 0;
    border-bottom: 1px dotted #D1D1D1;
    min-width: 1rem;
    width: 100%;
}

footer {
    background-color: #F6F6F6;
    padding:40px 0;
    margin-top: 200px;
}

.nav-footer-list {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.nav-footer-item {
    font-family: 'Public Sans';
    font-size: 16px;
    list-style: none; 
    margin-left: 16px;
}

@media (max-width: 800px) {

    body {
        font-size: 16px;
    }

    .logo {
        width: 116px;
    }
   
   .nav-main, main {
        padding-left: 40px;
        padding-right: 40px;
   }
   .nav-main {
        margin-bottom: 80px;
   }

   .nav-posts a {
        line-height: 40px;
   }
   .nav-footer-list {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
   }

   footer {
        margin-top: 100px;
   }
}