
*{
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
}

.mainnewsdiv{
    width: 100%;
    height: 120vh;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    border-radius: 5px;
    display: flex;
    justify-self: start;
    

    
}

/* Left */

.leftside{
    width: 80%;
    display: inline-block;
    margin-right: 10px;
    padding: 10px;
    height: 100vh;
}


.articletitle{
    width: 100%;
    height: 30px;
    border: solid 1px gray;
    border-radius: 2px;
}

.newsarticle{
    width: 100%;
    height: fit-content;
    margin-right: auto;
    margin-left: auto;
    padding: 10px;
}

.newsimagediv{
    width: 100%;
    height: fit-content;
    
}

.newsimage{
    width: 100%;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsheader{
    width: 100%;
    height: fit-content;
    padding: 20px;
    text-align: center;
}

.newsheadertext{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
    font-style: normal;
    text-decoration: underline;
    font-size: 3em;
    
}

.spacefiller{
    height: 70px;
    width: 100%;
}


.newscontent {
    width: 100%;
    height: fit-content;
    margin-top: 10px;
    padding: 30px;
}

.newsparagraphs{
    padding-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: lighter;
    font-size: 1.2em;
}

.authername{
    font-weight: lighter;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-style: italic;
}


/* RIGHT */

.rightside{
    width: 300px;
    display: inline-block;
    height: 100vh;
    overflow-y: scroll;
    padding: 10px;
    background-color: rgba(32,0, 61, .2);

    

    

}

.news{
    font-weight: lighter;
    text-decoration: underline;
   
}

.newssample{
  
    height: 240px;
    width: 100%;
    margin-bottom: 10px;
    padding: 4px;
    overflow-y: hidden;
}


.newssample:hover{
    box-shadow: 0 10px 18px 0 rgba(150, 62, 233, 0.8), 0 16px 30px 0 rgba(150, 62, 233, 0.8);

    
}

.newssummary{
    font-weight: lighter;
    position: relative;
    font-size: .9em;
    height: 150px;
    overflow-y: hidden;
    padding: 3px;
    background-color: rgba(251, 251, 251, .7);
    cursor: pointer;

        
}

.navbar{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: end;
    margin-bottom: 5px;
    padding-top: 5px;
}

.navitem{
    width: 100px;
    height: 30px;
    margin: 4px;
    color: white;
    text-align: center;
    padding: 3px;
    border: solid 1px rgba(106, 13, 173, .5);
    border-radius: 2px;
}

.navitem:hover{
    background-color: blueviolet;
}

.writearticle{
    position: relative;
    width: 100%;
    height: 100vh;
    margin-left: auto;
    margin-right: auto;
    
    
}

.preview{
    width: 100%;
    height: 70%;
    margin-left: auto;
    margin-right: auto;
    border: solid 1px black;
    margin-bottom: 2px;
    

}

.writer{
    width: 100%;
    height: 30%;
 
}

.writerarea{
    width: 100%;
    height: 85vh;
    border: solid 1px black;
 
}

.paragraph{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: block;
    height: 350px;
}

.savearticle{
    display: inline;
    width: 100px;
    height: 35px;
    margin: 4px;
    color: white;
    background-color: rgb(32,0, 61);
    text-align: center;
    padding: 3px;
    border: solid 1px rgba(32, 0, 61);
    border-radius: 2px;
    align-self: flex-end;
}

.savearticle:hover{
    color: rgb(32,0, 61);
    background-color: white;
}

.savearticlediv{
    display: flex;
    justify-content: end;
    width: 100%;
    height: fit-content;

}

.deletearticle{
    display: inline;
    width: 100px;
    height: 35px;
    margin: 4px;
    color: white;
    background-color: rgb(136, 8, 8);
    text-align: center;
    padding: 3px;
    border: solid 1px rgba(136, 8, 8);
    border-radius: 2px;
    align-self: flex-end;
}

.deletearticle:hover{
    color: rgb(136, 8, 8);
    background-color: white;
}
.articleinagelink{
    width: 100%;
    border: solid 1px black;
    height: 30px;
    margin-bottom: 10px;
}

.summarytext{
    height: 90px;
    width: 100%;
    
}

.viewupdatedelete{
    display: flex;
    justify-content: center;
    width: 100%;
   
    padding: 2px;
}

.summarybtn{
    background-color: rgb(32,0, 61);
    border: solid 2px rgb(32,0, 61);
    margin: 1px;
    color: white;
    border-radius: 3px;
    width: 80px;
    height: 30px;
    
}

.summarybtn:hover{
    color: rgb(32,0, 61);
    background-color: white;

}

.summarybtndelete{
    background-color: rgb(136, 8, 8);
    border: solid 2px rgb(136, 8, 8);
    width: 80px;
    height: 30px;
    margin: 1px;
    color: white;
    border-radius: 3px;
    width: 70px;
}

.summarybtndelete:hover{
    color: rgb(136, 8, 8);
    background-color: white;
}