@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

*{
    font-family: 'Lato';
}

b{
    font-weight: 700;
}
.navbar{
    background-color: white;
}
#article-title, #article-description{
    width: 900px;
    margin: auto;
    font-size: 50px;
    font-weight: 700;
    margin-top: 40px;
}

#article-description{
    font-weight: bolder;
}

p, li, .quote-holder span{
    font-size: 17px;
    line-height: 28px;
}
.main-elements{
    position: relative;
    top: -250px;
    margin: auto;
    width: 80%;
    display: flex;
    justify-content: space-around;
}
#body-elements{
    background-color: white;
    border-radius: 5px;
    padding: 40px;
}
#next-articles{
    width: 300px;
    position: relative;
    background-color: white;
    max-height: 400px;
    min-height: 200px;
    border-radius: 5px;
}
#body-elements, .about-the-author{
    width: 60%;
}
#body-elements >*{
    width: 100%;
    position: relative;
    margin: auto;
    margin-top: 40px;
    word-wrap: break-word;
}

#body-elements img{
    position: relative;
    width: 100%;
    border-radius: 5px;
}

#body-elements span{
    top: 5px;
    position: relative;
}
.about-the-author{
    margin-bottom: 40px !important;
}
.about-the-author .author{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.article-img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.about-the-author h2, .about-the-author p{
    width: 100%;
    text-align: center;
}
#follow-us, #follow-us-horizontal{
    position: fixed;
    right: 20px;
    width: 40px;
    height: max-content;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    font-size: 25px;
    text-align: center;
    border: 1px solid black;
    padding: 10px 0px;
    border-radius: 5px;
}
#follow-us-horizontal{
    flex-direction: row;
    top: 90%;
    right: unset;
    left: 50%;
    width: max-content;
    transform: translateX(-50%);
    display: none;
    background-color: white;
}
#follow-us-horizontal i{
    margin-right: 10px;
    margin-left: 10px;
}
#follow-us i{
    margin-bottom: 5px;
    margin-top: 5px;
}

.quote-holder{
    text-align: center;
}

.quote-holder .quote{
    font-size: 40px;
}

.quote-holder .author{
    position: relative;
    top: 20px !important;
}
.article-desc{
    cursor: pointer;
}
.article-desc p{
    overflow: hidden;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.textbox span span{
    top: 0px !important;
}

.comment-area{
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1000px) {
    #body-elements{
        width: calc(95% - 80px);
        margin: auto;
    }
    .main-elements{
        flex-direction: column;
    }
    #next-articles{
        background-color: lightgray;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 750px) {
    .main-elements{
        width: 100%;
        margin: 0px;
        top: 0px;
    }
    #body-elements{
        width: calc(100% - 80px);
    }
    #follow-us-horizontal{
        display: block;
    }
    #follow-us{
        display: none;
    }
    .article-img {
        height: auto;
    }
    #next-articles{
        width: 100%;
    }
    #article-title{
        font-size: 40px;
        margin-top: 10px;
    }
}