@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

*{
    margin: 0px;
    padding: 0px;
}

:root{
    --background-color: #131019;
    --big-text-color: #F0DDC2;
    --small-text-color: #F4D3A0;
}


/* Individual Elements */
body{
    background-color: var(--background-color);
    font-family: "Lato", sans-serif;
    color: var(--big-text-color);
}

main{
    padding: 0px 25px 50px;
    display: flex;
}

hr{
    color: var(--small-text-color);
    margin: 0px 25px;
}

h1{
    font-weight: 700;
    color: var(--big-text-color);
}

p{
    font-weight: 400;
    color: var(--small-text-color);
    padding: 0em 0em .5em;

    text-align: justify;
    text-indent: 1.5em;
    line-height: 1.5em;
}

a{
    color: var(--small-text-color);
    font-weight: bolder;
    text-decoration: underline;
}

a:hover{
    text-decoration: underline;
}

/* Header */
header{
    margin: 15px 35px 50px;
    display: flex;
    align-items: stretch;
}

header > nav > a{
    text-decoration: none;
    font-weight: 500;
    flex: 1;
}

header > nav > a:hover{
    font-weight: 700;
}

nav{
    display: flex;
    flex-direction: column;
    margin: 0px 25px;
}


/* Aside */
aside{
    min-width: 270px;
    max-width: 450px;
    margin: 0px auto;
}

aside > h1{
    text-align: center;
}


/* Footer */
footer{
    margin: 0px 0px 25px;
}
footer p{
    padding: 0em 0em .5em 0em;
    text-align: center;
}


/* Article Preview */
.articlePreview{
    min-width: 270px;
    max-width: 750px;
    margin: 0px auto 35px auto;
}

.articlePreview a{
    text-decoration: none;
}

.articlePreview a:hover{
    text-decoration: underline;
}

/* Metadata */
.metadataPreview{
    display: flex;
}

.metadataPreview *{
    font-weight: bold;
}

.metadataPreview p{
    line-height: 1em;
    text-indent: 0em;
    margin: 0px 1em;
    padding: 0em;
}

.metadataPreview a{
    margin: 0px 8px 0px 0px;
}

.metadataPreview hr{
    color: var(--small-text-color);
    margin: 0px 8px;
}

.metadataPreview ul{
    display: flex;
    text-align: left;
    margin: 0px 8px 0px 0px;
}

.date{
    font-style: italic;

    line-height: 1em;
    text-indent: 0em;
    padding: 0em;
}

/* Last Journalig */
.lastJournalins{
    min-width: 270px;
    max-width: 750px;
    max-height: 700px;
    margin: 0px auto;
    padding: 0px 15px 0px 0px;
    overflow: scroll;
}

.erro404{
    margin: auto;
    text-align: center;
    margin: 15% auto;
}

.erro404 p{
    text-align: center;
}

@media (max-width: 1100px) {
    main{
        flex-direction: column;
    }

    hr{
    color: var(--small-text-color);
    margin: 25px 0px;
    }
}