                                                        /* PRE CONFIGURATION */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    outline: none;
    resize: none;
    font-family:'Poppins', sans-serif;
    font-weight: 500;
    color: inherit;
}

@font-face {
    font-family: 'Holiday';
    src: url('../fonts/HolidayFree.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #193441;
    --second-color: #ffffff;
    --third-color: #cbdbd7;
    --shadow: 2px 2px 4px black;
}
                                                        /* GLOBAL */
body {
    font: 15px/1.5 'Poppins', sans-serif;
    background: var(--second-color);
    color: var(--third-color);
    border-bottom: 3px solid var(--third-color);
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.background {
    color: var(--third-color);
    padding: 15px;
    background: var(--primary-color);
    border-radius: 10px;
    text-shadow: var(--shadow);
}
                                                        /* HEADER */
header {
    background: var(--primary-color);
    padding-top: 30px;
    min-height: 70px;
    border-top: 2px solid var(--third-color);
    text-shadow: var(--shadow);
}

header li a {
    font-size: 16px;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px;
}

header #logo {
    float: left;
    cursor: pointer;
}

header #logo h1 {
    font-family: 'Holiday';
    font-size: 2.5em;
}

header nav {
    float: right;
    margin: 30px;
}

                                                        /* ARTICLE */

#main-col, #main-col-article {
    color: var(--primary-color);
    text-align: justify;
}

#main-col {
    margin-top: 55px;
    float: left;
    width: 60%;
}

                                                        /* POSTS */
#posts li {
    padding: 20px;
    border: var(--primary-color) solid 2px;
    border-radius: 10px;
}

#posts h3, #posts p {
    text-align: center;
}

#posts h3 {
    font-weight: 600;
    font-size: 25px;
}

#posts p {
    font-size: 13px;
}
                                                        /* SIDEBAR */
#sidebar {
    float:right;
    width: 33%;
    text-align: justify;
    margin-top: 3%;
}

#sidebar p {
    font-size: 14px;
}

#sidebar h3 {
    margin: 5px;
    padding: 5px;
    font-size: 25px;
    text-align: center;
}
                                                        /* SOCIAL */
.social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.social li a {
    display: inline-block;
    filter: invert(1);
    transform: scale(0.5);
    transition: 0.5s;
}
.social li a:hover {
    transform: scale(0.5) translateY(-20px);
}

.social li a img {
    margin-right: 50px;
}
                                                        /* FOOTER */
#section-footer {
    padding: 15px;
    background: var(--primary-color);
    text-shadow: var(--shadow);
    margin-top: 60px;
}

.footer{
    padding: 5px;
    margin-top: 20px;
}


                                                        /* MEDIA QUERIES */
@media (max-width: 891px) {

    header li, header #logo,
    header nav, #main-col, 
    #main-col-article, #sidebar {
        float: none;
        text-align: justify;
        width: 100%;
    }

    .container nav {
        display: none;
    }

    .container #logo {
        margin-bottom: 40px;
    }

    header #logo {
        text-align: center;
    }

    header #logo h1 {
        font-size: 2.5em;
    }

    #main-col-article {
        margin-top: 50px;
        padding: 0;
    }

    #posts h3, #sidebar h3{
        font-size: 1.2em;
    }

    #posts p {
        font-size: 9px;
    }

    .background {
        text-shadow: none;
    }

    #sidebar {
        margin-bottom: 10%;
    }

    #sidebar p {
        font-size: 0.9em;
        letter-spacing: -1px;
    }

    .footer {
        margin-left: 20px;
    }
}