@import url("styles.css");

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

main {
    padding: 50px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
}

img{
    width: 100%;
}

.content, article {
    max-width: 680px;
    width: 100%;
}

.content{
    margin-bottom:40px;
}

h1 {
    font-size: 2.4em !important;
    padding-bottom: 20px;
}

.slider-inicial img{
    max-width: 450px;
    margin: auto;
    display: block;
}

.slider-inicial-text{
    text-align:center;
}


.info-data {
    margin: 10px 0px 0px 0px;
    padding: 5px 5px;
    display: flex;
    align-items: center;
    flex-direction: row;
    border-top: solid 1px #F2F2F2;
    justify-content: space-between;
    font-size: 15px;
}

.autor {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 10px;
}

img.avatar {
    width: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

small {
    color: grey;
}

.autor small {
    color: black;
}

h2 {
    font-size: 1.3em !important;
    line-height: 1.5em !important;
    margin-bottom: 5px;
}

figcaption {
    text-align: left;
    font-size: 15px;
    color: grey;
    padding: 0px 10px;
}

article a{
    text-decoration: none;
    color:black;
}

.related-post-content {
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: row;
    padding-top: 3px;
    padding-bottom: 20px;
    border-bottom: 2px #00000014 solid;
    align-items: flex-start;
    margin-bottom: 40px;
}

.image-items-bog {
    width: 200px;
    max-height: 125px;
    height: fit-content;
} 

.related-post-content-info span {
    font-size: 13px;
    font-weight: 400;
    color: grey;
}

.related-post-content-info {
    padding: 5px 5px;
    padding-right: 15px;
}

@media (max-width: 500px) {
    .related-post-content {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }
    .image-items-bog{
        width: 100%;
    }
    .related-post-content-info {
        padding: 5px 5px;
        padding-top: 15px;
    }
    .image-items-bog{
        max-height: 100%;
    }
}

@media (max-width: 550px) {
    h1{
        font-size: 2em !important;
    }
    .info-data{
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        text-align: right;
    }
    .autor{
        margin-top: 10px;
        width: 100%;
    }
    
    h2{
        font-size: 1.3em !important;
        line-height: normal;
    }
    .related-post-content{
        align-items: center;
    }
}





